/* Fleur de Kaz — maison de parfum : ivoire, encre, nuit de lagon et laiton.
   Un seul motif : le galet de la rivière des Galets, gardé pour les photos et la scène 3D. */
:root {
  --bg: #f4efe7;           /* ivoire */
  --surface: #e9e1d4;      /* sable */
  --ink: #1a1612;
  --muted: #6a6157;
  --line: rgb(26 22 18 / .16);
  --accent: #7d5c30;       /* laiton, en texte */
  --laiton: #b08d57;       /* laiton, en filet */
  --accent-ink: #f4efe7;
  --nuit: #0f2523;         /* le lagon après le coucher du soleil */
  --nuit-2: #19332f;
  --t1: #0f2523;           /* du lagon de nuit au sable, pour les étapes */
  --t2: #1f3b37;
  --t3: #55655a;
  --t4: #c9baa0;
  --t5: #e9e1d4;

  --serif: "Gambetta", "Times New Roman", serif;
  --sans: "Switzer", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-lead: clamp(1.1875rem, 1.06rem + .6vw, 1.5rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem);
  --step-hero: clamp(3rem, 1.3rem + 5.2vw, 6.5rem);

  --marge: clamp(16px, 4.5vw, 72px);
  --galet: 50% / 50%;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
::selection { background: var(--nuit); color: var(--bg); }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.saut:focus { left: 8px; }

/* Boutons : des aplats nets, sans arrondi */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 32px;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--bg);
  font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.bouton:hover { background: var(--nuit); border-color: var(--nuit); }
.bouton-petit { min-height: 44px; padding: 0 22px; font-size: var(--step-small); }
.bouton-second { background: transparent; color: var(--ink); }
.bouton-second:hover { background: var(--ink); color: var(--bg); }
.bouton-encre { background: var(--ink); color: var(--bg); }
.bouton-clair { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.bouton-clair:hover { background: transparent; color: var(--bg); border-color: var(--bg); }
.bouton-blanc { background: transparent; color: var(--bg); border-color: rgb(244 239 231 / .45); }
.bouton-blanc:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* Barre : navigation à gauche, nom au centre, action à droite */
.barre {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 16px var(--marge);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s, color .35s, border-color .35s;
}
.marque { grid-column: 2; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.barre nav { grid-column: 1; grid-row: 1; display: flex; gap: 32px; font-size: var(--step-small); }
.barre nav a { text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.barre nav a:hover { background-size: 100% 1px; }
.barre > .bouton { grid-column: 3; justify-self: end; }

/* ---------- Le hero : le flacon 3D devant le lagon ---------- */
.sur-hero .barre { background: transparent; color: var(--bg); border-color: rgb(244 239 231 / .2); }
.sur-hero .barre > .bouton { background: transparent; color: var(--bg); border-color: rgb(244 239 231 / .55); }
.sur-hero .barre > .bouton:hover { background: var(--bg); color: var(--ink); }

.hero {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 640px;
  margin-top: calc(-1 * var(--barre, 72px));
  background: var(--nuit) url(img/hero-large.webp) center / cover no-repeat;
  color: var(--bg);
}
#hero-vue { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#hero-vue:active { cursor: grabbing; }
/* le texte laisse passer le doigt et la souris vers le flacon, sauf sur ses boutons */
.hero-texte {
  position: relative; z-index: 1; pointer-events: none;
  height: 100%; max-width: min(700px, 50vw);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--barre, 72px) + 24px) 0 72px var(--marge);
}
.hero h1 { font-size: var(--step-hero); text-shadow: 0 2px 32px rgb(4 30 36 / .35); } /* taste-skill-ignore : lisibilité sur la photo */
.hero-texte p { margin-top: 28px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.5; text-shadow: 0 1px 18px rgb(4 30 36 / .45); } /* taste-skill-ignore */
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .bouton { pointer-events: auto; }
.hero-actions .bouton:not(.bouton-blanc) { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.hero-actions .bouton:not(.bouton-blanc):hover { background: transparent; color: var(--bg); }

/* ---------- L'atelier ---------- */
.atelier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 80px);
  padding: 0 0 0 var(--marge);
}
.atelier-intro { grid-column: 1; grid-row: 1; padding: clamp(56px, 11vh, 140px) 0 56px; }
.atelier-intro h2 { font-size: var(--step-hero); max-width: 11ch; }
.chapeau { margin-top: 36px; max-width: 44ch; font-size: var(--step-lead); line-height: 1.5; color: var(--muted); }

