/* ============================================================
   Gladiator PDF, thème « nuit du Colisée »
   Palette : noir chaud, or/laiton, ivoire, bronze, rouge sang.
   ============================================================ */

:root {
  --bg: #16110B;
  --bg-2: #1E1710;
  --panel: #241B12;
  --panel-2: #2C2115;
  --gold: #D9A94C;
  --gold-hi: #F0C96A;
  --gold-dim: rgba(217, 169, 76, 0.28);
  --bronze: #8C6A3F;
  --ivory: #EFE6D0;
  --ivory-dim: #B8AB90;
  --blood: #A32E2E;
  --blood-hi: #C74848;
  --ok: #9BB86A;
  --purple: #5B2A86;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 14px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(217, 169, 76, 0.07), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.006) 22px 44px),
    var(--bg);
  color: var(--ivory);
  font-family: var(--body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }

a { color: var(--gold); }
a:hover { color: var(--gold-hi); }

h1, h2, h3, .logo-text, .btn-primary, .stat-value, .laurel-text {
  font-family: var(--display);
  letter-spacing: 0.03em;
}

[hidden] { display: none !important; }

/* ============================ Boutons ============================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--gold-dim);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  background: transparent;
  color: var(--ivory);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #B8873B);
  color: #241703;
  border-color: #7A5A25;
  box-shadow: 0 4px 18px rgba(217, 169, 76, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 26px rgba(217, 169, 76, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-ghost { background: rgba(217, 169, 76, 0.06); }
.btn-ghost:hover { background: rgba(217, 169, 76, 0.13); }

.btn-big { font-size: 1.15rem; padding: 18px 40px; }
.btn-small { font-size: 0.85rem; padding: 9px 18px; }

/* ============================ Header ============================ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-laurel { color: var(--gold); display: inline-flex; cursor: pointer; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--ivory); letter-spacing: 0.08em; }
.logo-text em { color: var(--gold); font-style: normal; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--ivory-dim); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.site-nav a:hover { color: var(--gold-hi); }
.nav-studio { border: 1px solid var(--gold-dim); padding: 7px 14px; border-radius: 8px; color: var(--gold) !important; }

/* ============================ Hero ============================ */
.hero { position: relative; text-align: center; padding: 72px 24px 60px; overflow: hidden; }

/* Silhouette du Colisée : ancrée en bas, fondue dans le noir des deux côtés.
   Le double masque (haut + bas) évite toute arête visible. */
.hero-colisee {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: min(1700px, 128%);
  height: 72%;
  transform: translateX(-50%);
  background: url("../assets/colisee.svg") center bottom / contain no-repeat;
  opacity: 0.38;
  pointer-events: none;
  /* fondu large : le monument émerge du noir et y retourne, sans arête ni gêne pour le texte */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 30%, #000 62%, rgba(0,0,0,0.5) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 30%, #000 62%, rgba(0,0,0,0.5) 88%, transparent 100%);
}
/* halo chaud derrière le monument : le sépare du fond sans l'éclairer */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120%;
  height: 62%;
  transform: translateX(-50%);
  background: radial-gradient(60% 100% at 50% 100%, rgba(217, 169, 76, 0.09), transparent 70%);
  pointer-events: none;
}
#dust-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner, #dust-canvas { position: relative; z-index: 2; }
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 800; line-height: 1.15; }
.hero h1 .gold {
  color: var(--gold);
  text-shadow: 0 0 34px rgba(217, 169, 76, 0.35);
}
.hero-sub { margin: 22px auto 30px; max-width: 640px; color: var(--ivory-dim); font-size: 1.08rem; }
.hero-sub strong { color: var(--ivory); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust-chips {
  display: flex;
  gap: 10px 22px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 34px;
  color: var(--ivory-dim);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================ Sections communes ============================ */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-sub { text-align: center; color: var(--ivory-dim); max-width: 560px; margin: 0 auto 34px; }

/* ============================ Arène / outil ============================ */
.arena { max-width: 880px; margin: 0 auto; padding: 40px 24px 80px; }

.dropzone {
  position: relative;
  border: 2px dashed var(--gold-dim);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 200px at 50% 100%, rgba(217, 169, 76, 0.06), transparent),
    var(--panel);
  padding: 54px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--gold); }
