/* ==========================================================================
   RTD · Collecte Maps — feuille de style unique
   Sommaire : 1. Jetons  2. Base  3. Mise en page  4. En-tête  5. Boutons
   6. Héros  7. Sections et cartes  8. Données  9. Tarifs  10. FAQ
   11. Formulaires  12. Pages légales  13. Pied de page  14. Animations
   ========================================================================== */

/* 1. Jetons ---------------------------------------------------------------- */
:root {
  --blue: #1a73e8;
  --blue-hover: #1765cc;
  --on-blue: #ffffff;
  --blue-50: #e8f0fe;
  --blue-25: #f4f8fe;
  --text: #1f1f1f;
  --text-2: #5f6368;
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --border: #dadce0;
  --green: #1e8e3e;
  --amber: #f9ab00;
  --red: #d93025;
  /* Variantes foncées pour le petit texte : le vert et l'ambre de base
     n'atteignent pas le contraste AA (4,5:1) sur fond blanc. */
  --green-text: #137333;
  --amber-text: #8a4b00;
  --red-text: #b3261e;
  --green-50: #e6f4ea;
  --amber-50: #fef7e0;
  --red-50: #fce8e6;
  --grey-50: #f1f3f4;

  --font-title: "Google Sans", Roboto, Arial, sans-serif;
  --font-body: Roboto, Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(60, 64, 67, .10), 0 1px 3px 1px rgba(60, 64, 67, .05);
  --shadow-2: 0 1px 3px rgba(60, 64, 67, .10), 0 4px 10px 2px rgba(60, 64, 67, .06);
  --shadow-3: 0 2px 6px rgba(60, 64, 67, .08), 0 16px 40px rgba(60, 64, 67, .10);

  --hero-grad: linear-gradient(180deg, #ffffff 0%, #f4f8fe 55%, #e8f0fe 100%);
  --header-bg: rgba(255, 255, 255, .78);
  --container: 1200px;
  --header-h: 64px;
  color-scheme: light;
}

[data-theme="dark"] {
  --blue: #a8c7fa;
  --blue-hover: #d3e3fd;
  --on-blue: #062e6f;
  --blue-50: #1f3760;
  --blue-25: #18212f;
  --text: #e3e3e3;
  --text-2: #c4c7c5;
  --surface: #1e1f20;
  --surface-2: #131314;
  --border: #444746;
  --green-text: #6dd58c;
  --amber-text: #fdd663;
  --red-text: #f2b8b5;
  --green-50: #0f3d20;
  --amber-50: #3f2e00;
  --red-50: #4a1512;
  --grey-50: #2a2b2c;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .45);
  --shadow-3: 0 8px 32px rgba(0, 0, 0, .5);
  --hero-grad: linear-gradient(180deg, #131314 0%, #16191f 55%, #18212f 100%);
  --header-bg: rgba(19, 19, 20, .78);
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
svg { flex-shrink: 0; }
code { font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace; font-size: .875em; background: var(--grey-50); padding: .1em .4em; border-radius: 6px; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.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; left: 16px; top: -48px; z-index: 100; background: var(--blue); color: var(--on-blue); padding: 8px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }

/* 3. Mise en page ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1360px; }
.section { padding: 96px 0; }
.section--alt { background: var(--surface-2); }
.section--tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.125rem; }
.eyebrow { display: inline-block; font-family: var(--font-title); font-size: .875rem; font-weight: 500; color: var(--blue); letter-spacing: .02em; margin-bottom: 12px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
}

/* 4. En-tête --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-title); font-size: 1.125rem; font-weight: 500; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; height: 32px; padding: 0 9px;
  border-radius: 10px; background: var(--blue); color: var(--on-blue);
  font-size: .875rem; font-weight: 700; letter-spacing: .04em;
}
.brand-name { color: var(--text-2); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 24px; }
.nav a {
  color: var(--text-2); font-family: var(--font-title); font-weight: 500; font-size: .9375rem;
  padding: 8px 14px; border-radius: var(--r-pill); transition: background .15s, color .15s;
}
.nav a:hover { background: var(--grey-50); color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer;
  transition: background .15s;
}
.icon-btn:hover { background: var(--grey-50); color: var(--text); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.burger { display: none; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: inline-grid; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-3);
    padding: 12px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a:not(.btn) { display: block; padding: 14px 12px; border-radius: var(--r-sm); color: var(--text); font-family: var(--font-title); font-weight: 500; }
  .mobile-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
  .mobile-nav .btn { width: 100%; margin-top: 12px; }
}

/* 5. Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 24px; border-radius: var(--r-pill);
  font-family: var(--font-title); font-size: .9375rem; font-weight: 500; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, box-shadow .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: var(--on-blue); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-1); }
.btn--tonal { background: var(--blue-50); color: var(--blue); }
.btn--tonal:hover { box-shadow: var(--shadow-1); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--border); }
.btn--outline:hover { background: var(--blue-25); }
.btn--lg { min-height: 48px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row--center { justify-content: center; }

/* 6. Héros ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--hero-grad); padding: 96px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(26, 115, 232, .10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue); }
.hero-lead { font-size: 1.25rem; color: var(--text-2); max-width: 560px; margin-bottom: 32px; }
.hero-note { margin-top: 20px; font-size: .875rem; color: var(--text-2); }
.page-hero { background: var(--hero-grad); padding: 72px 0 64px; text-align: center; }
.page-hero p { color: var(--text-2); font-size: 1.125rem; max-width: 680px; margin: 0 auto; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 72px; }
}

/* Visuel du héros : fiche d'établissement stylisée */
.hero-visual { position: relative; }
.mock-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: 24px;
}
.mock-map {
  height: 132px; border-radius: var(--r-md); margin-bottom: 20px; position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, .9) 47%, rgba(255, 255, 255, .9) 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, rgba(255, 255, 255, .9) 58%, rgba(255, 255, 255, .9) 64%, transparent 64%),
    linear-gradient(135deg, #e6f4ea 0%, #e8f0fe 60%, #fef7e0 100%);
}
[data-theme="dark"] .mock-map {
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, .08) 47%, rgba(255, 255, 255, .08) 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, rgba(255, 255, 255, .08) 58%, rgba(255, 255, 255, .08) 64%, transparent 64%),
    linear-gradient(135deg, #0f3d20 0%, #1f3760 60%, #3f2e00 100%);
}
.mock-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -85%); color: var(--red); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.mock-title { font-family: var(--font-title); font-size: 1.25rem; margin: 0 0 4px; }
.mock-sub { color: var(--text-2); font-size: .875rem; margin: 0 0 10px; }
.big-rating--sm { gap: 10px; }
.big-rating.big-rating--sm strong { font-size: 1.5rem; }
.mock-floating {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 12px 16px; font-size: .8125rem;
}
.mock-floating--a { right: -20px; top: 28px; }
.mock-floating--b { left: -28px; bottom: -28px; }
.mock-floating strong { display: block; font-family: var(--font-title); font-size: 1.125rem; }
@media (max-width: 640px) { .mock-floating { display: none; } }

