/* ───────────────────────────────────────────────
   Hebdio · page d'accueil (maquette « Accueil — lumière »)
   Les pages légales gardent style.css.
   ─────────────────────────────────────────────── */
:root {
  --ink: #212121;
  --ink2: #4A4856;
  --muted: #6A6876;
  --accent: #8E559A;
  --accent-deep: #7A4787;
  --coral: #E69E7B;
  --cta: #BB81C4;
  --line: #EFE6DC;
  --line-soft: #F1E6DA;
  --lilac-line: #F4E6EE;
  --cream: #FCF1E5;
  --night: #1A1925;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(45% 6% at 6% 3%, rgba(251,224,196,0.35), rgba(251,224,196,0) 100%),
    radial-gradient(45% 7% at 96% 35%, rgba(250,220,195,0.3), rgba(250,220,195,0) 100%),
    radial-gradient(45% 7% at 4% 70%, rgba(252,230,205,0.3), rgba(252,230,205,0) 100%),
    linear-gradient(180deg, #FCF1E5 0%, #FDF5EC 25%, #FBEFE2 50%, #FDF5EC 75%, #FCF1E5 100%);
  background-color: var(--cream);
}

a { color: var(--accent); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pad-x { padding: 0 24px 112px; }

.display { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.02em; }
.display em { font-style: italic; color: var(--accent); }
.h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { margin: 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
.h2-xl { margin: 0; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.1; max-width: 900px; }
.h3 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.01em; }
.h3 em { color: inherit; }
.lead { font-size: 20px; color: var(--muted); max-width: 520px; }
.lead-sm { font-size: 19px; max-width: 500px; }
.ink2 { color: var(--ink2); max-width: 620px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow-deep { color: var(--accent-deep); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: 16px;
  border-radius: 999px; min-height: 52px; padding: 16px 28px;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--cta); color: var(--ink); }
.btn-primary:hover { background: #AF72B9; color: var(--ink); }
.btn-ghost { color: var(--ink); border: 1px solid #E2D6CF; padding: 16px 24px; }
.btn-ghost:hover { background: rgba(255,255,255,0.6); color: var(--ink); }
.btn-nav { border-radius: 12px; min-height: 48px; padding: 14px 32px; }
.btn-block { width: 100%; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 10; padding: 16px 24px 0; }
.nav-bar {
  max-width: 1200px; margin: 0 auto; padding: 12px 12px 12px 28px;
  background: rgba(255,251,246,0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7); border-radius: 16px; box-shadow: 0 6px 24px rgba(120,80,40,0.04);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: 'Fraunces', serif; font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.brand-name .dot { color: var(--coral); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 36px; font-size: 16px; font-weight: 500; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a.is-accent, .nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: #F7E3EC; color: var(--accent-deep); font-size: 14px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }

.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; position: relative; }
.halo { position: absolute; width: 420px; max-width: 100%; height: 420px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FBE3CC, #FCF1E5 70%); top: 60px; }
.phone { position: relative; width: 320px; max-width: 100%; height: 620px; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(58,42,48,0.18); }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.ph-head { padding: 28px 20px 14px; border-bottom: 1px solid var(--lilac-line); }
.ph-k { font-size: 12px; color: var(--muted); font-weight: 500; }
.ph-title { font-family: 'Fraunces', serif; font-size: 22px; margin-top: 2px; }
.ph-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.ph-row { display: flex; gap: 8px; align-items: flex-start; }
.ph-logo { flex: none; margin-top: 4px; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; }
.bubble-first { border-radius: 4px 16px 16px 16px; }
.bubble-paid { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.badge-paid { display: inline-flex; align-items: center; gap: 6px; background: #DDF1E4; color: #2F6B4A; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4FA777; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; margin-left: 36px; }
.ph-cap { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ph-line { display: flex; justify-content: space-between; font-size: 14px; }
.ph-sep { height: 1px; background: var(--lilac-line); }
.ph-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 12px; background: var(--lilac-line); color: var(--accent); font-size: 13px; font-weight: 600; }
.ph-link svg { flex: none; }
.ph-composer { padding: 14px 16px 22px; background: #fff; border-top: 1px solid var(--lilac-line); display: flex; align-items: center; gap: 6px; }
.ph-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ph-send { background: var(--cta); }
.ph-input { flex: 1 1 0; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; display: flex; align-items: center; font-size: 14px; color: var(--muted); background: var(--cream); }

/* ── Bandeau « pour qui » ── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.5); }
.strip-row { padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: center; font-size: 15px; color: var(--muted); }
.strip-row b { font-weight: 600; color: var(--ink); }

/* ── Sections deux colonnes ── */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.problem { padding-top: 112px; padding-bottom: 96px; align-items: flex-start; }
.pains { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pain { background: rgba(255,255,255,0.75); border: 1px solid var(--line-soft); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.pain-dot { width: 16px; height: 16px; border-radius: 50%; margin-bottom: 6px; }
.pain-t { font-family: 'Fraunces', serif; font-size: 22px; }
.pain .muted { font-size: 15px; }

/* ── Panneaux pleine largeur ── */
.panel { max-width: 1200px; margin: 0 auto; border-radius: 32px; }
.panel-warm { background: linear-gradient(330deg, #FFF7E3 0%, #FCEBDC 45%, #FBEFE7 80%, #F8EEF0 100%); }
.statement { padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }

/* ── Charge mentale ── */
.stack { padding-bottom: 112px; display: flex; flex-direction: column; gap: 44px; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.tile { background: rgba(255,255,255,0.75); border: 1px solid var(--line-soft); border-radius: 28px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.tile-solid { background: #fff; border-color: var(--line); }
.tile-t { font-family: 'Fraunces', serif; font-size: 30px; line-height: 1.15; }
.tile p { font-size: 17px; }
.thoughts { display: flex; flex-direction: column; gap: 10px; }
.thought { align-self: flex-start; border-radius: 999px; padding: 10px 14px; font-size: 15.5px; font-style: italic; }
.big-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.big-num { font-family: 'Fraunces', serif; font-size: clamp(56px, 7vw, 84px); line-height: 1; color: var(--accent); }
.big-cap { font-size: 16px; color: var(--accent); font-weight: 500; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checks li { display: flex; gap: 12px; }
.checks li > span { color: var(--accent); font-weight: 700; }

/* ── Comment ça marche ── */
.how { gap: 48px; }
.how .sec-head { max-width: 720px; }
.how-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.how-tabs { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.how-tab {
  width: 100%; text-align: left; cursor: pointer; min-height: 44px; border-radius: 20px; padding: 22px 24px;
  font-family: inherit; display: block; background: transparent; border: 1px solid var(--line); color: var(--ink);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.how-tab:hover { background: rgba(255,255,255,0.5); }
.how-tab.is-active { background: #fff; border-color: var(--accent); box-shadow: 0 10px 30px rgba(58,42,48,0.06); }
.how-tab-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.how-tab-l { display: flex; align-items: center; gap: 14px; }
.how-num { font-size: 14px; font-weight: 600; color: var(--muted); }
.how-label { font-family: 'Fraunces', serif; font-size: 23px; }
.how-sign { font-size: 22px; color: var(--muted); }
.how-text { display: none; margin-top: 10px; padding-left: 34px; font-size: 16px; color: var(--muted); line-height: 1.55; }
.how-tab.is-active .how-text { display: block; }
.how-stage { flex: 1 1 440px; min-width: 0; background: linear-gradient(160deg, #FDF5EC 0%, #FBE9D9 100%); border-radius: 28px; padding: 40px 24px; display: flex; align-items: center; justify-content: center; min-height: 520px; }
.how-card { width: 100%; max-width: 380px; background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(58,42,48,0.12); overflow: hidden; animation: card-in .35s ease; }
.how-card[hidden] { display: none; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .how-card { animation: none; } }
.hc-head { padding: 18px 20px; border-bottom: 1px solid var(--lilac-line); display: flex; align-items: center; gap: 10px; }
.hc-head div { display: flex; flex-direction: column; }
.hc-head b { font-weight: 600; font-size: 15px; }
.hc-head span { font-size: 12px; color: var(--muted); }
.hc-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.hc-cap { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 10px 12px; background: var(--cream); border: 1px solid var(--lilac-line); border-radius: 12px; }
.hc-row b { font-weight: 600; color: var(--accent); text-align: right; }
.hc-note { font-size: 14px; color: var(--muted); line-height: 1.5; padding-top: 4px; }
.hc-acts { display: flex; gap: 8px; padding-top: 4px; }
.hc-acts span { flex: 1; text-align: center; border-radius: 12px; padding: 11px; font-weight: 600; font-size: 14px; }
.hc-ok { background: var(--cta); }
.hc-edit { border: 1px solid #E2D6CF; }

/* ── Bandes claires ── */
.band { background: rgba(255,255,255,0.5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { padding-top: 104px; padding-bottom: 104px; }
.narrow { max-width: 760px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.quote { background: rgba(255,255,255,0.75); border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px; font-size: 17px; font-weight: 500; box-shadow: 0 14px 28px -8px var(--glow); }
.so { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.01em; align-self: flex-end; text-align: right; }
.so span { color: var(--accent); }

/* ── Confiance ── */
.trust { padding-top: 112px; padding-bottom: 112px; align-items: center; }
.trust-grid { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.trust-item { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.trust-item b { font-weight: 600; }
.trust-item .muted { font-size: 15px; }

/* ── Lettre ── */
.panel-letter { background: linear-gradient(330deg, #FFF8EC 0%, #FBECDF 60%, #FAF0E8 100%); padding: clamp(36px, 6vw, 80px); }
.letter { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.letter-body { font-size: 18px; line-height: 1.65; }

/* ── Tarif ── */
.pricing { align-items: center; gap: 48px; }
.pricing .split-text { flex-basis: 420px; gap: 18px; }
.price-card { flex: 1 1 440px; min-width: 0; border: 2px solid var(--accent); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.price-card .checks { gap: 12px; }

/* ── FAQ ── */
.faq { max-width: 900px; padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 0; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 18px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-sign::before { content: '+'; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq-list details[open] .faq-sign::before { content: '–'; }
.faq-list details p { padding: 0 0 24px; font-size: 16.5px; color: var(--muted); max-width: 720px; }

/* ── CTA final ── */
.closing-wrap { padding-bottom: 96px; }
.closing { background: var(--night); color: #fff; padding: clamp(44px, 7vw, 96px); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.closing .h2-xl { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; max-width: 820px; }
.closing .display em { color: #E3C2E6; }
.closing .lead { color: #CFCCDB; max-width: 540px; }
.closing .btn-primary { color: var(--night); }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); }
.foot-row { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.foot-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; max-width: 340px; font-size: 15px; }
.foot-name { font-size: 24px; font-weight: 500; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-h { font-weight: 600; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--muted); }

/* ── Mobile ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-bar { padding-left: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .pad-x { padding-left: 16px; padding-right: 16px; padding-bottom: 72px; }
  .nav { padding: 10px 12px 0; }
  .brand-name { font-size: 23px; }
  .btn-nav { padding: 12px 18px; min-height: 44px; font-size: 15px; }
  .hero { padding-top: 40px; gap: 40px; }
  .lead { font-size: 18px; }
  .cta-row .btn { width: 100%; }
  .facts { flex-direction: column; gap: 4px; }
  .facts span[aria-hidden] { display: none; }
  .problem, .trust, .faq { padding-top: 72px; padding-bottom: 72px; }
  .stack { padding-bottom: 72px; }
  .band-inner { padding-top: 72px; padding-bottom: 72px; }
  .pains { grid-template-columns: 1fr; }
  .how-label { font-size: 20px; }
  .how-text { padding-left: 0; }
  .how-stage { min-height: 0; padding: 28px 16px; }
  .thought { border-radius: 18px; }
  .so { text-align: left; align-self: flex-start; }
  .price-card { padding: 26px; }
}
