/* DA reprise de la maquette "Thinking Partner" : forêt / teal / orange, Space Grotesk + Inter */
:root {
  --dark: #1f4d3d;
  --dark-deep: #10261e;
  --secondary: #2f9c86;
  --accent: #f2984a;
  --accent-ink: #2a1c0c;
  --bg: #e4f3ec;
  --bg-alt: #d5ece2;
  --ink: #14231d;
  --muted: #3f544b;
  --line: #bcd8cc;
  --line-strong: #a9cdbd;
  --light: #fafefc;
  --on-dark: #d3f2ea;
  --error: #b3261e;
  --font-head: "Space Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-alt);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(242, 152, 74, 0.25); }
a { color: var(--secondary); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); }
em { font-style: italic; }

/* Titres de section : eyebrow + filet */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark); }
.rule { width: 32px; height: 2px; background: var(--secondary); margin: 12px 0 16px; border: 0; }
.on-dark .eyebrow, .eyebrow.accent { color: var(--accent); }
.on-dark .rule { background: var(--accent); }
.hero .rule { margin: 0; }

h2.title { margin: 0 0 40px; font-weight: 700; font-size: clamp(24px, 4.5vw, 32px); letter-spacing: -0.01em; line-height: 1.3; }
h2.title em { color: var(--secondary); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.wrap-md { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.wrap-lg { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; background: var(--bg); position: relative; overflow: hidden; }
.section-mint { background: var(--bg); }
.section-mint-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-deep { background: var(--dark-deep); color: var(--on-dark); }
.on-dark h2, .on-dark h3 { color: var(--light); }
.on-dark h2.title em { color: var(--accent); }
.sub { margin: 0 0 48px; font-size: 14px; color: var(--on-dark); opacity: 0.8; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* Boutons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  font: 600 13px/1 Inter, system-ui, sans-serif; letter-spacing: 0.03em;
  padding: 15px 28px; border-radius: 8px;
  box-shadow: 0 8px 20px rgba(242, 152, 74, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242, 152, 74, 0.28); }
.btn:active { transform: translateY(0); }
.btn[hidden] { display: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-outline { background: transparent; color: var(--bg); border: 1px solid rgba(250, 254, 252, 0.35); box-shadow: none; }
.btn-outline:hover { background: rgba(250, 254, 252, 0.08); border-color: rgba(250, 254, 252, 0.7); box-shadow: none; filter: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-alt); box-shadow: none; filter: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--dark-deep) 0%, var(--dark) 60%, var(--dark) 100%);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 96px 24px 150px; position: relative; overflow: hidden; color: var(--bg);
}

/* Système de calques (epic-design) : chaque .layer couvre sa scène, la profondeur règle l'empilement */
.layer { position: absolute; inset: 0; pointer-events: none; }
.depth-0 { z-index: 0; }
.depth-1 { z-index: 1; }
.depth-2 { z-index: 2; }
.depth-3 { z-index: 3; }
.depth-5 { z-index: 5; }
.scene .wrap, .scene .wrap-md, .scene .wrap-lg { position: relative; z-index: 4; }
.hero-bg { background: radial-gradient(ellipse at 50% 100%, rgba(47, 156, 134, 0.18), transparent 60%); }
/* Halos en dégradé radial plutôt qu'en filter: blur() : même rendu, bien moins lourd pour les GPU mobiles */
.blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; }
.blob-teal { background: radial-gradient(circle, rgba(47, 156, 134, 0.26) 0%, rgba(47, 156, 134, 0) 68%); }
.blob-orange { background: radial-gradient(circle, rgba(242, 152, 74, 0.16) 0%, rgba(242, 152, 74, 0) 68%); }
.blob-teal-soft { background: radial-gradient(circle, rgba(47, 156, 134, 0.2) 0%, rgba(47, 156, 134, 0) 68%); }
.blob-orange-soft { background: radial-gradient(circle, rgba(242, 152, 74, 0.18) 0%, rgba(242, 152, 74, 0) 68%); }

/* Soleil : .sun porte l'entrée/le scroll (GSAP), .sun-glow porte la respiration (CSS) */
.sun { position: absolute; width: 480px; height: 480px; top: -210px; left: 50%; margin-left: -240px; }
.sun-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 152, 74, 0.55) 0%, rgba(242, 152, 74, 0.16) 45%, rgba(242, 152, 74, 0) 70%);
  animation: breathe 12s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Braises (depth-5) */
