/* Maquette A, La petite flamme. Valeurs de couleur sondées sur le roll-up et la carte du client. */
@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda-latin-opsz-normal.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda-latin-opsz-italic.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url(fonts/outfit-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --night: #131b31; --ink-0: #171a30; --navy-deep: #1b1d33; --navy: #23253f;
  --cream: #e4e0d7; --text: #f1ede4; --muted: rgba(228, 224, 215, .66); --line: rgba(228, 224, 215, .15);
  --gold-1: #fcd25f; --gold-2: #eec75c; --gold-3: #daad5f; --copper: #c4915d; --word: #caa23b; --dune: #564943;
  --serif: 'Bodoni Moda', 'Times New Roman', serif; --sans: 'Outfit', system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 76px); --nav-h: 76px;
  --press: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink-0); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: auto; overscroll-behavior-y: none; }
body { margin: 0; overflow-x: clip; font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html.is-loading body { overflow: hidden; height: 100svh; }
html.menu-open body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ph { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 200; padding: .6rem 1rem; background: var(--cream); color: var(--navy); border-radius: 10px; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 6px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; will-change: transform; }

/* Titres : interlettrage et interligne dépendants de la taille. */
h1, h2, .h-xl, .h-lg { font-family: var(--serif); font-weight: 400; color: var(--text); text-wrap: balance; font-variation-settings: 'opsz' 15; }
.h-xl { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.08; letter-spacing: -.016em; }
.h-lg { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.012em; }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
em { font-style: italic; color: var(--gold-2); }

/* Boutons et liens. Retour au pointer-down, jamais seulement à la fin. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 500; font-size: 1.0625rem; letter-spacing: .005em; white-space: nowrap; user-select: none; touch-action: manipulation; transition: transform .16s var(--press), filter .25s; }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn--gold { color: #17182b; background: linear-gradient(100deg, var(--gold-1), var(--gold-3) 60%, var(--copper)); box-shadow: 0 0 0 1px rgba(255, 235, 170, .3) inset, 0 14px 44px -14px rgba(238, 199, 92, .55); }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.link { display: inline-flex; align-items: center; gap: .5em; color: var(--text); font-weight: 400; padding-block: .35rem; background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; transition: background-size .45s var(--press), color .25s; touch-action: manipulation; }
.link:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { filter: brightness(1.07); }
  .link:hover { background-size: 28% 1px; color: var(--gold-2); }
}

/* Navigation : matière translucide, le contenu passe dessous. */
.nav { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--nav-h); padding-top: env(safe-area-inset-top); padding-inline: var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background .4s, backdrop-filter .4s; }
.nav::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(23, 26, 48, .62); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); transition: opacity .45s; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.nav.is-stuck::after { opacity: 1; }
.nav.on-light::after { background: rgba(23, 26, 48, .9); }
.nav__logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav__mark { display: block; width: 42px; flex: none; }
.lp-word { width: clamp(96px, 13vw, 176px); height: auto; }
.nav__links { display: none; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: .98rem; }
.nav__links > a, .nav__drop > a { display: inline-flex; align-items: center; gap: .3em; padding-block: .6rem; color: var(--text); opacity: .86; transition: opacity .25s; }
.nav__links > a:hover, .nav__drop:hover > a, .nav__drop:focus-within > a { opacity: 1; }
.nav__drop { position: relative; }
.nav__drop .ph { width: .85em; height: .85em; transition: transform .35s var(--press); }
.nav__drop:hover .ph, .nav__drop:focus-within .ph { transform: rotate(180deg); }
.drop { position: absolute; top: 100%; left: -22px; width: min(440px, 80vw); padding: 12px; border-radius: 22px; background: rgba(27, 29, 51, .88); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); box-shadow: 0 0 0 1px rgba(228, 224, 215, .14), 0 34px 80px -24px #000; transform-origin: 40px -8px; opacity: 0; visibility: hidden; transform: scale(.96) translateY(-4px); filter: blur(4px); transition: opacity .22s, transform .34s var(--press), filter .22s, visibility 0s .22s; }
.nav__drop:hover .drop, .nav__drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.drop a { display: block; padding: .72rem .9rem; border-radius: 12px; line-height: 1.3; transition: background .2s, color .2s; }
.drop a:hover { background: rgba(228, 224, 215, .09); color: var(--gold-2); }
.nav__end { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__tel { display: inline-flex; align-items: center; justify-content: center; gap: .5em; width: 44px; height: 44px; border-radius: 50%; }
.nav__tel span { display: none; }
.nav__tel:active { opacity: .6; }
.nav__cta { display: none; }
.nav__burger { position: relative; width: 44px; height: 44px; touch-action: manipulation; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .4s var(--press); }
.nav__burger i:first-child { top: 18px; } .nav__burger i:last-child { top: 26px; }
[aria-expanded="true"].nav__burger i:first-child { transform: translateY(4px) rotate(45deg); }
[aria-expanded="true"].nav__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav__links { display: flex; } .nav__burger { display: none; }
  .nav__tel { width: auto; height: auto; font-size: .95rem; } .nav__tel span { display: inline; }
  .menu { display: none !important; }
}
@media (max-width: 1240px) and (min-width: 1024px) { .nav__tel span { display: none; } }

