/* ============================================================
   Profil de Sensibilité — Site réel V3
   Design : Bohème clair vibrant (validé utilisateur 2026-08-21)
   Choix unique + avance auto + jalons + signal de fin
   ============================================================ */

:root {
  --bg: #f9f1e1;
  --ink: #382e22;
  --ink-soft: #6a5843;
  --muted: #9c8870;
  --rose: #c9806f;
  --rose-deep: #a85c4b;
  --rose-wash: rgba(201,128,111,.10);
  --gold: #c79a4e;
  --gold-deep: #9c742f;
  --olive: #7e8f6c;
  --sage: #a3ae8f;
  --line: rgba(56, 46, 34, .15);
  --hairline: rgba(199, 154, 78, .4);
  --card: rgba(255,252,244,.85);
  --error: #b3402f;
  --radius: 20px;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg); color: var(--ink); min-height: 100vh;
  -webkit-font-smoothing: antialiased; line-height: 1.65; overflow-x: hidden;
}
/* Grain papier (tue l'effet "plat numérique") */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .05;
  mix-blend-mode: multiply;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="140" height="140" filter="url(%23n)" opacity="0.55"/></svg>');
}

/* ---------- Fond ---------- */
.texture { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(ellipse 70% 50% at 50% -8%, rgba(201,128,111,.20), transparent 65%),
    radial-gradient(ellipse 55% 42% at 96% 106%, rgba(126,143,108,.22), transparent 65%),
    radial-gradient(ellipse 45% 34% at 2% 102%, rgba(199,154,78,.18), transparent 65%),
    repeating-linear-gradient(45deg, rgba(56,46,34,.014) 0 2px, transparent 2px 7px);
}
.ring { position: fixed; border-radius: 50%; z-index: 0; pointer-events: none; border: 1px solid rgba(199,154,78,.25); }
.r1 { width: 480px; height: 480px; top: -190px; left: -160px; }
.r2 { width: 340px; height: 340px; bottom: -140px; right: -110px; }
.r3 { width: 160px; height: 160px; top: 30%; right: -55px; border-style: dashed; opacity: .8; }

.petal { position: fixed; z-index: 0; pointer-events: none; width: 16px; height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c9806f" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l2.4 6.6L21 12l-6.6 2.4L12 21l-2.4-6.6L3 12l6.6-2.4z"/></svg>') center/contain no-repeat;
  opacity: .5; animation: float 14s ease-in-out infinite; }
.p1 { top: 12%; left: 6%; animation-delay: -2s; }
.p2 { top: 64%; left: 88%; width: 12px; height: 12px; animation-delay: -7s; opacity: .4; }
.p3 { top: 82%; left: 14%; width: 10px; height: 10px; animation-delay: -11s;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c79a4e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l2.4 6.6L21 12l-6.6 2.4L12 21l-2.4-6.6L3 12l6.6-2.4z"/></svg>') center/contain no-repeat; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(8deg); } }

.bot { position: fixed; z-index: 0; pointer-events: none; opacity: .8; }
.bot-tl { top: 0; left: 0; }
.bot-br { bottom: 0; right: 0; transform: rotate(180deg); }

#app { position: relative; z-index: 1; }
.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; }
.container { width: 100%; max-width: 640px; margin: auto; padding: 48px 22px 72px; }

/* ---------- Typo & ornements ---------- */
h1, h2 { font-family: var(--font-serif); font-weight: 300; line-height: 1.13; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 7.2vw, 3.1rem); margin-bottom: 12px; }
h2 { font-size: clamp(1.55rem, 5.6vw, 2.05rem); line-height: 1.28; margin-bottom: 8px; }
h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 10px; color: var(--gold-deep); }
em { font-style: italic; }
h1 em { color: var(--rose-deep); }

.eyebrow { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-deep); font-weight: 700; margin-bottom: 18px; }
.subtitle { color: var(--ink-soft); font-size: 1rem; margin-bottom: 26px; max-width: 44ch; margin-left: auto; margin-right: auto; }
.fineprint { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.fineprint.error { color: var(--error); font-weight: 700; }

.orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold-deep); margin: 20px 0; }
.orn::before, .orn::after { content: ""; height: 1px; width: 46px;
  background: linear-gradient(90deg, transparent, var(--hairline)); }
