/* Studio Depaix — studiodepaix.fr
   Identité : anthracite #1C1B19, bronze #B08D57, ivoire #F4EFE6 · Fraunces (titres, comme le logo) + Instrument Sans (texte). */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ground: #1C1B19; --deep: #121110; --field: #262421;
  --ink: #F4EFE6; --muted: #B9B1A4;
  --accent: #B08D57; --accent-ink: #1C1B19;
  --paper: #F4EFE6; --paper-2: #E9E2D5; --paper-ink: #1C1B19; --paper-muted: #5C5548; --paper-accent: #76592B;
  --m: clamp(16px, 2.3vw, 32px);
  --gap: clamp(112px, 13vw, 208px);
  --r: 14px;
  /* six tailles, pas une de plus : très grand, titre, sous-titre, chapeau, texte, note */
  --t-display: clamp(40px, 12.2vw, 208px);
  --t-title: clamp(36px, 5vw, 80px);
  --t-sub: clamp(26px, 2.5vw, 38px);
  --t-mid: 24px;
  --t-text: 18px;
  --t-note: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --e: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-text)/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { font-family: var(--serif); font-weight: 540; letter-spacing: -.035em; line-height: 1; margin: 0; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .07em; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible, .coupon :focus-visible, .m-left :focus-visible, footer :focus-visible { outline-color: var(--paper-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 20; background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }
/* la coupe « grand titre » de Fraunces, même sur un petit écran */
.sentence, .clause, .mo-name, .proofs > h2, .c-left h2, .mail, .legal h1, .shot .big { font-variation-settings: "opsz" 144; }

/* le bouton : une seule forme sur tout le site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--t-text); line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--e), background-color .2s; }
.btn:hover { background: #C39F68; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.small { min-height: 46px; padding: 0 22px; }
.btn.dark { background: var(--paper-ink); color: var(--paper); }
.btn.dark:hover { background: #33312D; }
.link { font-weight: 600; }

/* la scène 3D : une couche fixe. Dans la phrase d'accueil on ne la voit qu'à travers la fenêtre ;
   en défilant, elle s'ouvre comme un rideau par-dessus l'accueil, puis passe derrière les textes de la section suivante. */
#stage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; /* taste-skill-ignore : repli pour les anciens navigateurs */ height: 100lvh; z-index: 2; visibility: hidden; pointer-events: none; background: var(--deep); clip-path: inset(50%); will-change: clip-path, transform; }
#stage canvas { display: block; width: 100%; height: 100%; }
html.gl #stage { visibility: visible; }
main > section:not(.hero):not(.fenetre), footer { position: relative; z-index: 3; }

/* ---------- navigation : une ligne simple ---------- */
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); padding: 16px var(--m); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: var(--t-mid); letter-spacing: -.01em; margin-right: auto; white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.nav nav { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav nav a { text-decoration: none; padding: 10px 0; }
.nav nav a:hover, .foot-meta a:hover, .foot-top a:hover { text-decoration: underline; }

/* ---------- accueil : la phrase est la mise en page ---------- */
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-rows: 1fr auto; gap: clamp(28px, 5vh, 64px); padding: 0 var(--m) clamp(28px, 5vh, 56px); }
.sentence { align-self: center; font-size: var(--t-display); line-height: .98; letter-spacing: -.045em; font-weight: 520; text-wrap: nowrap; padding-top: .08em; }
.sentence .l1 { display: flex; align-items: baseline; gap: .2em; }
.sentence .l2 { display: block; }
.slot { position: relative; flex: 1; height: .7em; border-radius: var(--r); overflow: hidden; background: var(--deep); }
.slot picture { display: contents; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: shutter 1.1s var(--e) both; }
@keyframes shutter { from { clip-path: inset(0 100% 0 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
html.gl .slot img { display: none; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.hero-foot .lead { grid-column: 1 / span 7; max-width: 40ch; font-size: var(--t-mid); line-height: 1.36; }
.namefield { grid-column: 8 / -1; }
.namefield label { display: block; font-size: var(--t-note); color: var(--muted); margin-bottom: 8px; }
.namefield .row { display: flex; gap: 10px; }
.namefield input { flex: 1; min-width: 0; height: 54px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--field); color: var(--ink); }
.namefield input::placeholder { color: var(--muted); opacity: 1; }
.namefield .note { margin-top: 10px; font-size: var(--t-note); color: var(--muted); }

/* ---------- la fenêtre s'ouvre : vitrine, site, fiche Google ---------- */
.fenetre { padding: var(--gap) var(--m) 0; }
.fenetre h2 { font-size: var(--t-sub); color: var(--muted); }
.fenetre h3 { font-size: var(--t-title); font-variation-settings: "opsz" 144; }
.fenetre .caps { display: grid; gap: clamp(40px, 6vw, 88px); margin-top: clamp(40px, 6vw, 88px); }
.fenetre figure { margin: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.fenetre figure img { grid-column: 1 / span 7; width: 100%; border-radius: var(--r); background: var(--deep); }
.fenetre figure:nth-child(even) img { grid-column: 6 / -1; order: 2; }
.fenetre figcaption { grid-column: 9 / -1; }
.fenetre figure:nth-child(even) figcaption { grid-column: 1 / span 4; }
.fenetre figcaption p { margin-top: 18px; font-size: var(--t-mid); line-height: 1.36; max-width: 26ch; }
.fenetre-dots { display: none; }
html.gl .fenetre { height: 320vh; padding: 0; background: var(--deep); }
html.gl .fenetre-pin { position: sticky; z-index: 3; top: 0; height: 100vh; /* taste-skill-ignore : repli */ height: 100svh; padding: clamp(72px, 12vh, 132px) var(--m) clamp(28px, 6vh, 64px); display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr; column-gap: 24px; }
html.gl .fenetre h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.gl .fenetre .caps { grid-column: 1 / span 5; grid-row: 1; align-self: end; position: relative; display: block; margin: 0 0 34px; min-height: 13em; }
html.gl .fenetre figure { display: block; position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity .45s var(--e), transform .6s var(--e), visibility 0s linear .45s; }
html.gl .fenetre figure.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html.gl .fenetre figure img { display: none; }
html.gl .fenetre-dots { display: flex; gap: 8px; grid-column: 1 / span 5; grid-row: 1; align-self: end; }
html.gl .fenetre-dots i { width: 28px; height: 6px; border-radius: 3px; background: var(--field); transition: background-color .3s, width .4s var(--e); }
html.gl .fenetre[data-actif="0"] .fenetre-dots i:nth-child(1), html.gl .fenetre[data-actif="1"] .fenetre-dots i:nth-child(2), html.gl .fenetre[data-actif="2"] .fenetre-dots i:nth-child(3) { background: var(--accent); width: 56px; }
@media (max-width: 900px) {
  .fenetre figure, .fenetre figure:nth-child(even) { display: block; }
  .fenetre figure img { margin-bottom: 20px; }
  html.gl .fenetre-pin { display: flex; flex-direction: column; padding-top: 28px; padding-bottom: 44px; }
  html.gl .fenetre .caps { margin: auto 0 0; min-height: 9.6em; width: 100%; }
  html.gl .fenetre figcaption p { margin-top: 10px; max-width: 34ch; }
  html.gl .fenetre-dots { margin-top: 18px; order: 3; align-self: flex-start; }
}

/* ---------- méthode : on glisse d'une étape à l'autre ---------- */
.method { margin-top: var(--gap); display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--paper-ink); }
html.gl .method { margin-top: 0; }
.m-left { padding: clamp(40px, 6vw, 96px) var(--m) 190px; min-height: 88svh; }
.m-right { background: var(--field); color: var(--ink); display: grid; place-items: center; padding: clamp(32px, 5vw, 72px) var(--m) 190px; min-height: 88svh; }
.clause { font-size: var(--t-title); max-width: 9.5em; min-height: 2em; }
.m-copy { margin-top: clamp(24px, 3vw, 40px); max-width: 30ch; font-size: var(--t-mid); line-height: 1.36; }
.stage-copy[hidden] { display: none; }
html:not(.js) .stage-copy[hidden] { display: block; margin-top: 56px; }
html:not(.js) .m-slider { display: none; }
.stage-copy.swap .clause, .stage-copy.swap .m-copy { animation: rise .5s var(--e) both; }
.stage-copy.swap .m-copy { animation-delay: .07s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.m-slider { position: absolute; left: var(--m); right: var(--m); bottom: clamp(36px, 6vh, 64px); }
.track { position: relative; height: 32px; }
.track::before, .track::after { content: ""; position: absolute; top: 12px; height: 8px; }
.track::before { left: 0; width: calc(50% - var(--m)); background: #CFC6B6; border-radius: 4px 0 0 4px; }
.track::after { left: calc(50% - var(--m)); right: 0; background: #48443E; border-radius: 0 4px 4px 0; }
.track .done { position: absolute; left: 0; top: 12px; height: 8px; width: calc(var(--p, 0) * (100% - 32px) + 16px); background: var(--paper-accent); border-radius: 4px; z-index: 1; transition: width .35s var(--e); }
.track input { position: absolute; inset: 0; width: 100%; height: 32px; margin: 0; background: none; -webkit-appearance: none; appearance: none; z-index: 2; cursor: grab; }
.track input::-webkit-slider-runnable-track { height: 32px; background: none; }
.track input::-moz-range-track { height: 32px; background: none; }
.track input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 6px; transition: transform .2s var(--e); }
.track input::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 6px; }
.track input:active::-webkit-slider-thumb { transform: scale(1.14); }
.stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.stops li:nth-child(2) { padding-left: 20%; } .stops li:nth-child(3) { text-align: right; padding-right: 20%; } .stops li:nth-child(4) { text-align: right; }
.stops button { background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--paper-muted); }
.stops li:nth-child(n+3) button { color: var(--muted); }
.stops li.on button { color: var(--paper-ink); font-weight: 600; } .stops li.on:nth-child(n+3) button { color: var(--ink); }

/* le fragment : un vrai morceau de site, avec le nom du visiteur */
.frag { width: min(380px, 100%); border-radius: var(--r); overflow: hidden; background: var(--paper); color: var(--paper-ink); font-size: var(--t-note); line-height: 1.4; position: relative; }
.frag .bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--paper-2); color: var(--paper-muted); min-height: 44px; }
.frag .bar b { font-weight: 600; color: var(--paper-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frag .bar .state { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--paper-ink); color: var(--paper); font-weight: 600; white-space: nowrap; }
.frag .pane { padding: 20px 20px 22px; }
.frag .pane[hidden] { display: none; }
.frag h3 { font-size: var(--t-mid); letter-spacing: -.03em; line-height: 1.08; overflow-wrap: anywhere; }
.frag .sub { color: var(--paper-muted); margin-top: 6px; }
.frag .pic { margin: 16px 0; border-radius: 10px; background: var(--ground); aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.frag .pic svg { width: 78%; height: auto; }
.frag dl { margin: 0; display: grid; gap: 8px; }
.frag dl div { display: flex; justify-content: space-between; gap: 12px; }
.frag dt { font-weight: 600; } .frag dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--paper-muted); }
.frag .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.frag .acts span { display: grid; place-items: center; height: 44px; border-radius: 999px; font-weight: 600; background: var(--paper-2); }
.frag .acts span + span { background: var(--accent); }
.frag .checks { display: grid; gap: 10px; margin-top: 16px; }
.frag .checks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); font-weight: 600; }
.frag .checks li::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: #fff; border: 2px solid #A99F8E; flex: none; }
.frag .hint { margin-top: 14px; color: var(--paper-muted); }
.frag .sms { display: grid; gap: 8px; margin-top: 16px; }
.frag .sms p { max-width: 86%; padding: 10px 14px; border-radius: 16px; background: var(--paper-2); }
.frag .sms p + p { justify-self: end; background: var(--ground); color: var(--paper); }
.frag .paid { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); display: flex; justify-content: space-between; gap: 10px; }
.frag .pane.swap { animation: rise .45s var(--e) both; }