/* 7. Sections et cartes ---------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card--link { color: inherit; display: block; }
.card--link:hover, .card--hover:hover { text-decoration: none; box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); margin: 0; }
.icon-badge {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-50); color: var(--blue); margin-bottom: 20px;
}
.icon-badge--green { background: var(--green-50); color: var(--green-text); }
.icon-badge--amber { background: var(--amber-50); color: var(--amber-text); }
.icon-badge--red { background: var(--red-50); color: var(--red-text); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-value { display: block; font-family: var(--font-title); font-size: 2.25rem; font-weight: 500; color: var(--blue); line-height: 1.1; }
.stat-label { display: block; color: var(--text-2); font-size: .9375rem; margin-top: 6px; }
.stats-note { text-align: center; color: var(--text-2); font-size: .8125rem; margin-top: 12px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 72px; }
.step-card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 28px; left: 28px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: var(--on-blue);
  font-family: var(--font-title); font-weight: 500;
}

.cta-band {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-25));
  border-radius: var(--r-xl); padding: 56px 32px; text-align: center;
}
.cta-band p { color: var(--text-2); font-size: 1.125rem; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r-md);
  background: var(--blue-50); color: var(--text); font-size: .9375rem;
}
.notice svg { color: var(--blue); margin-top: 2px; }
.notice--amber { background: var(--amber-50); }
.notice--amber svg { color: var(--amber-text); }
.notice p:last-child { margin: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 500; line-height: 1.5; white-space: nowrap;
  background: var(--grey-50); color: var(--text-2);
}
.pill--ok { background: var(--green-50); color: var(--green-text); }
.pill--type { background: var(--blue-50); color: var(--blue); }
.pill--rare { background: var(--amber-50); color: var(--amber-text); }
.pill--tbc { background: var(--red-50); color: var(--red-text); }
.pill--calc { background: var(--grey-50); color: var(--text-2); }
.pill--demo { background: var(--amber-50); color: var(--amber-text); text-transform: uppercase; letter-spacing: .06em; font-size: .6875rem; }

/* 8. Page « Données » ------------------------------------------------------ */
.data-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc-title { font-family: var(--font-title); font-size: .8125rem; font-weight: 500; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; gap: 10px; padding: 7px 12px; border-radius: var(--r-pill); color: var(--text-2); font-size: .875rem; line-height: 1.35; }
.toc a:hover { background: var(--grey-50); color: var(--text); text-decoration: none; }
.toc a.is-active { background: var(--blue-50); color: var(--blue); font-weight: 500; }
.toc .num { font-variant-numeric: tabular-nums; min-width: 1.4em; }
@media (max-width: 1024px) {
  .data-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 8px; }
  .toc ol { columns: 2; column-gap: 8px; }
}
@media (max-width: 560px) { .toc ol { columns: 1; } }