.orn::after { background: linear-gradient(90deg, var(--hairline), transparent); }

/* ---------- Boutons (mats, artisanaux — plus d'effet brillant) ---------- */
.btn-primary {
  display: inline-block; cursor: pointer; border: 1px solid rgba(120,60,45,.25);
  background: var(--rose-deep); color: #fff;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 1.02rem; padding: 16px 42px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(168,92,75,.28), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(168,92,75,.4); background: #b96a58; }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-small { padding: 11px 26px; font-size: .9rem; }

/* ---------- Accueil ---------- */
.home { text-align: center; position: relative; }
.sun { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 320px; height: 320px; z-index: -1;
  background: radial-gradient(circle, rgba(199,154,78,.30), rgba(199,154,78,.08) 55%, transparent 72%); border-radius: 50%; }
.home-icons { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 22px; }
.home-icons svg { width: 21px; height: 21px; }
.home-icons .c-olive { color: var(--olive); }
.home-icons .c-gold { color: var(--gold-deep); }
.home-icons .c-rose { color: var(--rose-deep); }

/* Soulignement manuscrit sous le titre */
.home h1 { position: relative; padding-bottom: 18px; }
.home h1::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 9px; opacity: .5;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 12" fill="none" stroke="%23a85c4b" stroke-width="2.4" stroke-linecap="round"><path d="M3 8C40 2 80 2 120 8s80 6 117 0"/></svg>') center/contain no-repeat; }

.hook { max-width: 40ch; margin: 0 auto 26px; text-align: left;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 18px 22px; box-shadow: 0 14px 40px rgba(120, 90, 50, .10); }
.hook .hook-title { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 10px; }
.hook li { list-style: none; font-family: var(--font-serif); font-style: italic; font-size: 1rem;
  color: var(--ink-soft); padding: 5px 0 5px 26px; position: relative; }
.hook li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 13px; height: 13px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c9806f" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20C4 10 10 4 20 4c0 10-6 16-16 16z"/><path d="M4 20C9 15 14 10 19 6"/></svg>') center/contain no-repeat; }

.trust-badges { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.trust-badges span { font-size: .75rem; color: var(--ink-soft);
  border: 1px solid rgba(126,143,108,.45); border-radius: 999px; padding: 7px 15px; background: rgba(163,174,143,.16); }
.trust-badges span.alt { border-color: rgba(201,128,111,.45); background: rgba(201,128,111,.12); }
.trust-badges svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; color: var(--olive); }
.trust-badges span.alt svg { color: var(--rose-deep); }
.orn svg, .q-orn svg { width: 13px; height: 13px; color: var(--gold-deep); }
.big svg { width: 44px; height: 44px; color: var(--gold-deep); }
.custom-answers h3 svg { width: 16px; height: 16px; color: var(--rose-deep); vertical-align: -2px; margin-left: 4px; }
.g-icon svg { width: 21px; height: 21px; color: var(--olive); }
.secure-line svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; color: var(--rose-deep); }
.fine b { color: var(--rose-deep); font-weight: 700; }

/* ---------- Quiz : mode plein écran sobre ---------- */
body.quiz-mode .petal, body.quiz-mode .ring, body.quiz-mode .bot { display: none; }
body.quiz-mode .texture { opacity: .22; }
body.quiz-mode footer { display: none; }

#screen-quiz .container {
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 24px 32px;
}
#screen-quiz .quiz-head { margin-bottom: 6px; }
#screen-quiz .progress { margin-bottom: 30px; }
#screen-quiz h2 {
  font-size: clamp(1.7rem, 6.2vw, 2.3rem); line-height: 1.24; margin-bottom: 6px;
}
#screen-quiz .q-orn { margin: 16px 0 20px; }
#screen-quiz .option {
  padding: 17px 10px; font-size: 1.04rem; gap: 18px;
}
#screen-quiz .option .mark { flex-basis: 26px; width: 26px; height: 26px; }
#screen-quiz .milestone { padding-top: 20px; }
#screen-quiz .quiz-foot { display: none; }

