/* ==========================================================================
   EB CONSEIL, feuille de style unique (toutes les pages)
   Direction : épurée, bleu profond + gris métal. Police : Fraunces + Inter.
   Règle de rédaction : ne jamais utiliser le caractère tiret cadratin.
   ========================================================================== */

:root {
  --ink: #14161a;
  --muted: #5c636e;
  --line: #e3e5e9;
  --bg: #ffffff;
  --paper: #f5f6f8;
  --accent: #1b3a63;
  --accent-dark: #122844;
  --accent-soft: #e8edf4;
  --steel: #7e8794;
  --maxw: 1080px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Variante chaude (page thérapeutes) : meme structure, accent terracotta */
body.warm {
  --ink: #2c2c28;
  --muted: #6b655c;
  --line: #e6e0d6;
  --paper: #f4efe7;
  --accent: #b06a4e;
  --accent-dark: #8f5440;
  --accent-soft: #f3e7df;
  --steel: #a08b7c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.14; margin: 0 0 .4em; font-weight: 500; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.3px; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.2px; }
p { margin: 0 0 1em; }
a { color: var(--ink); }

/* Skip link (accessibilité) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Focus visible (WCAG 2.1) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body.warm a:focus-visible, body.warm button:focus-visible, body.warm input:focus-visible, body.warm textarea:focus-visible, body.warm select:focus-visible {
  outline-color: var(--accent);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 760px; }
section { padding: 92px 0; }
.paper { background: var(--paper); }

.kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 6px;
  margin-bottom: 20px;
}
.kicker.plain { background: transparent; padding: 0; margin-bottom: 14px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }

/* BOUTONS */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: .98rem;
  text-decoration: none; padding: 14px 26px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-text { padding: 0 0 3px; border: none; background: none; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
.btn-text:hover { border-color: var(--accent); color: var(--accent); }

/* NAVIGATION + menu mobile */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
body.warm .nav { background: rgba(255,255,255,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.02rem; letter-spacing: .14em; text-decoration: none; color: var(--ink); }
.brand-mark { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; }
.nav-cta { padding: 10px 18px; font-size: .9rem; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 0;
  }
  .nav-links a { padding: 13px 26px; font-size: 1rem; }
  .nav-links a.nav-cta { margin: 10px 26px 6px; text-align: center; }
  .navtoggle:checked ~ .nav-links { display: flex; }
}

/* HÉRO */
.hero { padding: 104px 0 88px; }
.hero h1 { max-width: 18ch; }
.hero .lead { margin: 8px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero-note { font-size: .9rem; color: var(--muted); margin: 22px 0 0; }
.hero-quote { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.65rem); line-height: 1.36; color: var(--ink); margin: 6px 0 16px; max-width: 30ch; }

/* MANIFESTE */
.manifesto p { font-family: var(--serif); font-size: clamp(1.45rem, 3.4vw, 2.1rem); line-height: 1.32; color: var(--ink); font-weight: 400; max-width: 24ch; margin: 0; }
.manifesto .accent { color: var(--accent); }
.manifesto .small { font-family: var(--sans); font-size: 1.06rem; line-height: 1.7; color: var(--muted); max-width: 560px; margin-top: 26px; }

/* GRILLES */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.qcard { padding: 28px 0 0; border-top: 2px solid var(--steel); }
.qcard h3 { margin-bottom: 6px; }
.qcard p { color: var(--muted); margin: 0; }

.problems { margin-top: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 760px) { .problems { grid-template-columns: 1fr; } }
.problem { display: flex; gap: 12px; }
.problem .bar { flex: 0 0 auto; width: 3px; background: var(--steel); border-radius: 2px; }
.problem p { margin: 0; color: var(--muted); }
.problem strong { color: var(--ink); display: block; }

/* APPROCHE (principes) */
.principle { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.principle:first-child { border-top: none; padding-top: 0; }
.principle .idx { font-family: var(--serif); font-size: 1.6rem; color: var(--steel); line-height: 1; }
.principle h3 { margin-bottom: 6px; }
.principle p { color: var(--muted); margin: 0; }

/* CE QUE ÇA CHANGE / FAQ */
.outcome { padding-top: 22px; border-top: 1px solid var(--line); }
.outcome h3 { font-size: 1.08rem; margin-bottom: 6px; }
.outcome p { color: var(--muted); margin: 0; }

/* PARCOURS */
.journey-intro { max-width: 660px; color: var(--muted); font-size: 1.05rem; }
.journey { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; } }
.jrow { padding: 22px 0; border-top: 1px solid var(--line); }
.jrow h3 { font-size: 1.02rem; margin-bottom: 4px; }
.jrow p { color: var(--muted); margin: 0; font-size: .96rem; }

/* CRÉDIBILITÉ */
.cred-line { font-size: 1.05rem; color: var(--ink); max-width: 760px; }
.cred-line .sep { color: var(--line); margin: 0 8px; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 48px 0 0; }
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr; } }
.figure .num { font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1; color: var(--ink); }
.figure .num .x { color: var(--accent); }
.figure .num small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.figure p { margin: 12px 0 0; color: var(--muted); }

/* OFFRES */
.offer { padding: 32px 0 0; border-top: 2px solid var(--accent); display: flex; flex-direction: column; height: 100%; }
.offer h3 { margin-bottom: 4px; }
.offer .price { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 6px 0 0; }
.offer .price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.offer .desc { color: var(--muted); margin: 14px 0 22px; flex: 1; }
.offer .btn-text { align-self: flex-start; }
.offers-note { color: var(--muted); margin-top: 40px; font-size: .98rem; max-width: 660px; }

/* LISTE NUMÉROTÉE (thérapeutes) */
.list { max-width: 720px; }
.list .row { padding: 18px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.list .row:first-child { border-top: none; }
.list .row .mark { color: var(--accent); font-family: var(--serif); }
.list .row p { margin: 0; color: var(--muted); }
.list .row strong { color: var(--ink); }

/* LEAD MAGNET */
.magnet { background: var(--accent); color: #fff; border-radius: 14px; padding: 44px; }
@media (max-width: 680px) { .magnet { padding: 30px 22px; } }
.magnet h2 { color: #fff; }
.magnet p { color: rgba(255,255,255,.86); max-width: 560px; }
.magnet-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; max-width: 540px; }
.magnet-form input { flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 8px; border: 1px solid transparent; font-size: 1rem; font-family: inherit; }
.magnet-form button { background: #fff; color: var(--accent); border: none; padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: inherit; }
.magnet-fine { font-size: .82rem; color: rgba(255,255,255,.7); margin: 12px 0 0; }

/* ARTICLES (repères) */
.article { padding: 52px 0; border-top: 1px solid var(--line); }
.article .tag { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.article h2 { margin: 10px 0 .5em; }
.article p { color: #33373f; }
.soon { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 48px; margin-top: 24px; }
@media (max-width: 720px){ .soon { grid-template-columns: 1fr; } }
.soon .s { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; }

/* CTA FINAL */
.final { text-align: center; }
.final h2 { max-width: 20ch; margin: 0 auto .4em; }
.final .lead { margin: 0 auto 28px; }
.final-actions { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ADAGE */
.adage { padding: 84px 0; border-top: 1px solid var(--line); }
.adage blockquote { margin: 0 auto; max-width: 760px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 3.6vw, 2.05rem); line-height: 1.35; color: var(--ink); }

/* PIED DE PAGE */
footer { background: var(--accent-dark); color: #aeb8c8; padding: 56px 0 40px; }
body.warm footer { background: var(--ink); color: #cfc8bd; }
footer a { color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; }
.brand-footer { color: #fff; }
.footer-tag { max-width: 320px; margin-top: 12px; color: #9aa0ab; }
body.warm .footer-tag { color: #b6ada0; }
.footer h3 { color: #fff; font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-bottom: 10px; }
.footer-contact p, .footer-nav p { margin: 4px 0; color: #aeb8c8; }
body.warm .footer-contact p, body.warm .footer-nav p { color: #cfc8bd; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; color: #8b909b; }
.footer-bottom a { color: #aeb8c8; text-decoration: underline; }

/* MENTIONS / pages texte */
.legal h2 { font-size: 1.3rem; }
.legal p { color: var(--muted); font-size: .95rem; max-width: 760px; }

/* Réduction des espacements verticaux sur mobile */
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .hero { padding: 72px 0 60px; }
}

/* BANNIÈRE COOKIES */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--accent-dark);
  color: #fff;
  padding: 18px 26px;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-banner p {
  margin: 0;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  max-width: 640px;
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner-actions button {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  border-radius: 4px;
  padding: 9px 18px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
}
.cookie-banner-actions button.cookie-accept {
  background: #fff;
  color: var(--accent-dark);
  border-color: #fff;
}
@media (max-width: 680px) {
  .cookie-banner { padding: 16px 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button { flex: 1; }
}
