/* ===================================================
   Cabinet Voltaire & Associés — CSS v2
   Typographie affinée · GSAP classes · Curseur · Transition
   =================================================== */

/* --- Variables & Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1B2A4A;
  --navy-dark:   #111D33;
  --gold:        #C4933F;
  --gold-light:  #D4AC6A;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --gray:        #6B6B6B;
  --gray-light:  #9A9A9A;
  --font-display: 'Cormorant Garant', Georgia, serif;
  --font-body:    'Poppins', system-ui, sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.76, 0, 0.24, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--navy-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* remplacé par curseur custom */
}

@media (max-width: 1024px) { body { cursor: auto; } }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; cursor: none; }
@media (max-width: 1024px) { a { cursor: pointer; } }

/* ===================================================
   CURSEUR PERSONNALISÉ (Guide §17A)
   =================================================== */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-inner {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

.cursor-outer {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(196, 147, 63, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor-outer.cursor-hover {
  width: 56px; height: 56px;
  border-color: var(--gold);
}

@media (max-width: 1024px) { .custom-cursor { display: none; } }

/* ===================================================
   OVERLAY TRANSITION DE PAGE (Guide §21A)
   =================================================== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 9998;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 0 0); /* GSAP anime ça au chargement */
}

.page-transition-label {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 108px);
  font-weight: 300;
  letter-spacing: 0.10em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}

.page-transition-label em {
  color: var(--gold);
  font-style: normal;
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3rem;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 0.6s var(--ease-out),
              backdrop-filter 0.6s var(--ease-out),
              -webkit-backdrop-filter 0.6s var(--ease-out),
              padding 0.4s var(--ease-out),
              border-color 0.6s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(17, 29, 51, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 0.95rem 3rem;
  border-bottom: 1px solid rgba(196, 147, 63, 0.12);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.logo-mark {
  filter: brightness(0) invert(1); /* blanc sur fond navy */
  width: 28px;
  height: auto;
  flex-shrink: 0;
  transition: opacity 0.3s;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  white-space: nowrap;
  line-height: 1;
}

.logo-amp { color: var(--gold); }

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}

.header-nav a:hover       { color: var(--white); }
.header-nav a:hover::after { width: 100%; }

.nav-contact a {
  border: 1px solid rgba(196,147,63,0.5);
  padding: 0.45rem 1.1rem;
  color: var(--gold) !important;
  transition: background 0.3s, border-color 0.3s !important;
}
.nav-contact a:hover { background: var(--gold); color: var(--navy) !important; border-color: var(--gold); }
.nav-contact a::after { display: none !important; }

.nav-lang a {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  padding: 0.35rem 0.7rem;
  transition: color 0.3s, border-color 0.3s !important;
}
.nav-lang a:hover { color: var(--white) !important; border-color: rgba(255,255,255,0.4) !important; }
.nav-lang a::after { display: none !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 201;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease-inout), opacity 0.2s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ===================================================
   MOBILE MENU OVERLAY
   =================================================== */
#mobile-menu {
  display: none; /* affiché seulement via @media */
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--navy-dark);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 5.5rem 2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  overflow-y: auto;
}

#mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

/* Logo zone */
.mmenu-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}
.mmenu-logo .logo-mark { width: 36px; filter: brightness(0) invert(1); }
.mmenu-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
}
.mmenu-logo-name em { color: var(--gold); font-style: normal; }
.mmenu-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* Liens centraux */
.mmenu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
  width: 100%;
}
.mmenu-links a {
  font-family: var(--font-display);
  font-size: clamp(28px, 8.5vw, 46px);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding: 0.4rem 1rem;
  display: block;
  transition: color 0.25s;
}
.mmenu-links a:hover { color: var(--white); }
.mmenu-cta {
  font-family: var(--font-body) !important;
  font-size: clamp(13px, 3.5vw, 16px) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(196,147,63,0.35);
  padding: 0.65rem 2rem !important;
  margin-top: 1.2rem;
}
.mmenu-lang {
  font-family: var(--font-body) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3) !important;
  margin-top: 0.5rem;
  padding: 0.3rem 0.6rem !important;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Pied — contact + adresse */
