/* =========================================================
   Les Échasseurs — styles (mobile first : base = téléphone,
   puis @media (min-width) pour tablette et desktop)
   ========================================================= */
:root {
  --blush: #efddd8;
  --blush-soft: #faf5f2;
  --navy: #24364b;
  --peri: #c5ccd9;
  --accent: #aa4c37;
  --accent-dark: #8c3d2c;
  --accent-light: #f0b8a8;
  --white: #fffcfa;
  --font: 'Manrope', system-ui, sans-serif;
  --gutter: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --header-h: 62px;
  --bar-h: 68px;
  --wide: max(var(--gutter), calc((100vw - 1240px) / 2));
}

/* Transitions douces entre les pages (View Transitions API, ignoré si non supporté) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
body { overflow-x: clip; font: 500 16px/1.7 var(--font); color: var(--navy); background: var(--blush-soft); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; padding-bottom: var(--bar-h); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 9.5vw, 3.7rem); }
h1 em { font-style: normal; color: var(--accent-dark); display: block; }
h2 { font-size: clamp(2rem, 8vw, 2.9rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p + p { margin-top: 1em; }
p { text-wrap: pretty; }
.muted { opacity: .7; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 4px; }
.row-text > *, .hero > *, .row > *, .spaces > *, .chips-sec > *, .stack-card > * { min-width: 0; }

/* ---------- Logo ---------- */
.mark { display: inline-block; width: 18px; height: 29px; background: currentColor; -webkit-mask: url(assets/img/mark.png) center / contain no-repeat; mask: url(assets/img/mark.png) center / contain no-repeat; }
.mark-xl { position: absolute; top: 10%; left: 50%; width: 24%; height: auto; aspect-ratio: 153 / 250; translate: -50% 0; color: var(--navy); opacity: .9; }

