/* =========================================================
   Duo Lounge — fond blanc, typographie élégante,
   boutons arrondis, couleur d'accent réglable dans l'admin
   (--accent, --accent-hover, --accent-ink, --accent-text
    sont injectées dans le <head> selon « Couleur des boutons »)
   ========================================================= */
:root {
  --ink: #141414;
  --ink-2: #1b1b1b;
  --ink-3: #242424;
  --white: #ffffff;
  --paper: #f6f4f0;          /* blanc cassé pour alterner les sections */
  --text: #2b2b2b;
  --muted: #6f6f6f;
  --grey: #8c8c8c;
  --line: rgba(0,0,0,.1);
  --line-dark: rgba(255,255,255,.14);
  /* valeurs par défaut (beige) si l'injection n'a pas lieu */
  --accent: #d9c3a0;
  --accent-hover: #e6d4b6;
  --accent-ink: #1f1a14;
  --accent-text: #8a6c42;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-font: "Aleo", Georgia, serif;   /* police du menu — Amasis MT Pro utilisée si ses fichiers sont dans assets/fonts/ */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wipe: cubic-bezier(.77,0,.18,1);
  --radius: 980px;           /* boutons « pilule » façon Apple */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.7 var(--sans); letter-spacing: .003em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.1em; }
strong { font-weight: 600; }
em { font-style: italic; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--grey); }
.small { font-size: .82rem; }

.kicker {
  font: 500 .72rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4em; display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent-text); flex: none; }
.center .kicker { justify-content: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }

/* Zones sombres (photo du bandeau, bandeau devis, pied de page) */
.on-dark, .hero, .page-hero:not(.page-hero-small), .cta-band, .site-footer { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3,
.hero h1, .page-hero:not(.page-hero-small) h1, .cta-band h2, .site-footer h2 { color: #fff; }
.hero .kicker, .page-hero:not(.page-hero-small) .kicker, .cta-band .kicker { color: rgba(255,255,255,.72); }
.hero .kicker::before, .page-hero:not(.page-hero-small) .kicker::before, .cta-band .kicker::before { background: var(--accent); }
.cta-band .lead { color: rgba(255,255,255,.75); }

/* ---------- Boutons (pilule) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 1rem/1.2 var(--sans); letter-spacing: -.005em;
  padding: 15px 30px; min-height: 48px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 18px; min-height: 36px; font-size: .88rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 24px -10px rgba(0,0,0,.35); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-dark, .top-light .page-hero .btn-ghost-light { border-color: rgba(0,0,0,.25); color: var(--ink); background: transparent; backdrop-filter: none; }
.btn-ghost-dark:hover, .top-light .page-hero .btn-ghost-light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.btn-row.center { justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 500 .98rem/1.2 var(--sans); color: var(--accent-text);
}
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .25s ease; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .top-light .site-header {
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-color: var(--line); color: var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 130px; transition: height .45s var(--ease); }
.site-header.is-solid .header-inner, .top-light .site-header .header-inner, .nav-open .site-header .header-inner { height: 80px; }
.brand { text-decoration: none; position: relative; display: block; }
/* Logo grand quand l'en-tête est transparent (haut de page), réduit dès qu'on défile */
.brand img { height: 104px; width: auto; max-width: 280px; object-fit: contain; object-position: left center; transition: height .45s var(--ease), opacity .3s, filter .3s; }
.brand .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-solid .brand img, .top-light .site-header .brand img, .nav-open .site-header .brand img { height: 50px; }
.site-header.is-solid .logo-dark, .top-light .site-header .logo-dark { opacity: 1; }
.site-header.is-solid .logo-light:not(.logo-auto-dark), .top-light .site-header .logo-light:not(.logo-auto-dark) { opacity: 0; }
.site-header.is-solid .logo-auto-dark, .top-light .site-header .logo-auto-dark { filter: invert(1); }
.brand-mark { font: 500 1.7rem/1 var(--serif); letter-spacing: .02em; margin: 0; }
.brand-mark em { font-style: italic; font-weight: 400; margin-left: 4px; opacity: .7; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 32px; }
.nav > ul > li > a, .mega-btn {
  display: inline-block; font: 400 .8rem/1 var(--nav-font); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: inherit; background: none; border: 0; padding: 10px 0; cursor: pointer;
}
.nav > ul > li > a[aria-current], .nav > ul > li > a:hover, .mega-btn:hover { opacity: .6; }
.nav .nav-cta a.btn { font: 500 .88rem/1.2 var(--sans); letter-spacing: -.005em; text-transform: none; padding: 9px 18px; opacity: 1; background: var(--accent); color: var(--accent-ink); }
.nav .nav-cta a.btn:hover { background: var(--accent-hover); opacity: 1; }
.has-mega { position: static; }
.mega-btn::after { content: "+"; margin-left: 8px; font-weight: 300; }
.header-inner { position: relative; }
/* Sous-menu : panneau flottant aligné sur le contenu de l'en-tête (du logo au bouton « Demander un devis ») */
.mega {
  position: absolute; top: calc(100% - 6px); left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px;
  padding: 36px 40px 30px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.35), 0 4px 14px -6px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
/* zone tampon invisible pour ne pas perdre le survol entre le lien et le panneau */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col + .mega-col { border-left: 1px solid var(--line); padding-left: 32px; }
.mega-title { font: 400 .7rem/1 var(--nav-font); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2em; }
.mega-col li { margin-bottom: .55em; }
.mega-col a { font: 400 1.02rem/1.4 var(--nav-font); text-decoration: none; }
.mega-col a:hover, .mega-col a[aria-current] { color: var(--accent-text); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; cursor: pointer; color: inherit; }
.nav-toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Bandeau d'accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 110px; overflow: hidden; background: var(--ink); }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after, .page-hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.72) 100%);
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.72); }
.hero-content, .page-hero-content { position: relative; z-index: 4; }
.hero h1 { max-width: 28ch; font-size: clamp(1.75rem, 3.7vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255,255,255,.85); max-width: 620px; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(255,255,255,.4); z-index: 4; overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* Diaporama : balayage de gauche à droite (rideau) + léger zoom */
.hero-slide { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 100% 0 0); z-index: 0; }
.hero-slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 1.5s var(--wipe); }
.hero-slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.hero-slide.no-anim { transition: none !important; }
.hero-slide img, .hero-slide video {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.7);
  transform: scale(1.18) translateX(-4%); transform-origin: 30% 50%;
}
.hero-slide.is-active img, .hero-slide.is-active video { transform: scale(1.04) translateX(0); transition: transform 8s cubic-bezier(.16,.6,.3,1); }
.hero-slide.is-leaving img, .hero-slide.is-leaving video { transform: scale(1.04) translateX(6%); transition: transform 1.5s var(--wipe); }
/* fin filet lumineux qui suit le bord du rideau */
.hero-slide::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; z-index: 2;
  background: linear-gradient(180deg, transparent, var(--accent), transparent); opacity: 0;
}
.hero-slide.is-active.is-wiping::after { opacity: .9; }
.hero-dots { position: absolute; z-index: 4; right: var(--gutter); bottom: 40px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.35); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.hero-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: dotfill var(--slide-ms, 6s) linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero.is-paused .hero-dots button::after { animation-play-state: paused; }

