/* ═══════════════════════════════════════════════════════════════
   LENA SOPHROLOGIE — Design System v4
   Direction : Souffle Organique — warm, intimate, handcrafted
   Fonts : Cormorant Garamond (display) + Karla (body)
   Palette : sage / terracotta / cream / dark
   ═══════════════════════════════════════════════════════════════ */


/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg: #FDFBF7;
  --bg-subtle: #F6F2EB;
  --bg-warm: #FFF8F5;
  --bg-dark: #2C2420;
  --bg-dark-elevated: #3A322D;

  /* Text */
  --ink: #2C2420;
  --ink-soft: #5C5249;
  --ink-muted: #8C8178;
  --ink-inverse: #FDFBF7;

  /* Accent — Sage */
  --sage: #6B8F6B;
  --sage-hover: #5A7D5A;
  --sage-light: #EDF3ED;

  /* Accent — Terracotta */
  --terra: #C48B7A;
  --terra-light: #F0DDD6;
  --terra-hover: #B47A6A;
  --terra-soft: rgba(196,139,122,.06);

  /* Borders */
  --line: #E8E2DA;
  --line-strong: #D4CBC1;

  /* Shadows — diffuse, layered */
  --shadow-xs: 0 1px 2px rgba(44,36,32,.03);
  --shadow-sm: 0 1px 3px rgba(44,36,32,.03), 0 4px 12px rgba(44,36,32,.04);
  --shadow-md: 0 2px 4px rgba(44,36,32,.03), 0 8px 24px rgba(44,36,32,.06);
  --shadow-lg: 0 4px 8px rgba(44,36,32,.03), 0 16px 48px rgba(44,36,32,.08);
  --shadow-up: 0 -4px 24px rgba(44,36,32,.05);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 100px;

  /* Spacing scale */
  --s-2xs: 0.25rem;
  --s-xs: 0.5rem;
  --s-sm: 0.75rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;
  --s-5xl: 8rem;
  --s-6xl: 10rem;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Karla', system-ui, sans-serif;
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.7;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;

  /* Widths */
  --w-narrow: 680px;
  --w-content: 780px;
  --w-mid: 960px;
  --w-wide: 1160px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
  --duration-fast: 0.2s;
}


/* ── 2. Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }


/* ── 3. Base Typography ────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: var(--leading-tight);
}

h1 strong { font-weight: 700; }

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: var(--leading-snug);
  margin-bottom: var(--s-lg);
}

h2 strong { font-weight: 700; }

h3 {
  font-size: 1.25rem;
  line-height: var(--leading-snug);
  margin-top: var(--s-2xl);
  margin-bottom: var(--s-sm);
}

h3 strong { font-weight: 700; }

p {
  margin-bottom: var(--s-lg);
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* Content links */
.content a,
section p a,
section li a {
  color: var(--terra);
  border-bottom: 1px solid var(--terra-light);
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

@media (hover: hover) {
  .content a:hover,
  section p a:hover,
  section li a:hover {
    color: var(--ink);
    border-color: var(--ink);
  }
}

/* Content lists */
section ul, section ol {
  margin-bottom: var(--s-lg);
  padding-left: var(--s-xl);
}

section ul { list-style: disc; }
section ol { list-style: decimal; }

section li {
  margin-bottom: var(--s-xs);
  line-height: 1.8;
}

.intro-text {
  font-size: 1.08rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: var(--s-xl);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-sm);
}


/* ── 4. Layout ─────────────────────────────────────────────── */
.container    { max-width: var(--w-content); margin: 0 auto; padding: 0 var(--s-xl); }
.container-md { max-width: var(--w-mid);     margin: 0 auto; padding: 0 var(--s-xl); }
.container-lg { max-width: var(--w-wide);    margin: 0 auto; padding: 0 var(--s-xl); }

section {
  padding: var(--s-4xl) 0;
}

/* Non-uniform section rhythm */
.section-compact { padding: var(--s-2xl) 0; }
.section-breathe { padding: var(--s-5xl) 0; }
.section-hero    { padding: 0; }

.section-alt    { background: var(--bg-subtle); }
.section-warm   { background: var(--bg-warm); }
.section-accent { background: var(--bg-warm); }

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-inverse);
}
.section-dark h2,
.section-dark h3 { color: var(--ink-inverse); }
.section-dark p  { color: rgba(253,251,247,.65); }

