/* Hallmark · shape: rate card (the packs as the page's lead after the hero) · genre: atmospheric · theme: brand · redesign: full
 * paper: oklch(15% 0.008 265) · accent: oklch(79% 0.16 68) · display: Montserrat 800 uppercase · body: Inter · hero: Poster · nav: three-part bar on a blur · footer: mast · signature: the viewfinder corners of the TF logo, in golden-hour amber, framing the hero photograph
 * axes: dark/display-heavy/warm · posture: Restrained · contrast: pass · fold: pass · job: hire · imagery: photographs, library 2, natural · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: P, a price list is a plain argument; the rate card leads right after the hero because fixed prices are what sets TFrames apart */
/* Hallmark · dropped the hero figure row (450 €, 1 200 €, FPV, Qualité 8K) · each fact already stands in its own pack row, 69 */
/* Hallmark · dropped the ticker strip under the hero · a mono-caps strip of words already listed in the packs and the kit, 66 */
/* Hallmark · dropped the "Drone 4K inclus" and "2 jours complets" badges · each repeats the first line of its own pack list, 69 */
/* Hallmark · dropped the eyebrows (// FORMULES CLÉS EN MAIN, // DEEP DIVE, // CHIFFRAGE IMMÉDIAT, // ARSENAL & TECHNOLOGIE, // WORKFLOW STUDIO, // CONTACT & DEVIS) and the status pill over the h1 · 54 names them */
/* Hallmark · reworded "Estimer mon Devis (Simulateur)" to "Estimer mon devis" · 49a, the label wrapped on a phone */
/* Hallmark · dismissed 76 · Théo bought from each photographer a licence to publish their photographs without credit (09/11/2026), so the footer carries no credit line */
/* Hallmark · dropped #materiel (the kit table and post-production) · Théo, 09/11/2026: visitors want to see example videos, not the gear; a #realisations section waits for his videos */
/* Hallmark · dismissed 19 · "Tous droits réservés" is the owner's own footer line, kept as found */
/* Hallmark · reworded "Valider et pré-remplir le devis" to "Pré-remplir le devis", "← Retour aux offres" to "Retour aux offres", "← Retour au site" to "Retour au site" · 49a and 63 */
/* Hallmark · reworded the em dashes in the <title> and in the six simulator options to a comma and colons · 19 */


/* ---------- une couleur d'accent par catégorie de vidéo (15/11/2026) ----------
 * Le fond noir et le blanc posent le ton ; l'accent de chaque métier va seulement là où l'on clique :
 * le prix, le bouton Réserver, le liseré de l'offre et le devis. Version « grandes maisons » (15/11) : vert Rolex, rouge Ferrari, bleu Tiffany, jaune Lamborghini, bleu Bugatti, pourpre royal. Le reste du site garde l'ambre TFrames. */