/* ---------- Quiz ---------- */
.quiz-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.q-num { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--rose-deep); font-weight: 700; }
.q-total { font-size: .68rem; letter-spacing: .2em; color: var(--muted); }
.progress { height: 3px; background: rgba(56,46,34,.12); border-radius: 99px; overflow: visible; position: relative; margin-bottom: 40px; }
.progress-bar { display: block; height: 3px; width: 0%; background: linear-gradient(90deg, var(--rose), var(--gold)); border-radius: 99px; position: relative; transition: width .5s ease; }
.progress-bar::after { content: ""; position: absolute; right: -14px; top: -11px; width: 15px; height: 15px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23a85c4b" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20C4 10 10 4 20 4c0 10-6 16-16 16z"/><path d="M4 20C9 15 14 10 19 6"/></svg>') center/contain no-repeat; }

.q-label { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 14px; }
.q-orn { display: flex; align-items: center; gap: 10px; color: var(--gold-deep); margin: 18px 0 22px; }
.q-orn::before { content: ""; height: 1px; width: 14px; background: var(--hairline); }
.q-orn::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, var(--hairline), transparent); }

.options { list-style: none; }
.option { display: flex; align-items: center; gap: 16px; cursor: pointer; padding: 15px 6px; width: 100%;
  border: none; border-bottom: 1px solid var(--line); border-radius: 12px; background: transparent;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink-soft); text-align: left; transition: background .15s ease; }
.option:last-child { border-bottom: none; }
.option .mark { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgba(126,143,108,.55); position: relative; transition: all .18s ease; }
.option .mark::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: #fff; opacity: 0; transform: scale(0); transition: all .15s ease; }
.option .txt { flex: 1; }
.option .arrow { font-size: .85rem; color: var(--rose-deep); opacity: 0; transform: translateX(-5px); transition: all .2s ease; }
.option:hover { background: rgba(199,154,78,.06); }
.option:hover .mark { border-color: var(--rose); transform: scale(1.08); }
.option:hover .txt { color: var(--ink); }
.option:hover .arrow { opacity: 1; transform: none; }
.option.sel { background: var(--rose-wash); }
.option.sel .mark { border-color: var(--rose-deep); background: var(--rose-deep); }
.option.sel .mark::after { opacity: 1; transform: scale(1); }
.option.sel .txt { color: var(--rose-deep); font-weight: 600; }
.option.sel .arrow { opacity: 1; transform: none; }

.option.autre { border-bottom: none; margin-top: 6px; }
.option.autre .txt { color: var(--muted); font-size: .92rem; }

.custom-area { display: none; margin-top: 4px; padding: 2px 6px 8px; }
.custom-area.visible { display: block; animation: fadeUp .3s ease both; }
.custom-label { color: var(--gold-deep); font-size: .9rem; margin-bottom: 8px; font-weight: 700; letter-spacing: .02em; }
.custom-area input[type="text"] {
  width: 100%; border: none; border-bottom: 1.5px solid var(--hairline); background: transparent;
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--ink);
  padding: 8px 2px; outline: none; transition: border-color .2s;
}
.custom-area input[type="text"]:focus { border-bottom-color: var(--rose); }

.milestone { margin-top: 20px; font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--gold-deep); text-align: center; min-height: 1.4em; }
.quiz-foot { margin-top: 24px; text-align: center; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.screen.anim { animation: fadeUp .4s ease both; }

/* ---------- Email ---------- */
.email { text-align: center; }
.email .big { font-size: 2.4rem; margin-bottom: 10px; }
.email form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 0 auto; }
.email input[type="email"] {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink); padding: 14px 16px; outline: none; transition: border-color .2s;
}
.email input[type="email"]:focus { border-color: var(--rose); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); cursor: pointer; text-align: left; }
.consent input { margin-top: 4px; accent-color: var(--rose-deep); }

/* ---------- Résultat ---------- */
.result { text-align: center; }
.profile-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 34px 28px; margin-bottom: 26px; box-shadow: 0 14px 40px rgba(120, 90, 50, .12);
}
.profile-icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(163,174,143,.28), rgba(201,128,111,.16));
  border: 1px solid rgba(126,143,108,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
}
.profile-icon svg { width: 40px; height: 40px; }
.profile-tagline { color: var(--rose-deep); font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin-bottom: 12px; }
.profile-desc { color: var(--ink-soft); font-size: .98rem; }
.profile-secondary { margin-top: 14px; font-size: .9rem; color: var(--gold-deep); font-weight: 600; }

