/* Déclic, site vitrine. Feuille unique, sans framework.
   Couleurs de marque reprises de l'app (tailwind.config.js). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2-variations"),
       url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
}

:root {
  --nuit: #0F0F13;
  --surface: #17161E;
  --surface-2: #211F2A;
  --ligne: #2E2B39;
  --encre: #F6F4FB;
  --brume: #B0ABBF;      /* texte secondaire, 8,4:1 sur --nuit */
  --violet: #8B5CF6;
  --violet-clair: #B8A2FF; /* violet lisible en texte, 8:1 */
  --rose: #EC4899;
  --rose-clair: #F9A8D4;
  --orange: #F97316;
  --like: #10B981;
  --superlike: #3B82F6;
  --boost: #A855F7;
  --nope: #EF4444;
  --degrade: linear-gradient(100deg, #8B5CF6 0%, #EC4899 52%, #F97316 100%);
  --rayon-l: 28px;
  --rayon-m: 18px;
  --rayon-s: 10px;
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --police: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--nuit);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--rose-clair); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--rose-clair); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--nuit); padding: 10px 16px; border-radius: var(--rayon-s);
  font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Titres ---------- */

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 8vw, 5.4rem); font-variation-settings: "opsz" 96; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-variation-settings: "opsz" 72; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-variation-settings: "opsz" 32; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--brume); max-width: 38em; line-height: 1.55; }
.texte { max-width: 42em; }
.muted { color: var(--brume); }

/* ---------- Mise en page ---------- */

.wrap { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section + .section { border-top: 1px solid var(--ligne); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--brume); font-size: 1.125rem; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 19, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--ligne); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-weight: 750; font-size: 1.5rem; letter-spacing: -0.04em; font-variation-settings: "opsz" 48; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo:hover { color: var(--encre); }

.nav-toggle {
  margin-left: auto; display: none; align-items: center; gap: 8px;
  background: var(--surface-2); color: var(--encre); border: 1px solid var(--ligne);
  border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--brume); text-decoration: none; font-weight: 550; font-size: 0.98rem; }
.site-nav a:hover { color: var(--encre); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--encre); background: var(--surface-2); }
.site-nav .nav-cta a { color: var(--nuit); background: var(--encre); font-weight: 700; margin-left: 6px; }
.site-nav .nav-cta a:hover { background: #fff; color: var(--nuit); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--nuit); border-bottom: 1px solid var(--ligne); padding: 8px var(--gouttiere) 20px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .site-nav a { padding: 14px 12px; font-size: 1.1rem; border-radius: var(--rayon-s); }
  .js .site-nav .nav-cta a { margin: 10px 0 0; text-align: center; border-radius: 999px; }
  .no-js .site-nav ul { gap: 0; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 8px; }
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn-primary { background: var(--degrade); color: var(--nuit); box-shadow: 0 10px 40px -12px rgba(236, 72, 153, 0.6); }
.btn-primary:hover { color: var(--nuit); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--encre); border: 1px solid var(--ligne); }
.btn-ghost:hover { color: var(--encre); border-color: var(--brume); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Badges stores en attente : volontairement pas les logos officiels tant que l'app n'est pas publiée. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border: 1px dashed #4A4658; border-radius: 12px; color: var(--brume); background: transparent;
  line-height: 1.2; font-size: 0.8rem;
}
.store svg { width: 22px; height: 22px; flex: none; fill: var(--brume); }
.store strong { display: block; color: var(--encre); font-size: 0.98rem; font-weight: 650; }

/* ---------- Héros ---------- */

