/* Ma Moitié · site de présentation
   Direction (26.10.2026, demande d'Alex « plus premium ») : éditorial cinéma.
   Fond quasi noir et tan, Cormorant Garamond (titres) et Geist (texte), angles droits partout,
   le récit posé directement sur la vidéo, sans carte. */
:root {
  --ink: #0F0E0C;        /* fond */
  --ink-2: #171512;      /* sections en retrait */
  --ink-3: #201D19;      /* champs, survols */
  --text: #EEE8DD;       /* texte principal, 16:1 sur le fond */
  --muted: #A9A193;      /* texte secondaire, 7:1 sur le fond */
  --tan: #C9A97C;        /* accent unique, 9:1 sur le fond */
  --tan-2: #DDBF94;
  --line: rgba(238, 232, 221, .14);
  --paper: #F4EFE6;      /* papier de l'étiquette */
  --frame: #FAF7F2;      /* passe-partout : le cadre papier autour de la page */
  --frame-w: 14px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame-ratio: 2752 / 1536;  /* vidéo et images en paysage seulement (Alex, 26.10.2026) */
  --topbar: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* Passe-partout (Alex, 26.10.2026) : un cadre papier fixe autour de la page. La vidéo plein cadre
   redevient une image posée dans une page, et non un film. Couleur et largeur : --frame et --frame-w. */
.page-frame { position: fixed; inset: 0; z-index: 90; pointer-events: none; border: var(--frame-w) solid var(--frame); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body { background: var(--ink); color: var(--text); font: 400 16px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
em { font-style: italic; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* Typographie */
.display { font: 400 clamp(60px, 10vw, 136px)/.98 var(--serif); letter-spacing: -.02em; }
.display em, .display-m em, .display-s em, .statement em { font-weight: 400; color: var(--tan-2); }
.display-m { font: 400 clamp(44px, 6vw, 84px)/1.02 var(--serif); letter-spacing: -.015em; }
.display-s { font: 400 clamp(34px, 3.4vw, 54px)/1.06 var(--serif); letter-spacing: -.01em; padding-bottom: .06em; }
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin-bottom: 14px; }
.fine { font-size: 13px; color: var(--muted); }
.link { color: var(--tan); text-underline-offset: 4px; }

/* Boutons : rectangles nets, un seul accent */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; white-space: nowrap;
       background: var(--tan); color: var(--ink); border: 1px solid var(--tan); border-radius: 0; text-decoration: none;
       font-size: 14px; font-weight: 500; letter-spacing: .04em; cursor: pointer;
       transition: background .35s var(--ease), color .35s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--tan-2); border-color: var(--tan-2); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-full { width: 100%; }
:focus-visible { outline: 1px solid var(--tan); outline-offset: 4px; }

/* En-tête */
.topbar { position: fixed; inset: var(--frame-w) var(--frame-w) auto var(--frame-w); height: var(--topbar); z-index: 50; display: flex; align-items: center; justify-content: space-between;
          padding: 0 clamp(20px, 4vw, 48px); background: rgba(15, 14, 12, .72); border-bottom: 1px solid var(--line);
          backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 26px/1 var(--serif); letter-spacing: -.01em; }
.brand img { width: 24px; height: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; color: var(--text); text-decoration: none; opacity: .8; transition: opacity .3s; }
.nav-link:hover { opacity: 1; }

/* Accueil : plein cadre sur le comptoir */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroIn 2.4s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 12, .35) 0%, rgba(15, 14, 12, .25) 35%, rgba(15, 14, 12, .92) 100%),
              linear-gradient(90deg, rgba(15, 14, 12, .55) 0%, rgba(15, 14, 12, 0) 60%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px clamp(56px, 11vh, 120px); }
