/* ============================================================
   KARINE — Ancrage, Alignement & Cocon de soi
   style.css — tokens depuis le Brand Book (5 couleurs, aucune
   couleur hors charte). Mono-famille Cormorant Garamond partout.
   Base : standards/base-tokens.css (SITE_STANDARDS.md 2026-08-08)
   ============================================================ */

:root {
  /* Palette officielle — 5 couleurs, aucune autre teinte utilisée */
  --pierre: #f6f4ee;   /* Pierre de Cantal — fond maître, 60% */
  --argile: #3d352e;   /* Argile Sombre — texte & structure, 25% */
  --mousse: #5c6652;   /* Vert Mousse des Cimes — ancrage/blocs sombres, 8% */
  --terracotta: #c06c53; /* Terracotta Infusé — accent CTA/titres phares, 5% */
  --dore: #c29b38;     /* Lueur Dorée — détail graphique seul, jamais texte, <=2% */

  /* Alias fonctionnels (mêmes 5 couleurs, jamais de hex étranger) */
  --cream: var(--pierre);
  --ink: var(--argile);
  --brand: var(--mousse);
  --brand-deep: var(--mousse);
  --accent: var(--terracotta);
  --accent-text: var(--terracotta); /* réservé aux titres >=24px, jamais au corps de texte */
  --accent-on-dark: var(--pierre);
  --white: var(--pierre);

  /* Tons dérivés PAR OPACITÉ des 5 couleurs officielles (pas de teinte ajoutée) */
  --shadow-soft: 0 10px 30px rgba(61, 53, 46, 0.12);
  --line: rgba(92, 102, 82, 0.25);
  --hairline-dore: rgba(194, 155, 56, 0.55);
  --paper: #f6f4ee; /* carte = même fond, distinguée par hairline/ombre, pas une couleur ajoutée */
  --ink-08: rgba(61, 53, 46, 0.08);
  --ink-06: rgba(61, 53, 46, 0.06);
  --mousse-15: rgba(92, 102, 82, 0.15);
  --mousse-10: rgba(92, 102, 82, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Cormorant Garamond", Garamond, "Baskerville", serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-weight: 600; line-height: 1.18; margin: 0 0 18px; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 1.55rem + 2.4vw, 2.9rem); }
h2 { font-weight: 500; font-size: clamp(1.55rem, 1.3rem + 1.1vw, 1.9rem); line-height: 1.28; }
h3 { font-size: 1.28rem; font-weight: 600; }
p { margin: 0 0 18px; max-width: 66ch; text-align: left; }
p.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink); }
.measure { max-width: 62ch; }
em, .accent-word { color: var(--terracotta); font-style: italic; }
cite, .quote { font-style: italic; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.5; }
strong { font-weight: 600; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--mousse);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--dore); display: inline-block; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Boutons — un seul composant ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--pierre); box-shadow: var(--shadow-soft); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(192, 108, 83, 0.34); }
.btn-on-dark { border-color: rgba(246, 244, 238, 0.6); background: rgba(246, 244, 238, 0.08); color: var(--pierre); }
.btn-on-dark:hover { background: rgba(246, 244, 238, 0.18); }
.btn-ghost {
  border: none;
  border-radius: 0;
  padding: 0 2px 3px;
  min-height: 0;
  border-bottom: 1px solid var(--mousse);
  color: var(--argile);
  font-weight: 500;
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 8px; }

