/* ============================================================
   LES PANORAMAS — La Madrague · Saint-Cyr-sur-Mer
   Landing page — Figma art direction (Apparat-style caps)
   ============================================================ */

:root {
  /* Brand palette */
  --taupe:   #43bbc2;   /* hero / bands — PRIMARY brand color */
  --taupe-d: #379ca2;
  --cream:   #f1e5df;   /* secondary light section bg */
  --cream-2: #f7ece6;
  --form-bg: #f4f7f7;   /* cool light card surface */
  --ink:     #5e473b;   /* deep brown — bold headings / text / dark sections */
  --white:   #ffffff;

  /* Accents */
  --teal:  #43bbc2;     /* primary teal */
  --cyan:  #7bd3d8;     /* light teal */
  --sage:  #5c7a3a;     /* secondary green */
  --grey:  #928885;
  --warm:  #8c7a6e;     /* muted body text on cream */
  --light: #b3a294;     /* light heading line on cream */

  --primary: var(--taupe);   /* CTA / accent (tweakable) */
  --primary-d: var(--taupe-d);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1440px;
  --pad: clamp(22px, 4.5vw, 72px);

  /* fixed form rail */
  --rail-w: 384px;
  --rail-gap: 40px;
  --nav-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; overscroll-behavior-x: none; background: var(--white); }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior:auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px; line-height: 1.7; font-weight: 400;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%; max-width: 100%;
}
img { display: block; max-width: 100%; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---------- Headings: two-weight uppercase ---------- */
.ttl { font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking, .085em); line-height: 1.14; margin: 0; font-weight: 400; }
.ttl .l { display: block; font-weight: 300; letter-spacing: calc(var(--tracking, .085em) + .02em); color: var(--light); }
.ttl .b { display: block; font-weight: 700; color: var(--ink); }
.ttl--xl { font-size: clamp(1.7rem, 4.4vw, 2.5rem); letter-spacing: .03em; line-height: 1.1; }
.ttl .l sup, .ttl .b sup { font-size: .32em; font-weight: 500; vertical-align: super; letter-spacing: 0; }
.ttl--lg { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.horizons__ttl { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.ttl--md { font-size: clamp(1.5rem, 3.4vw, 2.5rem); }

/* contextual colours */
.on-dark .ttl .b, .on-teal .ttl .b, .access .ttl .b { color: #fff; }
.on-dark .ttl .l, .on-teal .ttl .l, .access .ttl .l { color: rgba(255,255,255,.96); }

/* ---------- Eyebrow ---------- */
.kicker { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .26em; font-size: clamp(.74rem,1vw,.84rem); margin: 0 0 26px; }
.on-cream .kicker { color: var(--warm); }
.on-dark .kicker, .on-teal .kicker { color: rgba(255,255,255,.82); }

.lead { font-family: var(--font-display); font-size: clamp(1.02rem,1.4vw,1.16rem); line-height: 1.62; max-width: 52ch; }
.on-cream .lead { color: var(--warm); }
.on-dark .lead, .on-teal .lead { color: rgba(255,255,255,.9); }
.fine { font-size: .72rem; line-height: 1.5; color: var(--warm); }

/* ---------- Layout ---------- */
.section { padding-block: clamp(44px, 5.5vw, 84px); position: relative; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.on-cream { background: var(--white); color: var(--ink); }
.on-cream-2 { background: var(--cream-2); }
.on-dark { background: var(--ink); color: #f4ede8; }
.on-cream-2 { background: var(--cream-2); }
.on-dark-teal { background: var(--taupe); color: #f4ede8; }
.on-teal { background: var(--teal); color: #f2faf9; }
.on-white { background: var(--white); }

/* reserve space for the fixed form on desktop */
@media (min-width: 1080px) {
  .reserve .container { padding-right: calc(var(--rail-w) + var(--rail-gap)); }
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem; letter-spacing: .03em;
  padding: 15px 32px; border-radius: 4px; background: var(--b); color: #fff; border: 1px solid var(--b); cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--primary-d); border-color: var(--primary-d); box-shadow: 0 16px 32px -18px rgba(94,71,59,.7); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }
.textlink { font-family: var(--font-display); font-weight: 500; font-size: .86rem; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid transparent; transition: border-color .3s; }
.textlink:hover { border-color: currentColor; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1{transition-delay:.08s} .reveal.d2{transition-delay:.16s} .reveal.d3{transition-delay:.24s} .reveal.d4{transition-delay:.32s}
.tline .item.reveal.d1{transition-delay:.05s} .tline .item.reveal.d2{transition-delay:.18s} .tline .item.reveal.d3{transition-delay:.31s} .tline .item.reveal.d4{transition-delay:.44s}
body.no-motion .reveal { opacity:1!important; transform:none!important; transition:none!important; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 80; display: flex; align-items: center; justify-content: space-between;
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 26px -20px rgba(40,28,21,.4);
  padding: 14px var(--pad); transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease); }
.nav.scrolled { background: #fff; backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 26px -20px rgba(40,28,21,.45); padding-block: 12px; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--teal); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-family: var(--font-display); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink); position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:1.5px; width:0; background:var(--teal); transition: width .35s var(--ease); }
.nav-links a:hover::after { width:100%; }
.nav .nav-cta { padding: 11px 22px; font-size: .72rem; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.nav .nav-cta:hover { background:#fff; color: var(--taupe); }
.nav.scrolled .nav-cta { background: var(--teal); border-color: var(--teal); color: #fff; }
.nav.scrolled .nav-cta:hover { background: var(--taupe-d); border-color: var(--taupe-d); color: #fff; }
@media (max-width: 980px){ .nav-links .nlink { display:none; } }
/* Nav phone (commercial) */
.nav-links a.nav-phone, .nav-links a.nav-phone span, .nav.scrolled .nav-links a.nav-phone { color: #fff; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; font-family: var(--font-display); font-weight: 700; font-size: .84rem; letter-spacing: .02em; color: #fff; background: var(--teal); padding: 10px 18px; border-radius: 999px; white-space: nowrap; transition: background .3s var(--ease), transform .3s var(--ease); }
.nav-phone svg { width: 16px; height: 16px; }
.nav-phone::after { display: none; }
.nav-phone:hover { background: var(--taupe-d); transform: translateY(-1px); }
.nav.scrolled .nav-phone { color: #fff; }
/* ---------- Mobile menu ---------- */
.nav-burger { display: none; }
body.menu-open .nav { z-index: 95; }
body.menu-open { overflow: hidden; }
@media (max-width: 980px){
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 0; background: transparent; cursor: pointer; z-index: 95; }
  .nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); transform-origin: center; }
  body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.mobile-menu { position: fixed; inset: 0; z-index: 88; background: var(--taupe);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease); }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: clamp(22px,4vh,40px); }
.mm-link { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(1.5rem,7vw,2.4rem); color: #fff; opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.menu-open .mm-link { opacity: 1; transform: none; }
body.menu-open .mm-link:nth-child(1){ transition-delay: .1s; }
body.menu-open .mm-link:nth-child(2){ transition-delay: .17s; }
body.menu-open .mm-link:nth-child(3){ transition-delay: .24s; }
body.menu-open .mm-cta{ transition-delay: .33s; }
.mm-cta { margin-top: 10px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  font-size: .92rem; color: var(--ink); background: #fff; padding: 16px 34px; border-radius: 999px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .25s; }
body.menu-open .mm-cta { opacity: 1; transform: none; }
.mm-cta:hover { background: var(--cream); }
.mm-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem,5vw,1.5rem); letter-spacing: .02em; color: #fff; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mm-phone svg { width: 22px; height: 22px; }
body.menu-open .mm-phone { opacity: 1; transform: none; transition-delay: .3s; }
@media (max-width: 1079px){
  .nav .nav-cta { display: none; }
  .brand-logo { height: clamp(58px, 12vw, 78px); }
  .nav.scrolled .brand-logo { height: clamp(50px, 10vw, 64px); }
}
@media (min-width: 1080px){
  .nav { padding-right: calc(var(--rail-w) + var(--pad)); }
  .nav .nav-cta { display: none; }
  .nav-phone { padding: 9px 15px; font-size: .8rem; }
}

/* ---------- Brand / logo ---------- */
.brand { display: flex; flex-direction: column; gap: 8px; color: #fff; flex-shrink: 0; }
.brand .word { font-family: var(--font-display); font-weight: 300; font-size: 1.62rem; letter-spacing: .26em; line-height: 1; display: inline-flex; align-items: center; }
.brand .word .glyph { width: 1.05em; height: 1.05em; margin: 0 .04em; }
.brand .sub { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: .58rem; letter-spacing: .26em; opacity: .9; font-weight: 400; }
.brand .sub::before, .brand .sub::after { content:""; height:1px; width: 22px; background: currentColor; opacity:.6; }
.brand .sub span { white-space: nowrap; }
.glyph svg { width: 100%; height: 100%; display: block; }
.brand-logo { height: 54px; width: auto; max-width: none; }
.brand-logo--light { display: none; }
.brand-logo--dark { display: block; }
.nav.scrolled .brand-logo { height: 44px; transition: height .4s var(--ease); }
.footer .brand-logo { height: 60px; margin-bottom: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--taupe); color: #fff; min-height: 100svh; display: flex; flex-direction: column; padding-top: 120px; padding-bottom: clamp(22px,4.5vh,52px); position: relative; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
/* Pas d'animation de zoom sur la vidéo : à 1.08 -> 1 sur 18 s, l'échelle varie de
   0,14 px par frame. Ce déplacement sous-pixel fait scintiller les contours fins
   (garde-corps, pins, horizon) à chaque rééchantillonnage — c'est le « tremblement »
   remonté par les utilisateurs. La vidéo porte déjà son propre mouvement, le zoom
   CSS n'y ajoute rien. Échelle fixe légèrement > 1 pour masquer les bords. */
.hero__video { position: absolute; inset: 0; transform: scale(1.02); backface-visibility: hidden; }
body.no-motion .hero__video { transform: scale(1.02); }
.hero__media img { transform: scale(1.16); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1); } }
body.no-motion .hero__media img { animation: none; transform: scale(1.02); }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(101deg, rgba(22,26,28,.66) 0%, rgba(24,28,30,.42) 44%, rgba(26,30,32,.24) 100%); }
.hero__logo { position: absolute; top: clamp(24px,4vh,46px); left: var(--pad); z-index: 3; }
.hero__inner { width: 100%; position: relative; z-index: 3; flex: 1 1 auto; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px,5vw,72px); align-items: center; width: 100%; }
@media (max-width: 1079px){ .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero__eyebrow { color: rgba(255,255,255,.9); }
.hero__title { margin: 0 0 28px; }
.hero__title .l { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 300; letter-spacing: .03em; line-height: 1.1; white-space: nowrap; }
.hero__title .b { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 700; letter-spacing: .025em; line-height: 1.1; white-space: nowrap; }
.hero__title .l, .hero__title .b { color: #fff; }
.hero__sub { font-family: var(--font-display); color: rgba(255,255,255,.92); font-size: clamp(1.05rem,1.5vw,1.28rem); max-width: 40ch; font-weight: 400; margin: 0 0 22px; }
.hero__meta { margin-top: 30px; font-family: var(--font-display); font-weight: 600; font-size: clamp(.95rem,1.3vw,1.1rem); letter-spacing: .01em; color: #fff; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-top: 1px solid rgba(255,255,255,.3); }
.hero__factsbar { position: relative; z-index: 2; margin-top: clamp(28px,4vh,48px); }
@media (max-width: 940px){ .hero__factsbar { margin-top: 36px; } }
.hero__facts li { display: flex; flex-direction: column; gap: 7px; padding: 18px 22px; border-left: 1px solid rgba(255,255,255,.18); }
.hero__facts li:first-child { border-left: 0; padding-left: 0; }
.hero__facts .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem,1.6vw,1.5rem); color: #fff; line-height: 1.05; }
.hero__facts .v sup { font-size: .54em; font-weight: 500; color: var(--cyan); top: -.7em; }
.hero__facts .k sup { font-size: .9em; font-weight: 500; top: -.3em; }
.hero__facts .k { font-family: var(--font-display); font-weight: 500; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); line-height: 1; }
.hero__notes { margin: 14px 0 0; font-size: .68rem; line-height: 1.5; letter-spacing: .01em; color: rgba(255,255,255,.6); }
@media (max-width: 520px){ .hero__facts { grid-template-columns: 1fr 1fr; } .hero__facts li:nth-child(3) { border-left: 0; padding-left: 0; } }
.hero__eyebrow, .hero__title, .hero__sub, .hero__facts { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__title, .hero__sub, .hero__facts { animation: heroUp .85s var(--ease) backwards; }
  .hero__title { animation-delay: .07s; } .hero__sub { animation-delay: .14s; } .hero__facts { animation-delay: .2s; }
}
@keyframes heroUp { from { transform: translateY(20px); } to { transform: none; } }
body.no-motion .hero__eyebrow, body.no-motion .hero__title, body.no-motion .hero__sub, body.no-motion .hero__facts { animation: none; }
.hero__cta { display: none; margin-top: 34px; }

/* ============================================================
   FORM (full-height fixed brand rail on desktop, in-hero on mobile)
   ============================================================ */
.formwrap { width: 100%; margin-top: 8px; }
.form-card { background: transparent; border-radius: 0; padding: 0; box-shadow: none; }
@media (min-width: 1080px) {
  .formwrap { position: fixed; top: 0; right: 0; bottom: 0; width: var(--rail-w); margin-top: 0; z-index: 90;
    display: flex; flex-direction: column; justify-content: flex-start;
    background: var(--ink); border-left: 1px solid rgba(255,255,255,.14);
    box-shadow: -24px 0 60px -40px rgba(20,12,8,.55);
    padding: calc(var(--nav-h) + clamp(14px,2vh,26px)) clamp(26px,2vw,40px) clamp(16px,2vh,32px);
    overflow-y: auto; transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .formwrap.hide { opacity: 0; transform: translateX(18px); pointer-events: none; }
  .formwrap::-webkit-scrollbar { width: 6px; }
  .formwrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 3px; }
  .form-card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; width: 100%; margin-block: auto; }
}
.form-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: #fff; line-height: 1.3; margin: 0 0 16px; }
.form-card h3 span { display: block; font-weight: 300; color: rgba(255,255,255,.82); }

.radio-row { display: flex; gap: 28px; margin-bottom: 18px; }
.rad { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: .92rem; color: rgba(255,255,255,.92); }
.rad input { position: absolute; opacity: 0; pointer-events: none; }
.rad .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); display: inline-grid; place-items: center; transition: border-color .2s; }
.rad .dot::after { content:""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.rad input:checked + .dot::after { transform: scale(1); }

.fld { margin-bottom: 4px; }
.fld input, .fld select {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: #fff;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.38); border-radius: 0; padding: 10px 2px;
  transition: border-color .25s;
}
.fld input::placeholder { color: rgba(255,255,255,.72); }
.fld input:focus, .fld select:focus { outline: none; border-bottom-color: #fff; box-shadow: none; }
.req-note { font-size: .72rem; color: rgba(255,255,255,.66); margin: 8px 0 14px; }

.wish-label { font-size: .92rem; color: #fff; margin: 0 0 9px; }
.wish-row { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-bottom: 14px; font-size: .9rem; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.consent input { margin-top: 1px; width: 20px; height: 20px; accent-color: var(--teal); flex: none; cursor: pointer; }
.consent label { font-size: .58rem; line-height: 1.45; color: rgba(255,255,255,.7); cursor: pointer; padding: 4px 0; }
.form-card .btn { float: none; width: 100%; padding: 15px; font-size: .82rem; background: #fff; color: var(--ink); border-color: #fff; }
.form-card .btn:hover { background: #e9f5f6; border-color: #e9f5f6; color: var(--ink); }
.form-card .form-foot { display: flow-root; }
.form-legal { margin: 12px 0 0; font-size: .55rem; line-height: 1.5; color: rgba(255,255,255,.6); }
.form-legal a { color: rgba(255,255,255,.8); text-decoration: underline; }
@media (max-width: 1079px){ .form-legal { color: var(--warm); } .form-legal a { color: var(--ink); } }
.form-success { display:none; padding: 22px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 10px; color: #fff; }
.form-success.show { display:block; }

/* ============================================================
   DEUX HORIZONS — bande citation compacte
   ============================================================ */
.horizons { position: relative; background: var(--teal); color: #fff; overflow: hidden; padding-block: clamp(40px, 5vw, 72px); }
.horizons__inner { position: relative; z-index: 2; }
.horizons__quote { margin: 0; padding: 0; max-width: none; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.4; letter-spacing: -.005em; color: rgba(255,255,255,.95); text-wrap: pretty; }
.horizons__quote strong { display: block; margin-top: .5em; font-weight: 700; color: #fff; }
.horizons__quote strong { font-weight: 700; color: #fff; }
.horizons__eyebrow { margin: 0 0 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(.72rem, .9vw, .82rem); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.horizons__big { margin: 30px 0 0; }
.horizons__sign { margin: 26px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: .01em; color: #fff; }

/* ============================================================
   LA MADRAGUE — carousel
   ============================================================ */
/* ---------- La Madrague — feature switcher ---------- */
.feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px,4vw,56px); align-items: stretch; margin-top: clamp(36px,4vw,56px); }
@media (max-width: 860px){ .feature { grid-template-columns: 1fr; gap: 28px; } }
.feature__media { position: relative; border-radius: 12px; overflow: hidden; background: var(--form-bg); min-height: clamp(360px, 42vw, 520px); box-shadow: 0 30px 64px -44px rgba(94,71,59,.5); }
@media (max-width: 860px){ .feature__media { min-height: 300px; order: -1; } }
.feature__media .shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .8s var(--ease), transform 1.4s var(--ease); pointer-events: none; }
.feature__media .shot.on { opacity: 1; transform: scale(1); pointer-events: auto; }
.feature__media .shot img { width: 100%; height: 100%; display: block; object-fit: cover; }
.feature__tag { position: absolute; left: 22px; bottom: 20px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(94,71,59,.55); backdrop-filter: blur(6px); padding: 9px 16px; border-radius: 4px; pointer-events: none; }
.feature__list { display: flex; flex-direction: column; justify-content: center; }
.feat-hint { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 0 0 14px; opacity: .85; }
.feat-hint svg { width: 15px; height: 15px; color: var(--teal); }
@media (max-width: 860px){ .feat-hint { display: none; } }
.feat-item { text-align: left; background: transparent; border: 0; border-top: 1px solid rgba(94,71,59,.2); cursor: pointer; padding: 20px 8px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; transition: padding .3s var(--ease); }
.feat-item:last-child { border-bottom: 1px solid rgba(94,71,59,.2); }
.feat-item .idx { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .12em; color: var(--taupe); padding-top: 4px; transition: color .3s; }
.feat-item .ft-t { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem,1.7vw,1.42rem); color: var(--ink); transition: color .3s; }
.feat-item .ft-d { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: .95rem; line-height: 1.5; color: var(--warm); transition: max-height .45s var(--ease), opacity .4s var(--ease), margin .45s var(--ease); }
.feat-item.on .ft-d { max-height: 160px; opacity: 1; margin-top: 10px; }
.feat-item.on .idx { color: var(--teal); }
.feat-item:hover .ft-t { color: var(--taupe); }
.feat-item.on .ft-t { color: var(--ink); }
.feat-item.on { padding-left: 16px; box-shadow: inset 3px 0 0 var(--teal); }
@media (max-width: 860px){ .feat-item .ft-d { max-height: 160px; opacity: 1; margin-top: 8px; } }

/* ============================================================
   MAP + ACCESS
   ============================================================ */
.mapsection { background: var(--white); position: relative; }
@media (min-width: 1080px){ .mapsection { padding-right: var(--rail-w); } }
.mapblock { position: relative; background: var(--white); overflow: hidden; }
.mapblock[data-slider] { aspect-ratio: 16/10; }
.mapblock .map-slides .prog-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--white); transform: none; }
@media (max-width: 700px){ .mapblock[data-slider] { aspect-ratio: 16/10; } }
.mapblock img { width: 100%; height: auto; display: block; }
@media (max-width: 700px){
  .mapblock { aspect-ratio: 3/4; }
  .mapblock:not([data-slider]) img { height: 100%; object-fit: cover; object-position: 62% center; }
}
.map-callout { position: absolute; left: 0; top: 28%; max-width: min(360px, 42%); background: rgba(93,168,169,.94); color: #fff; padding: 30px 34px 34px; clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 100%, 0 100%); }
.map-callout h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .92rem; margin: 0 0 14px; }
.map-callout p { font-size: .86rem; line-height: 1.5; color: rgba(255,255,255,.94); margin: 0; }
@media (max-width: 700px){ .map-callout { max-width: 78%; top: 20%; } }

/* Action card — attached to the top-left corner of the map */
.mapsection { background: var(--white); position: relative; }
.map-toolbar { position: absolute; left: 0; bottom: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  background: var(--white); padding: 22px 24px 24px;
  border-top-right-radius: 16px; box-shadow: 16px -16px 40px -26px rgba(40,28,21,.5); }
.map-toolbar__label { font-family: var(--font-display); font-weight: 600; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; }
.map-toolbar__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.map-toolbar__actions .map-btn { justify-content: center; padding: 12px 20px; }
@media (max-width: 560px){ .map-toolbar { left: 0; right: 0; border-top-right-radius: 0; align-items: stretch; } .map-toolbar__actions { width: 100%; } }
.map-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  border: 1px solid transparent; padding: 10px 16px; border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease); }
.map-btn svg { width: 15px; height: 15px; }
.map-btn--zoom { background: var(--taupe); }
.map-btn--zoom:hover { background: var(--taupe-d); transform: translateY(-2px); }
.map-btn--guide { background: var(--teal); }
.map-btn--guide:hover { background: #4d8f90; transform: translateY(-2px); }
@media (max-width: 560px){ .map-btn { flex: 1; justify-content: center; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(40,28,21,.92); backdrop-filter: blur(8px); padding: clamp(20px,4vw,64px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.7);
  transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox__close { position: absolute; top: clamp(16px,3vw,32px); right: clamp(16px,3vw,32px); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s var(--ease); }
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: clamp(12px,3vw,40px); } .lightbox__nav--next { right: clamp(12px,3vw,40px); }
.lightbox__hint { position: absolute; left: 50%; bottom: clamp(18px,4vh,40px); transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 500; font-size: .72rem; letter-spacing: .08em; color: #fff; background: rgba(40,28,21,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.lightbox__hint svg { width: 15px; height: 15px; }

.access { background: var(--taupe); color: #fff; padding-block: clamp(34px, 4vw, 60px); }
.access-source { margin: clamp(28px,4vw,44px) 0 0; font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.tline { display: flex; flex-wrap: wrap; gap: clamp(28px,5vw,76px); margin-top: clamp(28px,3vw,42px); }
.tline .item { }
.tline .item .bar { width: 1px; height: 40px; background: rgba(255,255,255,.55); margin-bottom: 22px; transform-origin: top; transform: scaleY(0); transition: transform .7s var(--ease) .15s; }
.tline .item.in .bar { transform: scaleY(1); }
body.no-motion .tline .item .bar { transform: scaleY(1); }
.tline .item .ico { width: 24px; height: 24px; color: #fff; margin-bottom: 16px; }
.tline .item .ico svg { width: 100%; height: 100%; }
.tline .item .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem,2vw,1.7rem); line-height: 1; }
.tline .item .l { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: 8px; }

/* ============================================================
   COPROPRIÉTÉ — parallelogram stats
   ============================================================ */
.prog-banner { margin: 0 0 clamp(28px,4vw,48px); border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16/7; }
.vues-banner { aspect-ratio: 16/9; margin: 0; }
@media (max-width: 700px){ .vues-banner { aspect-ratio: 16/9; } }
.vues-grid { display: block; }
.vues-head { margin-bottom: clamp(28px,4vw,44px); }
.vues-head .kicker { margin-bottom: 18px; }
.vues-head .ttl .l, .vues-head .ttl .b { white-space: nowrap; }
.vues-gif { margin: clamp(20px,3vw,40px) auto 0; display: flex; justify-content: center; align-items: center; background: #e3f4f6; border-radius: 20px; padding: clamp(20px,3vw,44px); box-shadow: 0 30px 70px -42px rgba(40,28,21,.5); }
.vues-gif img { width: 100%; max-width: 1100px; height: auto; display: block; }
@media (min-width: 1080px){
  .vues-gif img { max-width: 1100px; }
}
.vues-sub { margin: 22px 0 0; max-width: none; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: rgba(255,255,255,.82); }
.territoire-grid { display: block; }
.territoire-head { margin-bottom: clamp(24px,3vw,40px); }
.territoire-head .kicker { margin-bottom: 22px; }
.territoire-head .ttl { margin: 0; }
.territoire-body { display: block; }
.territoire-body .lead { max-width: none; margin: 0; }
.madrague-intro sup { font-size: .6em; font-weight: 500; vertical-align: super; color: var(--taupe); }
.coll-text sup { font-size: .68em; font-weight: 500; vertical-align: super; color: var(--taupe); }
.madrague-intro { max-width: none; }
@media (max-width: 860px){ .territoire-body .lead { font-size: clamp(1.05rem,4vw,1.25rem); } }

/* ============================================================
   INTRO / PORTAIL — splash that parts like a window
   ============================================================ */
html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }
.intro { position: fixed; inset: 0; z-index: 4000; overflow: hidden; background: #1c140e; transition: opacity 1s ease .55s; }
.intro__panel { position: absolute; top: 0; bottom: 0; width: 50.2%; overflow: hidden; will-change: transform, opacity; transition: transform 1.7s cubic-bezier(.66,0,.2,1), opacity 1.2s ease .35s; }
.intro__panel--l { left: 0; }
.intro__panel--r { right: 0; }
.intro__panel img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center; animation: introZoom 16s ease-out forwards; }
.intro__panel--l img { transform-origin: center; }
.intro__panel--r img { transform-origin: center; }
@keyframes introZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.intro__seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-1px); z-index: 2; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6), transparent); opacity: .8; transition: opacity .5s var(--ease); }
.intro__veil { position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 90% at 50% 42%, rgba(28,20,14,.18) 0%, rgba(28,20,14,.5) 60%, rgba(28,20,14,.78) 100%); transition: opacity .8s var(--ease); }
.intro__content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.intro__logo { width: min(86vw, 1040px); height: auto; max-height: clamp(110px, 20vw, 280px); margin-bottom: 30px; filter: drop-shadow(0 6px 30px rgba(0,0,0,.5)); animation: introUp .9s var(--ease) backwards .15s; }
.intro__kicker { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .26em; font-size: clamp(.62rem,1vw,.78rem); color: rgba(255,255,255,.82); margin: 0 0 40px; animation: introUp .9s var(--ease) backwards .32s; }
.intro__rule { display: block; width: clamp(28px,7vw,64px); height: 1px; background: rgba(255,255,255,.5); transform: scaleX(0); transform-origin: center; animation: introRule 1s var(--ease) forwards .6s; }
@keyframes introRule { to { transform: scaleX(1); } }
.intro__btn { display: inline-flex; align-items: center; gap: 18px; cursor: pointer; white-space: nowrap; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.72rem,1vw,.84rem); color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4); padding: 10px 10px 10px 28px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); animation: introUp .9s var(--ease) backwards .54s; }
.intro__btn-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .4s var(--ease), background .4s var(--ease); }
.intro__btn-ic svg { width: 19px; height: 19px; transition: transform .35s var(--ease); }
.intro__btn:hover { background: rgba(67,187,194,.28); border-color: var(--teal); transform: translateY(-3px); }
.intro__btn:hover .intro__btn-ic { transform: scale(1.08); background: var(--teal); color: #fff; }
.intro__btn:hover .intro__btn-ic svg { transform: translateX(4px); }
@keyframes introUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* opening */
.intro.is-open { pointer-events: none; opacity: 0; }
.intro.is-open .intro__panel--l { transform: translateX(-104%) scale(1.05); opacity: .15; }
.intro.is-open .intro__panel--r { transform: translateX(104%) scale(1.05); opacity: .15; }
.intro.is-open .intro__content { opacity: 0; transform: scale(.92); transition: opacity .55s ease, transform 1s var(--ease); }
.intro.is-open .intro__veil, .intro.is-open .intro__seam { opacity: 0; }
@media (prefers-reduced-motion: reduce){
  .intro__panel img { animation: none; transform: scale(1); }
  .intro__logo, .intro__kicker, .intro__lead, .intro__btn { animation: none; }
}
@media (max-width: 900px){ .vues-head { margin-bottom: 28px; } }
@media (max-width: 700px){ .prog-banner { aspect-ratio: 4/3; } }
.prog-slides { position: absolute; inset: 0; }
.prog-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.3s var(--ease); }
.prog-slide.on { opacity: 1; transform: scale(1); }
.prog-watermark { position: absolute; top: clamp(16px,2vw,24px); left: clamp(16px,2vw,26px); z-index: 2; height: clamp(34px,4vw,52px); width: auto; opacity: .95; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); pointer-events: none; }
.prog-banner figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.prog-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(40,28,21,.4); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s var(--ease); }
.prog-nav:hover { background: rgba(40,28,21,.7); }
.prog-nav svg { width: 20px; height: 20px; }
.prog-nav--prev { left: 16px; } .prog-nav--next { right: 16px; }
.prog-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.prog-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s, transform .3s; }
.prog-dots button.on { background: #fff; transform: scale(1.3); }
.img-zoom { position: absolute; right: clamp(14px,1.5vw,20px); top: clamp(14px,1.5vw,20px); z-index: 3; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(94,71,59,.82); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); padding: 9px 15px; border-radius: 999px; transition: background .3s var(--ease), transform .3s var(--ease); }
.img-zoom:hover { background: var(--taupe); transform: translateY(-2px); }
.img-zoom svg { width: 15px; height: 15px; }
/* Programme slider zoom button */
.prog-zoom { position: absolute; right: clamp(14px,1.5vw,20px); top: clamp(14px,1.5vw,20px); z-index: 4; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(94,71,59,.82); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); padding: 9px 15px; border-radius: 999px; transition: background .3s var(--ease), transform .3s var(--ease); }
.prog-zoom:hover { background: var(--taupe); transform: translateY(-2px); }
.prog-zoom svg { width: 15px; height: 15px; }
/* Gallery lightbox */
.lightbox--gallery .lightbox__stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox--gallery .lightbox__stage img { position: absolute; max-width: 100%; max-height: 100%; opacity: 0; transition: opacity .4s var(--ease), transform .35s var(--ease); }
.lightbox--gallery .lightbox__stage img.on { opacity: 1; }
.lightbox__counter { position: absolute; left: 50%; bottom: clamp(18px,4vh,40px); transform: translateX(-50%); z-index: 2; font-family: var(--font-display); font-weight: 500; font-size: .85rem; letter-spacing: .08em; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); padding: 6px 15px; border-radius: 999px; }
.lightbox__counter b { font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: clamp(32px,4vw,48px); max-width: 680px; }
@media (max-width: 760px){ .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .stats { grid-template-columns: 1fr; } }
.statblk { color: #fff; padding: 22px 24px; border-radius: 16px; min-height: 104px; display: flex; flex-direction: column; justify-content: center; }
.statblk .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem,1.7vw,1.55rem); letter-spacing: .02em; line-height: 1.05; }
.statblk .n small { font-size: .6em; font-weight: 700; }
.statblk .n small.lk { font-size: .72em; font-weight: 500; letter-spacing: 0; }
.statblk .n--typo { font-size: clamp(.88rem,1.1vw,1rem); }
.statblk .l { font-size: .8rem; color: rgba(255,255,255,.9); margin-top: 8px; line-height: 1.3; }
.statblk--sage { background: var(--sage); } .statblk--grey { background: var(--grey); } .statblk--brown { background: var(--ink); } .statblk--teal { background: var(--teal); }