.menu { position: fixed; inset: 0; z-index: 80; padding: calc(var(--nav-h) + 12px + env(safe-area-inset-top)) var(--gut) calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 22px; overflow-y: auto; overscroll-behavior: contain; background: rgba(23, 26, 48, .86); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); opacity: 0; visibility: hidden; transform-origin: calc(100% - 42px) 38px; transform: scale(.97); filter: blur(6px); transition: opacity .25s, transform .4s var(--press), filter .25s, visibility 0s .25s; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.menu__label { color: var(--muted); font-size: .95rem; }
.menu ul a { display: block; padding: .62rem 0; font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(1.45rem, 6.2vw, 2rem); line-height: 1.16; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.menu__more { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); }
.menu__more a { padding-block: .4rem; }
.menu .btn { margin-top: auto; }

/* Préchargement */
.pre { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: var(--night); pointer-events: none; }
.pre .lp-mark { width: clamp(120px, 15vw, 190px); position: relative; will-change: transform; transform-origin: 50% 50%; }
.pre__glow { position: absolute; width: 56vmin; height: 56vmin; border-radius: 50%; background: radial-gradient(circle, rgba(252, 210, 95, .2), transparent 62%); }

/* Film */
.film { position: relative; background: var(--night); --hero: 1; --mx: 62%; --my: 44%; }
.film__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.film__stage { position: absolute; inset: 0; }
.seg { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.seg img, .seg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.seg.has-clip img { opacity: 0; }
.film__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(62vmax 40vmax at 0% 100%, rgba(15, 20, 38, .72), rgba(15, 20, 38, .34) 58%, transparent), linear-gradient(180deg, rgba(15, 20, 38, .38), transparent 15%), linear-gradient(0deg, rgba(15, 20, 38, .5) 0%, transparent 34%); }
.film__dark { position: absolute; inset: 0; pointer-events: none; opacity: var(--hero); background: radial-gradient(circle 36vmax at var(--mx) var(--my), transparent 0, rgba(15, 20, 38, .06) 55%, rgba(15, 20, 38, .24) 100%); }
.film__seam { position: absolute; inset: 0 auto 0 0; width: 52vw; pointer-events: none; opacity: var(--hero); background: linear-gradient(90deg, rgba(15, 20, 38, .6), transparent); }
.film__glow { position: absolute; inset: 0; pointer-events: none; opacity: calc(.35 + var(--hero) * .65); mix-blend-mode: soft-light; background: radial-gradient(circle 26vmax at var(--mx) var(--my), rgba(255, 214, 130, .75), transparent 70%); }
.film__copy { position: absolute; inset: 0; }
.beat { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(36px, 9vh, 96px); max-width: 44rem; opacity: 0; visibility: hidden; }
.beat { isolation: isolate; }
/* Un voile qui suit chaque texte : l'image reste claire partout ailleurs */
.beat:not(.beat--hero)::before { content: ''; position: absolute; z-index: -1; inset: -34% -26% -42% -22%; pointer-events: none; background: radial-gradient(closest-side, rgba(15, 20, 38, .74), rgba(15, 20, 38, .5) 52%, rgba(15, 20, 38, .16) 82%, transparent); }
.beat h2 { font-size: clamp(2.1rem, 4.6vw, 4.5rem); line-height: 1.05; letter-spacing: -.018em; text-shadow: 0 2px 30px rgba(15, 20, 38, .9), 0 1px 4px rgba(15, 20, 38, .6); }
.beat p { margin-top: 1.1rem; max-width: 34rem; color: rgba(245, 241, 233, .94); text-shadow: 0 1px 14px rgba(15, 20, 38, .92), 0 0 2px rgba(15, 20, 38, .5); }
.beat .link { margin-top: 1.1rem; }
.beat__links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.beat__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.beat__cta .link { margin-top: 0; }
.beat--hero { opacity: 1; visibility: visible; top: calc(var(--nav-h) + 3vh); bottom: clamp(30px, 7vh, 72px); max-width: 45vw; display: flex; flex-direction: column; justify-content: space-between; }
.beat--hero h1 { font-size: clamp(2.7rem, 5.4vw, 6.2rem); line-height: 1.02; letter-spacing: -.024em; display: block; }
.beat--hero h1 em { display: block; }
.beat__foot p { margin-top: 0; }
.who { display: flex; align-items: center; gap: clamp(.8rem, 1.2vw, 1.1rem); }
.who__i { flex: none; width: clamp(56px, 5vw, 72px); height: clamp(56px, 5vw, 72px); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(236, 203, 132, .55), 0 6px 22px rgba(15, 20, 38, .5); }
.beat--quote { bottom: clamp(36px, 10vh, 110px); max-width: 30rem; }
.beat__quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: 'opsz' 14; font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.22; letter-spacing: -.008em; color: var(--text) !important; max-width: none !important; margin: 0 !important; }
.film__rail { position: absolute; right: clamp(10px, 2vw, 30px); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; z-index: 5; }
.film__rail button { position: relative; display: grid; place-items: center; width: 34px; height: 36px; touch-action: manipulation; }
.film__rail svg { width: 12px; height: 16px; fill: rgba(228, 224, 215, .12); stroke: rgba(228, 224, 215, .34); stroke-width: 1; transition: fill .5s, stroke .5s, filter .5s; }
.film__rail button.is-lit svg { fill: var(--gold-1); stroke: var(--gold-1); filter: drop-shadow(0 0 7px rgba(252, 210, 95, .8)); }
.film__rail span { position: absolute; right: 100%; white-space: nowrap; font-size: .85rem; color: var(--text); opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--press); pointer-events: none; }
.film__rail button:hover span, .film__rail button:focus-visible span { opacity: 1; transform: none; }