.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto 30%; height: 110%; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { margin-bottom: 0.35em; }
.hero-line { display: block; }
.hero-line-2 { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hero .lede { margin-bottom: 30px; }
.hero-note { margin-top: 16px; font-size: 0.92rem; color: var(--brume); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.spark { position: absolute; inset: 50% auto auto 50%; width: min(720px, 160%); max-width: none; transform: translate(-50%, -50%); z-index: 0; }
.spark .ring { fill: none; stroke-width: 1.2; }
.spark .ring-a { stroke: var(--violet); }
.spark .ring-b { stroke: var(--orange); }
.spark .lens { fill: url(#lensGrad); opacity: 0.28; filter: blur(18px); }
@media (prefers-reduced-motion: no-preference) {
  .spark .ring-a { animation: ringA 1.4s cubic-bezier(.2,.8,.2,1) both; }
  .spark .ring-b { animation: ringB 1.4s cubic-bezier(.2,.8,.2,1) both; }
  .spark .lens { animation: lens 0.9s 1.1s ease-out both; }
  .phone { animation: rise 1s 0.2s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes ringA { from { transform: translateX(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ringB { from { transform: translateX(70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lens { 0% { opacity: 0; } 55% { opacity: 0.7; } 100% { opacity: 0.28; } }
@keyframes rise { from { transform: translateY(24px); } to { transform: none; } }

/* ---------- Maquette de téléphone (dessinée en CSS) ---------- */

.phone {
  position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 9 / 19;
  background: #050507; border-radius: 46px; padding: 11px;
  box-shadow: 0 0 0 1.5px #34313F, 0 40px 90px -30px rgba(139, 92, 246, 0.55), 0 30px 60px -20px rgba(0,0,0,0.8);
}
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--nuit); display: flex; flex-direction: column; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 30px 18px 10px; font-size: 0.95rem; font-weight: 750; letter-spacing: -0.03em; }
.screen-top .mini-logo { display: inline-flex; align-items: center; gap: 6px; }
.screen-top .mini-logo svg { width: 20px; height: 20px; }
.screen-top .dots { display: flex; gap: 4px; }
.screen-top .dots i { width: 5px; height: 5px; background: var(--brume); border-radius: 50%; }
.notch { position: absolute; top: 9px; left: 50%; width: 88px; height: 24px; transform: translateX(-50%); background: #050507; border-radius: 20px; z-index: 3; }

.card { position: relative; margin: 0 10px; flex: 1; border-radius: 22px; overflow: hidden; background: #2a1a3a; }
.art { position: absolute; inset: 0; }
.art-a {
  background:
    radial-gradient(60% 45% at 30% 28%, rgba(249, 115, 22, 0.95), transparent 70%),
    radial-gradient(55% 50% at 75% 45%, rgba(236, 72, 153, 0.9), transparent 70%),
    radial-gradient(80% 60% at 40% 90%, rgba(139, 92, 246, 1), transparent 70%),
    linear-gradient(180deg, #3b1d4f, #1b1030);
}
.art-a::after {
  content: ""; position: absolute; left: 50%; top: 26%; width: 46%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.35), rgba(255,255,255,0) 65%);
  box-shadow: 0 120px 0 40px rgba(15, 15, 19, 0.18);
}
.card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 14px 14px; background: linear-gradient(180deg, transparent, rgba(8, 8, 12, 0.92) 55%); }
.card-name { font-size: 1.45rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.card-meta { font-size: 0.78rem; color: #D7D3E3; margin: 2px 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 6px; border-radius: 999px; font-size: 0.7rem; font-weight: 650; background: rgba(59, 130, 246, 0.18); color: #BFD6FF; border: 1px solid rgba(59, 130, 246, 0.45); }
.chip svg { width: 13px; height: 13px; }
.card-prompt { margin: 9px 0 0; padding: 9px 11px; background: rgba(255,255,255,0.08); border-radius: 12px; font-size: 0.74rem; line-height: 1.35; color: #EAE7F2; }
.card-prompt b { display: block; color: var(--brume); font-weight: 600; font-size: 0.66rem; margin-bottom: 1px; }

.phone-actions { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 14px 0 22px; }
.act { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--ligne); }
.act svg { width: 20px; height: 20px; }
.act-big { width: 54px; height: 54px; }
.act-big svg { width: 25px; height: 25px; }

.visual-caption { position: relative; z-index: 1; margin-top: 18px; font-size: 0.82rem; color: var(--brume); text-align: center; }

/* ---------- Étapes ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 40px); counter-reset: step; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; display: flex; flex-direction: column; gap: 18px; }
.step-num { font-size: 4.5rem; line-height: 0.8; font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--violet-clair); }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--brume); }

.vignette { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon-m); padding: 18px; min-height: 176px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 0.9rem; }
.v-photos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; height: 88px; }
.v-photos span { border-radius: 12px; }
.v-photos span:nth-child(1) { background: linear-gradient(160deg, #8B5CF6, #EC4899); }
.v-photos span:nth-child(2) { background: linear-gradient(200deg, #F97316, #EC4899); }
.v-photos span:nth-child(3) { background: repeating-linear-gradient(45deg, var(--surface-2) 0 6px, #1C1B24 6px 12px); border: 1px dashed #4A4658; }
.v-line { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; color: #E3E0EC; }
.v-line b { color: var(--brume); font-weight: 600; font-size: 0.78rem; display: block; }

.v-verif { display: flex; align-items: center; gap: 16px; }
.v-face { position: relative; width: 84px; height: 84px; flex: none; border-radius: 50%; border: 2px dashed var(--brume); display: grid; place-items: center; }
.v-face::before { content: ""; width: 38px; height: 46px; border-radius: 50% 50% 45% 45%; background: linear-gradient(180deg, #3A3648, #2A2735); }
.v-face::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--superlike); border-right-color: var(--superlike); }
.v-badges { display: flex; flex-direction: column; gap: 8px; }
.badge-id { background: rgba(16, 185, 129, 0.14); color: #A7F3D0; border-color: rgba(16, 185, 129, 0.45); }

.v-chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 16px; line-height: 1.35; }
.bubble-in { background: var(--surface-2); border-bottom-left-radius: 5px; }
.bubble-out { align-self: flex-end; background: #7C3AED; color: #fff; border-bottom-right-radius: 5px; }
.bubble-note { font-size: 0.72rem; color: var(--brume); }

/* ---------- Confiance ---------- */

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } .split-reverse > :first-child { order: 2; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--ligne); }
.checks li:last-child { border-bottom: 1px solid var(--ligne); }
.checks svg { width: 24px; height: 24px; margin-top: 2px; }
.checks strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.checks span { color: var(--brume); }

.panel { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon-l); padding: clamp(22px, 4vw, 36px); }
.panel h3 { margin-bottom: 0.4em; }
.panel-list { margin: 0; padding-left: 1.2em; color: var(--brume); }
.panel-list li { margin-bottom: 0.45em; }
.panel-list li::marker { color: var(--rose); }

/* ---------- Carte Île-de-France abstraite ---------- */

.idf { width: 100%; max-width: 460px; margin-inline: auto; }
.idf text { font-family: var(--police); font-size: 13px; fill: var(--brume); font-weight: 550; }
.idf .paris-label { fill: var(--encre); font-weight: 700; font-size: 15px; }

/* ---------- Liste d'attente ---------- */

.waitlist { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon-l); padding: clamp(24px, 5vw, 56px); }
.waitlist::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--degrade); }
.waitlist-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .waitlist-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }

.form { display: grid; gap: 18px; }
.field label, .field .label { display: block; font-weight: 650; margin-bottom: 6px; }
.field .hint { display: block; color: var(--brume); font-size: 0.9rem; font-weight: 400; margin-top: 2px; }
.input, .select {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--encre);
  background: var(--nuit); border: 1.5px solid #4A4658; border-radius: 14px;
}
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brume) 50%), linear-gradient(135deg, var(--brume) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input:focus, .select:focus { border-color: var(--rose-clair); outline: none; box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.35); }
.input[aria-invalid="true"] { border-color: #F87171; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.97rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--rose); }
.error { color: #FCA5A5; font-size: 0.92rem; margin: 6px 0 0; }
.error:empty { display: none; }
.form-status { border-radius: 14px; padding: 14px 16px; font-size: 0.97rem; }
.form-status:empty { display: none; }
.form-status.is-info { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.4); }
.form-status.is-ok { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.45); }
.form-status.is-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.45); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: 0.88rem; color: var(--brume); margin: 0; }

