/* ============================================================
   Koobeta — Design System v4
   Tokens rigoureux · 8pt grid · typographic scale modulaire
   ============================================================ */

:root {
  /* === COULEURS PRIMAIRES === */
  --terra-100: #FBEEE9;
  --terra-200: #F3CFC3;
  --terra-300: #E8A391;
  --terra-400: #D87E66;
  --terra-500: #C4624D;  /* principale */
  --terra-600: #A64B38;
  --terra-700: #853827;
  --terra-800: #5D2619;

  --sauge-100: #E9EDE9;
  --sauge-200: #C6D0C7;
  --sauge-300: #8BA68F;
  --sauge-500: #4F6B53;  /* principale */
  --sauge-700: #334739;

  --canard-100: #DDE4E4;
  --canard-300: #6A8B8B;
  --canard-500: #2D4A4A;  /* principale */
  --canard-700: #1A2C2C;

  --lin-50: #FAF7F1;   /* fond très léger */
  --lin-100: #F3EDE4;  /* fond principal */
  --lin-200: #E8E0D3;  /* fond section alterné */
  --lin-300: #D8CEBC;

  --ink: #141414;
  --ink-soft: #2A2A2A;
  --gray-700: #4A4A4A;
  --gray-500: #6B6B6B;
  --gray-400: #8E8E8E;
  --gray-300: #B8B8B8;
  --gray-200: #DEDEDE;
  --gray-100: #F0F0F0;

  --white: #FFFFFF;
  --success: #5F8D65;
  --warning: #D4A04A;
  --error: #B84A3F;

  /* === TYPOGRAPHIE === */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Échelle modulaire (ratio 1.250 · Major Third) */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 64px;
  --text-6xl: 80px;

  /* === SPACING (8pt grid) === */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* === RADII === */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* === OMBRES === */
  --shadow-xs: 0 1px 2px rgba(20, 20, 20, 0.04);
  --shadow-sm: 0 2px 8px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 20, 20, 0.12);
  --shadow-xl: 0 24px 64px rgba(20, 20, 20, 0.16);

  /* === TRANSITIONS === */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* === LAYOUT === */
  --container: 1200px;
  --container-narrow: 880px;
  --container-wide: 1440px;
  --nav-height: 72px;
}

/* ===============================
   RESET rigoureux (josh comeau)
   =============================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--lin-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video, canvas {
  display: block; max-width: 100%;
}
input, button, textarea, select { font: inherit; color: inherit; }

/* ===============================
   TYPOGRAPHIE rigoureuse
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(var(--text-2xl), 3.6vw, var(--text-4xl));
}
h3 {
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
  line-height: 1.2;
}
h4 {
  font-size: var(--text-lg);
  line-height: 1.3;
}
p {
  max-width: 65ch;
  line-height: 1.65;
  text-wrap: pretty;
}
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; color: var(--terra-600); }

a {
  color: var(--terra-600);
  text-decoration: underline;
  text-decoration-color: rgba(196, 98, 77, 0.3);
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
a:hover { color: var(--terra-700); text-decoration-color: var(--terra-700); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sauge-500);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ===============================
   ACCESSIBILITÉ
   =============================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -48px; left: var(--s-3);
  background: var(--canard-500); color: var(--lin-100);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
  z-index: 1000;
}
.skip-link:focus { top: var(--s-3); color: var(--lin-100); }

/* ===============================
   LAYOUT & CONTAINERS
   =============================== */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--s-5); }

main { padding-top: 0; }
section {
  padding: var(--s-9) 0;
}
section.pad-sm { padding: var(--s-7) 0; }
section.pad-lg { padding: var(--s-10) 0; }

