/* ═══════════════════════════════════════════════════════
   Mazagran Conseil — Feuille de style principale
   DVTL Conseil — mazagranconseil.com
═══════════════════════════════════════════════════════ */

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  color: #444444;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --slate:    #2d3047;
  --offwhite: #f7f5f0;
  --white:    #ffffff;
  --dark:     #1a1a1a;
  --body:     #444444;
  --border:   #e5e0d8;
  --muted:    rgba(255,255,255,0.65);
  --ocre:     #a8884a;
  --ocre-light: rgba(168, 136, 74, 0.18);
}

/* ─── Container ─────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
}

/* ─── Section base ───────────────────────────────────── */
section {
  padding: 5rem 2rem;
}
.why      { padding: 7rem 2rem; }
.missions { padding: 6rem 2rem; }
.experience { padding: 7rem 2rem 8rem; }
.founders { padding: 9rem 2rem 8rem; }
.contact  { padding: 8rem 2rem 7rem; }

/* ─── Section label ──────────────────────────────────── */
.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ocre);
  opacity: 0.7;
  margin: 0 auto 1rem;
}
.section-label--light {
  color: rgba(255,255,255,0.75);
}
.section-label--dark {
  color: #5a5a5a;
}

/* ─── Fade-in animation ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ══════════════════════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background-color: var(--slate);
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.hero__logo {
  width: 100%;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero__logo svg {
  width: 100%;
  height: auto;
}
/* Override SVG fill to white in hero */
.hero__logo .st0 { fill: #ffffff; }


.hero__tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  text-align: center;
  max-width: 1100px;
  letter-spacing: 0.01em;
  /* Clip reveal animation */
  clip-path: inset(0 0 100% 0);
  transform: translateY(10px);
  transition: none;
}
.hero__cta {
  display: inline-block;
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}
.hero__cta:hover {
  color: rgba(255,255,255,0.85);
}
.hero__tagline.visible {
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

/* ══════════════════════════════════════════════════════
   SECTION 2 — POURQUOI MAZAGRAN
══════════════════════════════════════════════════════ */
.why {
  background: var(--white);
}
.why__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.why__inner p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 2;
  color: var(--body);
  margin-bottom: 1.6rem;
}
.why__inner p:last-of-type {
  margin-bottom: 0;
}
.why__cta {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--ocre);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.why__cta:hover {
  color: var(--ocre);
}
.why__signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--slate);
  text-align: center;
  margin-top: 2.5rem;
  opacity: 0.85;
}
/* ══════════════════════════════════════════════════════
   SECTION 3 — NOS MISSIONS
══════════════════════════════════════════════════════ */
.missions {
  background: var(--slate);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.012) 3px,
      rgba(255,255,255,0.012) 4px
    );
}
.missions .section-label { color: var(--muted); }

.missions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.missions__col {
  padding: 0 2.5rem 0 2rem;
  transition: background 0.3s ease;
}
.missions__col:hover {
  background: rgba(255,255,255,0.03);
}
.missions__col + .missions__col {
  border-left: 0.5px solid rgba(255,255,255,0.1);
  padding-left: 2.8rem;
}
.missions__col-title {
  padding-top: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
  display: block;
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
.missions__rule {
  width: 0;
  height: 0;
  border: none;
  border-top: 1px solid var(--ocre);
  margin-bottom: 1.2rem;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.fade-in.visible .missions__rule {
  width: 22px;
}
.missions__col p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .missions__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .missions__col {
    padding: 2rem 1.5rem;
    border-left: none !important;
    border-right: none !important;
    border-top: 0.5px solid rgba(255,255,255,0.12);
  }
  .missions__col:first-child {
    border-top: none;
    padding-top: 0;
  }
  .missions__col-title {
    font-size: 22px;
    padding-top: 0;
  }
  .missions__col p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
  }
}

/* ══════════════════════════════════════════════════════
   SECTION 4 — NOTRE EXPÉRIENCE
══════════════════════════════════════════════════════ */
.experience {
  background: var(--white);
}
.experience__intro {
  max-width: 700px;
  margin: 0 auto 4.5rem;
  text-align: center;
}
.experience__intro-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.experience__intro p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  color: #555;
}

/* Institution tiles grid */
.experience__tiles {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}
.experience__tile {
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 160px;
  transition: background 0.25s ease;
}
.experience__tile:hover {
  background: #eeebe5;
}