/* Grain overlay — fixed, out of flow (no CLS) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ── 5. Navigation ─────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-md) var(--s-2xl);
  background: rgba(253,251,247,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--duration) var(--ease);
}

#nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: var(--s-xl);
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terra);
  transition: width var(--duration) var(--ease);
}

@media (hover: hover) {
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { width: 100%; }
}

.nav-cta {
  background: var(--sage) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-sm);
  font-size: 0.84rem !important;
  transition: all var(--duration) var(--ease) !important;
}
.nav-cta::after { display: none !important; }

@media (hover: hover) {
  .nav-cta:hover {
    background: var(--sage-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }
}

/* Hamburger */
.nav-toggle {
  display: none;
  padding: var(--s-xs);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ── 6. Hero ───────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-5xl) var(--s-xl) var(--s-3xl);
  position: relative;
  min-height: 60vh;
}

.hero-content {
  max-width: var(--w-content);
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--s-lg);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-md);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: var(--s-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s-2xl);
}

.hero-image {
  margin-top: var(--s-2xl);
  width: 100%;
  max-width: 880px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 900 / 506;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  filter: saturate(0.92) contrast(1.03);
}

/* Home hero — asymmetric split layout */
.section-hero {
  min-height: 85vh;
  padding: calc(var(--s-5xl) + 2rem) 0 var(--s-3xl);
}

.section-hero .container-lg {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: var(--s-3xl);
}

.section-hero .hero-content {
  text-align: left;
  max-width: none;
}

.section-hero .hero-sub {
  margin: 0;
  max-width: 480px;
}

.section-hero .hero-buttons {
  justify-content: flex-start;
}

.section-hero .hero-image {
  margin-top: 0;
  max-width: none;
  border-radius: var(--r-lg);
  aspect-ratio: 900 / 506;
}


/* ── 7. Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.015em;
  border: none;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 2px 8px rgba(107,143,107,.18);
  cursor: pointer;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--sage-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(107,143,107,.25);
  }
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px rgba(107,143,107,.15);
}

.btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  transition: all var(--duration) var(--ease);
  margin-left: var(--s-xs);
}

@media (hover: hover) {
  .btn-ghost:hover {
    background: var(--bg-subtle);
    color: var(--ink);
    border-color: var(--ink-muted);
  }
}

.btn-ghost:active {
  transform: scale(0.97);
}


/* ── 8. Content Components ─────────────────────────────────── */

/* Callout */
.callout {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s-xl) var(--s-2xl);
  margin: var(--s-xl) 0;
  border-left: 3px solid var(--terra-light);
  box-shadow: var(--shadow-xs);
}

.callout p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.85;
}

.callout-sage {
  border-left-color: var(--sage);
  background: var(--sage-light);
}
.callout-sage p { color: #3F5E3F; }

/* Snippet */
.snippet-question {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-xs);
  font-size: 1.05rem;
}

/* Table of Contents */
.toc {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s-xl) var(--s-2xl);
  margin: var(--s-xl) 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.toc-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-md);
  font-size: 1.02rem;
}

.toc-list { padding: 0; margin: 0; }

.toc-item { margin-bottom: var(--s-xs); }
.toc-item--sub { padding-left: var(--s-lg); }

.toc-link {
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color var(--duration) var(--ease);
}

@media (hover: hover) {
  .toc-link:hover { color: var(--ink); }
}

/* FAQ Accordion */
.paa-section {
  background: var(--bg-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-3xl) 0;
  margin: var(--s-xl) 0;
}

.paa-item {
  background: var(--bg);
  border-radius: var(--r-md);
  margin-bottom: var(--s-sm);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}

@media (hover: hover) {
  .paa-item:hover { box-shadow: var(--shadow-sm); }
}

.paa-question {
  padding: var(--s-lg) var(--s-xl);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  user-select: none;
  transition: color var(--duration) var(--ease);
}

@media (hover: hover) {
  .paa-question:hover { color: var(--terra); }
}

.paa-question::after {
  content: '+';
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--terra);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  margin-left: var(--s-md);
  width: 24px;
  text-align: center;
}
.paa-item.open .paa-question::after { content: '\2212'; }

.paa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.35s var(--ease);
  padding: 0 var(--s-xl);
}

.paa-item.open .paa-answer {
  max-height: 600px;
  padding: 0 var(--s-xl) var(--s-lg);
}

.paa-answer p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.faq-intro {
  text-align: center;
  color: var(--ink-muted);
  margin-bottom: var(--s-2xl);
  font-size: 0.92rem;
  font-weight: 300;
}


/* ── 9. Cards ──────────────────────────────────────────────── */

/* Specialty cards */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  margin-top: var(--s-2xl);
}

.specialty-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s-2xl) var(--s-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

@media (hover: hover) {
  .specialty-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.specialty-icon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--terra);
  opacity: 0.5;
  margin-bottom: var(--s-md);
  display: block;
  letter-spacing: -0.02em;
}