/* ---------- Boutons (cibles tactiles ≥ 48px) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 50px; padding: .8em 1.6em; border: 1.5px solid currentColor; border-radius: 999px; font: 600 .9rem/1 var(--font); cursor: pointer; background: none; color: inherit; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease), scale .3s var(--spring); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:active { scale: .97; }
.btn .wave { width: 16px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-accent::before { background: var(--accent-dark); }
.btn-sm { min-height: 40px; padding: .6em 1.2em; font-size: .8rem; }
.more { display: inline-flex; align-items: center; gap: .8em; min-height: 44px; font-weight: 600; font-size: .9rem; }
.more .arr { width: 22px; transition: transform .5s var(--ease); }
.more .wave { width: 14px; }
@media (hover: hover) {
  .btn:hover { color: var(--white); border-color: var(--navy); }
  .btn:hover::before { transform: none; }
  .btn-accent:hover { border-color: var(--accent-dark); }
  .more:hover .arr, .disc:hover .arr { transform: translateX(6px); }
}

/* ---------- Header + menu plein écran (mobile) ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: rgba(239, 221, 216, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .5s var(--ease), background .4s, height .4s var(--ease); }
.header::before { content: ''; width: 18px; height: 29px; background: var(--navy); -webkit-mask: url(assets/img/mark.png) center / contain no-repeat; mask: url(assets/img/mark.png) center / contain no-repeat; }
.header.hide { transform: translateY(-100%); }
.header-cta { display: none; }
.burger { position: relative; z-index: 2; display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.burger span { width: 26px; height: 1.6px; background: var(--navy); transition: transform .5s var(--ease), background .3s; }
body.menu-open .burger span:first-child { transform: translateY(4.3px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4.3px) rotate(-45deg); }
.nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: calc(var(--header-h) + 20px) var(--gutter) 40px; background: var(--navy); color: var(--white); clip-path: circle(0 at calc(100% - 34px) 31px); transition: clip-path .8s var(--ease), visibility 0s .8s; visibility: hidden; }
body.menu-open .nav { clip-path: circle(150% at calc(100% - 34px) 31px); visibility: visible; transition: clip-path .8s var(--ease); }
body.menu-open .burger span { background: var(--white); }
body.menu-open { overflow: hidden; }
.nav > a:not(.brand) { font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -.035em; padding: .25rem 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s; }
body.menu-open .nav > a:not(.brand) { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * .06s); }
.nav > a[aria-current] { color: var(--accent-light); }
.nav .brand { display: none; }
.nav-extra { margin-top: 2.5rem; display: grid; gap: .3rem; font-size: .9rem; opacity: 0; transition: opacity .6s .5s; }
body.menu-open .nav-extra { opacity: .75; }
body.menu-open .header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .header::before { background: var(--white); }

/* ---------- Barre d'actions mobile (zone du pouce) ---------- */
.action-bar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(36, 54, 75, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(36, 54, 75, .24); transition: transform .6s var(--ease); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.2rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--white); }
.action-call { background: rgba(255, 252, 250, .12); }
.action-rdv { background: var(--accent); }
.action-rdv svg { width: 20px; height: 20px; }
body.menu-open .action-bar, .action-bar.away { transform: translateY(150%); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; background: var(--blush); overflow: hidden; padding-top: var(--header-h); }
.hero-text { display: flex; flex-direction: column; gap: 1.6rem; padding: 32px var(--gutter) 28px; }
.hero-lead { max-width: 30em; }
.hero-text .btn { align-self: flex-start; }
.hero-foot { display: flex; align-items: center; gap: 1rem; font-size: .85rem; }
.hero-foot a { min-height: 44px; display: inline-flex; align-items: center; }
.hero-foot .scroll { margin-left: auto; font-size: 1.2rem; padding: 0 8px; }
.hero-img { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 0 var(--gutter); }
.hero-img img { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.hero-cut img { object-fit: contain; object-position: bottom; aspect-ratio: auto; border-radius: 0; max-height: 62vh; width: auto; filter: drop-shadow(0 20px 30px rgba(36, 54, 75, .18)); }
.blob { position: absolute; width: min(80vw, 420px); aspect-ratio: 1; right: 6%; top: 4%; border-radius: 50%; background: var(--peri); opacity: .6; }

/* ---------- Rangées (empilées sur mobile) ---------- */
.row { display: flex; flex-direction: column; }
.row-text { position: relative; background: var(--navy); color: var(--white); padding: 72px var(--gutter); }
.row-text :is(h1, h2, h3) em, .row-text .kicker, .p-equipe .hero :is(h1, h2, h3) em, .p-equipe .hero .kicker, .spaces-list .kicker, .hscroll .kicker, .modal .kicker { color: var(--accent-light); }
.row-text :focus-visible, .spaces-list :focus-visible, .modal :focus-visible, .hscroll :focus-visible, .footer :focus-visible, .p-equipe .hero :focus-visible { outline-color: var(--accent-light); }
.row-text .rdv-form :is(input, select):focus, .row-text .rdv-form .invalid { border-color: var(--accent-light); }
.row-text > div { max-width: 32em; font-size: .95rem; }
.row-text > p { margin-top: 1.8rem; }
.row-text h3 { margin-bottom: .4rem; }
.row-text .btn::before { background: var(--white); }
.row-text .btn-accent::before { background: var(--accent-dark); }
@media (hover: hover) { .row-text .btn:not(.btn-accent):hover { color: var(--navy); border-color: var(--white); } }
.row-text .sig { opacity: .85; }
.row-text strong { font-weight: 600; }
.list li { padding: .75rem 0; border-bottom: 1px solid rgba(255, 252, 250, .22); }
.list li:first-child { border-top: 1px solid rgba(255, 252, 250, .22); }
.row-media { display: flex; align-items: center; justify-content: center; padding: 44px var(--gutter); }
.row-rev .row-text { background: var(--white); color: var(--navy); }
.row-rev .row-text .btn::before { background: var(--navy); }
.row-rev .row-media { background: var(--blush); }
.frame { position: relative; width: 100%; max-width: 420px; aspect-ratio: 11 / 15; overflow: hidden; background: var(--blush); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-group { aspect-ratio: 4 / 5; }
.frame-group img { object-position: center top; }
.hero-group img { aspect-ratio: 1; border-radius: 4px; object-fit: contain; }
.frame-tint { background: var(--peri); }
.frame-tint img { position: absolute; inset: auto 0 0; height: 58%; }
.frame-cut img.cutout { inset: auto 0 0 50%; translate: -50% 0; width: auto; max-width: 96%; height: 78%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 24px rgba(36, 54, 75, .22)); }
.frame-line { background: var(--white); }
.frame-line img { object-fit: contain; padding: 18%; mix-blend-mode: multiply; }
.badge { position: absolute; right: var(--gutter); bottom: 36px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.badge .mark { width: 15px; height: 24px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(8deg); } }

/* ---------- Cartes : carrousels à glisser sur mobile ---------- */
.cards, .people { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 56px var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.cards::-webkit-scrollbar, .people::-webkit-scrollbar { display: none; }
.cards > *, .people > * { scroll-snap-align: start; }
.disc, .member { display: flex; flex-direction: column; gap: .7rem; }
.disc .frame, .member .frame { max-width: none; aspect-ratio: 3 / 4; margin-bottom: .3rem; }

/* ---------- Galerie / mosaïque ---------- */
.gallery, .bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
.bento { grid-auto-rows: 42vw; }
.bento .b0 { grid-column: span 2; }
.gallery figure, .bento figure { overflow: hidden; }
.gallery figure { aspect-ratio: 1; }
.gallery img, .bento img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; background: var(--blush); padding: 20px 0; border-block: 1px solid rgba(36, 54, 75, .14); }
.marquee-track { display: flex; align-items: center; gap: 1.8rem; width: max-content; animation: marquee 28s linear infinite; font-size: clamp(1.5rem, 6vw, 2.8rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee-track .mark { width: 14px; height: 23px; color: var(--accent); }
.marquee-navy { background: var(--navy); color: var(--white); }
.marquee-peri { background: var(--peri); }
.marquee-accent { background: var(--accent); color: var(--white); }
.marquee-accent .mark { color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Phrase qui s'éclaire ---------- */
.statement { display: grid; gap: 2rem; justify-items: center; padding: 96px var(--gutter); text-align: center; max-width: 1240px; margin: 0 auto; }
.kicker { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); }
.statement-text { font-size: clamp(1.7rem, 7vw, 3.4rem); line-height: 1.15; letter-spacing: -.03em; }
.statement-text span { opacity: .16; transition: opacity .5s var(--ease); }
.statement-text span.lit { opacity: 1; }

/* ---------- Liste numérotée (aperçu image au curseur sur desktop) ---------- */
.hover-list { position: relative; padding: 80px var(--gutter); background: var(--white); }
.hover-list > * { max-width: 1240px; margin-inline: auto; }
.hover-list li a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 18px 0; border-bottom: 1px solid rgba(36, 54, 75, .17); font-size: clamp(1.2rem, 4.6vw, 2.2rem); letter-spacing: -.025em; transition: color .4s, padding .6s var(--ease); }
.hover-list li:first-child a { border-top: 1px solid rgba(36, 54, 75, .17); }
.hover-list .num { font-size: .75rem; font-weight: 600; opacity: .5; min-width: 2em; }
.hover-list .t { flex: 1; }
.hover-list .arr { width: 28px; flex: none; transition: transform .6s var(--ease), opacity .4s; }
.cursor-img { display: none; }

/* ---------- Bandeau image ---------- */
.band { position: relative; height: 72vh; min-height: 420px; overflow: hidden; display: grid; place-items: center; }
.band img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(36, 54, 75, .56); }
.band-text { position: relative; z-index: 1; color: var(--white); font-size: clamp(1.9rem, 7.5vw, 4rem); letter-spacing: -.035em; line-height: 1.06; text-align: center; max-width: 16em; padding: 0 var(--gutter); }

/* ---------- Galerie horizontale (glisser sur mobile, épinglée sur desktop) ---------- */
.hscroll { background: var(--navy); color: var(--white); }
.hscroll-sticky { display: flex; flex-direction: column; gap: 2rem; padding: 72px 0; }
.hscroll-head { display: flex; align-items: end; justify-content: space-between; padding: 0 var(--gutter); }
.hscroll-head h2 { margin: 0; }
.hscroll-progress { display: none; }
.hscroll-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter); scrollbar-width: none; }
.hscroll-track::-webkit-scrollbar { display: none; }
.hscroll figure { flex: none; width: 72vw; max-width: 420px; scroll-snap-align: start; }
.hscroll img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hscroll figure:nth-child(3n+1) img { border-radius: 999px 999px 0 0; }
.hscroll figcaption { margin-top: .7rem; font-size: .85rem; opacity: .8; }