/* Sans animation : les plans deviennent des images fixes, tout le texte reste lisible. */
.film.is-static { height: auto !important; }
.film.is-static .film__pin { position: relative; height: auto; overflow: visible; }
.film.is-static .film__seam, .film.is-static .film__stage, .film.is-static .film__shade, .film.is-static .film__dark, .film.is-static .film__glow, .film.is-static .film__rail { display: none; }
.film.is-static .film__copy { position: static; }
.film.is-static .beat__foot { margin-top: 1.6rem; }
.film.is-static .beat { position: relative; inset: auto; max-width: none; opacity: 1; visibility: visible; min-height: 88svh; padding: calc(var(--nav-h) + 2rem) var(--gut) 3rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(15, 20, 38, .92), rgba(15, 20, 38, .1) 60%), var(--still) center/cover; text-align: left; }
.film.is-static .beat > * { max-width: 44rem; }
.film.is-static .beat::before { display: none; }

/* Après le film : une feuille qui remonte sur la dernière image, puis des rythmes tous différents. */
.after { position: relative; z-index: 2; margin-top: -44px; border-radius: 44px 44px 0 0; background: var(--ink-0); box-shadow: 0 -30px 60px -30px rgba(10, 13, 28, .7); }
.after .wrap, .foot .wrap, .s-body.wrap, .calc .wrap { max-width: 1320px; }
.lead { margin-top: .9rem; max-width: 28rem; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { padding: .24rem .7rem; border-radius: 999px; font-size: .86rem; box-shadow: inset 0 0 0 1px rgba(218, 173, 95, .4); color: #ecd9ad; }

/* Situations : carrousel à glisser */
.sit { padding-block: clamp(84px, 13vh, 150px) clamp(60px, 10vh, 110px); overflow: clip; border-radius: inherit; }
.sit__head { margin-bottom: clamp(22px, 3.6vh, 40px); }
@media (min-width: 1000px) { .sit__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: end; gap: 2rem; } .sit__head .lead { margin: 0; justify-self: end; } }
/* Les 7 situations d'un seul coup d'œil : rien à faire glisser, l'image toujours visible, les dirigeants en tête. */
.sit__grid { display: grid; gap: clamp(10px, 1.1vw, 16px); }
.sitc { min-width: 0; }
.sitc a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 22px; background: var(--night); transition: transform .2s var(--press); -webkit-tap-highlight-color: transparent; }
.sitc a:active { transform: scale(.985); }
.sitc a:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.sitc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--press); }
.sitc--cession img { object-position: 50% 22%; }
.sitc--tresorerie img { object-position: 50% 52%; }
.sitc--capital img { object-position: 50% 62%; }
.sitc--retraite img { object-position: 50% 40%; }
.sitc--famille img { object-position: 50% 58%; }
.sitc--inflation img { object-position: 50% 44%; }
.sitc--suivi img { object-position: 50% 50%; }
.sitc a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 20, 38, .96), rgba(15, 20, 38, .84) 30%, rgba(15, 20, 38, .46) 50%, transparent 72%); pointer-events: none; }
.sitc__txt { position: absolute; z-index: 2; inset: auto clamp(16px, 1.5vw, 24px) clamp(14px, 1.4vw, 22px); display: grid; gap: .3rem; }
.sitc__txt strong { font-family: var(--serif); font-variation-settings: 'opsz' 15; font-weight: 400; font-size: clamp(1.25rem, 1.65vw, 1.6rem); line-height: 1.14; letter-spacing: -.008em; text-wrap: balance; }
.sitc__txt span { color: rgba(241, 237, 228, .8); font-size: .95rem; line-height: 1.35; text-wrap: pretty; }
.sitc__go { position: absolute; z-index: 2; top: clamp(12px, 1.1vw, 16px); right: clamp(12px, 1.1vw, 16px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(15, 20, 38, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s, color .25s; }
@media (hover: hover) and (pointer: fine) { .sitc a:hover img { transform: scale(1.03); } .sitc a:hover .sitc__go { background: var(--gold-2); color: #17182b; } }
.sit__more { margin-top: clamp(18px, 3vh, 28px); color: var(--muted); }
/* Téléphone : une liste qu'on parcourt du pouce, sept lignes tiennent sur un écran. */
@media (max-width: 699px) {
  .sit__grid { gap: 0; }
  .sitc + .sitc { border-top: 1px solid var(--line); }
  .sitc a { display: grid; grid-template-columns: 84px minmax(0, 1fr) 28px; align-items: center; gap: 14px; min-height: 100px; padding-block: 8px; overflow: visible; border-radius: 0; background: none; }
  .sitc a::after { display: none; }
  .sitc img { position: static; width: 84px; height: 84px; border-radius: 16px; }
  .sitc__txt { position: static; inset: auto; }
  .sitc__txt strong { font-size: 1.2rem; }
  .sitc__txt span { font-size: .9rem; }
  .sitc__go { position: static; width: 28px; height: 28px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--gold-2); }
}
/* Tablette : deux colonnes, la cession en tête sur toute la largeur. */
@media (min-width: 700px) and (max-width: 999px) {
  .sit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(230px, 30vw, 300px); }
  .sitc--cession { grid-column: 1 / -1; }
}
/* Grand écran : les deux rangées tiennent dans la hauteur, la première porte les dirigeants. */
@media (min-width: 1000px) {
  .sit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 35vh, 400px); }
  .sitc { grid-column: span 3; }
  .sitc--cession { grid-column: span 5; }
  .sitc--tresorerie { grid-column: span 4; }
  .sitc--cession .sitc__txt strong, .sitc--tresorerie .sitc__txt strong { font-size: clamp(1.45rem, 2.1vw, 2.1rem); }
}

