/* ══════════════════════════════════════════════════════════════════════════
   public/css/mtc-landing.css — les 3 landings MTC Facile (test A/B/C).
   Source : docs/charte/MTC-Facile-DESIGN-SYSTEM.md (elle fait foi).
   ⚠️ Jamais de blanc pur ni de noir pur : --cream et --ink. Un caractère chinois
      est TOUJOURS accompagné de sa traduction. Pas d'icônes au trait.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #1a1814;
  --rice-paper: #f5f0e6;
  --rice-paper-warm: #ede5d2;
  --cream: #faf6ec;
  --ash: #8a8577;
  --vermillon: #c8342a;
  --vermillon-deep: #9e2820;
  --jade: #5d7a5c;
  --jade-deep: #3e5540;
  --gold: #b8893d;
  --water: #2c4d5e;
  --shadow-ink: rgba(26, 24, 20, 0.08);
  --shadow-ink-deep: rgba(26, 24, 20, 0.15);
  --line: rgba(26, 24, 20, 0.10);

  --serif: 'Fraunces', 'Cormorant Garamond', 'Playfair Display', serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --cn: 'Ma Shan Zheng', cursive;

  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--rice-paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

/* ── Typographie signature ───────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ash);
}
.cn { font-family: var(--cn); color: var(--vermillon); font-weight: 400; line-height: 1; }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.4rem; line-height: 1.2; }
h1 em, h2 em, h3 em { color: var(--vermillon); font-style: italic; }
.lead { font-size: 1.15rem; color: var(--ink); opacity: 0.82; max-width: 36rem; }
.meta { font-size: 0.85rem; color: var(--ash); letter-spacing: 0.04em; }

/* ── Bandeau de marque ───────────────────────────────────────────────────── */
.sig {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sig .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand .name { font-family: var(--serif); font-size: 1.3rem; }
.brand .cn { font-size: 1.4rem; }
.sig .btn { padding: 10px 18px; font-size: 0.9rem; }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 30px; border-radius: 100px; border: 0; cursor: pointer;
  background: var(--vermillon); color: var(--cream);
  font-family: var(--sans); font-size: 1.05rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 30px rgba(200, 52, 42, 0.22);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); background: var(--vermillon-deep); box-shadow: 0 16px 40px rgba(200, 52, 42, 0.28); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--rice-paper-warm); }

/* ── Sections ────────────────────────────────────────────────────────────── */
section { padding: 88px 0; }
section.alt { background: var(--rice-paper-warm); }
.sec-head { margin-bottom: 48px; }
.sec-head .eyebrow { display: block; margin-bottom: 16px; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 24px; }
.hero .lead { margin-bottom: 36px; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero .seal {
  justify-self: center; text-align: center;
  width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--cream); box-shadow: 0 10px 40px var(--shadow-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.hero .seal .cn { font-size: clamp(6rem, 22vw, 9rem); }
.hero .seal .meta { max-width: 14rem; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; }
.reassure span { font-size: 0.9rem; color: var(--ash); }
.reassure span::before { content: '·'; margin-right: 8px; color: var(--vermillon); }

/* Aveux (symptômes) */
.quotes { display: grid; gap: 18px; }
.quote {
  background: var(--cream); border-radius: var(--r-lg); padding: 28px;
  box-shadow: 0 6px 24px var(--shadow-ink);
}
.quote blockquote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }
.quote p { font-size: 0.95rem; color: var(--ash); }

/* Les 4 profils */
.profils { display: grid; gap: 18px; }
.profil {
  background: var(--cream); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: 0 6px 24px var(--shadow-ink);
  border-top: 4px solid var(--c, var(--vermillon));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.profil:hover { transform: translateY(-4px); box-shadow: 0 14px 36px var(--shadow-ink-deep); }
.profil .cn { font-size: 3.2rem; color: var(--c, var(--vermillon)); }
.profil .el { display: block; margin: 8px 0 14px; }
.profil h3 { margin-bottom: 10px; }
.profil p { font-size: 0.98rem; opacity: 0.85; }
.profil.bois { --c: var(--jade); }
.profil.terre { --c: var(--gold); }
.profil.feu { --c: var(--vermillon); }
.profil.eau { --c: var(--water); }

/* Le praticien */
.praticien { display: grid; gap: 32px; align-items: center; }
.praticien .portrait {
  justify-self: center; width: 220px; aspect-ratio: 1; border-radius: 50%;
  background: var(--rice-paper); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: center;
}
.praticien .portrait .cn { font-size: 6rem; }
.praticien .sign { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 18px; }

/* Étapes */
.etapes { display: grid; gap: 18px; counter-reset: etape; }
.etape { background: var(--cream); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 6px 24px var(--shadow-ink); }
.etape .num { font-family: var(--serif); font-size: 2.6rem; color: var(--vermillon); line-height: 1; }
.etape h3 { margin: 12px 0 8px; }
.etape p { font-size: 0.98rem; opacity: 0.85; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.25rem;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--vermillon); font-family: var(--sans); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; opacity: 0.85; }

/* CTA final */
.final { text-align: center; }
.final .cn { font-size: 4.5rem; display: block; margin-bottom: 8px; }
.final h2 { margin: 20px auto 18px; max-width: 18ch; }
.final .lead { margin: 0 auto 36px; }

/* Barre CTA mobile */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
  display: none;
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 719px) { .sticky-cta.on { display: block; } }

/* Pied de page */
footer { padding: 48px 0 120px; border-top: 1px solid var(--line); }
footer p { font-size: 0.85rem; color: var(--ash); max-width: 52rem; margin-bottom: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
footer nav a { font-size: 0.85rem; color: var(--ash); }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Grilles ≥ tablette ──────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .profils { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(3, 1fr); }
  .praticien { grid-template-columns: 220px 1fr; }
}
@media (min-width: 980px) {
  .hero .wrap { grid-template-columns: 1.25fr 1fr; }
  .profils { grid-template-columns: repeat(4, 1fr); }
  section { padding: 112px 0; }
}