/* Bandeau des pages intérieures */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: 190px 0 80px; overflow: hidden; background: var(--ink); }
.page-hero-small { min-height: 0; padding: 180px 0 70px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero-small .hero-sub { color: var(--muted); }
.page-hero h1 { max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 2.4em; }
.page-hero-small .crumbs { color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-light { background: var(--paper); }
.section-dark { background: var(--paper); }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { max-width: 20ch; }
.center .section-head h2, .section-head.center h2 { margin-inline: auto; }

/* Triptyque */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.tiles-single { grid-template-columns: 1fr; }
.tile-media {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 18px;
  background: var(--ink-3); overflow: hidden; cursor: pointer; color: #fff; isolation: isolate;
}
.tiles-single .tile-media { aspect-ratio: 16 / 9; }
.tile-media video, .tile-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05); transform: scale(1.02);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.tile-media:hover video, .tile-media:hover img, .tile-media.is-playing video { filter: grayscale(0); transform: scale(1.06); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72)); }
.tile-style { position: absolute; left: 24px; bottom: 18px; z-index: 1; font: italic 400 clamp(2.4rem, 4.4vw, 4rem)/1 var(--serif); }
.tile-play {
  position: absolute; right: 22px; bottom: 26px; z-index: 1; width: 54px; height: 54px;
  border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s;
}
.tile-play::after { content: ""; position: absolute; left: 22px; top: 18px; border-left: 13px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tile-media:hover .tile-play { background: var(--accent); border-color: var(--accent); }
.tile-media:hover .tile-play::after { border-left-color: var(--accent-ink); }
.tile-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--grey); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.tile-body { padding-top: 22px; }
.tile-body h3 { font-size: 1.5rem; }
.tile-body p { color: var(--muted); font-size: .98rem; }