.mmenu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}
.mmenu-footer a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.mmenu-footer a:hover { color: var(--gold); }
.mmenu-footer p {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}

/* Burger au-dessus de l'overlay sur mobile */
@media (max-width: 768px) {
  #mobile-menu { display: flex; }
  .burger       { z-index: 9001; }
}

/* ===================================================
   HERO BANNER
   =================================================== */
.hero-banner {
  position: relative;
  min-height: 350vh; /* réduit — 6 mots × ~58vh */
  background: var(--navy);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 6vw 8vh;
}

/* Portraits N&B */
.hero-portraits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portrait {
  position: absolute;
  filter: grayscale(100%) contrast(1.05);
  overflow: hidden;
  will-change: transform;
}

.portrait > div, .portrait > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  will-change: transform;
}

.portrait-1 {
  width: clamp(180px, 20vw, 310px);
  height: clamp(240px, 30vw, 430px);
  top: 7vh; left: 9vw;
}

.portrait-2 {
  width: clamp(160px, 18vw, 280px);
  height: clamp(220px, 26vw, 380px);
  top: 4vh; right: 11vw;
}


/* Tagline latéral */
.hero-tagline {
  position: absolute;
  top: 50%; right: 5vw;
  transform: translateY(-50%);
  z-index: 10;
  text-align: right;
  will-change: opacity;
}

.hero-tagline p {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  line-height: 2.4;
}

.hero-tagline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
  margin-top: 0.8rem;
}

/* Mot géant cyclique — GSAP gère les transitions */
.hero-word-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  min-height: clamp(80px, 16vw, 220px);
}

.hero-word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(68px, 13vw, 190px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--white);
  user-select: none;
  will-change: transform, opacity;
}

/* Hint scroll */
.hero-scroll-hint {
  position: absolute;
  bottom: 3.5vh; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
  animation: scrollHint 2.2s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollHint {
  0%,100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.7;  transform: translateX(-50%) translateY(7px); }
}

/* ===================================================
   SECTION VISION
   =================================================== */
.section-vision {
  background: var(--off-white);
  padding: 9rem 0 7rem;
}

.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.vision-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.vision-heading em {
  font-style: italic;
  color: var(--gold);
}

.vision-body p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.3s, gap 0.35s var(--ease-out);
  margin-top: 0.8rem;
  will-change: transform;
}
.btn-outline:hover { color: var(--gold); gap: 1rem; }

/* ===================================================
   SECTION EXPERTISES
   =================================================== */
.section-expertise { background: var(--navy); padding: 8rem 0; }
.section-expertise .container,
.section-cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
  display: block;
}
.section-label::before { content: '— '; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.06);
}

.expertise-item {
  padding: 2.8rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.4s var(--ease-out);
  will-change: transform, opacity;
}
.expertise-item:hover { background: rgba(255,255,255,0.03); }

.expertise-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: rgba(196,147,63,0.2);
  line-height: 1;
  margin-bottom: 1.4rem;
  display: block;
}

.expertise-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.expertise-desc {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.42);
}

/* ===================================================
   SECTION MAÎTRE
   =================================================== */
.section-maitre {
  background: var(--white);
  padding: 9rem 0;
}

.section-maitre .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 7rem;
  align-items: start;
}

.maitre-photo-wrap {
  position: relative;
  will-change: transform;
}

.maitre-photo-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  opacity: 0.5;
  z-index: 0;
}

.maitre-photo-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(27,42,74,0.2);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.maitre-role {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.maitre-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 2.5rem;
}

.maitre-bio p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.maitre-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(27,42,74,0.08);
}

.maitre-contact a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.maitre-contact a:hover { color: var(--gold); }