.hero-inner > * { animation: rise 1.2s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }
.hero-inner > :nth-child(5) { animation-delay: .32s; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); opacity: .86; max-width: 40ch; margin: 28px 0 32px; }
/* Sous le formulaire : le prix tout de suite, et le chemin vers l'histoire */
.hero-meta { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 0; align-items: baseline; }
.hero-meta > * + * { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.hero-meta b { color: var(--text); font-weight: 500; }
.hero-more { color: var(--tan); text-decoration: none; border-bottom: 1px solid rgba(201, 169, 124, .5); transition: border-color .3s; }
.hero-more:hover { border-color: var(--tan); }
.name-form { display: flex; align-items: stretch; gap: 0; max-width: 520px; }
.name-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; background: rgba(15, 14, 12, .55); border: 1px solid rgba(238, 232, 221, .35);
                   border-right: 0; border-radius: 0; font-size: 16px; color: var(--text); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.name-form input::placeholder { color: rgba(238, 232, 221, .62); }
.name-form input:focus { outline: none; border-color: var(--tan); }
@keyframes heroIn { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Histoire au défilement */
.story { position: relative; background: var(--ink); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; z-index: 1; }
/* Téléphone : bandeau cinéma pleine largeur dans la moitié haute ; ordinateur : plein écran (voir plus bas) */
.frame { position: absolute; left: 50%; top: 38%; aspect-ratio: var(--frame-ratio); width: 100vw;
         transform: translate(-50%, -50%); container-type: inline-size; overflow: hidden; background: var(--ink); }
.layer { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.layer picture { display: block; width: 100%; height: 100%; }
.layer img, .layer canvas { width: 100%; height: 100%; object-fit: cover; }
.layer canvas { position: absolute; inset: 0; }
.layer.is-first { opacity: 1; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(180deg, rgba(15, 14, 12, 0) 55%, rgba(15, 14, 12, .9) 75%); }
.progress { position: absolute; left: 0; right: 0; bottom: var(--frame-w); height: 1px; background: var(--line); z-index: 4; }
.progress span { display: block; height: 100%; width: 0; background: var(--tan); }

.steps { position: relative; z-index: 5; margin-top: -100svh; }
.step { min-height: 120svh; display: flex; align-items: flex-end; padding: 0 24px 8svh; pointer-events: none; }
.step-tall { min-height: 170svh; }
.step:first-child { padding-top: 40svh; }
.card { pointer-events: auto; max-width: 440px; }
.card p:not(.eyebrow) { color: var(--text); opacity: .82; font-size: 15px; max-width: 42ch; }
.card p + p { margin-top: 10px; }
.card .btn { margin-top: 24px; }

/* Configurateur : panneau sombre net, filets fins */
.card-config { max-width: 460px; padding: 28px 28px 24px; background: rgba(15, 14, 12, .78); border: 1px solid var(--line);
               backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card-config .display-s { font-size: clamp(30px, 2.8vw, 42px); }
.half-fixed { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; margin: 14px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.half-fixed b { display: block; font-weight: 500; font-size: 14px; }
.half-fixed small { display: block; font-size: 13px; color: var(--muted); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.dot-base { background: var(--tan); }
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text);
        font-size: 13px; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.chip:hover { border-color: var(--tan); }
.chip[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); color: var(--ink); }
/* La roue de fromage à curseurs (mixer.js) : le caquelon vu de dessus, comme le symbole.
   La moitié du fromager pleine à gauche, la moitié du client découpée à droite. */
.mixer-wheel { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 8px 24px; align-items: center; }
.mixer-large { grid-template-columns: 240px minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 56px); margin-top: 8px; }
.wheel { width: 100%; height: auto; color: var(--text); overflow: visible; --wheel-rest: #2A2621; }
.wheel-base { fill: #E8B84A; }
.wheel-rest { stroke: var(--wheel-rest); }
.wheel-cut { stroke: var(--ink); stroke-width: 1.6; }
.wheel-split { stroke: currentColor; stroke-width: 2.4; }
.wheel-rim { stroke: currentColor; stroke-width: 3.6; }
.wheel circle, .wheel line, .wheel g { transform-box: view-box; transform-origin: 50px 50px;
  transition: transform .5s var(--ease), stroke-dasharray .5s var(--ease), opacity .3s var(--ease); }
.wheel-lbl text { transform-box: view-box; transform-origin: 50px 24px; transition: transform .5s var(--ease); }
.wheel-txt { font: 500 7px/1 var(--sans); fill: #1A1613; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .02em;
             paint-order: stroke; stroke: rgba(244, 239, 230, .55); stroke-width: 1.4px; stroke-linejoin: round; }
.wheel-sub { font: 400 4px/1 var(--sans); fill: #1A1613; letter-spacing: .06em; text-transform: uppercase; }
.sliders { list-style: none; display: grid; gap: 10px; }
.sliders li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 0 12px; align-items: center; font-size: 14px; }
.sliders .dot { margin-top: 0; }
.sliders .name { cursor: pointer; }
.sliders .name small { display: block; font-size: 12px; color: var(--muted); }
.pct { min-width: 48px; text-align: right; font: 500 20px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.sliders input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0;
  background: transparent; cursor: pointer; --fill: 0%; }
.sliders input[type="range"]:focus { outline: none; }
.sliders input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--thumb) var(--fill), var(--line) var(--fill)); }
.sliders input[type="range"]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--thumb) var(--fill), var(--line) var(--fill)); }
.sliders input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%;
  background: var(--thumb); border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--thumb); transition: transform .2s var(--ease); }