.hidden { display: none; }
.custom-answers {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 22px 20px; margin-bottom: 26px; text-align: left; box-shadow: 0 14px 40px rgba(120,90,50,.10);
}
.custom-answers h3 { margin-bottom: 6px; }
.custom-answers-note { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.custom-answers ul { list-style: none; }
.custom-answers li { border-top: 1px solid var(--line); padding: 10px 0; display: flex; flex-direction: column; gap: 4px; }
.ca-q { color: var(--muted); font-size: .8rem; font-style: italic; }
.ca-a { color: var(--ink); font-size: .95rem; }

.teaser {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: 0 14px 40px rgba(120,90,50,.10);
}
.teaser ul { list-style: none; text-align: left; margin: 14px 0 22px; display: inline-block; color: var(--ink-soft); font-size: .95rem; }
.teaser li { margin-bottom: 9px; }
.teaser li::before { content: "✓ "; color: var(--rose-deep); font-weight: 700; }

/* ---------- Garantie 100% ---------- */
.guarantee {
  margin: 18px auto 0; max-width: 460px;
  background: rgba(163,174,143,.16); border: 1px solid rgba(126,143,108,.45);
  border-radius: 14px; padding: 12px 16px; font-size: .88rem; color: var(--ink-soft);
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
}
.guarantee .g-icon { font-size: 1.1rem; line-height: 1.3; }
.guarantee b { color: var(--olive); }

/* ---------- Checkout ---------- */
.checkout-page { max-width: 560px; margin: 0 auto; padding: 48px 22px 72px; }
.checkout-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 14px 40px rgba(120,90,50,.12);
}
.checkout-card .eyebrow { margin-bottom: 12px; }
.summary-list { list-style: none; margin: 16px 0 20px; }
.summary-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.summary-list li::before { content: "✓ "; color: var(--rose-deep); font-weight: 700; }
.summary-list li:last-child { border-bottom: none; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 18px 0 6px; }
.price { font-family: var(--font-serif); font-size: 2.4rem; color: var(--ink); }
.price-note { color: var(--muted); font-size: .82rem; }
.checkout-card .btn-primary { width: 100%; }
.pay-hint { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 12px; }
.secure-line { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.checkout-success { display: none; text-align: center; padding: 10px 0; }
.checkout-success.active { display: block; animation: fadeUp .4s ease both; }
.checkout-success .big { font-size: 2.6rem; margin-bottom: 8px; }
.deliverables { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.btn-deliverable { font-size: .92rem; padding: 13px 24px; }
.profile-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; background: rgba(201,128,111,.12); border: 1px solid rgba(201,128,111,.4); color: var(--rose-deep); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 6px 16px; }
.profile-pill svg { width: 14px; height: 14px; }
.back-link { display: block; text-align: center; margin-top: 22px; color: var(--gold-deep); text-decoration: none; font-size: .9rem; }
.back-link:hover { text-decoration: underline; }

/* ---------- Merci ---------- */
.thanks { text-align: center; }

/* ---------- Footer ---------- */
footer { position: relative; z-index: 1; text-align: center; padding: 34px 20px 40px;
  color: var(--muted); font-size: .78rem; border-top: 1px solid var(--line); }
footer nav { margin-top: 10px; }
footer a { color: var(--gold-deep); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- Pages rapports ---------- */
.report-body { max-width: 720px; margin: 0 auto; padding: 40px 22px 80px; }
.report-body h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 8px 0 4px; }
.report-body h2 { font-size: 1.45rem; margin: 34px 0 10px; color: var(--gold-deep); }
.report-body h3 { font-size: 1.15rem; color: var(--rose-deep); }
.report-body p { margin-bottom: 14px; color: #57493a; }
.report-body ul, .report-body ol { margin: 0 0 16px 22px; color: #57493a; }
.report-body li { margin-bottom: 6px; }
.report-body hr { border: none; border-top: 1px solid var(--hairline); margin: 30px 0; }
.report-body blockquote { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--ink-soft); font-style: italic; margin: 16px 0; }
.report-header { text-align: center; margin-bottom: 30px; }
.report-header .eyebrow { margin-bottom: 6px; }
.report-header .eyebrow svg { width: 13px; height: 13px; color: var(--gold-deep); vertical-align: -1px; margin-left: 4px; }

/* ---------- Réponses personnalisées dans le rapport ---------- */
#report-custom {
  background: rgba(201,128,111,.08); border: 1px solid rgba(201,128,111,.35);
  border-radius: 16px; padding: 20px 22px; margin-bottom: 30px;
}
#report-custom.hidden { display: none; }
#report-custom h2 { font-size: 1.2rem; margin-bottom: 6px; }
#report-custom .report-custom-note { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
#report-custom ul { list-style: none; }
#report-custom li { padding: 10px 0; border-bottom: 1px solid var(--line); display: block; }
#report-custom li:last-child { border-bottom: none; }
#report-custom .ca-q { display: block; font-style: italic; color: var(--ink-soft); font-size: .9rem; margin-bottom: 3px; }
#report-custom .ca-a { display: block; color: var(--rose-deep); font-family: var(--font-serif); font-size: 1.05rem; }

/* ---------- Couverture (visible uniquement à l'impression/PDF) ---------- */
.report-cover { display: none; }

/* ---------- Impression / export PDF propre ---------- */
@media print {
  body { background: #fff; }
  body::after, .texture, .ring, .petal, .bot, .report-nav, footer { display: none !important; }
  .report-body { max-width: 100%; padding: 0; box-shadow: none; border: none; font-size: 12.5pt; line-height: 1.8; }
  .report-body h2 { font-size: 1.35rem; margin-top: 26px; margin-bottom: 12px; }
  .report-body h3 { font-size: 1.05rem; margin-top: 18px; }
  .report-body p { margin-bottom: 12px; }
  .report-body li { margin-bottom: 7px; }
  h1, h2 { page-break-after: avoid; }
  .report-body h2, .report-body h3 { break-after: avoid-page; }
  p, li { page-break-inside: avoid; }
  .report-cover {
    display: block; text-align: center;
    padding: 70mm 0 0; page-break-after: always;
  }
  .report-cover .eyebrow { margin-bottom: 16px; }
  .report-cover .cover-star { color: var(--gold-deep); margin-bottom: 18px; }
  .report-cover .cover-star svg { width: 40px; height: 40px; }
  .report-cover h1 { font-size: 2.6rem; margin-bottom: 12px; }
  .report-cover .cover-sub { color: var(--ink-soft); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
  .report-cover .cover-date { margin-top: 40px; color: var(--muted); font-size: .85rem; letter-spacing: .08em; }
}

.secondary-box {
  background: linear-gradient(135deg, rgba(163,174,143,.18), rgba(201,128,111,.12));
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 22px 20px; margin: 0 0 30px; text-align: center;
}
.secondary-label { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 8px; }
.secondary-box h3 { margin-bottom: 4px; }
.secondary-tagline { color: var(--rose-deep); font-style: italic; font-family: var(--font-serif); margin-bottom: 10px; }
.secondary-box p { color: #57493a; font-size: .95rem; margin-bottom: 10px; }
.secondary-more { margin-top: 6px; }
.secondary-box a { color: var(--gold-deep); text-decoration: underline; }

.report-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 40px; }
.report-nav a { color: var(--gold-deep); text-decoration: none; font-size: .9rem; }
.report-nav a:hover { text-decoration: underline; }

/* ---------- Legal ---------- */
.legal-body { max-width: 720px; margin: 0 auto; padding: 40px 22px 80px; }
.legal-body h1 { font-size: 2rem; }
.legal-body h2 { font-size: 1.3rem; margin-top: 30px; color: var(--gold-deep); }
.legal-body p, .legal-body li { color: #57493a; margin-bottom: 10px; }

@media (max-width: 480px) {
  .container { padding: 36px 18px 60px; }
  .option { padding: 14px 4px; font-size: .95rem; }
  /* Quiz plein écran : version compacte pour tenir dans le viewport sans scroll */
  #screen-quiz .container { padding: 20px 20px 24px; }
  #screen-quiz h2 { font-size: 1.5rem; line-height: 1.26; }
  #screen-quiz .progress { margin-bottom: 22px; }
  #screen-quiz .q-orn { margin: 12px 0 16px; }
  #screen-quiz .option { padding: 12px 6px; font-size: .98rem; gap: 14px; }
  #screen-quiz .option .mark { flex-basis: 24px; width: 24px; height: 24px; }
  #screen-quiz .milestone { padding-top: 14px; font-size: .88rem; }
}