section.bg-lin-50 { background: var(--lin-50); }
section.bg-lin-100 { background: var(--lin-100); }
section.bg-lin-200 { background: var(--lin-200); }
section.bg-white { background: var(--white); }
section.bg-canard { background: var(--canard-500); color: var(--lin-100); }
section.bg-canard .section-header h1,
section.bg-canard .section-header h2,
section.bg-canard .section-header h3,
section.bg-canard .section-header .eyebrow,
section.bg-canard > .container > h1,
section.bg-canard > .container > h2,
section.bg-canard > .container > h3 { color: var(--lin-100); }
section.bg-canard .section-header p,
section.bg-canard .section-header .lead,
section.bg-canard > .container > p { color: rgba(243, 237, 228, 0.88); }
/* Inside white cards on dark section, restore dark text for readability */
section.bg-canard .step h3,
section.bg-canard .card h3 { color: var(--ink); }
section.bg-canard .step p,
section.bg-canard .card p { color: var(--gray-700); }
section.bg-canard .step .step-time { color: var(--sauge-700); }
section.bg-canard a { color: var(--terra-300); }
section.bg-canard a:hover { color: var(--lin-100); }

section.bg-ink { background: var(--ink); color: var(--lin-100); }
section.bg-ink .section-header h1,
section.bg-ink .section-header h2,
section.bg-ink .section-header h3,
section.bg-ink .section-header .eyebrow,
section.bg-ink > .container > h1,
section.bg-ink > .container > h2,
section.bg-ink > .container > h3 { color: var(--white); }
section.bg-ink .section-header p,
section.bg-ink .section-header .lead,
section.bg-ink > .container > p { color: rgba(243, 237, 228, 0.82); }
section.bg-ink .step h3, section.bg-ink .card h3 { color: var(--ink); }
section.bg-ink .step p, section.bg-ink .card p { color: var(--gray-700); }

/* ===============================
   HEADER / NAV
   =============================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 237, 228, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(45, 74, 74, 0.06);
  min-height: var(--nav-height);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: var(--s-4) var(--s-5);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-5);
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--terra-500);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  font-optical-sizing: auto;
  white-space: nowrap;
}
.brand:hover { color: var(--terra-600); }

.nav-links {
  display: flex; gap: var(--s-6); align-items: center;
}
.nav-links a:not(.btn) {
  color: var(--ink); font-size: var(--text-sm); font-weight: 500;
  text-decoration: none;
  padding: var(--s-2) 0;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--terra-500);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--t-base);
}
.nav-links a:not(.btn):hover { color: var(--terra-500); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--terra-500); }

.nav-burger {
  display: none; flex-direction: column; gap: 4px; padding: var(--s-2);
  background: transparent; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--lin-100);
    padding: var(--s-5);
    border-bottom: 1px solid rgba(45,74,74,0.08);
    gap: var(--s-4);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open .btn { width: 100%; text-align: center; }
}

/* ===============================
   BOUTONS
   =============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  font-family: var(--sans);
  font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  line-height: 1.2;
}
.btn-primary {
  background: var(--terra-500); color: var(--lin-100);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn-primary:hover {
  background: var(--terra-600); color: var(--lin-100);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196,98,77,0.32);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(45, 74, 74, 0.2);
}
.btn-ghost:hover {
  background: var(--white); color: var(--ink);
  border-color: var(--canard-500);
  transform: translateY(-1px);
}
.btn-light {
  background: var(--lin-100); color: var(--terra-600);
}
.btn-light:hover { background: var(--white); color: var(--terra-700); }

.btn-lg { padding: var(--s-4) var(--s-6); font-size: var(--text-base); }
.btn-block { display: flex; width: 100%; }

/* ===============================
   EYEBROW / BADGES
   =============================== */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--terra-600);
  background: var(--terra-100);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  margin-bottom: var(--s-4);
}
.eyebrow-sauge {
  color: var(--sauge-700);
  background: var(--sauge-100);
}

/* ===============================
   HERO
   =============================== */
.hero {
  padding: var(--s-8) 0 var(--s-7);
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin-bottom: var(--s-4);
}
.hero h1 em {
  font-style: italic;
  color: var(--terra-500);
}
.hero .lead {
  font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto var(--s-6);
  line-height: 1.5;
}
.hero-ctas {
  display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap;
}
.hero-trust {
  margin-top: var(--s-6);
  font-size: var(--text-xs);
  color: var(--gray-500);
  display: flex; gap: var(--s-5); justify-content: center; flex-wrap: wrap;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: var(--s-1);
}
.hero-trust span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sauge-500);
}