.dropzone.is-over {
  border-color: var(--gold-hi);
  background: var(--panel-2);
  transform: scale(1.01);
  box-shadow: 0 0 0 4px rgba(217, 169, 76, 0.12);
}
.dropzone-ico { font-size: 2.4rem; margin-bottom: 10px; }
.dropzone-title { font-family: var(--display); font-size: 1.3rem; color: var(--gold-hi); font-weight: 700; }
.dropzone-hint { color: var(--ivory-dim); font-size: 0.92rem; margin-top: 6px; }
.dropzone-msg {
  margin-top: 14px;
  color: var(--blood-hi);
  font-weight: 600;
}

.stage { margin-top: 28px; }
.stage-title {
  font-size: 1.05rem;
  color: var(--ivory);
  margin: 26px 0 12px;
  letter-spacing: 0.05em;
}

/* ---- fichiers ---- */
.file-list { display: flex; flex-direction: column; gap: 10px; }
.file-card {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  padding: 12px 16px;
}
.file-card-main { display: flex; align-items: center; gap: 12px; }
.file-ico { font-size: 1.2rem; }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-size { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.file-remove {
  background: none;
  border: none;
  color: var(--ivory-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.file-remove:hover { color: var(--blood-hi); background: rgba(163, 46, 46, 0.12); }
.file-card-warn { margin-top: 8px; font-size: 0.88rem; }
.file-warn { color: var(--blood-hi); }
.file-warn--sig { color: var(--gold-hi); }
.file-note { color: var(--ivory-dim); }

.warn-signed {
  margin-top: 16px;
  background: rgba(163, 46, 46, 0.1);
  border: 1px solid rgba(199, 72, 72, 0.4);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
}
.warn-signed label { display: block; margin-top: 10px; cursor: pointer; color: var(--gold-hi); font-weight: 600; }

/* ---- chips objectif ---- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: var(--panel);
  color: var(--ivory);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.chip small { color: var(--ivory-dim); font-weight: 400; margin-left: 4px; }
.chip:hover { border-color: var(--gold); }
.chip.is-active {
  background: linear-gradient(180deg, rgba(217, 169, 76, 0.22), rgba(217, 169, 76, 0.1));
  border-color: var(--gold);
  color: var(--gold-hi);
}
.chip.is-active small { color: var(--gold); }

/* ---- presets ---- */
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.preset {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  color: var(--ivory);
  font-family: var(--body);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.15s;
}
.preset:hover { border-color: var(--gold); transform: translateY(-2px); }
.preset.is-active {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(217, 169, 76, 0.16), var(--panel));
  box-shadow: 0 0 0 1px var(--gold), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.preset-grade {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bronze);
  font-weight: 700;
}
.preset.is-active .preset-grade { color: var(--gold); }
.preset-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ivory); }
.preset-desc { font-size: 0.82rem; color: var(--ivory-dim); line-height: 1.45; }

/* ---- panneau sur mesure ---- */
.custom-panel {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 18px 20px;
}
.custom-row { margin-bottom: 14px; }
.custom-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.custom-row output { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}
.custom-checks { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.custom-checks label { cursor: pointer; display: flex; gap: 8px; align-items: center; }
input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; }

#btn-fight { margin-top: 26px; width: 100%; }
.fight-hint { margin-top: 12px; text-align: center; color: var(--ivory-dim); font-size: 0.9rem; }

/* ---- combat ---- */
.stage-combat {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 44px 28px;
}
.combat-title { font-family: var(--display); font-size: 1.35rem; color: var(--gold-hi); }
.combat-sub { color: var(--ivory-dim); margin: 10px 0 24px; min-height: 1.4em; }
.progress {
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--gold-dim);
  overflow: hidden;
  margin-bottom: 24px;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bronze), var(--gold), var(--gold-hi));
  box-shadow: 0 0 14px rgba(217, 169, 76, 0.55);
  transition: width 0.3s ease;
}
.progress-fill.is-indeterminate { animation: arena-sweep 1.6s ease-in-out infinite; }
@keyframes arena-sweep {
  0% { margin-left: 0; }
  50% { margin-left: 62%; }
  100% { margin-left: 0; }
}