/* Approche : lecture au défilement, puis méthode pilotée au scroll */
.app { padding-top: clamp(50px, 9vh, 100px); background: linear-gradient(var(--ink-0), var(--navy-deep) 30%); }
.app__top { display: grid; gap: clamp(34px, 5vw, 60px); align-items: start; }
.app__read { font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(1.35rem, 2vw, 1.95rem); line-height: 1.32; letter-spacing: -.008em; }
.stats { display: flex; flex-wrap: wrap; gap: 1.4rem clamp(2.4rem, 8vw, 7rem); margin-top: clamp(30px, 6vh, 60px); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .2rem; }
.stats dd { font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; color: var(--gold-2); font-variant-numeric: lining-nums tabular-nums; }
.stats dt { color: var(--muted); font-size: .92rem; line-height: 1.3; }
@media (min-width: 900px) { .app__top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(50px, 6vw, 110px); } }
.app__ph { margin: 0; }
.app__main { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 1/1; background: var(--night); }
.app__main img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.app__txt { min-width: 0; }
.app__txt .stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 1.4rem clamp(1.6rem, 4vw, 4rem); }
.app__read { margin-top: clamp(1.1rem, 2vw, 1.6rem); }
.meth { margin-top: clamp(30px, 6vh, 70px); padding-bottom: clamp(60px, 10vh, 100px); }
.meth__media { display: none; }
.mstep { padding-block: 1.6rem; }
.mstep__img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 20px; margin-bottom: 1.1rem; }
.mstep__n { color: var(--gold-2); font-size: .92rem; font-variant-numeric: tabular-nums; }
.mstep h3 { margin-top: .35rem; font-family: var(--serif); font-variation-settings: 'opsz' 15; font-weight: 400; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.014em; }
.mstep__d { margin-top: .7rem; max-width: 30rem; color: var(--muted); font-size: clamp(1.0625rem, 1.25vw, 1.15rem); }
.mstep .pills { margin-top: 1rem; }
.meth__bar { display: none; }
@media (min-width: 900px) {
  /* Sans mouvement : les trois étapes côte à côte plutôt que trois photos géantes */
  .meth:not(.is-pin) .meth__txt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
  .meth:not(.is-pin) .mstep { padding-block: 0; }
  .meth:not(.is-pin) .mstep h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
}
@media (min-width: 900px) {
  .meth.is-pin { height: 300vh; padding-bottom: 0; }
  .meth.is-pin .meth__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
  .meth.is-pin .meth__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
  .meth.is-pin .meth__media { display: block; position: relative; height: min(72vh, 620px); }
  .meth__img { position: absolute; inset: 0; overflow: hidden; border-radius: 28px; will-change: clip-path; }
  .meth__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
  .meth.is-pin .meth__txt { position: relative; min-height: 340px; padding-left: clamp(22px, 2.4vw, 34px); }
  .meth.is-pin .meth__bar { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(228, 224, 215, .16); }
  .meth__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(var(--gold-1), var(--copper)); transform-origin: 50% 0; transform: scaleY(0); }
  .meth.is-pin .mstep { position: absolute; left: clamp(22px, 2.4vw, 34px); right: 0; top: 50%; padding: 0; translate: 0 -50%; opacity: 0; transform: translateY(26px); visibility: hidden; transition: opacity .3s, transform .6s var(--press), visibility 0s .3s; }
  .meth.is-pin .mstep.is-past { transform: translateY(-26px); }
  .meth.is-pin .mstep.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .55s .08s, transform .75s .08s var(--press), visibility 0s; }
  .meth.is-pin .mstep__img { display: none; }
}