.experience__tile img {
  max-height: 88px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.experience__tile img.logo--bnf {
  max-height: 106px;
  max-width: 240px;
}
.experience__tile img.logo--invert {
  filter: invert(1) grayscale(1);
  mix-blend-mode: multiply;
}
.experience__tile img.logo--multiply {
  filter: grayscale(0.8) brightness(1.1);
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.experience__tile img.logo--multiply:hover {
  opacity: 1;
}


.experience__tile:hover img {
  opacity: 1;
}
.experience__tile-name {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  text-align: center;
  line-height: 1.4;
}


@media (max-width: 560px) {
  .experience__tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════
   SECTION 5 — DELPHINE ET THIBAUT
══════════════════════════════════════════════════════ */
.founders {
  background: var(--offwhite);
}
.founders .section-label { color: #999; }
.founders__intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.6;
  color: #4a4a4a;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem;
  letter-spacing: -0.01em;
}
.founders__intro + .founders__intro {
  margin-top: -3.5rem;
}
.founders__grid {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.founders__person {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founders__avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  outline: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.founders__person:hover .founders__avatar {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(45, 48, 71, 0.18);
}
.founders__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founders__initials {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.03em;
}
.founders__name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  text-align: center;
  margin-bottom: 0.9rem;
}
.founders__bio {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

@media (max-width: 600px) {
  .founders__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ══════════════════════════════════════════════════════
   SECTION 6 — CONTACT
══════════════════════════════════════════════════════ */
.contact {
  background-color: var(--slate);
  background-image: url('images/contact-bg.jpg');
  background-size: cover;
  background-position: center center;
  position: relative;
  text-align: center;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 48, 71, 0.82);
  pointer-events: none;
}
.contact .container {
  position: relative;
  z-index: 1;
}
.contact__phrase {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 34px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 960px;
  margin: 0 auto 2.5rem;
  letter-spacing: -0.01em;
}
.contact__btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.4);
  padding: 11px 30px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.contact__btn {
  position: relative;
  overflow: hidden;
}
.contact__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact__btn:hover::after {
  transform: translateX(0);
}
.contact__btn:hover {
  border-color: var(--ocre);
  color: rgba(255,255,255,0.95);
}
.contact__footnote {
  margin-top: 3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.92);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: #a8884a;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.footer__legal {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  position: absolute;
  bottom: 1.2rem;
  right: 2rem;
}
.footer__legal:hover {
  color: rgba(255,255,255,0.85);
}
.footer__logo {
  width: 160px;
  opacity: 0.9;
}
.footer__logo .st0 { fill: #ffffff; }

/* ─── Utility ─────────────────────────────────────────── */
.text-center { text-align: center; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  .container { padding: 0 1.25rem; }

  .hero {
    padding: 5rem 1.5rem 4rem;
    min-height: 100svh;
  }
  .hero__logo { width: 280px; }
  .hero__tagline {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
  }
  .hero__cta { margin-top: 1.5rem; font-size: 11px; }

  .why { padding: 5rem 1.5rem; }
  .why__inner { max-width: 100%; }
  .why__inner p { font-size: 16px; text-align: left; }
  .why__signature { font-size: 16px; text-align: left; }

  .missions { padding: 4rem 1.5rem; }
  .missions__col-title { font-size: 22px; }
  .missions__col p { font-size: 14px; }

  .experience { padding: 5rem 0; }
  .experience__intro { max-width: 100%; padding: 0 1.5rem; margin-bottom: 3rem; }
  .experience__intro-headline { font-size: 17px; }
  .experience__tiles { max-width: 100%; }
  .experience__tile { min-height: 80px; padding: 1.4rem 1rem; }
  .experience__tile img { max-height: 50px; max-width: 110px; }
  .experience__tile-name { font-size: 9px; }

  .founders { padding: 5rem 1.5rem 4rem; }
  .founders__intro { font-size: 19px; max-width: 100%; margin-bottom: 3rem; }
  .founders__intro + .founders__intro { margin-top: -2rem; }
  .founders__grid { grid-template-columns: 1fr; gap: 3rem; max-width: 100%; }
  .founders__card { align-items: center; text-align: center; }
  .founders__bio { font-size: 14px; text-align: left; }

  .contact { padding: 5rem 1.5rem 4rem; }
  .contact__phrase { font-size: 22px; max-width: 100%; line-height: 1.45; }
  .contact__btn { font-size: 12px; padding: 0.9rem 2rem; }
  .contact__footnote { font-size: 11px; max-width: 100%; }

  .footer {
    flex-direction: column !important;
    gap: 1rem;
    padding: 2rem 1.5rem 2.5rem;
  }
  .footer__logo { width: 120px; }
  .footer__legal {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    font-size: 10px;
    text-align: center;
    margin-top: 0;
  }
}

@media (max-width: 400px) {
  .hero__tagline { font-size: 14px; }
  .contact__phrase { font-size: 20px; }
}

/* ══════════════════════════════════════════════════════
   SCROLL ANIMATIONS — parallax & reveal on scroll
══════════════════════════════════════════════════════ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}
.scroll-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.founders__linkedin {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocre);
  text-decoration: none;
  border-bottom: 1px solid rgba(168,136,74,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.founders__linkedin:hover { border-color: var(--ocre); }

/* ─── Lang switcher ───────────────────────────────── */
.lang-switcher {
  position: fixed;
  top: 10px;
  right: 1.5rem;
  z-index: 1001;
  display: flex;
  gap: 0;
  background: rgba(0,0,0,0.25);
  border-radius: 3px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.lang-switcher a {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 4px 8px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s, background 0.2s;
}
.lang-switcher a:hover { color: rgba(255,255,255,0.95); }
.lang-switcher a.active {
  color: #fff;
  background: rgba(168,136,74,0.5);
}
.lang-switcher span {
  color: rgba(255,255,255,0.25);
  font-size: 10px;
  line-height: 26px;
}