/* ---- verdict ---- */
.verdict {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}
.verdict--win { border-color: var(--gold); box-shadow: 0 0 44px rgba(217, 169, 76, 0.12) inset; }
.verdict--fail { border-color: rgba(199, 72, 72, 0.5); }
.verdict-icon { margin-bottom: 8px; }
.thumb { color: var(--gold); filter: drop-shadow(0 0 16px rgba(217, 169, 76, 0.5)); animation: thumb-rise 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.thumb--down { color: var(--blood-hi); filter: drop-shadow(0 0 12px rgba(163, 46, 46, 0.5)); }
@keyframes thumb-rise {
  from { transform: rotate(170deg) scale(0.6); opacity: 0; }
  to { transform: rotate(0deg) scale(1); opacity: 1; }
}
.laurel-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.laurel-text { position: absolute; font-weight: 800; font-size: 1.15rem; color: var(--gold-hi); }
.verdict-title { font-size: 1.5rem; color: var(--ivory); margin-bottom: 10px; }
.verdict--win .verdict-title { color: var(--gold-hi); }
.verdict-text { color: var(--ivory-dim); max-width: 560px; margin: 0 auto; font-size: 0.98rem; }

.badge {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.badge--ok { background: rgba(155, 184, 106, 0.14); color: var(--ok); border: 1px solid rgba(155, 184, 106, 0.4); }
.badge--ko { background: rgba(199, 72, 72, 0.12); color: var(--blood-hi); border: 1px solid rgba(199, 72, 72, 0.4); }

.verdict-stats {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 26px 0 6px;
  flex-wrap: wrap;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 14px 24px;
  min-width: 120px;
}
.stat-label { display: block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; color: var(--ivory-dim); font-weight: 700; }
.stat-value { display: block; font-size: 1.35rem; font-weight: 800; color: var(--ivory); margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat--gain { border-color: var(--gold); background: linear-gradient(180deg, rgba(217, 169, 76, 0.16), var(--bg-2)); }
.stat--gain .stat-value { color: var(--gold-hi); }

.previews {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin: 26px 0 8px;
  flex-wrap: wrap;
}
.previews figure { margin: 0; }
.previews canvas {
  max-width: min(320px, 82vw);
  height: auto;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.previews figcaption {
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--ivory-dim);
  font-weight: 700;
}

/* Le champion relève la tête, s'affiche uniquement sur une victoire */
.verdict-gif { margin: 26px auto 0; max-width: 300px; }
.verdict-gif img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
.verdict-gif figcaption {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.verdict-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cta-guide {
  margin-top: 22px;
  background: none;
  border: 1px dashed var(--gold-dim);
  color: var(--gold);
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.15s;
}
.cta-guide:hover:not(:disabled) { border-color: var(--gold); background: rgba(217, 169, 76, 0.07); }
.cta-guide:disabled { color: var(--ok); border-style: solid; cursor: default; }

/* ============================ Comment ça marche ============================ */
.how { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.how-card {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.how-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 10px;
}
.how-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ivory); }
.how-card p { color: var(--ivory-dim); font-size: 0.95rem; }

/* ============================ Réassurance ============================ */
.reassure { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 60px; }
.reassure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.reassure-card {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 26px 26px;
}
.reassure-card h3 { color: var(--gold-hi); font-size: 1.08rem; margin-bottom: 10px; }
.reassure-card p { color: var(--ivory-dim); font-size: 0.95rem; }
.reassure-card strong { color: var(--ivory); }

/* ============================ FAQ ============================ */
.faq { max-width: 800px; margin: 0 auto; padding: 40px 24px 70px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  margin-top: 12px;
  overflow: hidden;
}
.faq details:first-of-type { margin-top: 34px; }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ivory);
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ivory-dim); font-size: 0.96rem; }
.faq summary:hover { color: var(--gold-hi); }