/* Épargne : un curseur, une façade dont les fenêtres s'éteignent */
.calc { padding-bottom: clamp(50px, 9vh, 100px); background: var(--ink-0); }
.calc__panel { display: grid; gap: clamp(24px, 3.4vw, 56px); padding: clamp(22px, 4vw, 60px); border-radius: clamp(26px, 3vw, 40px); background: linear-gradient(155deg, #2b2f54, #1f2240); box-shadow: inset 0 0 0 1px rgba(228, 224, 215, .1); }
.calc__f { display: block; margin-top: clamp(18px, 3.2vh, 32px); font-size: 1.0625rem; }
.calc__f b { font-weight: 500; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.calc__f .f-range { display: block; margin-top: .3rem; }
.calc .f-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .86rem; }
.calc__num { margin-top: clamp(14px, 2.6vh, 26px); font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -.024em; color: var(--gold-2); font-variant-numeric: lining-nums tabular-nums; }
.calc__lab { margin-top: .35rem; color: var(--muted); }
.calc__fig { margin: 0; }
.calc__w { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(5px, .7vw, 9px); }
.calc__w i { display: block; aspect-ratio: 3/4; border-radius: 99px 99px 2px 2px; background: #eccb84; transition: background .5s; }
.calc__w i:nth-child(3n) { background: #f3d899; }
.calc__w i:nth-child(7n) { background: #dfba70; }
.calc__w i.is-off { background: rgba(228, 224, 215, .1); }
.calc__fig figcaption { margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.calc__note { margin-top: 1rem; max-width: 38rem; color: var(--muted); font-size: .84rem; line-height: 1.45; }
@media (min-width: 900px) {
  .calc__panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: 'txt fig' 'end fig'; align-items: center; row-gap: clamp(18px, 2.4vw, 30px); }
  .calc__txt { grid-area: txt; } .calc__fig { grid-area: fig; } .calc__end { grid-area: end; align-self: start; }
}
/* Téléphone : une carte qui tient sur un écran, sans les fenêtres. Le résultat passe au-dessus des curseurs, le pouce ne le cache plus. */
@media (max-width: 899px) {
  .calc__panel { gap: 14px; padding: 20px 18px 18px; border-radius: 24px; }
  .calc__fig, .calc .lead, .calc .f-scale { display: none; }
  .calc__txt { display: flex; flex-direction: column; }
  .calc__txt > * { order: 2; }
  .calc__txt > h2 { order: 0; font-size: 1.65rem; }
  .calc__num, .calc__lab { order: 1; }
  .calc__num { margin-top: .8rem; font-size: 2.75rem; }
  .calc__lab { margin-top: .2rem; font-size: .92rem; }
  .calc__f { margin-top: .85rem; font-size: 1rem; }
  .calc__end .btn { width: 100%; min-height: 50px; }
  .calc__note { margin-top: .65rem; font-size: .75rem; line-height: 1.4; }
}

/* Terrain : ses vraies photos. La première s'ouvre en plein écran, les autres forment un mur. */
.eng { position: relative; padding-block: clamp(60px, 10vh, 110px) clamp(110px, 17vh, 180px); background: var(--navy-deep); }
.eng__head h2 { max-width: 22ch; }
.eng__open { margin-top: clamp(26px, 5vh, 46px); padding-inline: var(--gut); }
.eng__frame { margin: 0; overflow: hidden; border-radius: 22px; aspect-ratio: 16/10; background: var(--night); }
.eng__frame img { width: 100%; height: 100%; object-fit: cover; }
.eng__cap { margin-top: .8rem; }
.eng__cap strong, .wall__ph figcaption strong { display: block; font-weight: 500; line-height: 1.25; color: var(--gold-2); }
.eng__cap span { display: block; margin-top: .2rem; color: rgba(241, 237, 228, .86); font-size: .95rem; line-height: 1.4; }
.eng__open.is-pin { height: 240vh; padding-inline: 0; }
.is-pin .eng__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.is-pin .eng__frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; will-change: clip-path; }
.is-pin .eng__cap { position: absolute; left: var(--gut); bottom: clamp(20px, 4.4vh, 44px); max-width: 27rem; margin: 0; padding: .9rem 1.1rem; border-radius: 18px; background: rgba(23, 26, 48, .66); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); box-shadow: inset 0 0 0 1px rgba(228, 224, 215, .14); will-change: opacity, transform; }

.wall { display: flex; gap: 12px; margin-top: clamp(18px, 3vh, 28px); padding-inline: var(--gut); scroll-padding-inline: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wall::-webkit-scrollbar { display: none; }
.wall__ph { position: relative; flex: none; width: min(80vw, 340px); height: min(104vw, 440px); margin: 0; overflow: hidden; border-radius: 22px; background: var(--night); scroll-snap-align: start; }
.wall__ph img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.wall__ph--prisme-logos { background: #000; }
.wall__ph--prisme-logos img { top: 0; height: 100%; padding: 8%; object-fit: contain; }
.wall__ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.4rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(15, 20, 38, .9)); }
.wall__ph figcaption span { display: block; margin-top: .15rem; color: rgba(241, 237, 228, .88); font-size: .92rem; line-height: 1.38; }
@media (min-width: 900px) {
  .wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: clamp(360px, 37vw, 500px) clamp(290px, 27vw, 380px) clamp(270px, 25vw, 350px); gap: clamp(12px, 1.4vw, 20px); max-width: 1320px; margin-inline: auto; overflow: visible; }
  .wall__ph { width: auto; height: auto; }
  .wall__ph--mendes-duo { grid-column: span 4; } .wall__ph--enbb-parquet { grid-column: span 8; }
  .wall__ph--enbb-equipe { grid-column: span 6; } .wall__ph--rose-portrait, .wall__ph--rose-bureau { grid-column: span 3; }
  .wall__ph--prisme-projection { grid-column: span 8; } .wall__ph--prisme-logos { grid-column: span 4; }
}

/* Confiance et questions : la nuit est finie, une feuille ivoire remonte sur la photo */
.light { --text: #1b1d33; --muted: rgba(27, 29, 51, .68); --line: rgba(27, 29, 51, .16); --gold-2: #96702a; --gold-3: #96702a; position: relative; z-index: 2; margin-top: -44px; border-radius: 44px 44px 0 0; background: #f1ede4; color: var(--text); overflow: clip; }
.trust { padding-block: clamp(70px, 12vh, 130px) clamp(50px, 8vh, 90px); }
.trust__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem 2rem; margin-bottom: clamp(24px, 4.4vh, 40px); }
.logos, .revs__row { display: flex; width: max-content; will-change: transform; }
.logos ul, .revs__row ul { display: flex; flex: none; }
.logos ul { gap: 12px; padding-right: 12px; }
.logos li { display: grid; place-items: center; flex: none; height: clamp(70px, 6.4vw, 88px); padding-inline: clamp(24px, 2.6vw, 38px); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(27, 29, 51, .06), 0 10px 26px -18px rgba(27, 29, 51, .3); }
.logos img { display: block; width: auto; max-width: none; height: var(--h); }
.revs { display: grid; gap: 14px; margin-top: clamp(26px, 5vh, 48px); }
.revs__row ul { gap: 14px; padding-right: 14px; }
.rev { flex: none; display: flex; flex-direction: column; width: clamp(280px, 25vw, 372px); padding: clamp(18px, 1.7vw, 24px); border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(27, 29, 51, .05), 0 14px 34px -24px rgba(27, 29, 51, .35); }
.rev blockquote { flex: 1; font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(1.14rem, 1.32vw, 1.3rem); line-height: 1.3; }
.rev__who { display: flex; align-items: center; gap: .55rem; margin-top: .85rem; color: var(--muted); font-size: .92rem; }
.rev__who small { display: block; font-size: .82rem; line-height: 1.25; }
.rev__src { margin-left: auto; display: grid; color: rgba(27, 29, 51, .42); font-size: 1.1rem; }
.rev__i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #1b1d33; color: #eec75c; font-size: .74rem; font-weight: 500; }
/* Sans mouvement : les rangées se posent en grille, rien n'est perdu hors écran */
.is-still { width: auto; padding-inline: var(--gut); transform: none !important; }
.is-still ul { flex-wrap: wrap; flex: 1; padding-right: 0; }
.is-still ul[aria-hidden] { display: none; }

/* Questions */
.qa { padding-block: clamp(40px, 7vh, 80px) clamp(90px, 14vh, 150px); }
.qa__in { display: grid; gap: clamp(28px, 5vw, 90px); align-items: start; }
.qa__side img { display: block; width: min(100%, 300px); height: auto; margin-top: clamp(20px, 4vh, 40px); border-radius: 22px; }
.qa__list details { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.qa__list details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1.1rem; font-size: 1.0625rem; line-height: 1.36; cursor: pointer; list-style: none; touch-action: manipulation; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ph { color: var(--gold-3); transition: transform .4s var(--press); }
.qa details[open] summary .ph { transform: rotate(45deg); }
.qa details p { color: var(--muted); max-width: 40rem; padding-bottom: 1.3rem; font-size: 1rem; }
.qa details::details-content { block-size: 0; overflow: clip; transition: block-size .42s var(--press), content-visibility .42s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }
@media (min-width: 900px) { .qa__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* Fin de page */
.end { position: relative; z-index: 3; margin-top: -44px; border-radius: 44px 44px 0 0; display: grid; align-items: end; min-height: 74svh; padding-block: clamp(80px, 14vh, 150px) clamp(56px, 10vh, 100px); overflow: hidden; isolation: isolate; background: var(--navy-deep); }
.end__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.end::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 20, 38, .78), transparent 58%), linear-gradient(90deg, rgba(15, 20, 38, .92), rgba(15, 20, 38, .68) 42%, rgba(15, 20, 38, .12) 78%); }
.end__in { min-width: 0; }
.end__who { margin-top: clamp(1.4rem, 3vh, 2.2rem); color: rgba(241, 237, 228, .92); font-size: 1rem; }
.end h2 { max-width: 16ch; }
.end__in > p { margin-top: .8rem; }
.end .beat__cta { margin-top: 1.4rem; }

.foot { background: var(--ink-0); padding-top: clamp(60px, 10vh, 110px); }
.foot__grid { display: grid; gap: 2rem clamp(2rem, 6vw, 6rem); grid-template-columns: 1fr; font-size: .94rem; }
.foot__brand svg { width: 52px; } .foot__brand p { margin-top: .9rem; color: var(--muted); max-width: 22rem; }
.foot li a, .foot__contact a { display: block; padding-block: .3rem; color: rgba(241, 237, 228, .84); }
.foot li a:hover, .foot__contact a:hover { color: var(--gold-2); }
.foot__legal { margin-top: 2.4rem; color: rgba(228, 224, 215, .5); font-size: .84rem; line-height: 1.5; }
.foot__dunes { position: relative; margin-top: clamp(30px, 6vh, 60px); height: clamp(120px, 17vw, 240px); overflow: hidden; }
.dunes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.foot__dunes p { position: absolute; left: 0; right: 0; bottom: calc(clamp(14px, 3vw, 40px) + env(safe-area-inset-bottom)); padding-inline: 16px; text-align: center; color: #fff; font-size: clamp(.62rem, 1vw, .9rem); letter-spacing: .13em; text-transform: uppercase; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Pages situation */
.s-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--night); padding-block: calc(var(--nav-h) + 20px) clamp(40px, 9vh, 96px); isolation: isolate; }
.s-hero__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; z-index: -2; will-change: transform; animation: s-push 12s cubic-bezier(.2, .7, .2, 1) both; }
/* Poussée de caméra sur l'image 2K : aucun morphing ni pixel, le mouvement reste parfaitement stable. */
@keyframes s-push { from { transform: scale(1); } to { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .s-hero__v { animation: none; } }
.s-hero .film__shade { z-index: -1; background: linear-gradient(90deg, rgba(15, 20, 38, .9), rgba(15, 20, 38, .68) 38%, transparent 72%), linear-gradient(180deg, rgba(15, 20, 38, .38), transparent 15%), linear-gradient(0deg, rgba(15, 20, 38, .6), transparent 42%); }
.crumbs { display: flex; gap: .55em; color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--text); }
.s-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1.04; }
.s-hook { margin-top: 1.2rem; max-width: 37rem; font-size: clamp(1.1rem, 1.55vw, 1.42rem); line-height: 1.48; color: rgba(241, 237, 228, .9); }
.s-body { display: grid; gap: clamp(44px, 7vh, 80px) clamp(30px, 5vw, 76px); padding-block: clamp(90px, 16vh, 180px); }
.s-block h2, .s-tools h2 { font-size: clamp(1.3rem, 1.75vw, 1.6rem); line-height: 1.2; letter-spacing: -.006em; color: var(--gold-2); margin-bottom: 1rem; }
.s-block li { padding-block: .85rem; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.s-tools p { margin-top: 1rem; color: var(--muted); font-size: .98rem; }
@media (min-width: 900px) { .s-body { grid-template-columns: repeat(3, 1fr); } .s-tools { grid-column: 1 / -1; } }
.s-me { display: grid; gap: clamp(20px, 3vw, 44px); align-items: center; padding-bottom: clamp(70px, 12vh, 140px); }
.s-me img { width: min(100%, 300px); height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 30%; border-radius: 22px; }
.s-me__q { font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.14; letter-spacing: -.012em; max-width: 24ch; }
.s-me__who { margin-top: .8rem; color: var(--muted); font-size: 1rem; }
.s-me .link { margin-top: 1rem; }
@media (min-width: 700px) { .s-me { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); } }
.s-next { position: relative; display: block; overflow: hidden; background: var(--night); isolation: isolate; }
.s-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -1; transition: transform 1.1s var(--press), opacity .5s; }
.s-next .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .3rem 1.4rem; padding-block: clamp(60px, 12vh, 120px); }
.s-next small { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.s-next strong { font-family: var(--serif); font-variation-settings: 'opsz' 15; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.8rem); line-height: 1.1; letter-spacing: -.012em; }
.s-next .ph { width: 1.5rem; height: 1.5rem; color: var(--gold-2); }
.s-next:active { opacity: .8; }
@media (hover: hover) and (pointer: fine) { .s-next:hover img { transform: scale(1.04); opacity: .8; } }