.specialty-card h3 {
  margin-top: 0;
  margin-bottom: var(--s-xs);
  font-size: 1.15rem;
}

.specialty-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: var(--s-md);
}

.specialty-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--sage);
  transition: color var(--duration) var(--ease);
}

@media (hover: hover) {
  .specialty-link:hover { color: var(--sage-hover); }
}

/* Step cards */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-md);
  margin: var(--s-xl) 0;
}

.step-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s-xl) var(--s-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

@media (hover: hover) {
  .step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

.step-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--terra);
  opacity: 0.5;
  margin-bottom: var(--s-xs);
  display: block;
}

.step-card h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: var(--s-2xs);
  font-weight: 400;
}

.step-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* Testimonial (homepage section) */
.testimonial-section {
  text-align: center;
  padding: var(--s-4xl) var(--s-xl);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--ink);
  line-height: var(--leading-snug);
  max-width: 620px;
  margin: 0 auto var(--s-lg);
}

.testimonial-author {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Temoignage (inline content block) */
.temoignage {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s-2xl);
  margin: var(--s-2xl) 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
}

.temoignage::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--terra-light);
  position: absolute;
  top: 0.2rem;
  left: 1.2rem;
  line-height: 1;
}

.temoignage p {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.96rem;
  padding-left: 0.5rem;
  margin-bottom: var(--s-xs);
}

.temoignage-auteur {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 500;
  padding-left: 0.5rem;
}

/* RDV-specific cards */
.rdv-steps { grid-template-columns: repeat(3, 1fr); }

.rdv-embed-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--s-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.rdv-embed-note {
  margin: var(--s-sm) 0 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.rdv-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}

.rdv-faq-grid .callout { margin: 0; }


/* ── 10. CTA Blocks ────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: var(--s-3xl) var(--s-xl);
  margin: var(--s-2xl) 0;
  background: var(--bg-subtle);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,139,122,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: var(--s-sm);
  font-weight: 400;
}

.cta-block p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 460px;
  margin: 0 auto var(--s-lg);
  font-weight: 300;
}

.cta-note {
  font-size: 0.78rem !important;
  color: var(--ink-muted) !important;
  margin-top: var(--s-md) !important;
  font-weight: 300 !important;
}


/* ── 11. Cluster Links ─────────────────────────────────────── */
.cluster-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin: var(--s-xl) 0;
}

.cluster-links a {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-xs);
}

@media (hover: hover) {
  .cluster-links a:hover {
    background: var(--terra-light);
    color: var(--ink);
    border-color: var(--terra-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }
}


/* ── 12. Footer ────────────────────────────────────────────── */
.footer-cta {
  position: relative;
  padding: var(--s-4xl) var(--s-xl);
  text-align: center;
  background: var(--bg-dark);
  overflow: hidden;
}

/* Subtle warm glow behind CTA */
.footer-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196,139,122,.1) 0%, transparent 60%);
  pointer-events: none;
}

.footer-cta h2 { color: var(--ink-inverse); }
.footer-cta p {
  color: rgba(253,251,247,.55);
  max-width: 480px;
  margin: 0 auto var(--s-xl);
}

.footer-cta .btn-primary {
  background: var(--terra);
  box-shadow: 0 4px 20px rgba(196,139,122,.25);
  font-size: 1rem;
  padding: 0.95rem 2.5rem;
}

@media (hover: hover) {
  .footer-cta .btn-primary:hover {
    background: var(--terra-hover);
  }
}

.footer-cta-note {
  margin-top: var(--s-lg);
  font-size: 0.82rem;
  opacity: 0.4;
  color: var(--ink-inverse);
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--s-2xl);
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--s-3xl) var(--s-xl) var(--s-2xl);
  background: var(--bg-dark);
  color: var(--ink-inverse);
}

.footer-grid-brand {
  padding-right: var(--s-xl);
}

.footer-grid-brand .nav-brand {
  font-size: 1.15rem;
  color: var(--ink-inverse);
  border-bottom: none;
}

.footer-grid-brand p {
  color: rgba(253,251,247,.5);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: var(--s-sm);
  margin-bottom: 0;
}

.footer-grid h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-inverse);
  margin-bottom: var(--s-md);
  font-weight: 400;
}

.footer-link {
  display: block;
  color: rgba(253,251,247,.5);
  font-size: 0.85rem;
  margin-bottom: var(--s-xs);
  transition: color var(--duration) var(--ease);
}

@media (hover: hover) {
  .footer-link:hover { color: var(--ink-inverse); }
}