.ember {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px 2px rgba(242, 152, 74, 0.55); opacity: 0;
  animation: ember var(--t) ease-in-out var(--d) infinite;
}
@keyframes ember {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.9; }
  50% { transform: translate(14px, -46px); }
  80% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-10px, -100px); }
}

.mtn { position: absolute; left: 0; right: 0; bottom: -20px; }
.mtn-1 { height: 230px; background: #16302a; opacity: 0.5; clip-path: polygon(0% 100%, 0% 58%, 12% 42%, 24% 60%, 38% 32%, 52% 54%, 66% 24%, 80% 50%, 92% 36%, 100% 52%, 100% 100%); }
.mtn-2 { height: 175px; background: #0e241d; opacity: 0.7; clip-path: polygon(0% 100%, 0% 68%, 15% 46%, 30% 66%, 45% 40%, 58% 62%, 72% 34%, 86% 56%, 100% 42%, 100% 100%); }
.mtn-3 { height: 125px; background: var(--dark-deep); clip-path: polygon(0% 100%, 0% 76%, 18% 52%, 34% 74%, 50% 44%, 64% 70%, 78% 47%, 100% 64%, 100% 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, rgba(250, 254, 252, 0), var(--bg)); }
.hero-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; position: relative; z-index: 4; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(26px, 6.5vw, 42px); line-height: 1.26; letter-spacing: -0.01em; color: var(--bg); }
.hero h1 em { color: var(--accent); }
.hero .quote { font-size: 16px; font-style: italic; color: var(--on-dark); opacity: 0.85; margin: 0; }
.hero .meta { font-size: 13px; color: var(--on-dark); opacity: 0.7; margin: 0; }

/* Liste "pour toi" */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.row-item { display: flex; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding-left 0.25s ease; }
.row-item:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.row-item:hover { padding-left: 6px; }
.row-accent { width: 2px; height: 18px; background: var(--secondary); flex-shrink: 0; margin-top: 3px; transition: height 0.25s ease; }
.row-item:hover .row-accent { height: 100%; }
.row-item h3 { margin: 0 0 8px; font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 600; }
.row-item p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.on-dark .row-item { border-color: rgba(250, 254, 252, 0.12); }
.on-dark .row-item p { color: var(--on-dark); opacity: 0.8; font-size: 14px; margin: 0; }
.on-dark .row-accent { background: var(--accent); }

/* Méthode VOIE */
.voie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.voie-card {
  background: rgba(250, 254, 252, 0.05); border: 1px solid rgba(250, 254, 252, 0.1);
  border-radius: 14px; padding: 24px; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.voie-card:hover { border-color: rgba(242, 152, 74, 0.5); background: rgba(250, 254, 252, 0.08); }
.voie-card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.voie-card .initial { color: var(--accent); font-size: 1.35em; }
.voie-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--on-dark); opacity: 0.85; }
.voie-card .col-head i { background: rgba(250, 254, 252, 0.18); }

/* FAQ (details natifs : accessible, sans JavaScript) */
.faq details { border-bottom: 1px solid var(--line-strong); padding: 20px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--ink); transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--secondary);
  display: grid; place-items: center; color: var(--dark); font-size: 15px; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--secondary); color: var(--light); }
.faq summary:hover { color: var(--dark); }
.faq summary:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; border-radius: 4px; }
.faq p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 640px; }

.closing .sun-end { top: auto; bottom: -260px; }

/* Étapes en colonnes */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.num {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font: 700 13px var(--font-head); color: var(--accent);
}
.col-head i { height: 1px; flex: 1; background: #dfe8e4; }
.col h3 { margin: 0 0 12px; font-size: 19px; font-weight: 700; }
.col p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.shape { position: absolute; width: 320px; height: 320px; border-radius: 50%; bottom: -120px; left: -80px; background: rgba(47, 156, 134, 0.08); pointer-events: none; }

/* Bloc sombre */
.on-dark p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--on-dark); }
.on-dark p.strong { color: var(--bg); font-weight: 500; margin-bottom: 32px; }
.glow-card { border-radius: 14px; padding: 1px; background: linear-gradient(135deg, rgba(242, 152, 74, 0.5), rgba(250, 254, 252, 0.08)); margin: 32px 0 32px; }
.glow-card > div { display: flex; gap: 16px; align-items: flex-start; border-radius: 13px; padding: 22px 24px; background: rgba(250, 254, 252, 0.04); }
.glow-card .dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(242, 152, 74, 0.15); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); font-size: 14px; }
.glow-card p { margin: 0; font-size: 14px; }