/* ---------- Header ---------- */
.util-bar { background: var(--argile); color: rgba(246, 244, 238, 0.82); font-size: 0.82rem; letter-spacing: 0.03em; }
.util-bar .wrap { padding: 9px 28px; display: flex; justify-content: center; text-align: center; }
header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 80; }
header .nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 28px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--argile); }
.brand-mark { width: 20px; height: 22px; flex: none; color: var(--terracotta); }
.brand-txt { font-size: 1.18rem; letter-spacing: 0.04em; font-weight: 600; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 30px; white-space:nowrap; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--argile); font-size: 1.02rem; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a.is-active { border-color: var(--terracotta); color: var(--terracotta); }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: 0.92rem; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; width: 44px; height: 44px; font-size: 1.2rem; color: var(--argile); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 18px 0 84px; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 56px; align-items: start; }
.hero h1 { margin-bottom: 14px; }
.hero .lead { margin-bottom: 26px; }
.hero .lead-pain { font-style: italic; color: var(--mousse); margin-bottom: 18px; }
.hero-slim { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.hero-slim .wrap { max-width: 820px; }
.hero-slim p.lead { margin-top: 10px; }

/* Portrait slot — photo réelle de Karine (proportions dictées par la seule
   photo disponible à ce jour, un selfie serré ; à réajuster si une vraie
   séance photo remplace ce cliché). */
.portrait-slot {
  position: relative;
  aspect-ratio: 540 / 616;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  border-radius: 2px;
  background: linear-gradient(160deg, var(--mousse) 0%, #4c5544 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.portrait-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.portrait-slot::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(246, 244, 238, 0.5);
  pointer-events: none;
  z-index: 1;
}
.portrait-slot .mono {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(6rem, 5rem + 6vw, 9rem);
  color: rgba(246, 244, 238, 0.5);
  line-height: 1;
}
.portrait-slot .mono-caption {
  position: absolute;
  bottom: 26px;
  left: 26px;
  right: 26px;
  color: var(--pierre);
  font-style: italic;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(30, 26, 20, 0.55);
  z-index: 1;
}
.portrait-slot.terra { background: linear-gradient(160deg, var(--terracotta) 0%, #a75940 100%); }
.portrait-slot.terra::before { border-color: rgba(246, 244, 238, 0.5); }
.portrait-slot.small { aspect-ratio: 540 / 616; }

/* ---------- Bande mantra (fond sombre Vert Mousse) ---------- */
.mantra-band { background: var(--mousse); color: var(--pierre); padding: 74px 0; text-align: center; }
.mantra-band .wrap { max-width: 780px; }
.mantra-band .quote { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem); font-style: italic; line-height: 1.35; margin: 0 0 20px; color: var(--pierre); }
.mantra-band p { color: rgba(246, 244, 238, 0.86); margin: 0 auto; }

/* ---------- Piliers ---------- */
.pillars { padding: 84px 0; }
.pillars-head { max-width: 640px; margin-bottom: 48px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar-card { background: var(--paper); border: 1px solid var(--line); padding: 34px 28px; position: relative; }
.pillar-num { font-style: italic; color: var(--dore); font-size: 0.95rem; letter-spacing: 0.08em; display: block; margin-bottom: 14px; }
.pillar-card h3 { color: var(--argile); margin-bottom: 6px; }
.pillar-card .pillar-when { display: block; font-size: 0.85rem; color: var(--mousse); letter-spacing: 0.03em; margin-bottom: 14px; }
.pillar-card p { font-size: 0.98rem; margin-bottom: 0; }
.pillar-card ul { margin: 0; padding: 0 0 0 18px; }
.pillar-card li { margin-bottom: 10px; font-size: 0.98rem; }
.pillar-card li::marker { color: var(--dore); }

/* ---------- Offre teaser / carte offre ---------- */
.offer-band { padding: 0 0 84px; }
.offer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 46px 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.offer-card h2 { margin-bottom: 14px; }
.offer-facts { list-style: none; margin: 22px 0 0; padding: 0; }
.offer-facts li { position: relative; padding-left: 22px; margin-bottom: 12px; font-size: 0.98rem; }
.offer-facts li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--dore); }
.offer-price-box { background: var(--mousse); color: var(--pierre); padding: 32px 30px; text-align: center; }
.offer-price-box .price { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); font-style: italic; color: var(--pierre); display: block; margin-bottom: 4px; }
.offer-price-box .price-alt { font-size: 0.92rem; color: rgba(246, 244, 238, 0.78); display: block; margin-bottom: 22px; }
.offer-price-box .btn { width: 100%; }

/* ---------- Certifications / légitimité (remplace l'avis social manquant) ---------- */
.legit-strip { padding: 0 0 84px; }
.legit-head { max-width: 640px; margin-bottom: 40px; }
.legit-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.legit-item { border-top: 1px solid var(--hairline-dore); padding-top: 16px; }
.legit-item p { font-size: 0.95rem; margin: 0; color: var(--argile); }

/* ---------- FAQ ---------- */
.faq { padding: 84px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq .wrap { max-width: 780px; }
.faq-head { margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 30px 22px 0;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
  color: var(--argile);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 20px;
  font-style: italic; font-size: 1.4rem; color: var(--terracotta);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 22px; margin: 0; font-size: 0.98rem; max-width: 62ch; }

/* ---------- Bande CTA finale ---------- */
.cta-band { background: var(--argile); color: var(--pierre); padding: 78px 0; text-align: center; }
.cta-band .wrap { max-width: 640px; }
.cta-band .quote { font-style: italic; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); color: var(--pierre); margin-bottom: 16px; }
.cta-band p { color: rgba(246, 244, 238, 0.8); margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Pages internes (à-propos / contact / offre) ---------- */
.section { padding: 74px 0; }
.section-tight { padding: 54px 0; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .portrait-slot { order: 2; }
.story p { font-size: 1.02rem; }
.cert-list { list-style: none; margin: 24px 0 0; padding: 0; }
.cert-list li { position: relative; padding-left: 26px; margin-bottom: 14px; font-size: 0.98rem; }
.cert-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--dore); }

.contact-card {
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  padding: 44px; text-align: center; max-width: 640px; margin: 0 auto;
}
.contact-card h2 { margin-bottom: 10px; }
.contact-card .btn-row { justify-content: center; margin-top: 22px; }
.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 900px; margin: 54px auto 0; }
.info-card { border-top: 1px solid var(--hairline-dore); padding-top: 16px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { font-size: 0.96rem; }

/* ---------- Bannière cookie ---------- */
.consent-banner[hidden] { display: none; }
.consent-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 95;
  width: min(380px, calc(100% - 40px));
  display: grid; gap: 14px; padding: 20px 22px;
  background: var(--argile); color: var(--pierre);
  border: 1px solid rgba(246, 244, 238, 0.14);
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}
.consent-banner:focus { outline: none; }
.consent-banner p { margin: 0; color: rgba(246, 244, 238, 0.88); font-size: 0.9rem; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; min-height: 42px; padding: 0 12px; font-size: 0.85rem; background: rgba(246, 244, 238, 0.1); border: 1px solid rgba(246, 244, 238, 0.5); color: var(--pierre); box-shadow: none; }
.consent-actions .btn:hover { background: rgba(246, 244, 238, 0.2); }
body.consent-open .hero { padding-bottom: 150px; }

