/* Pages de présentation et de référencement : même style « passeport » que l'appli (Nacre / Aurore selon l'appareil). */

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-opsz-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-opsz-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f7f1e6; --card: #fffdf9; --ink: #14213d; --ink-2: #2b3a5c; --muted: #6d7180; --line: #e3d9c6;
  --maple: #a8261d; --gold: #b0843a; --gold-soft: #f3e7cf; --forest: #2e6a4e; --ok: #e3f1e8;
  --glow1: rgba(255, 176, 120, 0.42); --glow2: rgba(140, 165, 255, 0.36);
  --btn: linear-gradient(135deg, #2c3d6b, #14213d 50%, #32275a); --btn-ink: #fff8ee;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1026; --card: #151a3a; --ink: #f5f1ea; --ink-2: #dcd6ea; --muted: #a3a6c8; --line: #2b2f5a;
    --maple: #e8857b; --gold: #f0c27a; --gold-soft: #2a2343; --forest: #6fd3b4; --ok: rgba(111, 211, 180, 0.14);
    --glow1: rgba(56, 210, 195, 0.22); --glow2: rgba(140, 90, 255, 0.3);
    --btn: linear-gradient(135deg, #ffe0a6, #f0c27a 45%, #d09a4a); --btn-ink: #120d05;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html {
  background: radial-gradient(60% 40% at 0% 0%, var(--glow1), transparent 70%), radial-gradient(50% 40% at 100% 10%, var(--glow2), transparent 70%), var(--paper);
  background-attachment: fixed;
}
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); -webkit-text-size-adjust: 100%; }
main, .top, footer { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 44px); margin: 8px 0 12px; }
h1 em { font-style: italic; color: var(--maple); }
h2 { font-size: 24px; margin: 36px 0 12px; }
h3 { font-size: 18px; margin: 18px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 22px; text-decoration: none; }
.brand em { color: var(--maple); }
.top nav { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.btn { display: inline-block; background: var(--btn); color: var(--btn-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 999px; }
.btn.small { padding: 7px 14px; font-size: 13px; }
.link { font-weight: 600; text-decoration: none; margin-left: 10px; white-space: nowrap; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.hero { padding: 28px 0 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0; }
.lede { font-size: 17px; color: var(--ink-2); }
.crumbs { font-size: 13px; color: var(--muted); margin-top: 12px; }

.features, .prices, .chips, .questions { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.features { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.features h3, .prices h3 { margin-top: 0; }
.features p, .prices p { margin: 0; color: var(--ink-2); font-size: 15px; }
.prices { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.price { font-family: var(--serif); font-size: 30px; color: var(--ink) !important; margin: 0 0 6px !important; }
.chips { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.chips a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px; }
.glyph { width: 28px; flex: none; text-align: center; font-family: var(--serif); color: var(--gold); font-size: 13px; }

.questions { counter-reset: q; gap: 12px; }
.qtext { font-weight: 600; margin: 0 0 8px; display: flex; gap: 10px; }
.num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; }
.choices { margin: 0 0 10px; padding-left: 58px; color: var(--ink-2); }
.choices li { margin: 2px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--gold); }
details[open] summary { margin-bottom: 8px; }
.q details p { margin: 6px 0; }
.ok { background: var(--ok); border-radius: 10px; padding: 8px 12px; }
.ref { font-size: 13px; color: var(--muted); }
.faq { margin-bottom: 8px; }
.faq summary { color: var(--ink); }
.faq p { margin: 0; color: var(--ink-2); }
.cta { margin: 28px 0; text-align: center; border-color: var(--gold); }
.cta h2 { margin-top: 4px; }

footer { padding-top: 24px; padding-bottom: max(28px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; }