.legend { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-2); }

.family { padding: 56px 0; border-top: 1px solid var(--border); }
.family:first-of-type { border-top: 0; }
.family-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.family-head .icon-badge { margin: 0; }
.family-num { font-family: var(--font-title); font-size: .875rem; color: var(--blue); font-weight: 500; }
.family-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2px 0 8px; }
.family-head p { color: var(--text-2); margin: 0; max-width: 720px; }
.family-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 28px; align-items: start; }
@media (max-width: 1180px) { .family-body { grid-template-columns: 1fr; } .demo { max-width: 520px; } }

.fields { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; font-size: .9375rem; background: var(--surface); }
.fields th, .fields td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--border); }
.fields tr:last-child td { border-bottom: 0; }
.fields thead th { background: var(--surface-2); font-family: var(--font-title); font-weight: 500; font-size: .8125rem; color: var(--text-2); }
.fields td:first-child { font-weight: 500; width: 38%; }
.fields .status { display: block; margin-top: 6px; font-weight: 400; }
.fields .detail { color: var(--text-2); }
.fields .sub { display: block; font-weight: 400; color: var(--text-2); font-size: .8125rem; margin-top: 2px; }
@media (max-width: 640px) {
  .fields thead { display: none; }
  .fields, .fields tbody, .fields tr, .fields td { display: block; width: 100% !important; }
  .fields tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .fields tr:last-child { border-bottom: 0; }
  .fields td { padding: 2px 0; border: 0; }
}