/* ===================================================
   SECTION CTA
   =================================================== */
.section-cta {
  background: var(--navy);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: 'V';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 50vw;
  font-weight: 600;
  color: rgba(255,255,255,0.018);
  line-height: 1;
  pointer-events: none;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.cta-heading em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.8;
  margin-bottom: 2.8rem;
  max-width: 520px;
  margin-inline: auto;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  transition: background 0.3s, color 0.3s;
  border: none;
  will-change: transform;
}
.btn-gold:hover { background: var(--gold-light); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--off-white);
  padding: 6rem 3rem 3rem;
  position: relative;
  overflow: hidden;
}

.footer-deco { position: absolute; pointer-events: none; }
.footer-deco-tl { top: 0; left: 0; }
.footer-deco-tr { top: 0; right: 0; transform: scaleX(-1); }
.footer-deco-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.footer-deco-br { bottom: 0; right: 0; transform: scale(-1); }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo-block {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-logo-mark {
  color: var(--navy);
  flex-shrink: 0;
  /* SVG en navy sur fond clair */
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 1;
}

.footer-logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}

.footer-contact-line {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.footer-contact-line a { color: var(--navy); transition: color 0.3s; }
.footer-contact-line a:hover { color: var(--gold); }
.footer-sep { color: var(--gold-light); font-size: 0.7rem; }

.footer-divider {
  width: 36px; height: 1px;
  background: var(--gold);
  margin: 2.2rem auto;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(27,42,74,0.35);
  flex-wrap: wrap;
}
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--navy); }

/* ===================================================
   ANIMATIONS — classes utilitaires GSAP
   =================================================== */

/* .reveal & .anim-lines / .anim-chars — visibles par défaut (sans JS).
   Avec JS, la classe .js-anim est ajoutée à <html> qui cache initialement
   les éléments puis révèle via .is-visible quand ScrollTrigger fire. */

/* Lines reveal — overflow + yPercent (CSS pur, fiable) */
.js-anim .anim-line {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: transform, opacity;
}

.js-anim .anim-lines { overflow: hidden; }

.js-anim .anim-lines.is-visible .anim-line {
  opacity: 1;
  transform: translateY(0);
}
.js-anim .anim-lines.is-visible .anim-line:nth-child(1) { transition-delay: 0s; }
.js-anim .anim-lines.is-visible .anim-line:nth-child(2) { transition-delay: 0.12s; }
.js-anim .anim-lines.is-visible .anim-line:nth-child(3) { transition-delay: 0.24s; }
.js-anim .anim-lines.is-visible .anim-line:nth-child(4) { transition-delay: 0.36s; }
.js-anim .anim-lines.is-visible .anim-line:nth-child(5) { transition-delay: 0.48s; }

/* Reveal fade — CSS transition */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: transform, opacity;
}
.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   HERO LOI — Texte décoratif fond hero, scroll horizontal
   =================================================== */