/* ---------- Abonnements ---------- */

.tiers { display: grid; gap: 16px; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon-m); padding: 24px 22px; }
.tier h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.tier .tier-pitch { color: var(--brume); font-size: 0.97rem; min-height: 3em; }
.tier .price { font-weight: 650; font-size: 0.95rem; padding: 10px 0; border-block: 1px solid var(--ligne); margin: 6px 0 16px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.97rem; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.tier li svg { width: 18px; height: 18px; margin-top: 4px; }
.tier-gold { border-top: 3px solid #F5C451; }
.tier-platinum { border-top: 3px solid #C7CEDB; }
.tier-diamond { border-top: 3px solid #7DD3FC; }
.tier-free { border-top: 3px solid var(--like); }

.table-wrap { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--rayon-m); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.97rem; }
caption { text-align: left; padding: 16px 18px; color: var(--brume); font-size: 0.92rem; caption-side: bottom; border-top: 1px solid var(--ligne); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 700; position: sticky; top: 0; }
tbody th { font-weight: 550; color: var(--encre); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.yes { color: #6EE7B7; font-weight: 650; }
td.no { color: #8D889B; }

.shop { display: grid; gap: 16px; }
@media (min-width: 760px) { .shop { grid-template-columns: repeat(2, 1fr); } }
.shop-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--ligne); border-radius: var(--rayon-m); background: var(--surface); }
.shop-item .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); }
.shop-item .ico svg { width: 24px; height: 24px; }
.shop-item h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.shop-item p { margin: 0; color: var(--brume); font-size: 0.97rem; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0; max-width: 50em; }
.faq-group + .faq-group { margin-top: 48px; }
.faq details { border-top: 1px solid var(--ligne); }
.faq details:last-child { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 650; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 2px solid var(--rose-clair); border-bottom: 2px solid var(--rose-clair); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 14px; }
.faq .answer { padding: 0 0 22px; color: var(--brume); max-width: 42em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Pages de contenu et pages juridiques ---------- */

.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.2rem); }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 2.2em; font-variation-settings: "opsz" 48; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brume); }
.prose p, .prose li { color: #DDD9E7; }
.prose table { min-width: 560px; }
.meta-date { color: var(--brume); font-size: 0.95rem; }

.toc { margin: 8px 0 0; padding: 18px 22px; border: 1px solid var(--ligne); border-radius: var(--rayon-m); background: var(--surface); max-width: 44em; }
.toc p { margin: 0 0 8px; font-weight: 650; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 16em; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }

/* Marqueurs « à compléter » et « à valider » : visibles exprès tant que le fondateur et le juriste n'ont pas tranché. */
.todo, .avalider {
  display: inline; padding: 1px 7px; border-radius: 6px; font-weight: 650; font-size: 0.92em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.todo { background: rgba(249, 115, 22, 0.16); color: #FDBA74; border: 1px dashed rgba(249, 115, 22, 0.6); }
.avalider { background: rgba(139, 92, 246, 0.16); color: #C4B5FD; border: 1px dashed rgba(139, 92, 246, 0.6); }
.notice { border-left: 4px solid var(--orange); background: rgba(249, 115, 22, 0.08); padding: 16px 20px; border-radius: 0 var(--rayon-s) var(--rayon-s) 0; margin: 0 0 1.5em; max-width: 44em; }
.notice p:last-child { margin-bottom: 0; }

dl.infos { display: grid; grid-template-columns: minmax(140px, 13em) 1fr; gap: 0; margin: 0; max-width: 44em; }
dl.infos dt, dl.infos dd { padding: 12px 0; border-top: 1px solid var(--ligne); margin: 0; }
dl.infos dt { color: var(--brume); padding-right: 16px; }
@media (max-width: 560px) { dl.infos { grid-template-columns: 1fr; } dl.infos dd { border-top: 0; padding-top: 0; } }

.urgences { display: grid; gap: 12px; margin: 0 0 1.5em; }
@media (min-width: 700px) { .urgences { grid-template-columns: repeat(2, 1fr); } }
.urgence { padding: 16px 18px; border: 1px solid var(--ligne); border-radius: var(--rayon-m); background: var(--surface); }
.urgence strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; }
.urgence span { color: var(--brume); font-size: 0.95rem; }

.contact-cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card { padding: 24px; border: 1px solid var(--ligne); border-radius: var(--rayon-m); background: var(--surface); }
.contact-card h2 { font-size: 1.3rem; margin: 0 0 6px; }
.contact-card p { color: var(--brume); margin-bottom: 12px; }
.contact-card a.mail { font-weight: 650; font-size: 1.05rem; word-break: break-all; }

/* ---------- Pied de page ---------- */

.site-footer { border-top: 1px solid var(--ligne); padding-block: 56px 40px; margin-top: 0; font-size: 0.97rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; color: var(--encre); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--brume); text-decoration: none; }
.site-footer a:hover { color: var(--encre); text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ligne); color: var(--brume); font-size: 0.88rem; }
.footer-legal p { margin: 0 0 4px; }

/* ---------- 404 ---------- */

.notfound { min-height: 60vh; display: grid; align-content: center; }

@media print {
  .site-header, .site-footer, .waitlist, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}
.footer-about { margin-top: 14px; max-width: 26em; }
.section.section-tight { padding-top: 8px; }
.page-hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.table-note { color: var(--brume); font-size: 0.92rem; margin-top: 14px; }
@media (max-width: 760px) {
  .table-wrap tbody th, .table-wrap thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--ligne); }
  .table-wrap thead th:first-child { background: var(--surface-2); z-index: 2; }
  th, td { padding: 12px 14px; }
}
.btn[disabled] { opacity: 0.55; cursor: not-allowed; filter: none; }
.urgence strong a { color: var(--encre); text-decoration: none; }
.urgence strong a:hover { text-decoration: underline; }