/* Split image / texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.moments .split + .split { margin-top: clamp(70px, 9vw, 130px); }
.split-rev .split-media { order: 2; }
.split-media { position: relative; }
/* Illustration d'un bloc : photo ou vidéo */
.media-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--ink-3); isolation: isolate; }
.media-frame img, .media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.media-frame:hover img, .media-frame:hover video, .media-frame.is-video video.is-playing { filter: grayscale(.15); }
.media-frame.is-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.media-play {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); font: 500 .92rem/1 var(--sans); backdrop-filter: blur(6px);
  transition: background-color .25s, transform .2s;
}
.media-play:hover { background: var(--accent); color: var(--accent-ink); }
.media-play:active { transform: scale(.97); }
.media-play-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); flex: none; }
.media-play-icon::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
/* bouton « Voir la vidéo » des bandeaux */
.btn-watch { gap: 10px; padding-left: 10px; }
.btn-play { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #fff; flex: none; transition: background-color .25s; }
.btn-play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn-watch:hover .btn-play { background: var(--ink); }
.btn-watch:hover .btn-play::after { border-left-color: #fff; }
.page-hero-bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.72); }
.split-body .num { font: italic 400 1.2rem/1 var(--serif); color: var(--accent-text); margin-bottom: 1.2em; }
.split-body p { color: var(--text); }

/* Chiffres clés */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 2.6em 0 0; border-top: 1px solid var(--line); padding-top: 28px; }
.facts dt { font: 400 2.4rem/1 var(--serif); color: var(--accent-text); }
.facts dd { margin: 8px 0 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Citations */
/* Témoignages en défilement : tous empilés dans la même case (hauteur = le plus long), fondu enchaîné */
.quote-slider { display: grid; }
.quote { margin: 0; grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s linear .9s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s; }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 46px; }
.quote-dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(0,0,0,.14); cursor: pointer; position: relative; overflow: hidden; }
.quote-dots button::before { content: ""; position: absolute; inset: -12px 0; }
.quote-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: var(--accent-text); transform-origin: left; animation: dotfill var(--quote-ms, 7s) linear forwards; }
.quotes.is-paused .quote-dots button::after { animation-play-state: paused; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.6rem, 3vw, 2.4rem)/1.35 var(--serif); color: var(--ink); }
.quote blockquote p::before { content: "« "; } .quote blockquote p::after { content: " »"; }
.quote figcaption { margin-top: 1.6em; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-text); }

/* Logos clients */
.clients { padding-top: clamp(40px, 6vw, 80px); }
.quotes + .clients { border-top: 1px solid var(--line); }
.clients .section-head { margin-bottom: 44px; }
.clients .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: none; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.logo-wall li { background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.logo-wall .logo-cell { display: flex; align-items: center; justify-content: center; height: 160px; padding: 26px 22px; text-decoration: none; }
/* boîte fixe + object-fit : un logo large ou carré occupe toujours bien la case */
.logo-wall img { display: block; width: 100%; max-width: 220px; height: 96px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .88; transition: filter .4s, opacity .4s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.logo-wall .logo-cell > span, .logo-wall .logo-cell:not(:has(img)) { font: italic 400 1.25rem/1.2 var(--serif); text-align: center; color: #444; }

/* Zones */
.zone-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zone-list a {
  display: flex; flex-direction: column; gap: 10px; padding: 34px 28px; min-height: 180px; justify-content: flex-end;
  text-decoration: none; border-radius: 18px; background: var(--paper); border: 1px solid var(--line);
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.zone-list a span { font: 400 2rem/1.1 var(--serif); color: var(--ink); }
.zone-list a small { color: var(--muted); font-size: .86rem; }
.zone-list a:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); }
.zone-list a:hover span, .zone-list a:hover small { color: var(--accent-ink); }

/* Galerie */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 14px; filter: grayscale(1); transition: filter .6s var(--ease); }
.gallery figure:hover img { filter: none; }
.gallery figcaption { font-size: .82rem; color: var(--muted); padding-top: 8px; }

/* En bref */
.summary { padding-bottom: 0; }
.summary-text { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.45 var(--serif); color: var(--ink); }
.summary-text strong { font-weight: 600; }
.summary + .section { margin-top: clamp(60px, 8vw, 100px); }

/* Prose */
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }

/* Points forts */
.hl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hl-grid li { background: #fff; padding: 38px 32px; border-radius: 18px; border: 1px solid var(--line); }
.hl-grid p { color: var(--muted); font-size: .98rem; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); margin-top: 2.4em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); font: 300 1.4rem/1 var(--sans); transition: transform .3s var(--ease), background-color .3s;
}
.faq-item summary:hover::after { background: var(--accent); color: var(--accent-ink); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 26px; color: var(--muted); max-width: 720px; }