.sliders input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--thumb); border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--thumb); }
.sliders input[type="range"]:hover::-webkit-slider-thumb, .sliders input[type="range"]:focus-visible::-webkit-slider-thumb { transform: scale(1.15); }
.sliders input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--thumb); }
.remaining { margin-top: 16px; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.remaining.ok { color: var(--tan-2); }

/* Étiquette posée sur le gros plan du sachet kraft (scène 4, récit v4).
   Position mesurée sur la dernière image de la séquence s4 ; aucun doigt ne la couvre.
   Tailles relatives à l'étiquette (cqi). */
.label-overlay { position: absolute; z-index: 5; left: 58%; top: 31.4%; width: 19.6%; height: 41.4%;
                 opacity: 0; color: #141210; text-align: center; container-type: inline-size;
                 overflow: hidden; transform-origin: 50% 50%; --pad: 16cqi 12cqi 8cqi; }
.label-static { opacity: 1; }
.lbl-in { height: 100%; padding: var(--pad); display: flex; flex-direction: column; align-items: center; font-family: var(--sans); }
.lbl-brand { font: 500 7cqi/1 var(--serif); margin-bottom: 3cqi; }
.lbl-intro { font: 400 8.5cqi/1 var(--serif); }
.lbl-name { font: italic 500 20cqi/1 var(--serif); margin: 1cqi 0 3cqi; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbl-rule { width: 50%; height: 1px; background: #141210; margin: 0 0 3cqi; }
.lbl-half { font-size: 4.2cqi; line-height: 1.3; margin-bottom: 2.4cqi; }
.lbl-half b { display: block; font-weight: 500; font-size: 3.4cqi; letter-spacing: .08em; text-transform: uppercase; }
.lbl-foot { margin-top: auto; font-size: 3.6cqi; letter-spacing: .04em; }

/* Annotations (non utilisées dans le récit v3, conservées pour les variantes) */
.annotations { position: absolute; z-index: 5; inset: 0; opacity: 0; pointer-events: none; }
.note { position: absolute; width: 30cqw; color: var(--text); font-size: 2.4cqw; line-height: 1.3; }
.note b { display: block; font: 400 4.4cqw/1 var(--serif); }
.note small { display: block; font-size: 2cqw; color: var(--muted); }

/* Engagements : le bandeau de réassurance d'une boutique, juste sous l'accueil */
.trust { border-bottom: 1px solid var(--line); background: var(--ink); }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-list li { padding: 22px 24px 22px 0; display: grid; gap: 3px; font-size: 13px; }
.trust-list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.trust-list b { font-weight: 500; color: var(--text); letter-spacing: .01em; }
.trust-list span { color: var(--muted); }

/* Offre : le bloc produit d'une boutique. À gauche le sachet étiqueté au prénom du visiteur,
   à droite ce qu'il y a dedans, les deux prix et le bouton. */
.offer { padding: clamp(90px, 13vh, 150px) 0 clamp(90px, 12vh, 140px); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.offer-text .lead { margin: 22px 0 36px; }
.product-shot { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); max-width: 560px; }
/* L'image est la dernière image de la séquence du sachet (1280 × 714) ; on la recadre sur le sachet
   en l'agrandissant dans le cadre 4:5. L'étiquette HTML garde les mêmes coordonnées que dans l'histoire. */
.shot-frame { position: absolute; width: 250%; left: -120%; top: -9.7%; aspect-ratio: 1280 / 714; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.offer-cta { display: grid; gap: 16px; margin-top: 32px; }
.offer-cta .btn { justify-self: start; min-width: 260px; }
.offer-cta .fine { max-width: 44ch; }
.includes { list-style: none; display: grid; gap: 14px; }
.includes li { position: relative; padding-left: 28px; color: var(--text); opacity: .88; }
.includes li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--tan); }
.prices { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.price-label { font-size: 15px; }
.price { grid-row: span 2; font: 400 clamp(52px, 5.4vw, 76px)/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.price-sub { font-size: 13px; color: var(--muted); }
.options { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 44ch; }

/* Entrée de l'histoire : un chapitre de la page, pas tout le site */
.story-intro { padding: clamp(80px, 12vh, 140px) 0 clamp(48px, 8vh, 90px); text-align: center; border-top: 1px solid var(--line); }
.story-intro .lead { margin: 20px auto 0; }

/* Garantie : une phrase, en grand */
.guarantee { padding: clamp(90px, 14vh, 150px) 0; background: var(--ink-2); text-align: center; }
.statement { font: italic 400 clamp(36px, 4.6vw, 64px)/1.1 var(--serif); letter-spacing: -.01em; max-width: 22ch; margin: 0 auto 24px; padding-bottom: .06em; }
.statement em { font-style: normal; }
.guarantee p { color: var(--muted); }

/* Questions */
.faq { padding: clamp(100px, 15vh, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; font: 400 clamp(21px, 1.9vw, 26px)/1.25 var(--serif); display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 22px/1 var(--sans); color: var(--tan); transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; max-width: 58ch; color: var(--muted); }

/* Bientôt : la recette sur une vraie étiquette papier */
.reserve { padding: clamp(100px, 15vh, 160px) 0 clamp(110px, 16vh, 170px); background: var(--ink-2); }
.reserve-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.reserve .lead { margin-top: 22px; }
.reserve-cta { margin-top: 32px; min-width: 260px; }
.recap { justify-self: center; width: min(360px, 100%); aspect-ratio: 2 / 3; padding: 44px 36px 32px; background: var(--paper); color: #141210;
         text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); transform: rotate(-2deg); }
.recap-brand { font: 500 18px/1 var(--serif); margin-bottom: 26px; }
.recap-title { font: 400 22px/1 var(--serif); }
.recap-name { font: italic 500 clamp(48px, 5vw, 64px)/1.05 var(--serif); margin: 6px 0 18px; padding-bottom: .05em; }
.recap-line { font-size: 13px; line-height: 1.5; max-width: 30ch; }
.recap-line + .recap-line { margin-top: 10px; }
.recap .link { margin-top: auto; color: #141210; font-size: 13px; letter-spacing: .04em; }

/* Formulaire de réservation (masqué dans la version de présentation) */
.reserve-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); }
.field { display: grid; gap: 6px; border: 0; }
.field label, .field legend { font-size: 14px; }
.opt { color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="date"], .field select {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--ink-3); color: var(--text); font-size: 16px; width: 100%; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--tan); flex: none; margin-top: 2px; }
.form-error { color: #E9967A; font-size: 14px; }
.confirm { padding: 32px 28px; border: 1px solid var(--line); }
.confirm .display-s em { color: var(--tan-2); }

.footer { padding: 56px 0 calc(48px + var(--frame-w)); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 28px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.footer-top > div { display: grid; gap: 10px; }
.footer .brand { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { color: var(--text); text-decoration: none; opacity: .8; }
.footer-links a:hover { opacity: 1; }
.nav-link[aria-current="page"] { opacity: 1; color: var(--tan-2); }

/* Pages intérieures : en-tête éditorial */
/* Les sections posées directement sur .wrap gardent ses marges latérales : padding haut et bas seulement */
.page-head { padding-top: calc(var(--topbar) + var(--frame-w) + clamp(56px, 10vh, 110px)); padding-bottom: clamp(40px, 6vh, 64px); }
.page-head .lead { margin-top: 22px; }

/* Configurateur */
.config-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: start; padding-bottom: clamp(100px, 14vh, 160px); }
.cfg-block { padding: 34px 0; border-top: 1px solid var(--line); }
.cfg-block h2 { font: 400 clamp(26px, 2.2vw, 32px)/1.1 var(--serif); margin-bottom: 18px; }
.cfg-block > p { color: var(--muted); font-size: 14px; margin: -8px 0 18px; max-width: 52ch; }
.cfg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfg-field { display: grid; gap: 8px; }
.cfg-field label { font-size: 13px; color: var(--muted); }
.cfg-field input, .cfg-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 0; color: var(--text); font-size: 16px; }
.cfg-field textarea { min-height: 96px; resize: vertical; font-family: var(--sans); }
.cfg-field input:focus, .cfg-field textarea:focus { outline: none; border-color: var(--tan); }
.cfg-full { grid-column: 1 / -1; }
.choice-list { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 20px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.choice:hover { border-color: rgba(201, 169, 124, .6); }
.choice:has(input:checked) { border-color: var(--tan); background: rgba(201, 169, 124, .07); }
.choice input { width: 18px; height: 18px; accent-color: var(--tan); margin: 0; }
.choice b { display: block; font-weight: 500; font-size: 15px; }
.choice small { display: block; color: var(--muted); font-size: 13px; }
.choice .amount { font: 400 24px/1 var(--serif); white-space: nowrap; font-variant-numeric: lining-nums; }
.gift-fields { margin-top: 16px; }
.choice.is-off { opacity: .4; cursor: not-allowed; }
.cfg-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.summary { position: sticky; top: calc(var(--topbar) + 32px); display: grid; gap: 28px; }
.summary .recap { transform: none; aspect-ratio: auto; min-height: 360px; width: 100%; max-width: 380px; justify-self: start; }
.sum-lines { list-style: none; border-top: 1px solid var(--line); }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; }
.sum-total span:first-child { font-size: 14px; color: var(--muted); }
.sum-total strong { font: 400 clamp(48px, 4.4vw, 64px)/1 var(--serif); font-weight: 400; font-variant-numeric: lining-nums; }
.sum-open { font-size: 14px; color: var(--muted); max-width: 42ch; }
.sum-open b { color: var(--text); font-weight: 500; }
.sum-trust { list-style: none; display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sum-trust li { position: relative; padding-left: 22px; }
.sum-trust li::before { content: ""; position: absolute; left: 0; top: .75em; width: 12px; height: 1px; background: var(--tan); }

/* Provenance */
.prov-hero { position: relative; min-height: 78dvh; display: flex; align-items: flex-end; overflow: hidden; }
.prov-hero .hero-inner { padding-bottom: clamp(48px, 9vh, 96px); }
.prov-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding-top: clamp(100px, 14vh, 150px); padding-bottom: clamp(100px, 14vh, 150px); }
.prov-intro img, .prov-feature img, .prov-wide img { width: 100%; height: auto; object-fit: cover; }
.prov-intro img { aspect-ratio: 4 / 5; }
.prov-intro p { color: var(--muted); max-width: 48ch; margin-top: 20px; }
.prov-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; padding-bottom: clamp(100px, 14vh, 150px); }
.prov-feature img { aspect-ratio: 16 / 10; }
.prov-feature .fact { margin-top: 24px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.cheese-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 100px); padding-bottom: clamp(100px, 14vh, 150px); }
.cheese-grid h2 { grid-column: 1 / -1; margin-bottom: clamp(32px, 5vh, 56px); }
.cheese { padding: 32px 0 36px; border-top: 1px solid var(--line); }
.cheese h3 { font: 400 clamp(28px, 2.4vw, 36px)/1.1 var(--serif); }
.cheese .origin { font-size: 13px; color: var(--tan); margin: 8px 0 14px; letter-spacing: .02em; }
.cheese p { color: var(--muted); max-width: 46ch; }
.prov-wide { position: relative; }
.prov-wide img { aspect-ratio: 21 / 9; max-height: 78vh; }
.prov-wide-text { padding-top: clamp(64px, 10vh, 110px); padding-bottom: clamp(100px, 14vh, 150px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.prov-wide-text p { color: var(--muted); max-width: 50ch; }
.prov-wide-text .btn { margin-top: 28px; }

/* Page Configurateur sur fond blanc (Alex, 26.10.2026) : mêmes composants, palette inversée.
   La classe est posée sur <html>. L'accent passe du tan au bois foncé, lisible sur le blanc. */
.page-paper { --ink: #FBF9F5; --ink-2: #F3EEE5; --ink-3: #FFFFFF; --text: #1A1613; --muted: #6E6357;
              --tan: #7A5530; --tan-2: #8C6424; --line: rgba(26, 22, 19, .14); --frame: #FFFFFF; }
.page-paper .topbar { background: rgba(251, 249, 245, .82); }
.page-paper .btn { background: #1A1613; color: #FBF9F5; border-color: #1A1613; }
.page-paper .btn:hover { background: #2A221C; border-color: #2A221C; }
.page-paper .chip[aria-pressed="true"] { background: #1A1613; border-color: #1A1613; color: #FBF9F5; }
.page-paper .chip:hover { border-color: #1A1613; }
.page-paper .dot-base { background: #E8B84A; }
.page-paper .recap { border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(26, 22, 19, .12); }
.page-paper .choice:hover { border-color: rgba(26, 22, 19, .5); }
.page-paper .choice:has(input:checked) { border-color: #1A1613; background: rgba(122, 85, 48, .06); }
.page-paper .choice input, .page-paper .radio input, .page-paper .check input { accent-color: #1A1613; }
.page-paper .wheel { --wheel-rest: #EFE8DA; }
.page-paper :focus-visible { outline-color: #1A1613; }

/* Ordinateur : plein écran paysage, le récit posé à gauche sur un dégradé */
@media (min-width: 900px) {
  .frame { top: 50%; width: max(100vw, calc(100svh * 2752 / 1536)); }
  .stage::after { background: linear-gradient(90deg, rgba(15, 14, 12, .82) 0%, rgba(15, 14, 12, .45) 34%, rgba(15, 14, 12, 0) 58%),
                              linear-gradient(180deg, rgba(15, 14, 12, .35) 0%, rgba(15, 14, 12, 0) 18%); }
  .step { align-items: center; justify-content: flex-start; padding: 0 0 0 clamp(32px, 6vw, 96px); min-height: 115svh; }
  .step:first-child { padding-top: 0; }
  .step-tall { min-height: 170svh; }
  .card p:not(.eyebrow) { font-size: 16px; }
}
@media (max-width: 899px) {
  :root { --frame-w: 8px; }
  .offer-grid, .faq-grid, .reserve-grid, .config-grid, .prov-intro, .prov-feature, .cheese-grid, .prov-wide-text, .cfg-fields { grid-template-columns: 1fr; }
  .summary { position: static; }
  .nav-link { display: none; }
  .hero-inner { padding-bottom: 56px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .name-form { flex-direction: column; }
  .name-form input { border-right: 1px solid rgba(238, 232, 221, .35); border-bottom: 0; }
  .hero-meta { font-size: 13px; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { padding: 16px 16px 16px 0; font-size: 12.5px; }
  .trust-list li + li { padding-left: 0; border-left: 0; }
  .trust-list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .trust-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .product-shot { max-width: none; aspect-ratio: 1 / 1; }
  .shot-frame { width: 230%; left: -108%; top: -10%; }
  /* Téléphone : bandeau vidéo plus large (recadré sur les côtés) et remonté sous l'en-tête ;
     le texte de chaque étape vient se poser juste sous le bandeau, pour moins de noir */
  .frame { width: 130vw; top: 31%; }
  .step { min-height: 100svh; align-items: flex-start; padding: 52svh 24px 0; }
  .step-tall { min-height: 150svh; }
  .step:first-child { padding-top: 52svh; }
  .hero-meta > * + * { margin-left: 0; padding-left: 0; border-left: 0; }
  .hero-meta > * { flex-basis: 100%; }
  .card-config { padding: 22px 20px; }
  .mixer-wheel, .mixer-large { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .mixer-wheel .wheel { width: 150px; }
  .mixer-large .wheel { width: 200px; }
  .sliders { width: 100%; }
  .footer-top { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .hero-inner > * { animation: none; }
}
