:root {
  --noir: #080808;
  --s1: #101010;
  --s2: #161616;
  --blanc: #f1ece7;
  --dim: rgba(241,236,231,0.58);
  --rouge: #8B1E1E;
  --rouge3: #c12c2c;
  --rouge-vif: #e04b4b;
  --br: rgba(241,236,231,0.08);
  --br2: rgba(241,236,231,0.14);
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--noir); color: var(--blanc);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Barlow Condensed', 'Outfit', sans-serif; font-weight: 800; line-height: 1; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rouge3); outline-offset: 3px; border-radius: 6px; }
.lien-evitement { position: absolute; left: -9999px; top: 8px; background: var(--rouge); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.lien-evitement:focus { left: 12px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(8,8,8,0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--br); }
.entete-in { max-width: var(--max); margin: 0 auto; padding: 0 22px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: baseline; gap: 8px; text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.08em; white-space: nowrap; }
.marque span { color: var(--rouge3); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--dim); padding: 8px 12px; border-radius: 100px; transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { color: var(--blanc); background: var(--s1); }
.nav a[aria-current="page"] { color: var(--blanc); }
.nav .nav-cta { background: var(--rouge); color: #fff; font-weight: 700; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--rouge3); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--br2); color: var(--blanc); border-radius: 100px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; background: rgba(8,8,8,0.97); border-bottom: 1px solid var(--br); }
  .nav.ouvert { display: flex; }
  .nav a { padding: 13px 14px; font-size: 16px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Mise en page */
main { display: block; }
.contenu { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section-serree { padding: 40px 0; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rouge3); margin-bottom: 14px; }
.h1 { font-size: clamp(52px, 9vw, 112px); text-transform: uppercase; letter-spacing: 0.02em; }
.h1-page { font-size: clamp(44px, 7vw, 80px); text-transform: uppercase; letter-spacing: 0.02em; }
.h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 18px; }
.h3 { font-size: 24px; margin-bottom: 8px; }
.intro { font-size: clamp(16px, 1.8vw, 19px); color: rgba(241,236,231,0.82); max-width: 640px; margin-top: 22px; font-weight: 300; line-height: 1.65; }
.texte { color: rgba(241,236,231,0.8); max-width: 680px; }
.texte + .texte { margin-top: 14px; }
.petit { font-size: 13.5px; color: var(--dim); line-height: 1.6; }

/* Héros */
.heros { position: relative; padding: 88px 0 64px; overflow: hidden; }
.heros::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(139,30,30,0.35) 0%, rgba(139,30,30,0) 62%); pointer-events: none; }
.heros > * { position: relative; }
.heros-page { padding: 72px 0 36px; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 28px; border-radius: 100px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-rouge { background: var(--rouge); color: #fff; box-shadow: 0 10px 32px rgba(139,30,30,0.38); }
.btn-rouge:hover { background: var(--rouge3); }
.btn-ghost { background: var(--s1); color: var(--blanc); border-color: var(--br2); }
.btn-ghost:hover { border-color: rgba(241,236,231,0.3); }
.btn svg { flex: none; }

/* Cartes et grilles */
.carte { background: var(--s1); border: 1px solid var(--br2); border-radius: 18px; padding: 26px 24px; }
.carte-rouge { background: linear-gradient(160deg, rgba(139,30,30,0.24) 0%, var(--s1) 62%); }
.grille { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grille-2 { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .grille-2 { grid-template-columns: 1fr; gap: 28px; } }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pastille { font-size: 12.5px; font-weight: 600; border: 1px solid var(--br2); border-radius: 100px; padding: 5px 12px; }
.statut { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rouge-vif); margin-bottom: 10px; }
.num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 34px; color: var(--rouge3); line-height: 1; margin-bottom: 10px; }
.carte-titre { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.carte p { font-size: 14px; color: var(--dim); }

/* Visuels */
.visuel { border-radius: 16px; overflow: hidden; border: 1px solid var(--br2); background: var(--s1); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(139,30,30,0.12); }
.visuel img, .visuel video { width: 100%; height: auto; }
.legende { font-size: 12.5px; color: var(--dim); margin-top: 10px; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 0; counter-reset: e; display: grid; gap: 14px; }
.etape { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.etape .num { margin: 0; }
.etape h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.etape p { color: rgba(241,236,231,0.75); font-size: 15px; }
.etape p + p { margin-top: 8px; }
.chemin { display: inline-block; font-size: 13.5px; background: var(--s2); border: 1px solid var(--br2); border-radius: 6px; padding: 1px 7px; color: var(--blanc); }

/* Questions */
.faq details { border-bottom: 1px solid var(--br); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--rouge3); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--dim); font-size: 15px; margin-top: 10px; max-width: 720px; }

/* Formulaire */
.form { display: grid; gap: 14px; }
.form-ligne { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-ligne { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 7px; }
.form input, .form select, .form textarea { width: 100%; background: var(--s1); border: 1px solid var(--br2); color: var(--blanc); font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; outline: none; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--rouge3); }
.form textarea { resize: vertical; min-height: 140px; }
.requis { color: var(--rouge3); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bandeau test */
.bandeau-test { background: rgba(139,30,30,0.16); border-bottom: 1px solid rgba(193,44,44,0.28); font-size: 13px; text-align: center; padding: 8px 16px; color: rgba(241,236,231,0.86); }

/* Pied de page */
.pied { border-top: 1px solid var(--br); margin-top: 40px; padding: 44px 0 56px; }
.pied-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pied a { color: var(--dim); text-decoration: none; font-size: 14px; }
.pied a:hover { color: var(--blanc); }

/* Apparition douce */
@media (prefers-reduced-motion: no-preference) {
  .apparait { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .apparait.vu { opacity: 1; transform: none; }
}