/* ============================================================
   COLLECTION — Banon & Aiguevive
   ============================================================ */
.coll { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(40px,5vw,60px); }
@media (max-width: 820px){ .coll { grid-template-columns: 1fr; } }
.coll-card { background: var(--form-bg); border-radius: 14px; overflow: hidden; transition: transform .5s var(--ease); }
.coll-card:hover { transform: translateY(-4px); }
.coll-card__img { position: relative; aspect-ratio: 16/10; }
.coll-card__img image-slot, .coll-card__img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.coll-card__img .bar { position: absolute; left: 0; bottom: 0; white-space: nowrap; padding: 12px 24px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.coll-card__body { padding: clamp(26px,2.5vw,38px); }
.coll-card__body .kick { font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.coll-card--jade .kick { color: var(--sage); } .coll-card--azur .kick { color: var(--teal); }
.coll-card__body p { font-size: .96rem; color: var(--warm); margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-display); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--ink); background: #e9f5f6; padding: 7px 14px; border-radius: 999px; }
.coll-cta { display: flex; justify-content: center; margin-top: clamp(32px,4vw,52px); }
.coll-note { margin: clamp(20px,3vw,30px) 0 0; max-width: 70ch; text-align: left; font-size: .82rem; line-height: 1.6; color: var(--warm); }
.chantier-btn { display: inline-flex; align-items: center; gap: 11px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(.82rem,1.1vw,.95rem); letter-spacing: .02em;
  color: #fff; background: var(--ink); border: 0; padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 16px 38px -22px rgba(94,71,59,.9); transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.chantier-btn:hover { transform: translateY(-2px); background: #4a382e; box-shadow: 0 22px 46px -22px rgba(94,71,59,.95); }
.chantier-btn svg { width: 18px; height: 18px; }
.cyclo-cta { display: flex; justify-content: center; margin-top: clamp(28px,4vw,44px); }
.mad-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.chantier-btn--teal { background: var(--teal); box-shadow: 0 16px 38px -22px rgba(67,187,194,.95); }
.chantier-btn--teal:hover { background: var(--teal-d, #379ca2); box-shadow: 0 22px 46px -22px rgba(67,187,194,1); }
.mad-cyclo { flex: none; }
@media (max-width: 640px){ .mad-cyclo { align-self: flex-start; } }

/* ============================================================
   BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 190px; gap: 12px; margin-top: clamp(40px,5vw,60px); }
@media (max-width: 900px){ .bento { grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; } }
@media (max-width: 520px){ .bento { grid-template-columns: 1fr; } }
.tile { position: relative; overflow: hidden; border-radius: 3px; }
.tile image-slot { width: 100%; height: 100%; display: block; }
.tile .cap { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0) 55%); }
.tile .cap .big { font-family: var(--font-display); font-weight: 600; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.tile .cap .sm { font-family: var(--font-display); font-weight: 300; font-size: 1rem; color: #fff; margin-top: 4px; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
@media (max-width: 520px){ .tile--xl,.tile--wide{ grid-column: span 1; } .tile--xl{ grid-row: span 2; } }

/* ============================================================
   POSSIBILITÉS — 3 cards
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: clamp(40px,5vw,60px); }
@media (max-width: 860px){ .cards-3 { grid-template-columns: 1fr; } }
.pcard { background: var(--form-bg); border-radius: 14px; padding: 34px 30px; transition: transform .5s var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard .ico { display: flex; width: 30px; height: 30px; color: var(--taupe); margin-bottom: 18px; }
.pcard .ico svg { width: 100%; height: 100%; display: block; }
.pcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--ink); margin: 0 0 12px; }
.pcard p { font-size: .94rem; color: var(--warm); margin: 0; }

/* ============================================================
   COMMERCIALISATEUR
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 36px; } }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag-pill { font-family: var(--font-display); font-size: .78rem; color: #fff; border: 1px solid rgba(255,255,255,.34); padding: 11px 18px; border-radius: 3px; }
.media-frame { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; background: var(--grey); }
.media-frame image-slot { width: 100%; height: 100%; display: block; }

/* ============================================================
   CONTACT details + FOOTER
   ============================================================ */
.contact-band { background: var(--cream-2); }
.cinfo .item { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(146,136,133,.28); }
.cinfo .item svg { width: 22px; height: 22px; color: var(--taupe); flex: none; margin-top: 2px; }
.cinfo .item .t { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.cinfo .item .d { color: var(--warm); font-size: .95rem; }
.benefits { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; }
.benefits li { display: flex; gap: 13px; align-items: center; color: var(--ink); }
.benefits li::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); flex: none; }

/* Promoteur */
.promo { background: var(--white); padding-block: clamp(40px, 5vw, 68px); }
.promo-card { max-width: 760px; margin-inline: auto; text-align: center; }
.promo-logo { height: clamp(30px, 3.4vw, 44px); width: auto; margin: 12px auto 26px; display: block; }
.promo-text { font-family: var(--font-display); font-weight: 300; font-size: clamp(.96rem, 1.3vw, 1.12rem); line-height: 1.55; color: var(--warm); margin: 0; }
.promo-text strong { font-weight: 600; color: var(--ink); }

.footer { background: var(--ink); color: rgba(244,237,232,.66); padding: clamp(32px,4vw,48px) 0 32px; }
.footer-logo-link { display: block; }
.footer-logo { height: clamp(54px, 8vw, 88px); width: auto; display: block; margin: 0 0 clamp(24px,3vw,36px); }
/* Mobile form section (before footer) — hidden on desktop */
.form-mobile-section { display: none; }
@media (max-width: 1079px){
  .form-mobile-section { display: block; background: var(--ink); padding-block: clamp(44px,8vw,72px); }
  .form-mobile-section .container { max-width: 600px; }
}
.footer .brand { margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; font-weight: 600; }
.footer .col p, .footer .col a { display: block; font-size: .92rem; color: rgba(244,237,232,.72); margin-bottom: 11px; }
.footer .col a:hover { color:#fff; }
.footer .desc { font-size: .94rem; max-width: 32ch; color: rgba(244,237,232,.6); }
.footer .izimmo { font-size: .8rem; color: rgba(244,237,232,.44); margin-top: 14px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.13); padding-top: 26px; }
.footer-legal .warn { font-family: var(--font-display); font-size: .8rem; font-weight: 600; color: var(--cyan); margin-bottom: 12px; }
.footer-legal p { font-size: .7rem; line-height: 1.6; color: rgba(244,237,232,.45); margin-bottom: 10px; }
.footer-notes { color: rgba(244,237,232,.62) !important; margin-bottom: 16px !important; }
.footer-legal .todo { background: #ffe45e; color: #1c140e; padding: 0 4px; border-radius: 2px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: .74rem; color: rgba(244,237,232,.4); }

/* ---------- sticky CTA (scrolls back to the hero form) ---------- */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 75; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); box-shadow: 0 16px 36px -16px rgba(20,12,8,.6); }
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1080px){ .sticky-cta { display: none; } }

/* ===================================================================
   Effets additionnels (lot 1→6) — parallax, scroll-spy, cue hero,
   barre de progression, retour haut, lazy/fondu images.
   Tout respecte body.no-motion (prefers-reduced-motion).
   =================================================================== */

/* 1 — Parallax (images de la collection) */
/* échelle de base identique à celle appliquée par le JS (scale 1.14) pour
   éviter tout saut de zoom quand le parallax prend le relais au scroll */
.coll-card__img { overflow: hidden; }
[data-parallax] { will-change: transform; transform: scale(1.14); }
body.no-motion [data-parallax] { transform: none !important; }

/* 2 — Scroll-spy : lien de nav de la section active */
.nav-links a.nlink.active { color: var(--teal); }
.nav-links a.nlink.active::after { width: 100%; }
.mobile-menu .mm-link.active { color: var(--cyan); }

/* 3 — (retiré) l'indice « défiler » masquait la barre de faits du hero */

/* 4 — Barre de progression de lecture */
.readbar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 5000; pointer-events: none; background: transparent; }
.readbar__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--cyan)); }

/* 5 — Bouton retour en haut (desktop uniquement, la sticky-cta gère le mobile) */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 76; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--teal); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(20,12,8,.55); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s var(--ease); }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--taupe-d); transform: translateY(-2px) scale(1); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 1079px){ .to-top { display: none; } }

/* 6 — Fondu des grandes images de collection au chargement */
.coll-img-fx { opacity: 0; transition: opacity .8s var(--ease); }
.coll-img-fx.is-loaded { opacity: 1; }
body.no-motion .coll-img-fx { opacity: 1 !important; transition: none; }