/* ---------- Cartes empilées ---------- */
.stack { display: grid; gap: 16px; padding: 48px 12px 24px; max-width: 1320px; margin: 0 auto; }
.stack-card { position: sticky; top: calc(var(--header-h) + 8px + var(--n) * 10px); display: grid; gap: 24px; padding: 28px 22px; border-radius: 18px; box-shadow: 0 -10px 30px rgba(36, 54, 75, .09); scroll-margin-top: calc(var(--header-h) + 10px); transform-origin: top center; }
.stack-card .num { font-size: .75rem; font-weight: 600; letter-spacing: .1em; opacity: .7; }
.stack-card h2 { margin: .6rem 0 1rem; font-size: clamp(1.7rem, 7vw, 2.6rem); }
.stack-text > p:not(.sig) { font-size: .93rem; max-width: 34em; }
.stack-text > p:last-child { margin-top: 1.6rem; }
.stack-card .frame { max-width: none; aspect-ratio: 16 / 11; border-radius: 10px; }
.tone-0 { background: var(--blush); }
.tone-1 { background: var(--navy); color: var(--white); }
.tone-1 .btn::before { background: var(--white); }
@media (hover: hover) { .tone-1 .btn:hover { color: var(--navy); border-color: var(--white); } }
.tone-2 { background: var(--peri); }
.tone-3 { background: var(--white); }