/* Liens connexes */
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.related-list a { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.related-list a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.3); }
.related-kicker { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.related-title { font: 400 1.6rem/1.15 var(--serif); color: var(--ink); flex: 1; }
.related-list .link-arrow { align-self: flex-start; }

/* Bandeau devis (sombre, pour le contraste en fin de page) */
.cta-band { background: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 110px); }
.big-link span { display: block; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.big-link a { font: 400 1.8rem/1.2 var(--serif); color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-form { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid rgba(0,0,0,.18); padding: 13px 16px; border-radius: 12px; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.has-error input, .has-error textarea { border-color: #b00020; }
.error { color: #b00020; font-size: .85rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 16px; background: var(--paper); padding: 30px; font: 400 1.4rem/1.4 var(--serif); color: var(--ink); }

/* Pied de page */
.site-footer { background: var(--ink); padding: 90px 0 30px; font-size: .92rem; border-top: 1px solid var(--line-dark); }
.footer-logo { margin: 0 0 18px; }
.footer-logo img { height: 96px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; }
.footer-top { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(var(--fcols, 4), minmax(0, 1fr)); gap: 40px; align-items: start; }
.footer-brand .muted { color: rgba(255,255,255,.55); }
.footer-title { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1.4em; }
.footer-col ul, .socials { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5em; }
.footer-col a, .footer-contact a, .socials a { text-decoration: none; color: rgba(255,255,255,.8); }
.footer-col a:hover, .footer-contact a:hover, .socials a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.socials { display: flex; gap: 20px; margin-top: 1.4em; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

.float-cta { display: none; }

/* Bandeau cookies */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.35); display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent a { color: var(--accent-text); }
.consent-btns { display: flex; gap: 8px; }
.consent .btn { width: auto; }

/* Lightbox vidéo */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 60px var(--gutter); }
.lightbox[hidden] { display: none; }
.lightbox-inner { width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 85vh; border-radius: 16px; overflow: hidden; }
.lightbox-inner iframe, .lightbox-inner video { width: 100%; height: 100%; border: 0; background: #000; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox-close:hover { background: #fff; color: #000; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  .hero-slide, .hero-slide img, .hero-slide video { transition: none !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-open .site-header { color: var(--ink); }
  .nav-open .site-header .logo-dark { opacity: 1; }
  .nav-open .site-header .logo-light:not(.logo-auto-dark) { opacity: 0; }
  .nav-open .site-header .logo-auto-dark { filter: invert(1); }
  .nav {
    position: fixed; inset: 0; background: #fff; color: var(--ink); padding: 110px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .brand, .nav-toggle { position: relative; z-index: 3; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav > ul > li > a, .mega-btn { font: 400 1.7rem/1.35 var(--nav-font); letter-spacing: 0; text-transform: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding: 16px 0 24px; border: 0; border-radius: 0; box-shadow: none; grid-template-columns: 1fr; gap: 22px; }
  .mega::before { display: none; }
  .mega-col + .mega-col { border-left: 0; padding-left: 0; }
  .header-inner { position: static; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open:hover .mega { display: grid; }
  .mega-col a { font-size: 1.1rem; }
  .nav-cta { margin-top: 24px; }
  .nav .nav-cta a.btn { font-size: 1rem; padding: 14px 28px; }
  .zone-list { grid-template-columns: 1fr 1fr; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .tile-media { aspect-ratio: 4 / 3; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-rev .split-media { order: 0; }
  .media-frame { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .facts dt { font-size: 1.8rem; }
  .hl-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .header-inner { height: 100px; }
  .site-header.is-solid .header-inner, .top-light .site-header .header-inner, .nav-open .site-header .header-inner { height: 68px; }
  .brand img { height: 76px; }
  .site-header.is-solid .brand img, .top-light .site-header .brand img, .nav-open .site-header .brand img { height: 44px; }
  .hero-dots { left: var(--gutter); right: auto; bottom: 26px; }
  .float-cta {
    display: block; position: fixed; right: 16px; bottom: 16px; z-index: 40;
    background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 13px 22px; border-radius: var(--radius);
    font: 500 .95rem/1 var(--sans); box-shadow: 0 10px 30px -8px rgba(0,0,0,.35);
  }
  .is-contact .float-cta { display: none; }
}
@media (max-width: 520px) {
  .zone-list { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav .nav-cta a.btn { width: auto; }
  .hero { padding-bottom: 90px; }
  .hero-scroll { display: none; }
}