.footer-note {
  font-size: 0.82rem;
  color: rgba(253,251,247,.4);
  margin-top: var(--s-xs);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding: var(--s-lg) var(--s-xl);
  font-size: 0.78rem;
  color: rgba(253,251,247,.3);
  background: var(--bg-dark);
  border-top: 1px solid rgba(253,251,247,.06);
}

.footer-bottom p { margin: 0; }


/* ── 13. Homepage Sections ─────────────────────────────────── */

/* Approach grid */
.approach-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--s-3xl);
  align-items: center;
}

.approach-image {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.approach-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  filter: saturate(0.92) contrast(1.03);
}

.approach-text h2 { margin-bottom: var(--s-md); }
.approach-text p { color: var(--ink-soft); line-height: 1.85; }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.stat-item { /* wrapper for stat-value + stat-label */ }

.stat-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink-inverse);
  display: block;
  margin-bottom: var(--s-2xs);
  letter-spacing: var(--tracking-tight);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(253,251,247,.5);
}

/* Brand quote (standalone) */
.brand-quote {
  text-align: center;
  padding: var(--s-4xl) var(--s-xl);
  background: var(--bg-warm);
}

.brand-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--ink);
  line-height: 1.4;
  max-width: 580px;
  margin: 0 auto;
}

.brand-quote p strong { font-weight: 700; }


/* ── 14. Animations ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

/* Grid child stagger — only when grid itself has fade-in class */
.specialties-grid.fade-in .specialty-card,
.steps-grid.fade-in .step-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.specialties-grid.fade-in.visible .specialty-card,
.steps-grid.fade-in.visible .step-card {
  opacity: 1;
  transform: none;
}

.specialties-grid.fade-in.visible .specialty-card:nth-child(1),
.steps-grid.fade-in.visible .step-card:nth-child(1) { transition-delay: 0s; }
.specialties-grid.fade-in.visible .specialty-card:nth-child(2),
.steps-grid.fade-in.visible .step-card:nth-child(2) { transition-delay: 0.1s; }
.specialties-grid.fade-in.visible .specialty-card:nth-child(3),
.steps-grid.fade-in.visible .step-card:nth-child(3) { transition-delay: 0.2s; }
.specialties-grid.fade-in.visible .step-card:nth-child(4) { transition-delay: 0.3s; }


/* ── 15. Accessibility ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .specialties-grid.fade-in .specialty-card,
  .steps-grid.fade-in .step-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ── 16. Responsive ────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .section-hero .container-lg {
    grid-template-columns: 1fr;
    gap: var(--s-2xl);
    text-align: center;
  }

  .section-hero .hero-content {
    text-align: center;
  }

  .section-hero .hero-sub {
    margin: 0 auto;
  }

  .section-hero .hero-buttons {
    justify-content: center;
  }

  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-xl);
  }

  .footer-grid-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --s-4xl: 4rem;
  }

  #nav {
    padding: var(--s-sm) var(--s-lg);
  }

  .nav-brand { font-size: 1.1rem; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(253,251,247,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--s-lg) var(--s-xl);
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: var(--s-sm) 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }

  .nav-cta {
    margin-top: var(--s-sm);
    text-align: center;
    padding: var(--s-sm) var(--s-lg);
    width: 100%;
    display: block;
  }

  .hero {
    min-height: auto;
    padding: var(--s-5xl) var(--s-lg) var(--s-2xl);
  }

  .section-hero {
    min-height: auto;
    padding: calc(var(--s-5xl) + 1rem) 0 var(--s-2xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn-ghost { margin-left: 0; }

  .container, .container-md, .container-lg {
    padding: 0 var(--s-lg);
  }

  section { padding: var(--s-3xl) 0; }
  .section-breathe { padding: var(--s-3xl) 0; }

  .specialties-grid { grid-template-columns: 1fr; gap: var(--s-md); }
  .approach-grid { grid-template-columns: 1fr; gap: var(--s-xl); }
  .stats-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .steps-grid { grid-template-columns: 1fr; }
  .rdv-faq-grid { grid-template-columns: 1fr; }
  .rdv-steps { grid-template-columns: 1fr; }

  .cluster-links { flex-direction: column; }

  .btn-ghost {
    margin-left: 0;
    margin-top: var(--s-sm);
    display: block;
  }

  .brand-quote { padding: var(--s-2xl) var(--s-lg); }
  .brand-quote p { font-size: 1.3rem; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-xl);
    padding: var(--s-2xl) var(--s-lg) var(--s-xl);
  }

  /* Disable grain on mobile for performance */
  body::before { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ── Legacy compatibility: classes preserved from body_html ── */
/* stat-item wrapper used in homepage stats — no styles needed, layout via stats-grid */