/* ---------- Équipe filtrable ---------- */
.team-tabs { padding: 72px 0 24px; max-width: 1400px; margin: 0 auto; }
.team-head { display: grid; gap: 1.2rem; padding: 0 var(--gutter); }
.team-head h2 { margin: 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .chips li { flex: none; min-height: 44px; font: 600 .82rem var(--font); color: var(--navy); background: none; border: 1.5px solid rgba(36, 54, 75, .44); border-radius: 999px; padding: .6em 1.15em; cursor: pointer; transition: background .4s var(--ease), color .4s, border-color .4s; }
.tabs button[aria-selected=true] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.people { padding-top: 36px; }
.person { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.person.hide { display: none; }
.person.dim { opacity: 0; transform: translateY(16px) scale(.97); }
.person figure { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 14px 14px; background: var(--peri); overflow: hidden; }
.person:nth-child(5n+2) figure { background: var(--blush); }
.person:nth-child(5n+3) figure { background: #e8d8d2; }
.person:nth-child(5n+4) figure { background: #c5ccd9; }
.person figure .mark-xl { top: 8%; opacity: .5; }
.person img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; height: 88%; width: auto; max-width: none; object-fit: contain; object-position: bottom; transition: transform .8s var(--ease); transform-origin: bottom center; filter: drop-shadow(0 14px 20px rgba(36, 54, 75, .2)); }
.person-body { padding-top: 1rem; display: grid; gap: .35rem; }
.person details { font-size: .85rem; border-top: 1px solid rgba(36, 54, 75, .18); }
.person summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: '+'; margin-left: auto; font-size: 1.2rem; transition: transform .4s var(--ease); }
.person details[open] summary::after { transform: rotate(45deg); }
.person details p { padding-bottom: .5rem; opacity: .8; }
.person .more { color: var(--accent-dark); }

/* ---------- Étiquettes + cercle ---------- */
.chips-sec { display: grid; gap: 40px; padding: 80px var(--gutter); max-width: 1320px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { cursor: default; font-size: .92rem; padding: .7em 1.3em; display: flex; align-items: center; }
.circle { width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; justify-self: center; }
.circle img { width: 100%; height: 100%; object-fit: cover; animation: spin-slow 70s linear infinite; scale: 1.2; }
.circle-cut { background: var(--peri); position: relative; }
.circle-cut img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: auto; height: 86%; scale: 1; animation: none; object-fit: contain; }
@keyframes spin-slow { to { rotate: 360deg; } }

/* ---------- Sélecteur d'espaces ---------- */
.spaces { display: flex; flex-direction: column; }
.spaces-list { order: 2; background: var(--navy); color: var(--white); padding: 56px var(--gutter); }
.spaces-list ul { margin: .6rem 0 2rem; }
.spaces-list li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.spaces-list button { width: 100%; min-height: 60px; display: flex; gap: 1rem; align-items: baseline; padding: 1rem 0; background: none; border: 0; color: inherit; font: 500 clamp(1.2rem, 5vw, 1.6rem) var(--font); letter-spacing: -.02em; text-align: left; cursor: pointer; opacity: .55; transition: opacity .3s, padding .6s var(--ease), color .3s; }
.spaces-list button .num { font-size: .72rem; font-weight: 600; }
.spaces-list button[aria-selected=true] { opacity: 1; padding-left: 12px; color: var(--accent-light); }
.spaces-list li p { font-size: .9rem; opacity: .85; overflow: hidden; max-height: 0; transition: max-height .7s var(--ease), padding .7s var(--ease); }
.spaces-list li:has([aria-selected=true]) p { max-height: 14em; padding-bottom: 1.2rem; }
.spaces-media { position: sticky; top: var(--header-h); z-index: 2; height: 46vh; overflow: hidden; background: var(--blush); }
.spaces-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; clip-path: inset(0 0 0 100%); transition: opacity .8s var(--ease), scale 1.4s var(--ease), clip-path 1s var(--ease); }
.spaces-media img.on { opacity: 1; scale: 1; clip-path: inset(0); }
.spaces-media .badge { bottom: 20px; z-index: 2; }

/* ---------- Contact / formulaire ---------- */
main > .row-contact:first-child .row-text { padding-top: calc(var(--header-h) + 48px); }
.rdv-form { display: grid; gap: 1rem; max-width: 32em; margin-top: 1.6rem; }
.rdv-form label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 600; }
.rdv-form small { font-weight: 500; opacity: .78; }
.rdv-form input, .rdv-form select { width: 100%; min-width: 0; min-height: 48px; font: 500 16px var(--font); color: inherit; padding: .6rem 0; border: 0; border-bottom: 1.5px solid rgba(255, 252, 250, .5); background: transparent; border-radius: 0; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.rdv-form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") right center no-repeat; }
.rdv-form select option { color: var(--navy); }
.rdv-form input::placeholder { color: inherit; opacity: .76; }
.rdv-form :is(input, select):focus { border-color: var(--accent); }
.rdv-form .invalid { border-color: var(--accent); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.rdv-form .btn { width: 100%; margin-top: .4rem; }
.legal { font-size: .74rem; opacity: .78; line-height: 1.55; }
.info { display: grid; gap: .1rem; margin-top: 2.6rem; font-size: .9rem; max-width: 32em; }
.info dt { font-weight: 600; }
.info dd { opacity: .85; margin-bottom: .9rem; }
.info a { display: inline-flex; min-height: 40px; align-items: center; }
.pin { display: flex; gap: .5rem; }
.pin svg { flex: none; margin-top: .3rem; }
.map { position: relative; padding: 0; min-height: 380px; background: var(--blush); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.18) hue-rotate(145deg) saturate(.65) brightness(1.04) contrast(.9); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -46px 0 0 -23px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; animation: pulse 2.4s infinite; pointer-events: none; }
.map-pin .mark { width: 13px; height: 21px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(170, 76, 55, .42); } 70%, 100% { box-shadow: 0 0 0 18px rgba(170, 76, 55, 0); } }