.cta-final { text-align: center; padding: 104px 24px; background: var(--bg-alt); }
.cta-final h2 { margin: 0 0 28px; font-size: clamp(24px, 4.5vw, 30px); letter-spacing: -0.01em; }
.cta-final h2 em { color: var(--accent); }

/* Quiz */
.quiz-head { background: linear-gradient(180deg, var(--dark-deep), var(--dark)); padding: 40px 24px 36px; color: var(--bg); }
.quiz-head .wrap { padding: 0; }
.quiz-head h1 { margin: 6px 0 0; font-size: clamp(22px, 5vw, 30px); line-height: 1.25; letter-spacing: -0.01em; color: var(--bg); }
.quiz-head h1 em { color: var(--accent); }
.quiz { padding: 32px 0 72px; }
.progress { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s; }
.progress-label { color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 28px; }
.step { display: none; }
.step.active { display: block; }
.step label.q { display: block; font: 700 22px/1.3 var(--font-head); letter-spacing: -0.01em; margin-bottom: 6px; color: var(--ink); }
.step .hint { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
textarea, input[type=text], input[type=email], input[type=tel] {
  width: 100%; font: inherit; font-size: 16px; /* 16 px mini : en dessous, iPhone zoome au toucher */ padding: 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
textarea:focus, input:focus { outline: 2px solid var(--secondary); outline-offset: 1px; border-color: transparent; }
.field { margin-bottom: 14px; }
.field span { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.check input { margin-top: 4px; accent-color: var(--secondary); }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.error { color: var(--error); margin: 10px 0 0; min-height: 1.4em; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Réservation */
.booking-frame { width: 100%; min-height: 720px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Pages légales */
.prose { padding: 72px 0; }
.prose h1 { font-size: 32px; letter-spacing: -0.01em; margin: 0 0 8px; }
.prose h2 { margin: 28px 0 8px; font-size: 18px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }

.footer { text-align: center; color: var(--on-dark); font-size: 13px; padding: 28px 20px 36px; background: var(--dark-deep); border-top: 1px solid rgba(250, 254, 252, 0.08); }
.footer a { color: var(--on-dark); }
.footer p { margin: 0 0 4px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }

/* Cookies */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 640px; margin: 0 auto;
  background: var(--dark-deep); color: var(--on-dark); border: 1px solid rgba(250, 254, 252, 0.12);
  border-radius: 12px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); z-index: 50; font-size: 13px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 12px; line-height: 1.6; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie .btn { padding: 10px 18px; font-size: 12px; box-shadow: none; }
.cookie .btn-ghost { color: var(--on-dark); border-color: rgba(250, 254, 252, 0.3); }
.cookie .btn-ghost:hover { background: rgba(250, 254, 252, 0.08); }

/* ===== Bandeau défilant (ticker) ===== */
.ticker-wrap {
  position: relative; z-index: 2; overflow: hidden; padding: 14px 0;
  background: var(--dark-deep); color: var(--on-dark);
  border-top: 1px solid rgba(250, 254, 252, 0.1); border-bottom: 1px solid rgba(250, 254, 252, 0.06);
}
/* Fondus sur les bords : les mots apparaissent et disparaissent en douceur */
.ticker-wrap::before, .ticker-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--dark-deep), rgba(16, 38, 30, 0)); }
.ticker-wrap::after { right: 0; background: linear-gradient(270deg, var(--dark-deep), rgba(16, 38, 30, 0)); }
.ticker { display: flex; width: max-content; animation: ticker 63s linear infinite; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker .t {
  padding: 0 34px; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(250, 254, 252, 0.82);
}
.ticker .tdot { color: var(--accent); font-size: 8px; opacity: 0.85; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker-wrap.is-offscreen .ticker { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none !important; transform: none; }
  .ticker-group[aria-hidden="true"] { display: none; }
}

/* ===== Emplacement vidéo du hero ===== */
.hero-video {
  width: 100%; max-width: 560px; aspect-ratio: 16 / 9; margin: 6px 0 6px;
  border-radius: 14px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, #2a6b57 0%, var(--dark) 55%, #173c30 100%);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(250, 254, 252, 0.08);
}
.hero-video video, .hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.video-play, .video-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background-color: transparent; background-size: cover; background-position: center; color: var(--dark);
}
.video-play { cursor: pointer; }
.play-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--light); color: var(--dark);
  display: grid; place-items: center; padding-left: 3px; /* recentre visuellement le triangle */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-play:hover .play-icon { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.video-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 14px; }