/* ===============================
   SECTION HEADER
   =============================== */
.section-header {
  text-align: center;
  max-width: 720px; margin: 0 auto var(--s-7);
}
.section-header h2 {
  margin-bottom: var(--s-3);
}
.section-header .lead {
  font-size: var(--text-lg);
  color: var(--gray-700);
  line-height: 1.5;
  max-width: 620px; margin: 0 auto;
}

/* ===============================
   CARDS & GRIDS
   =============================== */
.grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--terra-300);
}
.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--s-2);
}
.card p {
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.55;
}

.icon-box {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--terra-100);
  color: var(--terra-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
  font-size: 24px;
}
.icon-box-sauge { background: var(--sauge-100); color: var(--sauge-700); }
.icon-box-canard { background: var(--canard-100); color: var(--canard-500); }

/* ===============================
   "ZÉRO TECH" BLOCK (signature)
   =============================== */
.nothing-block {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-7);
  max-width: 920px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.nothing-block h2 {
  text-align: center; margin-bottom: var(--s-6);
}
.nothing-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-5);
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 680px) { .nothing-list { grid-template-columns: 1fr; } }
.nothing-list li {
  padding: var(--s-3) 0 var(--s-3) var(--s-5);
  position: relative;
  font-size: var(--text-base);
  color: var(--ink);
  border-bottom: 1px solid var(--gray-100);
}
.nothing-list li:nth-last-child(-n+2) { border-bottom: none; }
.nothing-list li::before {
  content: "×";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--terra-100);
  color: var(--terra-600);
  border-radius: 50%;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* Variante "ce qu'on fait" (positive) */
.doing-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-5);
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 680px) { .doing-list { grid-template-columns: 1fr; } }
.doing-list li {
  padding: var(--s-3) 0 var(--s-3) var(--s-6);
  position: relative;
  font-size: var(--text-base);
  color: var(--ink);
  border-bottom: 1px solid var(--gray-100);
}
.doing-list li:nth-last-child(-n+2) { border-bottom: none; }
.doing-list li::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  background: var(--sauge-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ===============================
   STEPS (1-2-3)
   =============================== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  counter-reset: step;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: var(--text-4xl); font-weight: 600;
  color: var(--terra-300);
  position: absolute; top: var(--s-4); right: var(--s-5);
  line-height: 1;
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--s-2);
  padding-right: 60px;
}
.step p {
  color: var(--gray-700); font-size: var(--text-sm);
  line-height: 1.55;
}
.step .step-time {
  font-size: var(--text-xs); color: var(--sauge-700);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--s-3);
}

/* ===============================
   PRICING
   =============================== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; } }

.pricing-card {
  background: var(--white);
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.pricing-card.featured {
  border: 2px solid var(--terra-500);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 960px) { .pricing-card.featured { transform: scale(1); } }

.pricing-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--terra-500); color: var(--lin-100);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 14px; border-radius: var(--r-full);
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name {
  font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sauge-700); font-weight: 700;
  margin-bottom: var(--s-3);
}
.pricing-price {
  font-family: var(--serif);
  font-size: var(--text-5xl); font-weight: 700;
  color: var(--ink);
  line-height: 1; margin-bottom: var(--s-1);
}
.pricing-price sup {
  font-size: 0.4em; font-weight: 500; vertical-align: top;
  margin-left: 4px;
}
.pricing-price sub {
  font-size: 0.28em; font-weight: 400; color: var(--gray-500);
  vertical-align: baseline; margin-left: 6px;
}
.pricing-daily {
  font-size: var(--text-xs); color: var(--gray-500);
  margin-bottom: var(--s-5);
}
.pricing-desc {
  color: var(--gray-700);
  font-size: var(--text-sm);
  border-top: 1px solid var(--gray-200);
  padding-top: var(--s-5); margin-bottom: var(--s-5);
  line-height: 1.5;
}
.pricing-features {
  list-style: none; padding: 0; flex-grow: 1; margin-bottom: var(--s-6);
}
.pricing-features li {
  padding: var(--s-2) 0 var(--s-2) var(--s-6);
  position: relative;
  font-size: var(--text-sm);
  color: var(--ink);
}
.pricing-features li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 16px; height: 16px;
  background: var(--sauge-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pricing-features li.muted {
  color: var(--gray-400);
}
.pricing-features li.muted::before { background: var(--gray-300); }

/* ===============================
   COMPARE TABLE
   =============================== */