.footer { display: grid; gap: .6rem; padding: 28px var(--gutter) 40px; background: var(--navy); color: rgba(255, 252, 250, .84); font-size: .78rem; border-top: 1px solid rgba(255, 252, 250, .18); }
.footer .mark { width: 12px; height: 19px; vertical-align: middle; margin-right: .5rem; color: var(--white); }

/* ---------- Modale RDV : bottom sheet sur mobile ---------- */
.modal { position: fixed; inset: auto 0 0; margin: 0; width: 100%; max-width: none; max-height: 92dvh; overflow-y: auto; border: 0; padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--navy); color: var(--white); border-radius: 22px 22px 0 0; overscroll-behavior: contain; }
.modal[open] { animation: sheet-in .6s var(--ease); }
.modal.closing { animation: sheet-out .35s var(--ease) forwards; }
.modal::backdrop { background: rgba(36, 54, 75, .54); backdrop-filter: blur(4px); }
.modal-grip { display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin: 0 auto 18px; }
.modal h2 { margin: 0; }
.modal-close { position: absolute; top: 14px; right: 12px; width: 48px; height: 48px; font-size: 1.8rem; background: none; border: 0; cursor: pointer; color: inherit; }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }

/* =========================================================
   Animations d'apparition (patterns 21st : word reveal, blur-fade, clip reveal)
   ========================================================= */
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .split-words .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 100ms); }
.js .split-words.in .w > span { transform: none; }
.js .fade { opacity: 0; filter: blur(8px); transform: translateY(26px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .fade.in { opacity: 1; filter: blur(0); transform: none; }
.js .reveal-lines { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal-lines.in { clip-path: inset(0 0 -15% 0); transform: none; }
.js .clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .clip.in { clip-path: inset(0 0 0 0); }
.js .clip img { scale: 1.18; transition: scale 1.8s var(--ease), transform .9s var(--ease); }
.js .clip.in img { scale: 1; }
.js .frame-cut img.cutout, .js .person img { opacity: 0; transform: translateY(14%); transition: opacity 1s var(--ease) .3s, transform 1.3s var(--ease) .3s; }
.js .frame-cut.in img.cutout, .js .person.in img { opacity: 1; transform: none; }
.js .hero-img img { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); animation: hero-in 1.6s var(--ease) .25s forwards; }
.js .hero-group img { clip-path: inset(100% 0 0 0 round 4px); animation-name: hero-group-in; }
@keyframes hero-group-in { to { clip-path: inset(0 0 0 0 round 4px); } }
.js .hero-cut img { clip-path: none; opacity: 0; transform: translateY(40px); animation: rise 1.4s var(--ease) .35s forwards; }
@keyframes hero-in { to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .blob { scale: 0; animation: pop 1.4s var(--spring) .15s forwards, morph 14s ease-in-out 1.6s infinite; }
@keyframes pop { to { scale: 1; } }
@keyframes morph { 50% { border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; translate: -14px 12px; } }
.scroll { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .fade, .js .reveal-lines, .js .clip, .js .split-words .w > span, .js .hero-img img, .js .frame-cut img.cutout, .js .person img { opacity: 1; filter: none; transform: none; clip-path: none; }
  .js .clip img { scale: 1; }
  .js .blob { scale: 1; }
  .statement-text span { opacity: 1; }
}

/* =========================================================
   Tablette ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 36px; }
  .cards, .people { grid-auto-columns: 42%; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22vw; }
  .bento .b0 { grid-row: span 2; }
  .bento .b3 { grid-column: span 2; }
  .info { grid-template-columns: auto 1fr; gap: .5rem 2rem; }
  .info dd { margin: 0; }
  .rdv-form .btn { width: auto; justify-self: start; }
  .stack-card { padding: 40px; grid-template-columns: 1.2fr 1fr; align-items: center; }
  .stack-card .frame { aspect-ratio: 4 / 5; }
  .footer { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; }
  .modal { inset: 0; margin: auto; width: min(540px, calc(100% - 32px)); border-radius: 18px; padding: 44px; max-height: 90vh; }
  .modal-grip { display: none; }
  .modal[open] { animation: modal-in .55s var(--ease); }
  .modal.closing { animation: modal-out .3s var(--ease) forwards; }
}
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }

/* =========================================================
   Desktop ≥ 1000px
   ========================================================= */
@media (min-width: 1000px) {
  :root { --gutter: clamp(36px, 6vw, 92px); --header-h: 84px; }
  body { padding-bottom: 0; font-size: 15px; }
  .action-bar { display: none; }

  .header { justify-content: center; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header::before { display: none; }
  .header.scrolled { background: rgba(250, 245, 242, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 70px; }
  .burger { display: none; }
  .nav { position: static; inset: auto; flex-direction: row; align-items: center; gap: clamp(22px, 4vw, 64px); padding: 0; background: none; color: inherit; clip-path: none; visibility: visible; font-size: .84rem; font-weight: 600; }
  .nav > a:not(.brand) { position: relative; font-size: inherit; letter-spacing: 0; padding: .4rem 0; opacity: 1; transform: none; }
  .nav > a:not(.brand)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav > a:hover::after, .nav > a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
  .nav > a[aria-current] { color: inherit; }
  .nav .brand { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 1.02rem; letter-spacing: -.01em; }
  .nav-extra { display: none; }
  .header-cta { display: inline-flex; position: absolute; right: var(--gutter); color: var(--accent-dark); }
  .header-cta::before { background: var(--accent); }
  .header-cta:hover { border-color: var(--accent); }

  .hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(100vh, 880px); padding-top: 0; }
  .hero-text { justify-content: center; gap: 2.4rem; padding: 130px 0 48px var(--wide); }
  .hero-text h1 { max-width: 13em; }
  .hero-foot { margin-top: auto; }
  .hero-foot .scroll { margin-right: 8%; }
  .hero-img { padding: 110px 8% 0; }
  .hero-img img { max-width: 520px; }
  .hero-cut img { max-height: 76vh; }
  .blob { width: 62%; right: 4%; top: 12%; }

  .row { display: grid; grid-template-columns: 1fr 1fr; }
  .row-text { padding: clamp(90px, 11vw, 150px) clamp(36px, 6vw, 96px) clamp(90px, 11vw, 150px) var(--wide); }
  .row-rev .row-text { order: 2; padding-left: clamp(36px, 6vw, 96px); padding-right: var(--wide); }
  .row-media { padding: clamp(40px, 6vw, 70px); }
  .badge { right: clamp(36px, 6vw, 96px); bottom: clamp(60px, 10vw, 140px); }
  .frame { max-width: 440px; }

  .cards, .people { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; padding: clamp(80px, 9vw, 120px) var(--gutter); max-width: 1400px; margin: 0 auto; gap: clamp(20px, 3vw, 40px); }
  .cards-5 { grid-template-columns: repeat(5, 1fr); }
  .people { grid-template-columns: repeat(5, 1fr); padding: 48px var(--gutter) 0; }
  .team-head { display: flex; justify-content: space-between; align-items: end; }
  .tabs { margin: 0; padding: 0; flex-wrap: wrap; }

  .statement { padding: clamp(120px, 14vw, 200px) var(--gutter); }
  .hover-list { padding: clamp(100px, 10vw, 140px) var(--gutter); }
  .hover-list li a { gap: 48px; padding: 30px 0; }
  .hover-list .arr { opacity: 0; transform: translateX(-12px); }
  .cursor-img { display: block; position: fixed; left: 0; top: 0; width: 260px; aspect-ratio: 3 / 4; object-fit: cover; pointer-events: none; z-index: 5; opacity: 0; scale: .6; border-radius: 999px 999px 0 0; transition: opacity .45s var(--ease), scale .6s var(--ease); max-width: none; }
  .cursor-img.on { opacity: 1; scale: 1; }
  .band { height: 82vh; max-height: 780px; }

  .hscroll { position: relative; height: 320vh; }
  .hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; justify-content: center; gap: 3rem; padding: 0; }
  .hscroll-progress { display: block; width: 240px; height: 2px; background: rgba(255, 255, 255, .2); }
  .hscroll-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .hscroll-track { overflow: visible; width: max-content; scroll-snap-type: none; gap: 28px; will-change: transform; }
  .hscroll figure { width: clamp(280px, 30vw, 420px); }
  .hscroll figure:nth-child(even) { margin-top: 70px; }

  .stack { gap: 40px; padding: 100px var(--gutter) 40px; }
  .stack-card { top: calc(110px + var(--n) * 22px); min-height: min(78vh, 640px); padding: clamp(40px, 5vw, 64px); gap: clamp(32px, 5vw, 72px); border-radius: 8px; }
  .stack-card .frame { border-radius: 0; }

  .chips-sec { grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); padding: clamp(100px, 10vw, 140px) var(--gutter); }

  .spaces { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100vh; }
  .spaces-list { order: 0; padding: clamp(90px, 10vw, 130px) clamp(36px, 5vw, 80px) clamp(90px, 10vw, 130px) var(--wide); }
  .spaces-media { position: relative; top: 0; height: auto; }
  .spaces-media .badge { right: 32px; bottom: 32px; }

  .map { min-height: 520px; }
  main > .row-contact:first-child .row-text { padding-top: 160px; }
  .footer { padding: 28px var(--gutter); }

  /* Survols riches uniquement à la souris */
  .disc:hover img, .member:hover img, .row-media:hover .frame:not(.frame-cut) img, .gallery figure:hover img, .bento figure:hover img { transform: scale(1.05); }
  .gallery img, .bento img, .disc img, .frame img { transition: transform 1.2s var(--ease), scale 1.8s var(--ease); }
  .person:hover img { transform: scale(1.05) translateY(-2%); }
  .row-media:hover .frame-cut img.cutout { transform: translateY(-3%); }
  .hover-list a:hover { color: var(--accent); padding-left: 18px; }
  .hover-list a:hover .arr { opacity: 1; transform: none; }
  .tabs button:hover { border-color: var(--navy); }
  .chips li:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
  .spaces-list button:hover { opacity: 1; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

/* ---------- Héros déclinés par page ---------- */
.p-cabinet .hero { background: var(--peri); }
.p-cabinet .hero-img img { border-radius: 0; aspect-ratio: 3 / 4; }
.p-cabinet .blob { background: var(--blush); }
.p-disciplines .hero-img img { border-radius: 50%; aspect-ratio: 1; margin-bottom: 8%; }
.p-equipe .hero { background: var(--navy); color: var(--white); }
.p-equipe .hero .btn::before { background: var(--white); }
@media (hover: hover) { .p-equipe .hero .btn:hover { color: var(--navy); border-color: var(--white); } }
.p-equipe .blob { background: var(--accent-light); opacity: .95; }
.p-a-louer .hero { background: var(--blush-soft); }
.p-a-louer .hero-img img { border-radius: 0 0 999px 999px; }
.p-cabinet .header { background: rgba(197, 204, 217, .96); }
.p-equipe .header { background: rgba(36, 54, 75, .97); }
.p-equipe .header::before { background: var(--white); }
.p-equipe .burger span { background: var(--white); }
.p-a-louer .header { background: rgba(250, 245, 242, .96); }
@media (min-width: 1000px) {
  .p-cabinet .header:not(.scrolled), .p-equipe .header:not(.scrolled), .p-a-louer .header:not(.scrolled) { background: transparent; }
  .p-equipe .header:not(.scrolled) { color: var(--white); }
  .p-equipe .header:not(.scrolled) .header-cta { color: var(--white); border-color: var(--white); }
  .p-equipe .header.scrolled { background: rgba(250, 245, 242, .96); }
  .p-disciplines .hero-img { align-items: center; }
  .p-a-louer .hero-img { align-items: flex-start; }
}