.hero-loi {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loi-line {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 50px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  opacity: 0.058;
  line-height: 1.62;
  will-change: transform;
  padding: 0 2vw;
}

/* Version standalone (section séparée, fond clair) */
.section-loi {
  background: var(--off-white);
  padding: 5rem 0 4rem;
  overflow: hidden;
  position: relative;
  pointer-events: none;
  user-select: none;
}

.section-loi .loi-line {
  color: var(--navy);
  opacity: 0.07;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .vision-inner { grid-template-columns: 1fr; gap: 3rem; }
  .section-maitre .container { grid-template-columns: 1fr; gap: 3rem; }
  .maitre-photo-wrap { max-width: 340px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .portrait-1 { width: clamp(140px, 26vw, 230px); height: clamp(190px, 34vw, 320px); }
  .portrait-2 { width: clamp(120px, 22vw, 200px); height: clamp(165px, 30vw, 280px); }
  .hero-sticky { padding: 0 5vw 7vh; }
  .section-vision  { padding: 6rem 0; }
  .vision-inner    { padding: 0 2rem; }
  .section-cta     { padding: 6rem 2rem; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  /* Header */
  .site-header { padding: 1.2rem 1.5rem; }
  .site-header.scrolled { padding: 0.8rem 1.5rem; }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy-dark);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 199;
    overflow-y: auto;
  }
  .header-nav.open li { width: 100%; text-align: center; }
  .header-nav.open a  { font-size: 1.15rem; letter-spacing: 0.15em; }
  .header-nav.open .nav-contact a { padding: 0.6rem 2rem; }
  .burger { display: flex; }

  /* Hero */
  .hero-banner  { min-height: 270vh; }
  .hero-sticky  { padding: 0 4vw 5vh; }
  .portrait-1   { width: clamp(95px, 34vw, 160px); height: clamp(130px, 46vw, 220px); top: 5vh; left: 3vw; }
  .portrait-2   { width: clamp(85px, 29vw, 145px); height: clamp(115px, 39vw, 200px); top: 3vh; right: 3vw; }
  .hero-word    { font-size: clamp(40px, 14vw, 100px); }
  .loi-line     { font-size: clamp(16px, 4vw, 26px); }

  /* Vision */
  .section-vision { padding: 4.5rem 0 4rem; }
  .vision-inner   { padding: 0 1.5rem; gap: 2rem; }
  .vision-body p  { font-size: 0.88rem; }

  /* Expertise */
  .section-expertise .container { padding: 0 1.5rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-item { padding: 1.6rem 0; }

  /* Maître */
  .section-maitre { padding: 5rem 0; }
  .section-maitre .container { padding: 0 1.5rem; }
  .maitre-name  { font-size: clamp(34px, 9vw, 68px) !important; }
  .maitre-photo-wrap { max-width: 100%; }

  /* CTA */
  .section-cta  { padding: 5rem 1.5rem; }
  .cta-heading  { font-size: clamp(34px, 10vw, 72px) !important; }
  .cta-sub      { font-size: 0.82rem; }

  /* Footer */
  .site-footer  { padding: 4rem 1.5rem 2rem; }
  .hero-tagline { display: none; }
  .footer-contact-line { flex-direction: column; gap: 0.4rem; }
  .footer-logo-name { font-size: 1.1rem; }

  /* Contenu pages internes (sections inline-styled) */
  main section[style*="padding:12rem"],
  main section[style*="padding: 12rem"] { padding-top: 7rem !important; padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  main section[style*="padding:8rem"],
  main section[style*="padding: 8rem"]  { padding-top: 4rem !important; padding-bottom: 4rem !important; padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  main section[style*="padding:7rem"],
  main section[style*="padding: 7rem"]  { padding-top: 4rem !important; padding-bottom: 4rem !important; padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  main section[style*="grid-template-columns:1fr 1fr"],
  main section[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 2rem !important; }
  main div[style*="grid-template-columns:repeat(3"],
  main div[style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  main div[style*="grid-template-columns:1fr 1fr"],
  main div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  main h1[style] { font-size: clamp(36px, 11vw, 80px) !important; }
  main h2[style] { font-size: clamp(26px, 7vw, 52px) !important; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .hero-word  { font-size: clamp(34px, 12vw, 72px); }
  .portrait-1 { opacity: 0.5; width: clamp(80px, 30vw, 130px); }
  .portrait-2 { width: clamp(90px, 32vw, 140px); right: 2vw; }
  .loi-line   { font-size: clamp(13px, 3.8vw, 20px); }
  .section-vision  { padding: 3.5rem 0; }
  .section-cta     { padding: 4rem 1.2rem; }
  .header-nav.open { gap: 1.6rem; }
  .header-nav.open a { font-size: 1rem; }
  .maitre-contact a { font-size: 0.72rem; word-break: break-all; }
  .footer-contact-line a { font-size: 0.7rem; word-break: break-all; }
}