/* ============================ Studio ============================ */
.studio { padding: 30px 24px 80px; }
.studio-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(400px 160px at 50% 0, rgba(217, 169, 76, 0.12), transparent),
    var(--panel);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 48px 34px;
}
.studio-inner h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--gold-hi); margin-bottom: 14px; }
.studio-inner p { color: var(--ivory-dim); max-width: 560px; margin: 0 auto 26px; }
.studio-inner strong { color: var(--ivory); }

/* ============================ Footer ============================ */
.site-footer {
  text-align: center;
  padding: 34px 24px 44px;
  border-top: 1px solid rgba(217, 169, 76, 0.14);
  color: var(--ivory-dim);
  font-size: 0.88rem;
}
.site-footer p { margin-bottom: 8px; }
.footer-serie { opacity: 0.75; }
.footer-tag { font-style: italic; opacity: 0.6; }

/* ============================ Modale email ============================ */
.email-modal {
  /* margin:auto explicite : le reset `* { margin: 0 }` écrase le centrage natif du <dialog> */
  margin: auto;
  position: relative;
  background: var(--panel-2);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 460px;
  width: calc(100vw - 40px);
}
.email-modal::backdrop { background: rgba(10, 7, 4, 0.8); backdrop-filter: blur(3px); }
.email-modal h3 { font-size: 1.4rem; color: var(--gold-hi); margin-bottom: 12px; }
.email-modal > p { color: var(--ivory-dim); font-size: 0.95rem; margin-bottom: 20px; }
.email-modal input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--gold-dim);
  background: var(--bg);
  color: var(--ivory);
  font-size: 1rem;
  margin-bottom: 14px;
}
.email-modal input[type="email"]:focus { outline: none; border-color: var(--gold); }
.optin { display: flex; gap: 10px; font-size: 0.88rem; color: var(--ivory-dim); cursor: pointer; margin-bottom: 12px; align-items: flex-start; }
.optin input { margin-top: 3px; flex-shrink: 0; }
.email-error { color: var(--blood-hi); font-size: 0.88rem; font-weight: 600; min-height: 1.2em; margin-bottom: 8px; }
#email-submit { width: 100%; }
.email-legal { margin-top: 14px; font-size: 0.75rem; color: var(--ivory-dim); opacity: 0.8; text-align: center; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--ivory-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
}
.modal-close:hover { color: var(--ivory); }

/* ============================ Pétales (victoire + mode Empereur) ============================ */
#petals-root { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.petal {
  position: absolute;
  top: -4vh;
  width: 12px;
  height: 9px;
  background: radial-gradient(circle at 30% 30%, var(--blood-hi), var(--blood));
  border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
  opacity: 0.85;
  animation: petal-fall linear forwards;
}
@keyframes petal-fall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.9; }
  100% { transform: translate(var(--sway, 20px), 108vh) rotate(var(--spin, 320deg)); opacity: 0.4; }
}

/* ============================ Mode Empereur (easter egg SPQR) ============================ */
body.emperor {
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(91, 42, 134, 0.18), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.006) 22px 44px),
    #120A18;
}
body.emperor .site-header,
body.emperor .studio-inner { border-color: var(--purple); }
body.emperor .hero h1 .gold { text-shadow: 0 0 34px rgba(155, 89, 208, 0.55); }
body.emperor .dropzone,
body.emperor .verdict,
body.emperor .stage-combat { border-color: rgba(155, 89, 208, 0.45); }
body.emperor .hero-kicker::after { content: " · Ave, Imperator"; }

/* ============================ Responsive ============================ */
@media (max-width: 900px) {
  .presets { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .reassure-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* écran étroit : le monument doit rester lisible → on zoome et on le remonte */
  .hero-colisee {
    width: 190%;
    height: 46%;
    background-size: cover;
    opacity: 0.34;
  }
}
@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 12px; }
  .presets { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .verdict-stats { gap: 10px; }
  .stat { min-width: 96px; padding: 12px 16px; }
  .previews { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .thumb, .progress-fill.is-indeterminate, .petal { animation: none !important; }
  .btn, .preset { transition: none; }
}