.compare-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: var(--container);
  margin: 0 auto;
}
.compare-table {
  width: 100%; border-collapse: collapse;
}
.compare-table th, .compare-table td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm);
  vertical-align: middle;
}
.compare-table thead th {
  background: var(--lin-200);
  font-weight: 700;
  color: var(--canard-500);
  letter-spacing: 0.02em;
}
.compare-table td:not(:first-child), .compare-table th:not(:first-child) {
  text-align: center;
  min-width: 120px;
}
.compare-table tbody tr:hover { background: var(--lin-50); }
.compare-table .check { color: var(--sauge-500); font-weight: 700; font-size: 18px; }
.compare-table .cross { color: var(--gray-300); }
.compare-table .featured-col {
  background: var(--terra-100);
  color: var(--terra-700);
}

/* ===============================
   ADD-ONS / SERVICES
   =============================== */
.addon-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.addon {
  background: var(--white);
  padding: var(--s-5);
  border-radius: var(--r-md);
  border-left: 3px solid var(--sauge-500);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.addon:hover {
  border-left-color: var(--terra-500);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.addon-name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: 1.25;
}
.addon-desc {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.55;
  flex-grow: 1;
}
.addon-price {
  font-family: var(--serif);
  font-weight: 600; color: var(--terra-600);
  font-size: var(--text-xl);
  margin-top: var(--s-2);
}
.addon-price small {
  font-family: var(--sans);
  font-size: var(--text-xs); font-weight: 400;
  color: var(--gray-500);
  margin-left: var(--s-1);
}

/* ===============================
   FAQ (détails/summary)
   =============================== */
.faq-category-title {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--terra-600);
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--terra-200);
  margin: var(--s-7) 0 var(--s-5);
}
.faq-category-title:first-child { margin-top: 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  overflow: hidden;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--terra-300);
}
.faq-item summary {
  cursor: pointer;
  padding: var(--s-5) var(--s-8) var(--s-5) var(--s-5);
  font-family: var(--serif);
  font-size: var(--text-lg); font-weight: 600;
  color: var(--ink);
  position: relative; list-style: none;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: var(--s-5); top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 300;
  color: var(--terra-500);
  font-family: var(--sans);
  transition: transform var(--t-base);
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item summary:hover { background: var(--lin-50); }
.faq-answer {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.65;
}
.faq-answer p + p { margin-top: var(--s-3); }
.faq-answer ul { list-style: none; padding: 0; margin: var(--s-3) 0; }
.faq-answer li {
  padding: var(--s-1) 0 var(--s-1) var(--s-5);
  position: relative;
}
.faq-answer li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sauge-500);
}

/* ===============================
   FORM
   =============================== */
.form-wrap {
  background: var(--white);
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  max-width: 640px; margin: 0 auto;
}
.form-field {
  display: flex; flex-direction: column;
  margin-bottom: var(--s-4);
}
.form-field label {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--canard-500);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: var(--s-3) var(--s-4);
  font-family: var(--sans);
  font-size: var(--text-base);
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--terra-500);
  outline: none;
  box-shadow: 0 0 0 3px var(--terra-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.form-checkbox {
  display: flex; gap: var(--s-3);
  font-size: var(--text-sm);
  color: var(--gray-700);
  margin: var(--s-4) 0 var(--s-5);
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--terra-500);
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.form-submit {
  width: 100%; padding: var(--s-4) var(--s-6);
  background: var(--terra-500); color: var(--lin-100);
  font-family: var(--sans);
  font-weight: 700; font-size: var(--text-base);
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t-base);
}
.form-submit:hover:not(:disabled) {
  background: var(--terra-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196,98,77,0.32);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  display: none;
}
.form-status.success {
  display: block;
  background: #EEF5EF;
  color: var(--sauge-700);
  border-left: 3px solid var(--sauge-500);
}
.form-status.error {
  display: block;
  background: #FDE8E4;
  color: var(--terra-700);
  border-left: 3px solid var(--error);
}
.honeypot { position: absolute; left: -9999px; }