/* Prise de rendez-vous */
.rdv { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 16px) var(--gut) clamp(28px, 6vh, 60px); isolation: isolate; background: var(--night); overflow: hidden; }
.rdv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .34; z-index: -1; }
.rdv__panel { width: min(100%, 44rem); margin-inline: auto; padding: clamp(22px, 4vw, 52px); border-radius: 30px; background: rgba(27, 29, 51, .8); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); box-shadow: 0 0 0 1px rgba(228, 224, 215, .13), 0 50px 120px -40px #000; }
.rdv__who { margin-bottom: clamp(16px, 3vh, 26px); }
.rdv__who .who__i { width: 56px; height: 56px; }
.rdv__who span { line-height: 1.35; color: var(--muted); font-size: .98rem; }
.rdv__who strong { display: block; color: var(--text); font-weight: 500; }
.rdv__lights { display: flex; gap: 7px; margin-bottom: clamp(20px, 4vh, 36px); }
.rdv__lights i { width: 11px; height: 15px; border-radius: 6px 6px 1px 1px; background: rgba(228, 224, 215, .12); box-shadow: inset 0 0 0 1px rgba(228, 224, 215, .3); transition: background .55s, box-shadow .55s; }
.rdv__lights i.is-lit { background: var(--gold-1); box-shadow: 0 0 12px rgba(252, 210, 95, .75); }
.f-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-q { padding: 0; font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.016em; color: var(--text); text-wrap: balance; }
.f-hint { margin-top: .9rem; color: var(--muted); }
.f-note { margin-top: 1rem; color: var(--muted); font-size: .94rem; }
.f-list { margin-top: 1.1rem; display: grid; gap: .55rem; }
.f-list li { display: flex; gap: .65rem; align-items: flex-start; }
.f-list .ph { color: var(--gold-2); margin-top: .2em; }
.f-choices { display: grid; gap: 8px; margin-top: 1.3rem; }
.f-choices--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.f-choice { position: relative; display: block; cursor: pointer; touch-action: manipulation; }
.f-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.f-choice span { display: block; padding: .84rem 1.05rem; border-radius: 14px; line-height: 1.32; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s, color .25s, transform .14s var(--press); }
.f-choice:active span { transform: scale(.985); }
.f-choice input:checked + span { background: rgba(238, 199, 92, .13); box-shadow: inset 0 0 0 1.5px var(--gold-2); color: #fbeec7; }
.f-choice input:focus-visible + span { outline: 2px solid var(--gold-1); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .f-choice:hover span { box-shadow: inset 0 0 0 1px rgba(228, 224, 215, .42); } }
.f-field { display: block; margin-top: 1rem; }
.f-field > span { display: block; margin-bottom: .36rem; color: var(--muted); font-size: .95rem; }
.f-field em { color: inherit; font-style: normal; opacity: .7; font-size: .88em; }
.f input:not([type=radio], [type=checkbox], [type=range]), .f textarea, .f select { width: 100%; min-height: 52px; padding: .78rem 1rem; font: inherit; font-size: 1rem; color: var(--text); background: rgba(228, 224, 215, .06); border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.f input:focus, .f textarea:focus, .f select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--gold-2); background: rgba(228, 224, 215, .09); }
.f ::placeholder { color: rgba(228, 224, 215, .42); }
.f select option { color: #111; }
.f-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.f-amount { display: block; margin-top: 1rem; font-family: var(--serif); font-variation-settings: 'opsz' 15; font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1.04; letter-spacing: -.024em; color: var(--gold-2); font-variant-numeric: lining-nums tabular-nums; }
.f-range { --p: 50%; width: 100%; height: 34px; margin-top: .9rem; appearance: none; -webkit-appearance: none; background: transparent; cursor: grab; touch-action: pan-y; }
.f-range:active { cursor: grabbing; }
.f-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-1), var(--copper) var(--p), rgba(228, 224, 215, .18) var(--p)); }
.f-range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(228, 224, 215, .18); }
.f-range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold-2); }
.f-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 0 7px rgba(252, 210, 95, .16), 0 6px 18px rgba(0, 0, 0, .4); transition: transform .16s var(--press), box-shadow .2s; }
.f-range:active::-webkit-slider-thumb { transform: scale(1.14); box-shadow: 0 0 0 11px rgba(252, 210, 95, .18), 0 6px 18px rgba(0, 0, 0, .4); }
.f-range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--gold-1); }
.f-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.f-below { margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(218, 173, 95, .45); }
.f-link { display: inline-block; margin-top: .4rem; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.f-consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.1rem; font-size: .93rem; line-height: 1.42; color: var(--muted); cursor: pointer; }
.f-consent input { width: 20px; height: 20px; flex: none; margin-top: .1em; accent-color: var(--gold-3); }
.f-err { display: block; margin-top: .55rem; color: #f3b28c; font-size: .92rem; }
.f-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.f-step[data-step="intro"] .f-nav { justify-content: flex-start; }
.f-back { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--muted); padding-inline: 0; touch-action: manipulation; }
.f-back:active { opacity: .6; }
.f [hidden] { display: none !important; }
.f-step:focus { outline: 0; }