.scene {
  grid-column: 2; grid-row: 1 / span 2;
  position: sticky; top: var(--barre, 72px);
  height: calc(100svh - var(--barre, 72px));
  overflow: hidden;
  background: var(--nuit);
}
#vue { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#vue:active { cursor: grabbing; }
.chargement { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: var(--bg); font-family: var(--serif); font-style: italic; font-size: var(--step-lead); }
.chargement[hidden] { display: none; }
.scene-actions { position: absolute; right: var(--marge); bottom: 28px; display: flex; gap: 8px; }

.options { grid-column: 1; grid-row: 2; padding-bottom: 0; }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 32px 0 44px; min-width: 0; }
legend { float: left; width: 100%; font-family: var(--serif); font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.01em; margin-bottom: 20px; padding: 0; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
legend + * { clear: both; }
.compte { font-family: var(--sans); font-size: var(--step-small); color: var(--muted); }

.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix span {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 20px 8px 16px;
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.choix label:hover span { border-color: rgb(26 22 18 / .45); }
.choix input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fbf8f3; }
.choix input:focus-visible + span { outline: 2px solid var(--laiton); outline-offset: 3px; }
.choix input:disabled + span { color: var(--muted); opacity: .55; cursor: not-allowed; }
.choix b { font-weight: 500; }
.choix em { font-style: normal; font-size: var(--step-small); color: var(--muted); }
.choix input:checked + span em { color: var(--accent); }
.choix small { display: none; }

.choix-forme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choix-forme span { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 20px 18px; min-height: 160px; }
.choix-forme b { font-family: var(--serif); font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.01em; }
.choix-forme small { display: block; font-size: var(--step-small); line-height: 1.45; color: var(--muted); }
.choix-forme em { margin-top: auto; }

.pastille { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgb(26 22 18 / .18); }
.choix-notes img { width: 34px; height: 28px; border-radius: var(--galet); object-fit: cover; flex: none; }
.choix-notes span { padding-left: 10px; }

.gravure { display: block; margin-bottom: 4px; }
.gravure em { font-style: normal; color: var(--muted); }
#gravure {
  width: 100%; max-width: 440px; min-height: 64px;
  padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
#gravure::placeholder { color: rgb(26 22 18 / .35); }
#gravure:focus { outline: none; border-bottom-width: 2px; }
.note-champ { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

.total {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 0 0 calc(-1 * var(--marge));
  padding: 16px var(--marge);
  background: var(--nuit); color: var(--bg);
}
.total-prix { display: flex; flex-direction: column; flex: 1 1 200px; }
#prix-total { font-family: var(--serif); font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.25rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
#resume { font-size: var(--step-small); color: rgb(244 239 231 / .7); margin-top: 6px; max-width: 40ch; }
.total-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.total .bouton { background: var(--bg); color: var(--ink); border-color: var(--bg); white-space: nowrap; }
.total .bouton:hover { background: transparent; color: var(--bg); }

/* ---------- La vanille (vitrine) ---------- */
.vitrine {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 92svh;
  margin-top: clamp(120px, 14vw, 200px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.vitrine-photo { margin: 0; padding: clamp(24px, 4vw, 64px); display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); }
.vitrine-photo img {
  width: min(100%, 560px); aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--galet);
}
.vitrine-texte { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 56px var(--marge) 48px clamp(24px, 4vw, 64px); }
.onglets { display: flex; gap: 32px; }
.onglets button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; font-size: var(--step-body); color: var(--muted); cursor: pointer; transition: color .25s, border-color .25s; }
.onglets button[aria-selected="true"] { color: var(--ink); border-color: var(--laiton); }
.onglets button:hover { color: var(--ink); }
.vitrine h2 { font-size: var(--step-head); max-width: 12ch; }
.vitrine-texte p { margin-top: 36px; max-width: 38ch; font-size: var(--step-lead); line-height: 1.5; color: var(--muted); }
.cellules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cellule {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 60px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; text-decoration: none; cursor: pointer; font-weight: 500;
  transition: background-color .3s, color .3s;
}
.cellule:hover { background: var(--ink); color: var(--bg); }
.cellule-encre { background: var(--ink); color: var(--bg); }
.cellule-encre:hover { background: var(--nuit); }

/* ---------- Les notes ---------- */
.notes { padding: clamp(120px, 14vw, 200px) var(--marge) 0; }
.notes-tete { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: end; margin-bottom: 56px; }
.notes-tete h2 { font-size: var(--step-head); grid-column: 1; }
.notes-tete p { grid-column: 3; max-width: 38ch; font-size: var(--step-lead); line-height: 1.5; color: var(--muted); }
.notes-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); counter-reset: note; }
.note { counter-increment: note; display: grid; grid-template-columns: 2.5rem 88px 1fr; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.note::before { content: counter(note, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--accent); padding-top: 4px; }
.note img { width: 88px; height: 72px; object-fit: cover; border-radius: var(--galet); }
.note-ligne { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.note-ligne b { font-family: var(--serif); font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.01em; }
.note-ligne span { color: var(--muted); font-size: var(--step-small); text-align: right; }
.note p { margin-top: 6px; max-width: 42ch; color: var(--muted); }
.note .famille { margin-top: 8px; color: var(--accent); font-size: var(--step-small); }

/* ---------- Bande de galets ---------- */
.bande { padding: clamp(120px, 14vw, 200px) var(--marge) 0; }
.bande h2 { font-size: var(--step-head); margin-bottom: 64px; text-align: center; }
.bande-galets { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 32px); align-items: end; }
.bande-galets figure { margin: 0; }
.bande-galets figure:nth-child(even) { translate: 0 -56px; }
.bande-galets img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--galet); }
.bande-galets figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; color: var(--muted); text-align: center; }