/* ---------- modèles : les noms font l'index, l'image suit ---------- */
.models { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.mo-head { grid-column: 1 / span 8; margin-bottom: 48px; }
.mo-head h2 { font-size: var(--t-sub); }
.mo-head p { margin-top: 14px; max-width: 46ch; color: var(--muted); }
.mo-list { grid-column: 1 / span 8; }
.mo-list a { display: grid; grid-template-columns: minmax(0, 66%) 1fr; align-items: baseline; column-gap: 20px; padding: 10px 0; text-decoration: none; color: var(--muted); transition: color .2s, transform .35s var(--e); }
.mo-list .mo-name { font-family: var(--serif); font-size: var(--t-title); line-height: 1; letter-spacing: -.035em; font-weight: 540; white-space: nowrap; }
.mo-list .mo-meta { font-size: var(--t-note); }
.mo-list a.on, .mo-list a:hover, .mo-list a:focus-visible { color: var(--ink); }
.mo-list a.on { transform: translateX(10px); }
.mo-list img { display: none; }
.mo-frame { grid-column: 9 / -1; grid-row: 1 / span 2; position: sticky; top: 12vh; aspect-ratio: 4 / 5; background: var(--deep); overflow: hidden; border-radius: var(--r); }
.mo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.mo-frame img.on { opacity: 1; }

/* ---------- tarifs : affichés comme une carte ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.prices { margin-top: var(--gap); padding: clamp(72px, 9vw, 144px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.pr-head { grid-column: 1 / span 3; position: sticky; top: 12vh; }
.pr-head h2 { font-size: var(--t-sub); }
.pr-head p { margin-top: 18px; color: var(--paper-muted); max-width: 24ch; }
.pr-head .btn { margin-top: 28px; }
.menu { grid-column: 5 / -1; columns: 2; column-gap: 64px; }
.menu section { break-inside: avoid; padding-bottom: 56px; }
.menu h3 { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--sans); font-size: var(--t-mid); font-weight: 600; letter-spacing: -.01em; margin-bottom: 22px; }
.menu h3 span { font-size: var(--t-text); font-weight: 500; color: var(--paper-muted); }
.menu li + li { margin-top: 22px; }
.menu .line { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-weight: 600; }
.menu .line b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu li p { margin-top: 4px; max-width: 36ch; color: var(--paper-muted); line-height: 1.42; }
.menu .foot { break-inside: avoid; font-size: var(--t-note); color: var(--paper-muted); max-width: 44ch; }

/* ---------- garanties : des lignes accrochées à un axe ---------- */
.proofs { padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.proofs > h2 { grid-column: 5 / -1; font-size: var(--t-title); min-height: 62svh; display: flex; align-items: center; }
.proofs .rowp { grid-column: 5 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: start; }
.proofs .rowp + .rowp { margin-top: clamp(72px, 8vw, 116px); }
.rowp h3 { font-size: var(--t-sub); line-height: 1.06; max-width: 13em; }
.rowp p { margin-top: 16px; max-width: 34ch; }
.shot { border-radius: var(--r); background: var(--paper); color: var(--paper-ink); font-size: var(--t-note); line-height: 1.35; overflow: hidden; }
.shot.a { width: 300px; } .shot.b { width: 380px; } .shot.c { width: 260px; } .shot.d { width: 340px; } .shot.e { width: 280px; }
.shot .pad { padding: 20px; }
.shot .k { color: var(--paper-muted); margin: 0; } .shot .v { font-weight: 600; font-size: var(--t-text); margin: 0; overflow-wrap: anywhere; }
.shot .v + .k { margin-top: 14px; }
.shot .cta { display: grid; place-items: center; height: 54px; margin: 0; border-radius: 999px; background: var(--accent); font-weight: 600; font-size: var(--t-text); }
.shot .via { margin: 12px 0 0; text-align: center; color: var(--paper-muted); }
.shot .sms { display: grid; gap: 8px; }
.shot .sms p { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 16px; background: var(--paper-2); font-size: var(--t-text); }
.shot .sms p + p { justify-self: end; background: var(--ground); color: var(--paper); }
.shot .big { font-family: var(--serif); font-size: var(--t-title); line-height: .9; letter-spacing: -.04em; margin: 0 0 6px; }

/* ---------- à propos ---------- */
.about { margin-top: var(--gap); padding: clamp(72px, 9vw, 144px) var(--m); background: var(--field); display: grid; grid-template-columns: 34% 1fr; row-gap: clamp(72px, 9vw, 120px); }
.about h2 { font-size: var(--t-sub); margin-bottom: 28px; }
.facts { display: grid; gap: 18px; align-content: start; font-size: var(--t-note); max-width: 200px; margin: 0; }
.facts dt, .towns-k { color: var(--muted); } .facts dd { margin: 0; }
.about .bio { font-size: var(--t-mid); line-height: 1.38; max-width: 32em; }
.towns { columns: 2; column-gap: 64px; max-width: 760px; }
.towns li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; break-inside: avoid; }
.towns li span { color: var(--muted); }
.towns-k { font-size: var(--t-note); padding-top: 9px; }

/* ---------- questions ---------- */
.faq { padding: var(--gap) var(--m) 0; }
.faq .qa { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; }
.faq .qa + .qa { margin-top: clamp(56px, 6vw, 88px); }
.faq h2, .faq h3 { grid-column: 1 / span 6; font-size: var(--t-sub); line-height: 1.1; font-weight: 520; }
.faq h2 { color: var(--muted); }
.faq .qa p { grid-column: 8 / -1; max-width: 42ch; line-height: 1.55; }

/* ---------- contact : le bon à découper ---------- */
.contact { padding: var(--gap) var(--m); }
.coupon { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 46% 1fr; background: var(--paper); color: var(--paper-ink); border-radius: var(--r); }
.coupon::before, .coupon::after { content: ""; position: absolute; left: 46%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--ground); }
.coupon::before { top: -14px; } .coupon::after { bottom: -14px; }
.c-left { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 500px; }
.c-left h2 { font-size: var(--t-title); max-width: 6.5em; }
.c-left p { max-width: 30ch; }
.c-form { padding: clamp(28px, 4vw, 48px); border-left: 5px dotted var(--ground); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.c-form .full { grid-column: 1 / -1; }
.c-form input, .c-form select { width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--paper-2); color: var(--paper-ink); -webkit-appearance: none; appearance: none; }
.c-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231C1B19' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.c-form input::placeholder { color: var(--paper-muted); opacity: 1; }
.c-form .err { outline: 2px solid #A3271B; outline-offset: -2px; }
.c-form .btn { width: 100%; min-height: 58px; border-radius: 8px; margin-top: 6px; }
.c-form .alt { text-align: center; margin-top: 8px; }
.c-form .msg { font-size: var(--t-note); color: var(--paper-muted); min-height: 1.4em; }
.c-form .msg.bad { color: #A3271B; font-weight: 600; }
.sent { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 8px; }
.sent[hidden] { display: none; }
.sent h3 { font-size: var(--t-sub); }
.sent pre { margin: 0; padding: 16px; border-radius: 8px; background: var(--paper-2); font: var(--t-note)/1.5 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.sent .acts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.textbtn { background: none; border: 0; padding: 10px 0; font-weight: 600; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- pied de page : l'adresse en très grand ---------- */
footer { background: var(--accent); color: var(--accent-ink); min-height: 92svh; padding: 40px var(--m) 28px; display: flex; flex-direction: column; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; font-size: var(--t-note); }
.foot-top p { grid-column: span 2; max-width: 22ch; } .foot-top p:first-child { grid-column: span 3; }
.foot-top a { grid-column: 11 / -1; justify-self: end; text-decoration: none; font-weight: 600; }
.mail { margin-top: auto; display: block; font-family: var(--serif); font-weight: 520; font-size: var(--t-display); line-height: .92; letter-spacing: -.045em; text-decoration: none; padding-top: 56px; transition: color .25s; white-space: nowrap; }
.mail span { display: block; }
.mail:hover { color: var(--paper); }
.foot-meta { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; font-size: var(--t-note); align-items: end; }
.foot-meta nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-meta a { text-decoration: none; font-weight: 600; }
.foot-meta p:last-child { text-align: right; }

/* ---------- entrées : chaque partie arrive à son tour ---------- */
html.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--e), transform .9s var(--e); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-rise].in { opacity: 1; transform: none; }

/* ---------- pages de texte (mentions légales) ---------- */
.legal { padding: clamp(48px, 7vw, 112px) var(--m) var(--gap); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.legal h1 { grid-column: 1 / -1; font-size: var(--t-title); margin-bottom: clamp(40px, 6vw, 88px); }
.legal section { grid-column: 5 / span 7; margin-bottom: 56px; }
.legal h2 { font-size: var(--t-sub); margin-bottom: 16px; }
.legal p + p, .legal ul { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.todo { background: #F2D675; color: #1C1B19; padding: 0 .3em; border-radius: 3px; font-weight: 600; }

/* ---------- écrans moyens ---------- */
@media (min-width: 761px) { .stage-names { display: none; } }
@media (max-width: 980px) { .nav nav a:not(.keep) { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-foot .lead { grid-column: 1 / span 6; } .namefield { grid-column: 7 / -1; }
  .namefield .row { flex-direction: column; } .namefield .row input { flex: none; width: 100%; } .namefield .btn { width: 100%; }
  .menu { columns: 1; }
  .proofs > h2, .proofs .rowp { grid-column: 3 / -1; }
  .shot.a, .shot.b, .shot.c, .shot.d, .shot.e { width: 260px; }
  .coupon { grid-template-columns: 42% 1fr; } .coupon::before, .coupon::after { left: 42%; }
  .c-form { grid-template-columns: 1fr; }
  .legal section { grid-column: 3 / -1; }
  .mo-list a { grid-template-columns: minmax(0, 74%) 1fr; }
}

/* ---------- téléphone : une composition à part entière ---------- */
@media (max-width: 760px) {
  :root { --t-display: clamp(38px, 14vw, 66px); --t-title: clamp(32px, 9.4vw, 44px); --t-sub: 24px; --t-mid: 20px; --t-text: 17px; }
  .brand span { display: none; }
  .hero { gap: 28px; }
  .sentence { text-wrap: wrap; line-height: 1; }
  .sentence .l1 { display: block; }
  .sentence .w { display: block; }
  .slot { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; margin: .14em 0 .1em; }
  .hero-foot { display: block; }
  .namefield { margin-top: 24px; }
  .namefield .row { flex-direction: column; }
  .namefield .row input { flex: none; width: 100%; }
  .namefield .btn { width: 100%; }
  .method { grid-template-columns: 1fr; }
  .m-right { order: 1; min-height: 0; padding: 28px var(--m); }
  .m-slider { position: static; order: 2; background: var(--field); padding: 0 var(--m) 30px; }
  .m-left { order: 3; min-height: 0; padding: 44px var(--m) 56px; }
  .track { height: 40px; } .track::before { top: 16px; width: 100%; border-radius: 4px; background: #5A554D; } .track::after { display: none; }
  .track .done { top: 16px; width: calc(var(--p, 0) * (100% - 40px) + 20px); background: var(--accent); }
  .track input { height: 40px; }
  .track input::-webkit-slider-runnable-track { height: 40px; } .track input::-moz-range-track { height: 40px; }
  .track input::-webkit-slider-thumb { width: 40px; height: 40px; } .track input::-moz-range-thumb { width: 40px; height: 40px; }
  .stops { display: none; }
  .clause { min-height: 2.05em; }
  .stage-names { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 28px; font-size: var(--t-note); color: var(--paper-muted); }
  .stage-names li.on { color: var(--paper-ink); font-weight: 600; }
  .models { display: block; }
  .mo-frame { display: none; }
  .mo-list li + li { margin-top: 40px; }
  .mo-list a { display: block; color: var(--ink); padding: 0; }
  .mo-list a.on { transform: none; }
  .mo-list img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); margin-bottom: 14px; background: var(--deep); }
  .mo-list .mo-name { display: block; white-space: normal; }
  .mo-list .mo-meta { display: block; margin-top: 6px; color: var(--muted); }
  .prices { display: block; }
  .pr-head { position: static; margin-bottom: 44px; }
  .menu { columns: 1; }
  .proofs { display: block; }
  .proofs > h2 { min-height: 44svh; }
  .proofs .rowp { display: block; }
  .proofs .rowp + .rowp { margin-top: 64px; }
  .shot { margin-top: 22px; }
  .shot.a, .shot.e { width: 100%; } .shot.b, .shot.d { width: 82%; margin-left: auto; } .shot.c { width: 64%; }
  .about { display: block; }
  .facts { grid-template-columns: 1fr 1fr; max-width: none; margin: 0 0 36px; }
  .towns { columns: 1; margin-top: 12px; } .towns-k { margin-top: 48px; color: var(--ink); font-weight: 600; }
  .faq .qa { display: block; }
  .faq .qa + .qa { margin-top: 52px; }
  .faq .qa p { margin-top: 12px; }
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { left: auto; top: var(--perf, 50%); bottom: auto; margin: -14px 0 0; }
  .coupon::before { left: -14px; } .coupon::after { right: -14px; }
  .c-left { min-height: 0; gap: 20px; padding: 28px 22px; }
  .c-form { border-left: 0; border-top: 5px dotted var(--ground); grid-template-columns: 1fr; padding: 28px 22px; }
  .foot-top { display: block; } .foot-top p { margin-bottom: 10px; max-width: none; } .foot-top a { display: inline-block; margin-top: 6px; }
  .foot-meta { grid-template-columns: 1fr; gap: 10px; } .foot-meta p:last-child { text-align: left; }
  .legal { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-rise] { opacity: 1; transform: none; }
}

/* ===================== effets v2 (assets/js/effets.js) ===================== */
#stage { contain: strict; }
/* le grain : une texture de film très légère sur toute la page, figée (aucun coût au défilement) */
body::after { content: ""; position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transform: translateZ(0); }
/* la barre de lecture */
.readbar { position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 2px; background: linear-gradient(90deg, #8a6a3a, var(--accent) 40%, #E9C27E); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; will-change: transform; }
/* le titre monte mot par mot, sous un masque */
html.fx .sentence .wd { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
html.fx .sentence .wd > span { display: inline-block; transform: translateY(108%); animation: wd-up 1s var(--e) var(--d, 0ms) both; }
@keyframes wd-up { to { transform: none; } }
html.fx .sentence .slot { animation: slot-in 1.1s var(--e) 260ms both; }
@keyframes slot-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
html.gl.fx .sentence .slot { animation: none; }
/* un filet doré qui fait le tour de la fenêtre */
.slot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(233, 194, 126, .28); }
/* les boutons aimantés : on ajoute un déplacement doux à l'effet de survol existant */
html.fx .btn { transition: background-color .25s, color .25s, transform .3s var(--e), translate .45s var(--e), box-shadow .3s; }
html.fx .btn:hover { box-shadow: 0 10px 30px -12px rgba(176, 141, 87, .7); }
html.fx .btn.dark:hover { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
/* les titres de section se découvrent comme un rideau */
html.js.fx h2[data-rise] { clip-path: inset(0 0 100% 0); transform: translateY(.25em); transition: clip-path 1.1s var(--e), transform 1.1s var(--e), opacity .4s; }
html.js.fx h2[data-rise].in { clip-path: inset(0 0 -.2em 0); transform: none; }
/* le cadre des modèles : inclinaison et reflet qui suit la souris */
html.fx .mo-frame { transition: transform .6s var(--e), box-shadow .6s var(--e); transform-style: preserve-3d; will-change: transform; }
html.fx .mo-frame.tilt { transition: transform .12s linear, box-shadow .6s var(--e); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
html.fx .mo-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 240, 210, .22), transparent 55%); mix-blend-mode: soft-light; }
html.fx .mo-frame.tilt::after { opacity: 1; }
html.fx .mo-frame img { transition: opacity .45s var(--e), transform 1.2s var(--e); transform: scale(1.06); }
html.fx .mo-frame img.on { transform: scale(1); }
html.fx .mo-list a .mo-name { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--e); padding-bottom: .04em; }
html.fx .mo-list a.on .mo-name, html.fx .mo-list a:hover .mo-name { background-size: 100% 2px; }
/* le halo qui suit la souris sur le menu des tarifs */
@property --ha { syntax: "<number>"; inherits: false; initial-value: 0; }
html.fx .menu { --ha: 0; transition: --ha .5s; background: radial-gradient(circle 280px at var(--hx, 50%) var(--hy, 50%), rgba(176, 141, 87, calc(.17 * var(--ha))), transparent 70%); border-radius: 18px; }
html.fx .menu.lit { --ha: 1; }
html.fx .menu .line b { transition: color .3s; }
html.fx .menu li:hover .line b { color: var(--paper-accent); }
/* les liens de navigation : un trait qui se dessine */
html.fx .nav nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat; transition: background-size .4s var(--e); }
html.fx .nav nav a:hover { text-decoration: none; background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) {
  .readbar { display: none; }
  html.fx .sentence .wd > span, html.fx .sentence .slot { animation: none; transform: none; }
}
html.fx .mo-list a .mo-name { justify-self: start; }

/* ===================== pied de page plus sobre ===================== */
footer { min-height: 0; padding-top: clamp(40px, 5vw, 64px); padding-bottom: 28px; }
.mail { font-size: clamp(30px, 5.8vw, 84px); line-height: 1; letter-spacing: -.035em; padding-top: clamp(56px, 7vw, 104px); white-space: nowrap; }
.mail span { display: inline; }

/* la séquence 3D un peu plus courte */
html.gl .fenetre { height: 270vh; }

/* ===================== onglets : garanties, qui je suis, questions ===================== */
.onglets { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.onglets h2 { grid-column: 1 / span 4; font-size: var(--t-sub); }
.onglets-list { grid-column: 5 / -1; border-top: 1px solid rgba(244, 239, 230, .16); }
.onglets-list a { display: grid; grid-template-columns: minmax(0, 15rem) 1fr auto; align-items: baseline; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(244, 239, 230, .16); text-decoration: none; color: var(--ink); transition: color .25s, padding .45s var(--e); }
.onglets-list b { font-family: var(--serif); font-size: var(--t-sub); font-weight: 520; letter-spacing: -.03em; line-height: 1.05; }
.onglets-list span { color: var(--muted); }
.onglets-list i { font-style: normal; font-size: 22px; color: var(--accent); transition: transform .45s var(--e); }
.onglets-list a:hover, .onglets-list a:focus-visible { padding-left: 14px; color: #fff; }
.onglets-list a:hover i, .onglets-list a:focus-visible i { transform: translate(4px, -4px); }
.volets-bar, .volets-foot { display: none; }
/* sans JavaScript : les rubriques restent dans la page, comme avant */
html:not(.has-volets) .onglets { display: none; }

html.has-volets .volets { position: fixed; inset: 0; z-index: 75; background: var(--ground); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  visibility: hidden; opacity: 0; transform: translateY(28px); transition: opacity .35s var(--e), transform .55s var(--e), visibility 0s linear .55s; }
html.has-volets .volets.open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--e), transform .55s var(--e), visibility 0s; }
html.volet-open, html.volet-open body { overflow: hidden; }
html.has-volets .volets > section { display: none; }
html.has-volets .volets > section.on { display: grid; }
html.has-volets .volets > section.faq.on { display: block; }
html.has-volets .volets-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--m); background: rgba(28, 27, 25, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(244, 239, 230, .1); }
.volets-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--field); overflow-x: auto; scrollbar-width: none; }
.volets-tabs button { flex: none; border: 0; border-radius: 999px; padding: 10px 18px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; transition: background-color .3s var(--e), color .3s; }
.volets-tabs button:hover { color: var(--ink); }
.volets-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.volets-close { flex: none; border: 0; background: none; color: var(--ink); cursor: pointer; font-weight: 600; padding: 10px 4px; display: inline-flex; align-items: center; gap: 8px; }
.volets-close span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--field); font-size: 22px; line-height: 1; transition: transform .4s var(--e), background-color .3s; }
.volets-close:hover span { transform: rotate(90deg); background: #34312C; }
html.has-volets .volets-foot { display: flex; justify-content: center; padding: clamp(56px, 7vw, 96px) var(--m) clamp(48px, 6vw, 80px); }
/* les rubriques, resserrées dans le panneau */
html.has-volets .volets .proofs { padding-top: clamp(32px, 5vw, 72px); }
html.has-volets .volets .proofs > h2 { min-height: 0; margin-bottom: clamp(40px, 6vw, 80px); }
html.has-volets .volets .about { margin-top: 0; background: transparent; }
html.has-volets .volets .faq { padding-top: clamp(32px, 5vw, 72px); }
@media (max-width: 760px) {
  .onglets { display: block; }
  .onglets h2 { margin-bottom: 24px; }
  .onglets-list a { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 0; }
  .onglets-list span { grid-column: 1; grid-row: 2; font-size: var(--t-note); }
  .onglets-list i { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .volets-close { font-size: 0; gap: 0; }
  .volets-tabs button { padding: 9px 13px; font-size: 15px; }
  html.has-volets .volets > section.on { display: block; }
}
@media (max-width: 980px) { .nav nav a.tab-link { display: none; } }
@media (prefers-reduced-motion: reduce) { html.has-volets .volets { transition: none; transform: none; } }
/* les liens du menu ne passent jamais à la ligne ; les onglets n'apparaissent que s'il y a la place */
.nav nav a { white-space: nowrap; }
@media (max-width: 1240px) { .nav nav a.tab-link { display: none; } }
.volets-tabs button, .onglets-list b { white-space: nowrap; }

/* mentions légales : date de mise à jour */
.legal .maj { grid-column: 5 / span 7; margin: calc(-1 * clamp(20px, 4vw, 56px)) 0 48px; color: var(--muted); font-size: var(--t-note); }
@media (max-width: 1100px) { .legal .maj { grid-column: 3 / -1; } }
@media (max-width: 700px) { .legal .maj { margin-top: 0; } }