.demo {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 20px; font-size: .875rem;
}
@media (max-width: 1180px) { .demo { position: static; } }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.demo-head span:first-child { font-family: var(--font-title); font-weight: 500; color: var(--text-2); font-size: .8125rem; }
.demo-foot { margin: 14px 0 0; font-size: .75rem; color: var(--text-2); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.kv code { font-weight: 400; }
.demo-title { font-family: var(--font-title); font-size: 1.125rem; font-weight: 500; margin: 0 0 2px; }
.demo-sep { height: 1px; background: var(--border); margin: 14px 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: .8125rem; color: var(--text); background: var(--surface); }
.chip svg { color: var(--green-text); }
.chip--off { color: var(--text-2); text-decoration: line-through; }
.chip--off svg { color: var(--text-2); }

.stars { display: inline-flex; gap: 1px; color: var(--amber); vertical-align: -2px; }
.stars .off { color: var(--border); }
.big-rating { display: flex; align-items: center; gap: 16px; }
.big-rating strong { font-family: var(--font-title); font-size: 2.75rem; font-weight: 400; line-height: 1; }
.histo { display: grid; gap: 6px; margin-top: 14px; }
.histo-row { display: grid; grid-template-columns: 14px 1fr 44px; gap: 10px; align-items: center; font-size: .8125rem; color: var(--text-2); }
.bar { height: 8px; border-radius: var(--r-pill); background: var(--grey-50); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.bar--blue > span { background: var(--blue); }
.bar--green > span { background: var(--green); }

.review { display: grid; gap: 10px; }
.review-author { display: flex; gap: 12px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); font-weight: 500; color: #fff; background: #5e97f6; flex-shrink: 0; }
.avatar--green { background: #33a852; }
.avatar--sm { width: 28px; height: 28px; font-size: .75rem; }
.review-name { font-weight: 500; margin: 0; }
.review-meta { color: var(--text-2); font-size: .8125rem; margin: 0; }
.review-text { margin: 0; }
.translated { color: var(--text-2); font-size: .8125rem; border-left: 3px solid var(--blue-50); padding-left: 10px; margin: 0; }
.owner-reply { background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; }
.owner-reply p { margin: 0; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.thumb { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, var(--blue-50), var(--green-50)); display: grid; place-items: center; color: var(--blue); position: relative; overflow: hidden; }
.thumb:nth-child(2) { background: linear-gradient(135deg, var(--amber-50), var(--red-50)); color: var(--amber-text); }
.thumb:nth-child(3) { background: linear-gradient(135deg, var(--green-50), var(--blue-25)); color: var(--green-text); }
.thumb:nth-child(4) { background: var(--grey-50); color: var(--text-2); }
.thumb small { position: absolute; bottom: 4px; right: 6px; font-size: .625rem; font-weight: 500; }
.sub-ratings { display: grid; gap: 10px; }
.sub-rating { display: grid; grid-template-columns: 120px 1fr 32px; gap: 10px; align-items: center; }
.sub-rating span:last-child { font-weight: 500; text-align: right; }
.qa { display: grid; gap: 10px; }
.qa-item { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.qa-item:last-child { border-bottom: 0; padding-bottom: 0; }
.qa-item span:first-child { color: var(--text-2); }
.qa-item span:last-child { font-weight: 500; text-align: right; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.hours dt { color: var(--text-2); }
.hours dd { margin: 0; }
.hours .today { font-weight: 700; color: var(--text); }
.busy { display: flex; align-items: flex-end; gap: 4px; height: 88px; padding-top: 8px; border-bottom: 1px solid var(--border); }
.busy span { flex: 1; background: var(--blue-50); border-radius: 4px 4px 0 0; min-height: 4px; }
.busy span.now { background: var(--blue); }
.busy-axis { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--text-2); margin-top: 4px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.post-img { height: 110px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--blue-50), var(--amber-50)); margin-bottom: 12px; display: grid; place-items: center; color: var(--blue); }

.not-collected { margin-top: 24px; }
.not-collected ul { margin: 0; color: var(--text-2); }
.not-collected li { margin-bottom: 6px; }

/* 9. Tarifs ---------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; transition: box-shadow .2s, transform .2s; }
.plan:hover { box-shadow: var(--shadow-2); }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-3); position: relative; }
.plan-badge { position: absolute; top: -14px; left: 32px; background: var(--blue); color: var(--on-blue); font-family: var(--font-title); font-size: .8125rem; font-weight: 500; padding: 4px 14px; border-radius: var(--r-pill); }
.plan h3, .plan .h3 { font-size: 1.375rem; margin-bottom: 4px; }
.plan-desc { color: var(--text-2); margin-bottom: 20px; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price strong { font-family: var(--font-title); font-size: 2.75rem; font-weight: 500; line-height: 1; }
.price span { color: var(--text-2); }
.price-note { color: var(--text-2); font-size: .8125rem; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.checklist svg { color: var(--green-text); margin-top: 2px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-title); font-weight: 500; background: var(--surface-2); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--green-text); }
.compare .no { color: var(--text-2); }

/* 10. FAQ ------------------------------------------------------------------ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-title); font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--text-2); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 20px; color: var(--text-2); }
.faq .answer p:last-child { margin: 0; }
.help-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; max-width: 820px; margin: 0 auto 40px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); list-style: none; counter-reset: q; }
.help-toc li { counter-increment: q; }
.help-toc a { display: flex; gap: 10px; padding: 6px 0; }
.help-toc a::before { content: counter(q, decimal-leading-zero); color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .help-toc { grid-template-columns: 1fr; } }

/* 11. Formulaires (connexion) ---------------------------------------------- */
.auth-page { min-height: calc(100vh - var(--header-h)); background: var(--hero-grad); display: grid; place-items: center; padding: 48px 16px; }
.auth-panel { width: 100%; max-width: 448px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: 36px 32px; }
.auth-panel h1 { font-size: 1.75rem; text-align: center; }
.auth-panel .lead { text-align: center; color: var(--text-2); margin-bottom: 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--surface-2); border-radius: var(--r-pill); margin-bottom: 24px; }
.tab { border: 0; background: transparent; padding: 10px 12px; border-radius: var(--r-pill); font-family: var(--font-title); font-weight: 500; font-size: .9375rem; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-1); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 6px; }
.field input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font: inherit; color: var(--text); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.field input:hover { border-color: var(--text-2); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field-hint { font-size: .8125rem; color: var(--text-2); margin-top: 6px; }
.field-error { font-size: .8125rem; color: var(--red-text); margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.demo-banner { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--amber-text); background: var(--amber-50); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 24px; }
[hidden] { display: none !important; }

/* 12. Pages légales -------------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 48px; padding-top: 8px; }
.prose h3 { font-size: 1.125rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text); }
.prose li { margin-bottom: 6px; }
.prose .todo { background: var(--amber-50); color: var(--amber-text); padding: 0 4px; border-radius: 4px; font-weight: 500; }
.legal-meta { color: var(--text-2); font-size: .9375rem; }
.legal-toc { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 28px; margin: 32px 0; }
.legal-toc ol { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .9375rem; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface-2); font-family: var(--font-title); font-weight: 500; }

/* 404 */
.error-page { min-height: calc(100vh - var(--header-h) - 1px); display: grid; place-items: center; text-align: center; padding: 64px 16px; background: var(--hero-grad); }
.error-code { font-family: var(--font-title); font-size: clamp(5rem, 16vw, 9rem); font-weight: 500; line-height: 1; margin: 0 0 8px; background: linear-gradient(90deg, #1a73e8, #1e8e3e 45%, #f9ab00 70%, #d93025); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 13. Pied de page --------------------------------------------------------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 64px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: .875rem; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--blue); }
.footer-about p { color: var(--text-2); margin-top: 16px; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-2); font-size: .8125rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* 14. Animations ----------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2, 0, 0, 1), transform .6s cubic-bezier(.2, 0, 0, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s !important; }
.reveal-delay-2 { transition-delay: .16s !important; }
.reveal-delay-3 { transition-delay: .24s !important; }

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

@media print {
  .site-header, .site-footer, .toc, .mobile-nav { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Compléments page Données */
.demo-label { color: var(--text-2); font-size: .8125rem; margin: 0 0 6px; }
.legend-note { text-align: center; color: var(--text-2); font-size: .875rem; margin: 12px 0 0; }
.notice--narrow { max-width: 820px; margin: 0 auto 48px; }
.todo-inline { background: var(--amber-50); color: var(--amber-text); padding: 0 4px; border-radius: 4px; font-weight: 500; }
.mt-sm { margin-top: 20px; }
.table-scroll { overflow-x: auto; margin: 16px 0 24px; }
.table-scroll .legal-table { margin: 0; min-width: 560px; }
@media (max-width: 420px) { .tab { font-size: .875rem; padding: 10px 6px; white-space: nowrap; } .auth-panel { padding: 28px 20px; } }