/* ---------- Fabrication ---------- */
.fabrication { padding: clamp(120px, 14vw, 200px) var(--marge) 0; }
.fab-intro { display: grid; grid-template-columns: 5fr 1fr 6fr; margin-bottom: 64px; align-items: end; }
.fab-intro h2 { font-size: var(--step-head); grid-column: 1; }
.fab-intro p { grid-column: 3; font-size: var(--step-lead); line-height: 1.5; max-width: 38ch; color: var(--muted); }
.accordeon { display: flex; height: 540px; }
.etape {
  position: relative; flex: 1 1 0; min-width: 0;
  border: 0; padding: 32px; text-align: left; cursor: pointer; overflow: hidden;
  color: var(--bg);
  transition: flex-grow .55s var(--ease);
}
.etape:nth-child(1) { background: var(--t1); }
.etape:nth-child(2) { background: var(--t2); }
.etape:nth-child(3) { background: var(--t3); }
.etape:nth-child(4) { background: var(--t4); color: var(--ink); }
.etape:nth-child(5) { background: var(--t5); color: var(--ink); }
.etape.ouverte { flex-grow: 5; cursor: default; }
.etape-nom { position: absolute; left: 32px; bottom: 32px; font-family: var(--serif); font-size: var(--step-lead); font-weight: 300; writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; }
.etape.ouverte .etape-nom { writing-mode: horizontal-tb; rotate: 0deg; top: 32px; bottom: auto; font-size: var(--step-head); letter-spacing: -0.02em; }
.etape-texte { position: absolute; left: 32px; bottom: 32px; width: min(36ch, calc(100% - 64px)); font-size: var(--step-lead); line-height: 1.5; opacity: 0; transition: opacity .3s; }
.etape.ouverte .etape-texte { opacity: 1; transition-delay: .25s; }

/* ---------- Prix ---------- */
.prix { display: grid; grid-template-columns: 5fr 7fr; margin-top: clamp(120px, 14vw, 200px); }
.formule { min-height: 90svh; padding: 48px var(--marge); display: flex; flex-direction: column; }
.formule-seul { background: var(--surface); }
.formule-coffret { background: var(--nuit); color: var(--bg); }
.formule h3 { font-size: var(--step-head); }
.formule > p { margin-top: 28px; max-width: 32ch; font-size: var(--step-lead); line-height: 1.5; opacity: .8; }
.formule-bas { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.formule-prix { font-family: var(--serif); font-size: clamp(4.5rem, 10vw, 10rem); font-weight: 300; letter-spacing: -0.03em; line-height: .9; }
.formule-coffret .bouton-blanc { color: var(--bg); }

/* ---------- Questions ---------- */
.questions { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding: clamp(120px, 14vw, 200px) var(--marge) 0; align-items: start; }
.questions h2 { font-size: var(--step-head); position: sticky; top: 112px; }
.tuiles { display: grid; border-bottom: 1px solid var(--line); }
.tuiles details { border-top: 1px solid var(--line); }
.tuiles summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; align-items: center;
  min-height: 80px; padding: 16px 56px 16px 0; font-family: var(--serif); font-size: var(--step-lead); font-weight: 400;
}
.tuiles summary::-webkit-details-marker { display: none; }
.tuiles summary::before, .tuiles summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 1px;
  background: currentColor;
  transition: rotate .3s var(--ease);
}
.tuiles summary::after { rotate: 90deg; }
.tuiles details[open] summary::after { rotate: 0deg; }
.tuiles summary:hover { color: var(--accent); }
.tuiles details p { padding: 0 56px 32px 0; max-width: 56ch; color: var(--muted); }