/* ---------- Footer ---------- */
footer { background: var(--argile); color: rgba(246, 244, 238, 0.86); padding: 64px 0 0; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
footer .fbrand { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 600; font-size: 1.4rem; color: var(--pierre); }
footer .fbrand-sub { font-size: 0.85rem; margin-top: 6px; color: rgba(246, 244, 238, 0.6); letter-spacing: 0.03em; }
footer p.fdesc { font-size: 0.9rem; color: rgba(246, 244, 238, 0.62); max-width: 34ch; margin-top: 18px; }
footer .fhead { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--dore); margin-bottom: 16px; }
footer p { margin: 0 0 10px; font-size: 0.94rem; }
footer a { text-decoration: none; color: rgba(246, 244, 238, 0.86); }
footer a:hover { color: var(--terracotta); }
.foot-legal { border-top: 1px solid rgba(246, 244, 238, 0.14); padding: 22px 0 26px; }
.foot-legal .wrap { display: block; padding: 0; }
.foot-legal .disclaimer { font-size: 0.78rem; line-height: 1.6; color: rgba(246, 244, 238, 0.52); max-width: 100%; margin: 0; }
.foot-legal .disclaimer a { color: rgba(246, 244, 238, 0.66); }

/* ---------- Pages légales ---------- */
.legal-body h2 { margin-top: 34px; }
.legal-body p { font-size: 0.98rem; }

/* ---------- 404 ---------- */
.notfound { padding: 110px 0; text-align: center; }
.notfound .wrap { max-width: 560px; }

/* ============================================================
   Responsive — 3 breakpoints construits (desktop 1440 / tablette
   ~860 / mobile 390), pas subis.
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .portrait-slot { order: -1; max-width: 340px; margin: 0 auto; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split .portrait-slot, .split.reverse .portrait-slot { order: -1; max-width: 320px; margin: 0 auto; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid > :nth-child(3):last-child { grid-column: 1 / -1; max-width: 62ch; margin: 0 auto; }
  .legit-row { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .offer-card { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; margin-bottom: 8px; }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .util-bar .wrap { padding: 8px 20px; font-size: 0.76rem; }
  header .nav { padding: 14px 20px; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh; background: var(--cream);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
    padding: 90px 26px 26px; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -12px 0 30px rgba(61,53,46,0.18); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; width: 100%; }
  .burger { display: block; z-index: 110; }
  .hero { padding: 40px 0 56px; }
  .pillars, .section, .cta-band, .mantra-band, .faq { padding: 54px 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid > :nth-child(3):last-child { grid-column: auto; margin: 0; }
  .legit-row { grid-template-columns: 1fr 1fr; }
  .offer-card { padding: 30px 24px; }
  footer .wrap { grid-template-columns: 1fr; padding-bottom: 30px; }
  .consent-banner { left: 14px; bottom: 14px; width: calc(100% - 28px); }
}