.video-hint { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); opacity: 0.75; }
.js .hero-video { will-change: auto; }

/* ===== epic-design ===== */

/* Découpage des mots (créé par epic.ts) */
.w { display: inline-block; }
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.1em 0.16em 0; margin: 0 -0.1em -0.16em 0; }

/* États "avant animation" : actifs seulement si le JS tourne et que le mouvement est permis */
.js .hero h1, .js .hero [data-reveal] { opacity: 0; }

/* Manifeste : section épinglée, mots allumés au scroll */
.manifest { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 80px 0; }
.manifest-inner { width: 100%; }
.manifest .manifest-text {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 5.2vw, 54px);
  line-height: 1.22; letter-spacing: -0.01em; color: var(--light); max-width: 17em;
}
.manifest .manifest-text em { color: var(--accent); font-style: italic; }
.manifest-glow { left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px; animation: breathe 14s ease-in-out infinite; }

/* VOIE : mot fantôme en fond + pleine hauteur quand la section est épinglée */
.voie-ghost-layer { display: flex; align-items: flex-end; justify-content: center; }
.voie-ghost {
  font: 700 clamp(180px, 34vw, 520px) / 0.8 var(--font-head); letter-spacing: -0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(250, 254, 252, 0.07); margin-bottom: -0.08em; user-select: none;
}
.wrap-lg { width: 100%; }
@media (min-width: 961px) and (min-height: 700px) {
  #voie { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none;
}

/* Mode allégé : mobile, écran tactile ou machine modeste */
@media (pointer: coarse) { .depth-5 { display: none; } }
/* On garde le soleil et le halo (c'est l'identité du site), on coupe seulement leur animation */
.perf-lite .depth-5 { display: none; }
.perf-lite .sun-glow, .perf-lite .manifest-glow { animation: none; }

@media (max-width: 960px) {
  .voie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rows, .cols-3, .voie { grid-template-columns: 1fr; }
  .row-item:nth-last-child(2) { border-bottom: 0; }
  .section, .cta-final { padding-top: 72px; padding-bottom: 72px; }

  /* Zones de toucher confortables (48 px mini) et boutons pleine largeur dans le hero */
  .btn { padding: 17px 28px; min-height: 48px; font-size: 14px; }
  .btn-row { width: 100%; flex-direction: column; align-items: center; }
  .btn-row .btn { width: 100%; max-width: 340px; text-align: center; }
  .closing .btn { width: 100%; text-align: center; }
  .hero { padding: 72px 20px 150px; }
  .hero-inner { gap: 16px; }
  .wrap, .wrap-md, .wrap-lg { padding-left: 20px; padding-right: 20px; }
  .faq summary { padding: 6px 0; min-height: 44px; }
  .footer a { display: inline-block; padding: 10px 6px; }
  .quiz .nav .btn { flex: 1; }
  .quiz-head { padding: 28px 20px 26px; }
  .voie-ghost { opacity: 0.6; }
}

/* iPhone : on respecte l'encoche et la barre du bas */
.cookie { bottom: max(12px, env(safe-area-inset-bottom)); }
.footer { padding-bottom: max(36px, calc(env(safe-area-inset-bottom) + 20px)); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
@media (max-width: 640px) {
  .cookie .btn { flex: 1; }
}
/* Écrans tactiles (y compris en paysage) : toutes les cibles font au moins 44 px */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .faq summary { min-height: 48px; padding: 8px 0; }
  .footer a { display: inline-block; padding: 14px 8px; }
  .cookie .btn { min-height: 44px; }
  .check input { width: 22px; height: 22px; }
}
/* Accessibilité : aucun mouvement si le visiteur le demande (epic.ts ne démarre pas non plus) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ember, .scroll-progress { display: none; }
}

/* ===== Cookies : "Refuser" aussi visible que "Accepter" (exigence de la CNIL) ===== */
.cookie .btn-choice { flex: 1; min-height: 44px; padding: 12px 18px; box-shadow: none; background: var(--light); color: var(--dark-deep); }
.cookie .btn-choice:not(.btn-choice-no) { background: var(--accent); color: var(--accent-ink); }
.cookie .btn-choice:hover { filter: brightness(0.95); transform: none; box-shadow: none; }
.cookie a { color: var(--accent); }
.cookie code { font-size: 12px; opacity: 0.9; }
.link-btn { background: none; border: 0; padding: 14px 8px; margin: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