.legal { padding-block: calc(var(--nav-h) + 50px) 80px; max-width: 54rem; display: grid; gap: 1.1rem; }
.legal__todo { padding: 1rem 1.2rem; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(218, 173, 95, .45); color: #ecd9ad; }

/* Mobile : le film devient vertical, le titre occupe l'espace libre de la pièce. */
@media (max-aspect-ratio: 1/1) {
  .s-hero__v { object-position: 66% 46%; }
  .film__seam { inset: 0; width: auto; background: linear-gradient(180deg, rgba(15, 20, 38, .78), rgba(15, 20, 38, .6) 30%, transparent 50%); }
  .film__shade { background: linear-gradient(180deg, rgba(15, 20, 38, .6), transparent 24%), linear-gradient(0deg, rgba(15, 20, 38, .86) 4%, rgba(15, 20, 38, .5) 30%, transparent 54%); }
  .beat { bottom: calc(clamp(26px, 6vh, 56px) + env(safe-area-inset-bottom)); }
  .beat--hero { max-width: none; top: calc(var(--nav-h) + 8px + env(safe-area-inset-top)); bottom: calc(clamp(22px, 4vh, 44px) + env(safe-area-inset-bottom)); }
  .beat--hero h1 { font-size: clamp(2.4rem, 11.4vw, 4.6rem); }
  .beat--quote { left: var(--gut); max-width: none; text-align: left; }
  .film__rail { right: 2px; top: auto; bottom: auto; top: 42%; }
  .film__rail button { width: 30px; height: 28px; }
  .film__rail span { display: none; }
  .film__dark, .film__glow { display: none; }
}

/* Très petits écrans : le bouton principal reste dans la colonne. */
@media (max-width: 360px) { .btn { padding-inline: 1.15rem; font-size: 1rem; white-space: normal; text-align: center; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .w > span { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav::after, .drop, .menu, .rdv__panel, .is-pin .eng__cap { background: var(--navy-deep); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sitc__go { background: var(--navy-deep); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .calc__w i.is-off { box-shadow: inset 0 0 0 1px var(--cream); }
  :root { --muted: #e8e4dc; --line: rgba(228, 224, 215, .55); }
  .nav::after, .drop, .menu, .rdv__panel { background: #0b0e1c; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 0 0 1px var(--cream); }
}