/* ---------- Pied ---------- */
.pied { margin-top: clamp(120px, 14vw, 200px); padding: 72px var(--marge) 32px; background: var(--nuit); color: var(--bg); }
.pied-marque { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(3.5rem, 18vw, 20rem); line-height: .9; letter-spacing: -0.035em; white-space: nowrap; margin: 0; }
.pied-liens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgb(244 239 231 / .18); font-size: var(--step-small); }
.pied-liens ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied-liens a { text-decoration: none; }
.pied-liens a:hover { color: var(--laiton); }
.pied-adresse { color: rgb(244 239 231 / .75); }
.pied-adresse a { text-decoration: underline; text-underline-offset: 3px; }
.credits { margin-top: 48px; font-size: var(--step-small); color: rgb(244 239 231 / .6); max-width: 70ch; }
.pied-bas { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--step-small); }

/* ---------- Dialogue ---------- */
.dialogue { border: 0; padding: 0; border-radius: 0; width: min(580px, calc(100vw - 32px)); background: var(--bg); color: var(--ink); box-shadow: 0 30px 90px rgb(0 0 0 / .35); } /* taste-skill-ignore : vraie fenêtre au-dessus de la page */
.dialogue::backdrop { background: rgb(15 37 35 / .7); }
.dialogue form { padding: clamp(28px, 5vw, 48px); }
.dialogue h2 { font-size: var(--step-head); margin-bottom: 24px; }
.dialogue dl { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.dialogue dt, .dialogue dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dialogue dt { color: var(--muted); padding-right: 24px; }
.dialogue dd { margin: 0; font-weight: 500; text-align: right; }
.dialogue .whatsapp { padding: 18px 20px; background: #fff; border-left: 2px solid var(--laiton); font-size: var(--step-small); line-height: 1.55; white-space: pre-line; }
.dialogue .demo { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.dialogue-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.message { position: fixed; left: 50%; bottom: 120px; translate: -50% 0; z-index: 40; max-width: min(420px, calc(100vw - 32px)); padding: 14px 22px; background: var(--ink); color: var(--bg); box-shadow: 0 12px 40px rgb(0 0 0 / .25); } /* taste-skill-ignore : message flottant */

/* ---------- Entrées ---------- */
.js .rev h2, .js .rev h3, .js .rev .onglets, .js .rev p, .js .rev .cellules, .js .rev .note, .js .rev .etape, .js .rev .tuiles details, .js .rev .formule-bas, .js .rev figure {
  opacity: 0; translate: 0 28px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .rev.vu h2, .js .rev.vu h3, .js .rev.vu .onglets, .js .rev.vu p, .js .rev.vu .cellules, .js .rev.vu .note, .js .rev.vu .etape, .js .rev.vu .tuiles details, .js .rev.vu .formule-bas, .js .rev.vu figure { opacity: 1; translate: 0 0; }
.js .bande.vu .bande-galets figure:nth-child(even) { translate: 0 -56px; }
.js .vitrine-photo img { clip-path: inset(100% 0 0 0 round 50%); scale: 1.15; transition: clip-path 1.3s var(--ease), scale 1.8s var(--ease); }
.js .vitrine.vu .vitrine-photo img { clip-path: inset(0 0 0 0 round 50%); scale: 1; }
.vitrine-photo img.change { animation: fondu .6s var(--ease); }
@keyframes fondu { from { opacity: .2; scale: 1.04; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; transition-delay: 0s !important; }
  .js .rev *, .js .vitrine-photo img { opacity: 1 !important; translate: none !important; clip-path: none !important; scale: 1 !important; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .choix-forme { grid-template-columns: 1fr; }
  .choix-forme span { min-height: 0; flex-direction: row; align-items: center; padding: 14px 20px; }
  .choix-forme small { display: none; }
  .choix-forme em { margin: 0 0 0 auto; }
  .barre { grid-template-columns: 1fr auto; }
  .barre nav { display: none; }
  .marque { grid-column: 1; }
  .barre > .bouton { grid-column: 2; }
}

/* ---------- Téléphone et petite tablette ---------- */
@media (max-width: 900px) {
  .barre { padding: 12px var(--marge); }
  .hero { min-height: 600px; background-image: url(img/hero-tel.webp); }
  .hero-texte { max-width: none; justify-content: flex-start; padding: calc(var(--barre, 64px) + 28px) var(--marge) 0; }
  .hero h1 { font-size: min(12.5vw, 3.75rem); }
  .hero-texte p { margin-top: 16px; font-size: var(--step-body); }
  .hero-actions { position: absolute; left: var(--marge); right: var(--marge); bottom: calc(20px + env(safe-area-inset-bottom)); margin: 0; flex-wrap: nowrap; }
  .hero-actions .bouton { flex: 1; padding: 0 12px; }
  .marque { font-size: 1.45rem; }
  .atelier { display: block; padding: 0 var(--marge); }
  .atelier-intro { padding: 40px 0 28px; }
  .atelier-intro h2 { font-size: min(13vw, 5.5rem); }
  .bande-galets { grid-template-columns: 1fr 1fr; }
  .bande-galets figure:nth-child(even), .js .bande.vu .bande-galets figure:nth-child(even) { translate: 0 32px; }
  .chapeau { margin-top: 20px; font-size: var(--step-body); }
  .scene { position: sticky; top: var(--barre, 64px); z-index: 3; height: 44svh; margin: 0 calc(-1 * var(--marge)); }
  .scene-actions { right: 50%; translate: 50% 0; bottom: 12px; }
  .scene-actions .bouton { min-height: 40px; padding: 0 16px; white-space: nowrap; }
  .options { padding-top: 12px; }
  fieldset { padding: 24px 0 32px; }
  .choix span { min-height: 48px; padding: 6px 16px 6px 14px; }
  .total { margin: 0 calc(-1 * var(--marge)); padding: 14px var(--marge) calc(14px + env(safe-area-inset-bottom)); flex-wrap: nowrap; }
  #prix-total { font-size: 2.25rem; }
  .total .bouton { padding: 0 18px; }
  #resume { display: none; }

  .vitrine { grid-template-columns: 1fr; min-height: 0; }
  .vitrine-photo { padding: 24px var(--marge) 8px; border-right: 0; }
  .vitrine-photo img { width: 100%; aspect-ratio: 1; }
  .vitrine-texte { padding: 16px var(--marge) 40px; gap: 28px; }
  .onglets { gap: 24px; }
  .vitrine h2 { font-size: 2.25rem; }
  .vitrine-texte p { margin-top: 18px; font-size: var(--step-body); }
  .cellules { grid-template-columns: 1fr; }

  .notes-tete { display: block; margin-bottom: 32px; }
  .notes-tete h2 { font-size: min(11vw, 3.5rem); }
  .notes-tete p { margin-top: 16px; font-size: var(--step-body); }
  .notes-liste { grid-template-columns: 1fr; }
  .note { grid-template-columns: 2rem 60px 1fr; gap: 14px; padding: 22px 0; }
  .note img { width: 60px; height: 50px; }

  .bande h2 { margin-bottom: 40px; }
  .fab-intro { display: block; margin-bottom: 32px; }
  .fab-intro p { margin-top: 18px; font-size: var(--step-body); }
  .accordeon { flex-direction: column; height: auto; margin: 0 calc(-1 * var(--marge)); }
  .etape { flex: none; min-height: 68px; padding: 22px var(--marge); }
  .etape-nom, .etape.ouverte .etape-nom { position: static; writing-mode: horizontal-tb; rotate: 0deg; font-size: var(--step-lead); letter-spacing: 0; }
  .etape-texte { display: none; position: static; width: auto; font-size: var(--step-body); margin-top: 12px; }
  .etape.ouverte .etape-texte { display: block; }
  .etape.ouverte .etape-nom { font-size: 2rem; letter-spacing: -0.02em; }

  .prix { grid-template-columns: 1fr; }
  .formule-coffret { order: -1; }
  .formule { min-height: 72svh; padding: 32px var(--marge); }
  .formule h3 { font-size: 11vw; }
  .formule > p { font-size: var(--step-body); }
  .formule-prix { font-size: 26vw; }
  .formule-bas { flex-direction: column; align-items: stretch; }
  .formule-bas .bouton { width: 100%; }

  .questions { display: block; }
  .questions h2 { position: static; font-size: min(11vw, 3.5rem); margin-bottom: 24px; }
  .tuiles summary { font-size: var(--step-body); min-height: 68px; padding-right: 44px; }
  .tuiles details p { padding: 0 0 24px; }

  .pied { padding-top: 56px; }
  .pied-liens { grid-template-columns: 1fr 1fr; }
  .pied-adresse { grid-column: 1 / -1; }
  .pied-bas { flex-wrap: wrap; }
  .message { bottom: 160px; }
}