/* couleurs des grandes maisons : --lux-fond = la vraie teinte (boutons), --color-accent = la même, éclaircie pour être lue sur le fond noir (prix, liserés) */
[data-cat="immo"]    { --lux-fond: #006039; --lux-encre: oklch(97% 0.012 85); --color-accent: oklch(66% 0.12 158); --color-accent-hover: oklch(74% 0.11 158); --color-focus: oklch(72% 0.12 158); } /* vert Rolex */
[data-cat="auto"]    { --lux-fond: #D40000; --lux-encre: oklch(97% 0.012 85); --color-accent: oklch(62% 0.23 29);  --color-accent-hover: oklch(70% 0.20 29);  --color-focus: oklch(68% 0.21 29); }  /* rouge Ferrari (rosso corsa) */
[data-cat="event"]   { --lux-fond: #4E1F7A; --lux-encre: oklch(97% 0.012 85); --color-accent: oklch(64% 0.15 305); --color-accent-hover: oklch(72% 0.13 305); --color-focus: oklch(70% 0.14 305); } /* pourpre royal */
[data-cat="mariage"] { --lux-fond: #0ABAB5; --lux-encre: oklch(18% 0.02 200); --color-accent: oklch(74% 0.12 190); --color-accent-hover: oklch(81% 0.10 190); --color-focus: oklch(78% 0.11 190); } /* bleu Tiffany */
[data-cat="btp"]     { --lux-fond: #F2B100; --lux-encre: oklch(18% 0.02 85);  --color-accent: oklch(80% 0.16 82);  --color-accent-hover: oklch(86% 0.14 85);  --color-focus: oklch(84% 0.15 82); }  /* jaune Lamborghini (giallo) */
[data-cat="corp"]    { --lux-fond: #1B3F94; --lux-encre: oklch(97% 0.012 85); --color-accent: oklch(66% 0.14 262); --color-accent-hover: oklch(74% 0.12 262); --color-focus: oklch(72% 0.13 262); } /* bleu Bugatti */

/* prix : la couleur de la maison avec un léger reflet, comme une pièce gravée */
[data-cat] .rate-price, [data-cat] .offer-price, [data-cat] #resTotal, [data-cat] #calcPriceDisplay {
  background: linear-gradient(100deg, var(--color-accent-hover) 0%, var(--color-accent) 50%, color-mix(in oklab, var(--color-accent) 78%, black) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-cat] .rate-price .rate-des, [data-cat] .offer-price .rate-des { -webkit-text-fill-color: var(--color-muted); color: var(--color-muted); }
/* boutons : la vraie teinte, profonde, texte ivoire, un filet de lumière en haut */
[data-cat] .btn:not(.btn--quiet) {
  background: linear-gradient(180deg, color-mix(in oklab, var(--lux-fond) 82%, white) 0%, var(--lux-fond) 38%, color-mix(in oklab, var(--lux-fond) 82%, black) 100%);
  border-color: color-mix(in oklab, var(--lux-fond) 70%, white); color: var(--lux-encre); letter-spacing: 0.04em; }
[data-cat] .btn:not(.btn--quiet):hover { background: color-mix(in oklab, var(--lux-fond) 88%, white); }

/* ---------- 3 formules : Basic, Premium, Pro (15/11/2026) ---------- */
.niveaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.niveau { position: relative; display: grid; align-content: start; gap: var(--space-2xs, 0.25rem); padding: var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); cursor: pointer; transition: border-color var(--dur-couleur) var(--ease-in-out), background-color var(--dur-couleur) var(--ease-in-out), transform var(--dur-micro) var(--ease-out); }
.niveau:hover { border-color: var(--color-muted); }
.niveau:active { transform: scale(0.97); }
.niveau input { position: absolute; opacity: 0; pointer-events: none; }
.niveau:has(input:checked) { border-color: var(--color-accent); background: var(--color-paper-3); box-shadow: inset 0 0 0 1px var(--color-accent); }
.niveau:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.niveau-tete { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.niveau-nom { font: var(--display-weight) var(--text-md)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; }
.niveau:has(input:checked) .niveau-nom { color: var(--color-accent); }
.niveau-prix { font-size: var(--text-sm); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.niveau-note { font-size: var(--text-sm); color: var(--color-muted); }
.niveau-liste { display: grid; gap: 2px; margin-top: var(--space-xs); font-size: var(--text-sm); line-height: 1.35; color: var(--color-ink-2); }
.niveau-liste span::before { content: "+ "; color: var(--color-accent); }
.addon--inclus { opacity: 0.8; }
.addon--inclus .addon-price { color: var(--color-accent); }
.res-options-zone .niveaux { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 40rem) { .niveaux { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .niveau:active { transform: none; } }
/* pages d'offres : les 3 formules côte à côte */
.formules-zone { margin-top: var(--space-2xl); }
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.formule-carte { display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.formule-carte--pro { border-color: var(--color-accent); }
.formule-carte h3 { font: var(--display-weight) var(--text-lg)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); }
.formule-carte .formule-prix { font-size: var(--text-md); font-weight: 600; font-variant-numeric: tabular-nums; }
.formule-carte .btn { justify-self: start; margin-top: auto; }
@media (max-width: 52rem) { .formules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- couleurs des formules, niveaux en métal (15/11/2026) : Basic terne, Premium or, Pro platine ----------
 * Elles passent devant la couleur de la catégorie, pour pousser naturellement vers le haut de gamme. */
.niveau--basic, .formule-carte--basic {
  --color-accent: oklch(62% 0.005 265); --color-accent-hover: oklch(68% 0.005 265); --lux-fond: oklch(34% 0.006 265); --lux-encre: oklch(80% 0.005 265); }
.niveau--premium, .formule-carte--premium {
  --color-accent: oklch(80% 0.12 85); --color-accent-hover: oklch(88% 0.10 90); --lux-fond: #C9A13B; --lux-encre: oklch(20% 0.03 80);
  --metal: linear-gradient(115deg, #8C6A1F 0%, #E9C766 28%, #FFF1B8 44%, #D4AF37 60%, #9C7A28 100%); }
.niveau--pro, .formule-carte--pro {
  --color-accent: oklch(92% 0.01 250); --color-accent-hover: oklch(97% 0.005 250); --lux-fond: #D9DCE1; --lux-encre: oklch(18% 0.01 260);
  --metal: linear-gradient(115deg, #8E949C 0%, #E8EBEF 26%, #FFFFFF 42%, #C3C8CF 58%, #F4F6F8 76%, #9AA0A8 100%); }

/* Basic : volontairement fade */
.niveau--basic, .formule-carte--basic { background: var(--color-paper); border-color: var(--color-rule); }
.niveau--basic .niveau-nom, .formule-carte--basic h3 { color: var(--color-muted) !important; }
.niveau--basic .niveau-liste span::before { color: var(--color-muted); }
.formule-carte--basic .btn:not(.btn--quiet) { background: transparent; color: var(--color-ink-2); border-color: var(--color-muted); letter-spacing: 0.02em; }

/* Premium et Pro : nom gravé dans le métal, liseré métallique, bouton en métal poli */
.niveau--premium .niveau-nom, .niveau--pro .niveau-nom, .formule-carte--premium h3, .formule-carte--pro h3 {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.niveau--premium, .niveau--pro, .formule-carte--premium, .formule-carte--pro {
  border: 1px solid transparent;
  background: linear-gradient(var(--color-paper-2), var(--color-paper-2)) padding-box, var(--metal) border-box; }
.niveau--premium:has(input:checked), .niveau--pro:has(input:checked) {
  background: linear-gradient(var(--color-paper-3), var(--color-paper-3)) padding-box, var(--metal) border-box; box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 60%, transparent), 0 8px 28px -12px color-mix(in oklab, var(--color-accent) 55%, transparent); }
.formule-carte--premium .btn:not(.btn--quiet), .formule-carte--pro .btn:not(.btn--quiet) {
  background: var(--metal); border-color: transparent; color: var(--lux-encre); }
.formule-carte--premium .btn:not(.btn--quiet):hover, .formule-carte--pro .btn:not(.btn--quiet):hover { filter: brightness(1.08); }
.formule-carte--premium .checks li::before, .formule-carte--pro .checks li::before { background: var(--metal); }
.formule-carte--premium .formule-prix, .formule-carte--pro .formule-prix { color: var(--color-accent); }

/* Pro : la plus mise en avant (lueur platine + mention) */
.formule-carte--pro { box-shadow: 0 0 0 1px color-mix(in oklab, white 25%, transparent), 0 18px 48px -18px color-mix(in oklab, white 35%, transparent); }
.niveau--pro .niveau-note, .formule-carte--pro .muted { color: var(--color-accent); font-weight: 600; letter-spacing: 0.04em; }

/* Pro plus éclatant : platine bleuté, liseré épais, lueur, badge ; Basic encore plus terne (2e réglage du 15/11) */
.niveau--pro, .formule-carte--pro {
  --color-accent: oklch(90% 0.03 240); --color-accent-hover: oklch(97% 0.015 240);
  --metal: linear-gradient(115deg, #7F8DA3 0%, #DCE5F2 22%, #FFFFFF 38%, #AFC0D8 54%, #F3F7FD 72%, #8E9CB2 100%);
  border-width: 2px; }
.niveau--pro .niveau-liste span::before, .formule-carte--pro .formule-prix { color: var(--color-accent); }
.niveau--pro, .formule-carte--pro { box-shadow: 0 0 0 1px color-mix(in oklab, #DCE5F2 30%, transparent), 0 0 32px -6px color-mix(in oklab, #BFD0EA 45%, transparent); }
.niveau--pro .niveau-nom, .formule-carte--pro h3 { font-size: 1.15em; }
.niveau--pro::after, .formule-carte--pro::after {
  content: "La plus complète"; position: absolute; top: -0.75em; right: var(--space-md); padding: 0.2em 0.7em; border-radius: 999px;
  background: var(--metal); color: oklch(18% 0.01 260); font: 700 0.72rem/1.4 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.formule-carte--pro { position: relative; }
.niveau--basic, .formule-carte--basic { opacity: 0.72; }
.niveau--basic:has(input:checked) { opacity: 1; }
.formule-carte--basic .checks li::before { background: var(--color-muted); }

/* pas de glissement gauche-droite sur iPhone (Théo, 15/11/2026) : la page et la fenêtre de devis ne défilent que de haut en bas */
html, body { overflow-x: clip; max-width: 100%; }
.reserver { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.reserver * { min-width: 0; }
.reserver .field, .reserver select { max-width: 100%; }

/* ---------- leviers de vente (15/11/2026) ---------- */
.niveau-eco { font-size: var(--text-sm); color: var(--color-accent); }
.niveau-ecart { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.niveau--basic .niveau-eco { display: none; }
.formule-eco { font-size: var(--text-sm); color: var(--color-accent); }
.formule-ecart { font-size: var(--text-sm); font-weight: 600; }
.res-etape { margin: var(--space-md) 0 var(--space-xs); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); }
.res-compris { display: block; margin-top: var(--space-2xs, 0.25rem); color: var(--color-muted); }
.total-gratuit, .formules-gratuit { margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); text-align: center; }
.formules-gratuit { text-align: left; margin-top: var(--space-md); }


:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  /* TFrames : noir et blanc (logo « TF » dans les coins de viseur, Montserrat). Le bleu et l'ambre d'avant étaient la palette par défaut de Tailwind, pas la marque. */
  --color-paper: oklch(15% 0.008 265); --color-paper-2: oklch(19% 0.009 265); --color-paper-3: oklch(24% 0.01 265);
  --color-ink: oklch(96% 0.005 265); --color-ink-2: oklch(84% 0.007 265); --color-muted: oklch(70% 0.01 265);
  --color-rule: oklch(32% 0.01 265);
  /* Couleur de signal : ambre « heure dorée » (demandée par Théo le 06/11/2026 : « il manque de couleurs »). Pour en essayer une autre, changer seulement ces trois lignes. */
  --color-accent: oklch(79% 0.16 68); --color-accent-hover: oklch(85% 0.14 72); --color-accent-ink: oklch(15% 0.008 265); --color-focus: oklch(82% 0.17 68);
  --color-scrim: oklch(13% 0.008 265);
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif; --font-body: "Inter", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --display-weight: 800;
  --radius-card: 2px; --radius-input: 2px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.01em;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ---------- page ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--space-3xl); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-weight: 400; }
h1, h2 { text-transform: uppercase; line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: 0; }
strong, b { font-weight: 600; }
.hidden { display: none !important; }
.muted { color: var(--color-muted); }
.lead { color: var(--color-ink-2); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-input); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-muted); }
.btn--quiet:hover { background: var(--color-paper-3); border-color: var(--color-ink); }
.btn--wide { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

a.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-muted); transition: text-decoration-color var(--dur-short) var(--ease-out); }
a.link:hover { text-decoration-color: var(--color-ink); }
a.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- nav ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; flex-shrink: 0; }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.brand img { height: 40px; width: auto; }
.brand .brand-text { height: 26px; }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links a { font-size: var(--text-sm); font-weight: 400; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; padding: var(--space-xs) 0; border-bottom: 1px solid transparent; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.nav-links a:hover { color: var(--color-ink); }
.nav-links a.nav-active { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.nav-links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav-action { display: flex; align-items: center; gap: var(--space-sm); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-input); background: transparent; color: var(--color-ink); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.menu-btn:hover { border-color: var(--color-ink); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu-icon { position: relative; display: block; width: 20px; height: 2px; background: currentColor; transition: background-color var(--dur-micro) var(--ease-out); }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out); }
.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(6px); }
.menu-icon.is-open { background: transparent; }
.menu-icon.is-open::before { transform: rotate(45deg); }
.menu-icon.is-open::after { transform: rotate(-45deg); }
.drawer { border-top: 1px solid var(--color-rule); background: var(--color-paper); padding-block: var(--space-md) var(--space-lg); }
.drawer .container { display: grid; gap: var(--space-2xs); }
.drawer a.mobile-nav-link:not(.btn) { display: block; padding: var(--space-sm) 0; font-size: var(--text-md); color: var(--color-ink-2); text-decoration: none; border-bottom: 1px solid var(--color-rule); }
.drawer a.mobile-nav-link:not(.btn):hover { color: var(--color-ink); }
.drawer a.mobile-nav-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.drawer .btn { margin-top: var(--space-md); }
@media (max-width: 68rem) { .nav-links, .nav-action .btn { display: none; } .menu-btn { display: inline-flex; } }

/* ---------- hero: Poster, the photograph framed by the logo's viewfinder corners ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; padding-block: calc(72px + var(--space-2xl)) var(--space-3xl); isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-photo { position: absolute; inset: 0; z-index: 0; margin: 0; opacity: 0; transition: opacity 1400ms var(--ease-in-out); }
.hero-photo.is-active { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-photo { transition: none; } }
.slide-pause { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: color-mix(in oklab, var(--color-scrim) 55%, transparent); color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.slide-pause:hover { border-color: var(--color-ink); }
.slide-pause:active { transform: translateY(1px); }
.slide-pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.slide-pause:disabled { opacity: 0.55; cursor: not-allowed; }

/* l'encart d'offre qui change avec l'image */
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.hero-grid .hero-content { grid-column: 1 / span 7; }
.hero-offer { grid-column: 9 / span 4; margin-right: var(--space-xl); display: grid; gap: var(--space-lg); padding: var(--space-xl); background: color-mix(in oklab, var(--color-paper) 90%, transparent); border-left: 2px solid var(--color-accent); border-radius: var(--radius-card); }
.offer-body { display: grid; gap: var(--space-2xs); }
.offer-title { font: 600 var(--text-title)/1.2 var(--font-display); }
.offer-sector { font-size: var(--text-sm); color: var(--color-muted); }
.offer-price { margin-top: var(--space-sm); font: var(--display-weight) var(--text-2xl)/1 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-line { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.5; }
.offer-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.js .offer-body.is-new { animation: offer-in 600ms var(--ease-out); }
@keyframes offer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .offer-body.is-new { animation: none; } }
@media (max-width: 60rem) { .hero-grid .hero-content, .hero-offer { grid-column: 1 / -1; } .hero-offer { margin-inline: var(--space-xl) 0; } }
@media (max-width: 40rem) { .hero-offer { margin-inline: var(--space-md); padding: var(--space-lg); } }
html:not(.js) .slide-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .slide-pause { display: none; } }
.hero-photo > img { filter: saturate(1.15) contrast(1.08) brightness(1.08); }
.hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, color-mix(in oklab, var(--color-scrim) 86%, transparent) 0%, color-mix(in oklab, var(--color-scrim) 68%, transparent) 40%, color-mix(in oklab, var(--color-scrim) 15%, transparent) 72%, transparent 85%), linear-gradient(0deg, var(--color-paper) 0%, transparent 18%); }
@media (max-width: 40rem) { .hero-scrim { background: linear-gradient(0deg, color-mix(in oklab, var(--color-scrim) 88%, transparent) 0%, color-mix(in oklab, var(--color-scrim) 72%, transparent) 50%, color-mix(in oklab, var(--color-scrim) 66%, transparent) 100%); } }
.viewfinder { position: absolute; inset: calc(72px + var(--space-xl)) var(--gutter) var(--space-xl); z-index: 2; pointer-events: none; max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.viewfinder span { position: absolute; width: 56px; height: 56px; border-color: var(--color-accent); border-style: solid; border-width: 0; }
.viewfinder span:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.viewfinder span:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.viewfinder span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.viewfinder span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hero-content { position: relative; display: grid; gap: var(--space-lg); padding-left: var(--space-xl); }
.hero h1 { font-size: clamp(1.875rem, 5.2vw, 5rem); hyphens: none; max-width: 14ch; line-height: 1.02; }
.hero .lead { max-width: 46ch; color: var(--color-ink-2); }
.hero .lead strong { color: var(--color-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); padding-top: var(--space-xs); }
@media (max-width: 40rem) { .viewfinder span { width: 32px; height: 32px; } .hero-content { padding-left: var(--space-md); padding-right: var(--space-md); } .hero-actions .btn { width: 100%; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap-l) var(--section-gap); }
.band { background: var(--color-paper-2); color: var(--color-ink); border-block: 1px solid var(--color-rule); }
.head-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-2xl); }
.head-split h2 { grid-column: 1 / span 7; }
.head-split .lead { grid-column: 9 / span 4; }
.head-stack { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
@media (max-width: 60rem) { .head-split h2, .head-split .lead { grid-column: 1 / -1; } }

/* ---------- packs: a rate card, six rows ---------- */
.rates { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-accent); }
.rate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.rate-main { grid-column: 1 / span 5; display: grid; gap: var(--space-xs); align-content: start; justify-items: start; }
.rate-main h3 { font-size: var(--text-title); }
.rate-sector { font-size: var(--text-sm); color: var(--color-muted); }
.rate-price { margin-top: var(--space-sm); font: var(--display-weight) var(--text-2xl)/1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-accent); }
.rate-main .btn { margin-top: var(--space-md); }
.rate-body { grid-column: 7 / span 6; display: grid; gap: var(--space-md); align-content: start; }
.rate-body > p { color: var(--color-ink-2); max-width: 60ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.checks li { position: relative; padding-left: var(--space-lg); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 12px; height: 2px; background: var(--color-accent); }
.checks li.opt { color: var(--color-muted); }
.checks li.opt::before { content: "+"; width: auto; height: auto; top: 0; background: none; color: var(--color-muted); }
@media (max-width: 60rem) { .rate-main, .rate-body { grid-column: 1 / -1; } }

/* ---------- pôles: the photograph held while the six fields scroll past ---------- */
.fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.fields-photo { grid-column: 1 / span 5; position: sticky; top: calc(72px + var(--space-xl)); aspect-ratio: 4 / 5; min-height: 440px; margin: 0; border-radius: var(--radius-card); }
.fields-photo > img { filter: saturate(1.05); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.fields-text { grid-column: 7 / span 6; }
.fields-text .head-stack { margin-bottom: var(--space-xl); }
.field-list { list-style: none; margin: 0; padding: 0; }
.field-list li { display: grid; gap: var(--space-xs); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.field-list p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .fields-photo { position: relative; grid-column: 1 / -1; min-height: 0; aspect-ratio: 4 / 3; margin-bottom: var(--space-xl); } .fields-text { grid-column: 1 / -1; } }

/* ---------- simulateur ---------- */
.calc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.calc-form { grid-column: 1 / span 7; display: grid; gap: var(--space-xl); }
.calc-step { display: grid; gap: var(--space-sm); margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-step > label, .calc-step > legend { padding: 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.calc-step > legend { margin-bottom: var(--space-sm); }
.field { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; transition: border-color var(--dur-short) var(--ease-out); }
.field:hover { border-color: var(--color-ink-2); }
.field:focus-visible { outline-color: var(--color-focus); }
.field:disabled { opacity: 0.55; cursor: not-allowed; }
textarea.field { min-height: 160px; padding-block: var(--space-sm); resize: vertical; line-height: 1.5; }
select.field { cursor: pointer; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.addon { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); min-height: 56px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.addon:hover { border-color: var(--color-muted); }
.addon:has(input:checked) { border-color: var(--color-accent); background: var(--color-paper-3); }
.addon:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.addon input { width: 18px; height: 18px; margin: 0; accent-color: var(--color-accent); cursor: pointer; }
.addon input:disabled { opacity: 0.55; cursor: not-allowed; }
.addon-name { font-size: var(--text-sm); line-height: 1.35; }
.addon-price { font-size: var(--text-sm); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total { grid-column: 9 / span 4; position: sticky; top: calc(72px + var(--space-lg)); display: grid; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper); border: 1px solid var(--color-accent); border-radius: var(--radius-card); }
.total-figure { font: var(--display-weight) var(--text-3xl)/1 var(--font-display); font-size: clamp(2.5rem, 3.4vw, 3.5rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.total-figure .calc-unit { font: 400 var(--text-md) var(--font-body); color: var(--color-muted); }
.total-caption { font-size: var(--text-sm); color: var(--color-ink-2); }
.total-note { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.js .pop { animation: pop var(--dur-long) var(--ease-out); }
@keyframes pop { from { opacity: 0.4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .pop { animation: none; } }
@media (max-width: 60rem) { .calc-form, .total { grid-column: 1 / -1; } .total { position: static; } }
@media (max-width: 40rem) { .addons { grid-template-columns: minmax(0, 1fr); } }

/* ---------- matériel ---------- */
.kit { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.kit th { text-align: left; font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); padding: 0 var(--space-md) var(--space-sm) 0; border-bottom: 1px solid var(--color-ink); white-space: nowrap; }
.kit td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: 1px solid var(--color-rule); vertical-align: top; color: var(--color-ink-2); }
.kit td:first-child { color: var(--color-ink); white-space: nowrap; }
.kit td:first-child h3 { font-size: var(--text-title); }
.kit td:nth-child(2) { white-space: nowrap; }
.kit td:last-child { max-width: 52ch; }
.post { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin-top: var(--space-3xl); }
.post-head { grid-column: 1 / span 4; display: grid; gap: var(--space-md); align-content: start; }
.post-head h3 { font: var(--display-weight) var(--text-2xl)/1.08 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; }
.post-head p { color: var(--color-ink-2); }
.post-list { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; }
.post-list > div { display: grid; gap: var(--space-xs); align-content: start; padding-top: var(--space-md); border-top: 2px solid var(--color-accent); }
.post-list dt { font-weight: 600; }
.post-list dd { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.5; }
@media (max-width: 60rem) { .post-head, .post-list { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .post-list { grid-template-columns: minmax(0, 1fr); }
  .kit thead { display: none; } .kit, .kit tbody, .kit tr, .kit td { display: block; } .kit tr { padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); } .kit td { padding: 0 0 var(--space-2xs); border: 0; white-space: normal; } .kit td:nth-child(2) { font-size: var(--text-sm); color: var(--color-muted); } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.contact-head { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }
.contact-facts { display: grid; gap: var(--space-md); margin: var(--space-md) 0 0; }
.contact-facts > div { display: grid; gap: var(--space-3xs); padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); }
.contact-facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.contact-facts dd { margin: 0; font-size: var(--text-lead); }
.contact-form { grid-column: 7 / span 6; display: grid; gap: var(--space-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.form-field { display: grid; gap: var(--space-xs); min-width: 0; }
.form-field label { font-size: var(--text-sm); font-weight: 600; }
.form-field input.field { min-height: 52px; }
.form-alert { padding: var(--space-md); border: 1px solid var(--color-success); border-radius: var(--radius-input); background: color-mix(in oklab, var(--color-success) 14%, var(--color-paper)); color: var(--color-ink); font-size: var(--text-sm); line-height: 1.5; }
.form-alert .alert-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-sm); }
.form-alert .btn { min-height: 44px; }
@media (max-width: 60rem) { .contact-head, .contact-form { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer: a mast ---------- */
.site-footer { padding-block: var(--space-3xl) var(--space-xl); border-top: 1px solid var(--color-rule); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.footer-mark { grid-column: 1 / span 5; }
.footer-mark img { height: 120px; width: auto; }
.footer-links { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-lg); }
.footer-links a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.footer-links a:hover { color: var(--color-ink); text-decoration: underline; }
.footer-links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer-legal { grid-column: 1 / -1; display: grid; gap: var(--space-xs); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.footer-legal a { color: var(--color-ink-2); }
.footer-legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) { .footer-mark, .footer-links { grid-column: 1 / -1; justify-content: flex-start; } .footer-mark img { height: 88px; } }

/* ---------- pack pages and legal page (drawn by the script) ---------- */
#house3d { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#house3d canvas { display: block; width: 100%; height: 100%; opacity: 0.45; }
#house3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--color-scrim) 94%, transparent), color-mix(in oklab, var(--color-scrim) 60%, transparent) 60%, color-mix(in oklab, var(--color-scrim) 75%, transparent)); }
.subpage { position: relative; z-index: 1; padding-block: calc(72px + var(--space-2xl)) var(--section-gap); min-height: 100dvh; }
.subpage-inner { display: grid; gap: var(--space-2xl); }
.back { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; }
.back:hover { color: var(--color-ink); text-decoration: underline; }
.back:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pack-intro { display: grid; gap: var(--space-md); max-width: 60rem; }
.pack-intro h1 { font-size: var(--text-display-s); max-width: 22ch; }
.pack-intro .rate-price { margin-top: 0; }
.pack-intro .lead { max-width: 60ch; }
.pack-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); padding-top: var(--space-xs); }
.pack-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.pack-panel { display: grid; gap: var(--space-lg); padding: var(--space-xl); background: color-mix(in oklab, var(--color-paper-2) 94%, transparent); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.pack-panel h2, .opt-head h2, .videos h2 { font-size: var(--text-title); text-transform: none; font-weight: 600; letter-spacing: 0; line-height: 1.2; max-width: none; }
.pack-panel h3 { font-size: var(--text-md); font-weight: 600; }
.pack-panel p, .pack-panel li { color: var(--color-ink-2); }
.pack-panel .muted-block { display: grid; gap: var(--space-sm); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.steps { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.price-list li { display: flex; justify-content: space-between; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.price-list li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.videos { display: grid; gap: var(--space-lg); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.video-grid > div { aspect-ratio: 16 / 9; background: var(--color-paper-2); border: 1px solid var(--color-rule); overflow: hidden; }
.video-grid iframe, .video-grid video { width: 100%; height: 100%; border: 0; }
.opt-head { display: grid; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.opt-head p { color: var(--color-ink-2); }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.opt-card { display: grid; gap: var(--space-xs); align-content: start; min-height: 120px; padding: var(--space-md); text-align: left; border: 1px solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); font: inherit; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.opt-card:hover { border-color: var(--color-accent); background: var(--color-paper-3); }
.opt-card:active { transform: translateY(1px); }
.opt-card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.opt-card:disabled { opacity: 0.55; cursor: not-allowed; }
.opt-price { font-weight: 600; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.opt-title { font-size: var(--text-sm); color: var(--color-ink-2); }
.opt-cta { margin-top: auto; padding-top: var(--space-xs); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: var(--color-muted); text-underline-offset: 0.16em; }
.legal { display: grid; gap: var(--space-xl); max-width: 48rem; }
.legal h1 { font-size: var(--text-display-s); }
.legal section { display: grid; gap: var(--space-sm); scroll-margin-top: calc(72px + var(--space-lg)); }
.legal h2 { font-size: var(--text-title); text-transform: none; font-weight: 600; letter-spacing: 0; line-height: 1.2; max-width: none; }
.legal p, .legal li { color: var(--color-ink-2); line-height: 1.65; }
.legal-body { display: grid; gap: var(--space-sm); }
.legal ul { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-2xs); }
.legal a { color: var(--color-ink); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); }
@media (max-width: 60rem) { .pack-cols { grid-template-columns: minmax(0, 1fr); } .opt-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .opt-grid, .video-grid { grid-template-columns: minmax(0, 1fr); } .pack-actions .btn { width: 100%; } }

/* formulaire de devis relié au serveur du site */
.piege { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-alert.is-error { border-color: var(--color-error); background: color-mix(in oklab, var(--color-error) 14%, var(--color-paper)); }

/* réalisations : les vidéos d'exemple (section cachée tant qu'il n'y en a pas) */
.real-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.real { display: grid; gap: var(--space-sm); margin: 0; min-width: 0; }
.real-video { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-paper-3); border-radius: var(--radius-card); }
.real-video iframe, .real-video video { width: 100%; height: 100%; border: 0; display: block; }
.real figcaption { display: grid; gap: var(--space-3xs); }
.real figcaption span { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 40rem) { .real-grid { grid-template-columns: minmax(0, 1fr); } }


/* ---------- réservation en un seul panneau (09/11/2026) ---------- */
.rate-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.rate-actions .btn { margin-top: 0; }
.reserver { width: min(640px, calc(100% - 2 * var(--space-md))); max-height: 92dvh; padding: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); overflow: auto; }
.reserver::backdrop { background: color-mix(in oklab, var(--color-scrim) 75%, transparent); }
.reserver-form { display: grid; gap: var(--space-lg); padding: var(--space-xl); }
#resCorps { display: grid; gap: var(--space-lg); }
#resCorps[hidden] { display: none; }
.reserver-haut { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.reserver-haut h2 { font-size: var(--text-title); text-transform: none; letter-spacing: 0; font-weight: 600; max-width: none; }
.res-fermer { min-height: 44px; }
.res-options-zone .addons { grid-template-columns: minmax(0, 1fr); }
.res-total { display: grid; gap: var(--space-3xs); padding: var(--space-md) 0; border-block: 1px solid var(--color-rule); }
.res-total span { font: var(--display-weight) var(--text-2xl)/1 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.res-total small, .res-note { font-size: var(--text-sm); color: var(--color-muted); }
.res-merci { display: grid; gap: var(--space-md); justify-items: start; }
.barre-reserver { display: none; }
@media (max-width: 40rem) {
  .reserver-form { padding: var(--space-lg); }
  .barre-reserver { display: block; position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--color-paper) 92%, transparent); border-top: 1px solid var(--color-rule); }
  body { padding-bottom: 76px; }
}

/* Prix « à partir de » (le détail se calcule dans le devis) (10/11/2026) */
.rate-des { display: block; margin-bottom: 0.35em; font: 500 var(--text-sm)/1.2 var(--font-body); letter-spacing: 0; color: var(--color-muted); }
#calcFormuleZone label, #resFormuleZone label { display: grid; gap: 0.4rem; }
#resFormuleZone { margin-top: var(--space-sm); }

/* Mots-clés au-dessus du grand titre (référencement, 13/11/2026) */
.h1-sur { display: block; margin-bottom: var(--space-sm); font: 600 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0.08em; color: var(--color-accent); }


/* ---------- mouvement de l'interface (13/11/2026, 18 règles d'animation) ----------
   Entrées en ease-out, déplacements en ease-in-out, sorties 20 % plus courtes, jamais d'effet ressort. */
:root { --dur-menu: 200ms; --dur-sortie: 176ms; --decalage-liste: 30ms; }

/* boutons : 0,97 quand on appuie */
.btn:active, .menu-btn:active, .slide-pause:active, .addon:active { transform: scale(0.97); }
.addon, .slide-pause { transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }

/* menu du téléphone : 200 ms à l'ouverture, liens décalés de 30 ms, sortie plus courte */
@keyframes mv-menu { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes mv-menu-sortie { to { opacity: 0; transform: translateY(-6px); } }
.drawer:not(.hidden) { animation: mv-menu var(--dur-menu) var(--ease-out); }
.drawer:not(.hidden) .mobile-nav-link { animation: mv-ligne var(--dur-short) var(--ease-out) both; animation-delay: calc(var(--i, 0) * var(--decalage-liste)); }
.drawer .mobile-nav-link:nth-child(2) { --i: 1; } .drawer .mobile-nav-link:nth-child(3) { --i: 2; }
.drawer .mobile-nav-link:nth-child(4) { --i: 3; } .drawer .mobile-nav-link:nth-child(5) { --i: 4; } .drawer .mobile-nav-link:nth-child(6) { --i: 5; }
.drawer.mv-ferme { animation: mv-menu-sortie var(--dur-sortie) var(--ease-in) forwards; }

/* lignes d'une liste qui change (options du simulateur et de la réservation) : décalées de 30 ms */
@keyframes mv-ligne { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mv-ligne { animation: mv-ligne var(--dur-short) var(--ease-out) both; animation-delay: calc(var(--i, 0) * var(--decalage-liste)); }

/* fenêtre de réservation : part de 0,95, naît du bouton qui l'ouvre et y retourne (jamais vers le centre) */
@keyframes mv-fen { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes mv-fen-sortie { to { opacity: 0; transform: scale(0.95); } }
@keyframes mv-voile { from { opacity: 0; } }
@keyframes mv-voile-sortie { to { opacity: 0; } }
.reserver[open] { animation: mv-fen var(--dur-short) var(--ease-out); transform-origin: var(--mv-origine, 50% 50%); }
.reserver[open]::backdrop { animation: mv-voile var(--dur-short) var(--ease-out); }
.reserver.mv-ferme { animation: mv-fen-sortie var(--dur-sortie) var(--ease-in) forwards; }
.reserver.mv-ferme::backdrop { animation: mv-voile-sortie var(--dur-sortie) var(--ease-in) forwards; }
.mv-retour { transition: transform 260ms var(--ease-out) !important; }

/* petite pulsation pour confirmer une réussite (demande envoyée) */
@keyframes mv-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }
.mv-reussi { animation: mv-pulse 340ms var(--ease-out); }

/* icône du menu : fondu enchaîné avec un peu d'échelle et de flou (deux noms pour rejouer à chaque bascule) */
@keyframes mv-icone-a { from { opacity: 0.2; transform: scale(0.7); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mv-icone-b { from { opacity: 0.2; transform: scale(0.7); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.menu-icon.is-open { animation: mv-icone-a 260ms var(--ease-out); }
.menu-icon.mv-vu:not(.is-open) { animation: mv-icone-b 260ms var(--ease-out); }

/* changement de couleur et révélation avec du poids */
.nav-links a { transition: color var(--dur-long) var(--ease-in-out), border-color var(--dur-long) var(--ease-in-out); }

/* d'une page à l'autre du site : l'ancienne et la nouvelle se croisent ; l'en-tête est le même objet partagé (ne bouge pas) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: entete; }
::view-transition-old(root) { animation: mv-voile-sortie var(--dur-sortie) var(--ease-in) both; }
::view-transition-new(root) { animation: mv-voile var(--dur-short) var(--ease-out) both; }

/* --- complément du 13/11/2026 (2e passage) --- */
:root { --dur-couleur: 280ms; }

/* changements de couleur avec du poids : un peu plus lents, en ease-in-out (l'appui reste vif) */
.btn { transition: background-color var(--dur-couleur) var(--ease-in-out), color var(--dur-couleur) var(--ease-in-out), border-color var(--dur-couleur) var(--ease-in-out), transform var(--dur-micro) var(--ease-out); }
.field, .menu-btn, .slide-pause, .addon, .opt-card { transition: border-color var(--dur-couleur) var(--ease-in-out), background-color var(--dur-couleur) var(--ease-in-out), transform var(--dur-micro) var(--ease-out); }
a.link { transition: text-decoration-color var(--dur-couleur) var(--ease-in-out); }
.footer-links a, .back, .back a, .drawer a.mobile-nav-link:not(.btn), .faq summary { transition: color var(--dur-couleur) var(--ease-in-out), text-decoration-color var(--dur-couleur) var(--ease-in-out); }

/* les traits de l'icône du menu se déplacent : ease-in-out */
.menu-icon::before, .menu-icon::after { transition: transform var(--dur-short) var(--ease-in-out); }

/* autres boutons à 0,97 quand on appuie */
.opt-card:active, .faq summary:active { transform: scale(0.97); }

/* l'encart de l'offre du haut : la nouvelle offre arrive par-dessus l'ancienne sans trou (jamais depuis 0) */
@keyframes mv-offre { from { opacity: 0.35; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.js .offer-body.is-new { animation: mv-offre 600ms var(--ease-in-out); }

/* messages sous les formulaires (erreur ou réussite) : ils entrent au lieu d'apparaître d'un coup */
.form-alert:not(.hidden) { animation: mv-ligne var(--dur-short) var(--ease-out); }

/* questions fréquentes des pages d'offres : la réponse entre en fondu (ease-out) et sort plus vite */
.faq details::details-content { opacity: 0; transition: opacity var(--dur-sortie) var(--ease-in), content-visibility var(--dur-sortie) allow-discrete; }
.faq details[open]::details-content { opacity: 1; transition-duration: var(--dur-short); transition-timing-function: var(--ease-out); }
@supports not selector(::details-content) { .faq details[open] > p { animation: mv-ligne var(--dur-short) var(--ease-out); } }

/* même objet sur deux écrans : le prix d'une offre reste le même de l'accueil à sa page (nom posé au moment du clic) */
.pack-intro .rate-price { view-transition-name: prix-offre; }
::view-transition-group(prix-offre) { animation-duration: var(--dur-long); animation-timing-function: var(--ease-in-out); }

/* passage vers une page interne (mentions légales) : l'ancienne et la nouvelle se croisent aussi */

@media (prefers-reduced-motion: reduce) {
  .btn:active, .menu-btn:active, .slide-pause:active, .addon:active, .opt-card:active, .faq summary:active { transform: none; }
  .js .offer-body.is-new, .form-alert:not(.hidden), .faq details[open] > p { animation: none; }
  .faq details::details-content { transition: none; }
  .pack-intro .rate-price { view-transition-name: none; }
  .drawer:not(.hidden), .drawer:not(.hidden) .mobile-nav-link, .drawer.mv-ferme, .mv-ligne, .reserver[open], .reserver[open]::backdrop,
  .reserver.mv-ferme, .reserver.mv-ferme::backdrop, .mv-reussi, .menu-icon.is-open, .menu-icon.mv-vu:not(.is-open) { animation: none; }
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Pages du référencement (pages_seo.py) */
.seo-texte { display: grid; gap: var(--space-md); max-width: 70ch; color: var(--color-ink-2); }
.faq details { border-bottom: 1px solid var(--color-rule); padding-block: var(--space-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-ink); }
.faq details p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.back a { color: var(--color-ink-2); }