/* ===============================
   CTA BLOCK
   =============================== */
.cta-block {
  background: linear-gradient(135deg, var(--terra-500) 0%, var(--terra-700) 100%);
  color: var(--lin-100);
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-6);
  text-align: center;
  max-width: 1000px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,163,145,0.3), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-block h2 {
  color: var(--lin-100);
  margin-bottom: var(--s-3);
  position: relative;
}
.cta-block p {
  color: rgba(243, 237, 228, 0.88);
  max-width: 560px; margin: 0 auto var(--s-5);
  font-size: var(--text-base);
  position: relative;
}
.cta-block .btn { position: relative; }

/* ===============================
   TESTIMONIAL / QUOTE
   =============================== */
.quote-block {
  max-width: 760px; margin: 0 auto;
  padding: var(--s-6) 0;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
  position: relative;
}
.quote-block blockquote::before {
  content: "“";
  font-size: 5em;
  line-height: 0.8;
  color: var(--terra-300);
  position: absolute;
  top: -0.2em;
  left: -0.3em;
}
.quote-block cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-weight: 500;
}
.quote-block cite strong { color: var(--ink); }

/* ===============================
   FOOTER
   =============================== */
.site-footer {
  background: var(--ink);
  color: rgba(243, 237, 228, 0.75);
  padding: var(--s-8) 0 var(--s-6);
  font-size: var(--text-sm);
  margin-top: var(--s-10);
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--s-5);
}
.footer-grid {
  display: grid; gap: var(--s-7);
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(243, 237, 228, 0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--lin-100);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.footer-tag {
  max-width: 360px;
  line-height: 1.55;
  color: rgba(243, 237, 228, 0.65);
  font-size: var(--text-sm);
}
.footer-col h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lin-100);
  font-weight: 700;
  margin-bottom: var(--s-4);
  font-family: var(--sans);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: var(--s-2); }
.footer-col a {
  color: rgba(243, 237, 228, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
}
.footer-col a:hover { color: var(--lin-100); }
.footer-legal {
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(243, 237, 228, 0.5);
}

/* ===============================
   UTILITIES
   =============================== */
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

/* Reveal on scroll (disable if no JS) */
.reveal { opacity: 1; transform: none; }
.js-enabled .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s, transform 0.6s; }
.js-enabled .reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}

/* ===============================
   MOBILE STICKY CTA
   =============================== */
.mobile-cta {
  display: none;
  position: fixed; bottom: var(--s-3); left: var(--s-3); right: var(--s-3);
  z-index: 90;
  background: var(--terra-500); color: var(--lin-100);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-full);
  text-align: center;
  font-weight: 700; font-size: var(--text-sm);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(196, 98, 77, 0.4);
}
@media (max-width: 680px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ===============================
   LEGAL BODY (CGV, mentions, confidentialité)
   =============================== */
.legal-body {
  font-size: var(--text-base);
  line-height: 1.72;
  color: var(--gray-800);
}
.legal-body h2 {
  font-size: var(--text-2xl);
  color: var(--canard-700);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
  scroll-margin-top: 100px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: var(--s-2);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: var(--sans);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
  scroll-margin-top: 100px;
}
.legal-body p { margin-bottom: var(--s-3); }
.legal-body ul, .legal-body ol { margin: var(--s-2) 0 var(--s-4) var(--s-5); }
.legal-body li { margin-bottom: var(--s-2); }
.legal-body li > p { margin-bottom: var(--s-1); }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a {
  color: var(--terra-600);
  text-decoration: underline;
  text-decoration-color: rgba(196, 98, 77, 0.35);
  text-underline-offset: 3px;
}
.legal-body a:hover {
  color: var(--terra-700);
  text-decoration-color: var(--terra-700);
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-4) 0;
  font-size: var(--text-sm);
}
.legal-body th, .legal-body td {
  padding: var(--s-2) var(--s-3);
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}
.legal-body th {
  background: var(--lin-200);
  font-weight: 600;
  color: var(--canard-700);
}
