/* =========================================================================
   ComptaChips — site vitrine
   Charte Queoval reprise de l'application (src/styles.scss) :
   accent bleu #1f55c1, fond #ebf1ff, surfaces blanches, titres Sora / corps Inter.
   Thème clair par défaut, thème sombre suivant la préférence système.

   Aucune ressource externe n'est chargée (pas de Google Fonts, pas de CDN) :
   c'est ce qui permet au site de ne déposer aucun cookie et de n'envoyer
   aucune adresse IP à un tiers hors UE. Pour retrouver la typographie exacte
   de l'application, déposer les .woff2 dans assets/fonts/ et décommenter le
   bloc @font-face ci-dessous (cf. README.md).
   ========================================================================= */

/* --- Polices auto-hébergées (optionnel, cf. README) -----------------------
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora";  src: url("../fonts/sora-600.woff2")  format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora";  src: url("../fonts/sora-700.woff2")  format("woff2"); font-weight: 700; font-display: swap; }
--------------------------------------------------------------------------- */

:root {
  --font-title: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bg-main: #ebf1ff;
  --bubble-1: #dbede5;
  --bubble-2: #d9e2f4;
  --surface: #ffffff;
  --surface2: #f5f8ff;
  --border: rgba(14, 39, 88, 0.1);
  --border-strong: rgba(14, 39, 88, 0.18);

  --accent: #1f55c1;
  --accent-hover: #1a479f;
  --accent-dim: rgba(31, 85, 193, 0.12);
  --accent-2: #0e2758;
  --accent-cabinet: #4b0082;
  --success: #147b44;

  --text-primary: #121417;
  --text-secondary: #3a4a6b;
  --text-muted: #8893a8;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(14, 39, 88, 0.06);
  --shadow: 0 6px 24px rgba(14, 39, 88, 0.08);
  --shadow-lg: 0 18px 48px rgba(14, 39, 88, 0.14);
  --maxw: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #121417;
    --bubble-1: #1c4a3e;
    --bubble-2: #1b2f57;
    --surface: #181c24;
    --surface2: #20242e;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --accent: #5b8def;
    --accent-hover: #7aa4f4;
    --accent-dim: rgba(91, 141, 239, 0.18);
    --accent-2: #ebf1ff;
    --accent-cabinet: #a374d5;
    --success: #4ade80;

    --text-primary: #ebf1ff;
    --text-secondary: #9aa6bd;
    --text-muted: #5d6880;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
  }
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; color: var(--text-secondary); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

em { font-style: normal; color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text-primary);
  padding: 0.7rem 1.1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* --- En-tête ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-main) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* :not(.btn) — sans quoi ces règles, plus spécifiques que .btn-primary,
   imposeraient leur couleur de texte et leur survol aux boutons du menu. */
.nav a:not(.btn) {
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav a:not(.btn):hover { background: var(--accent-dim); color: var(--accent); text-decoration: none; }
.nav a:not(.btn)[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav .btn { margin-left: 0.35rem; padding: 0.5rem 0.8rem; font-size: 0.94rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0.8rem; }
  .nav .btn { margin: 0.25rem 0 0; justify-content: center; }
}

/* --- Boutons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-ghost { background: var(--surface); color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface2); border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 0.85rem 1.6rem; font-size: 1rem; }

/* --- Sections ------------------------------------------------------------ */

section { padding: clamp(3rem, 6vw, 5.5rem) 0; }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.alt { background: var(--surface2); border-block: 1px solid var(--border); }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.75;
  z-index: -1;
  pointer-events: none;
}
.hero::before { width: 30rem; height: 30rem; background: var(--bubble-2); top: -12rem; right: -8rem; }
.hero::after { width: 24rem; height: 24rem; background: var(--bubble-1); bottom: -14rem; left: -8rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero p.lead {
  font-size: 1.12rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta-note {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Illustration animée du cycle comptable (assets/img/cycle-comptable.svg),
   reprise de l'écran de connexion de l'application. Le SVG porte ses propres
   styles et son propre thème sombre : il n'y a rien à styler ici hormis le
   cadrage et la légende. */
.hero-cycle { margin: 0; }
.hero-cycle img {
  display: block;
  width: 100%;
  max-width: 34rem;
  height: auto;
  margin-inline: auto;
}
.hero-cycle figcaption {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 30rem;
  margin-inline: auto;
}
@media (max-width: 900px) {
  /* Sous le point de bascule, l'illustration passe sous le texte : on la réduit
     pour qu'elle n'écrase pas les boutons d'appel à l'action. */
  .hero-cycle img { max-width: 24rem; }
}

/* --- Grilles de cartes --------------------------------------------------- */

.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--text-secondary); font-size: 0.94rem; }
.card ul li { margin-bottom: 0.3rem; }

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.card-icon svg { width: 22px; height: 22px; }

/* --- Section « Intelligence artificielle » -------------------------------
   Traitement distinct des autres sections : léger dégradé d'accent et cartes
   au liseré coloré, pour que le bloc se remarque sans jurer avec la charte.
   ------------------------------------------------------------------------- */

.ia-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 28rem at 50% -8rem, var(--accent-dim), transparent 70%),
    var(--bg-main);
  border-block: 1px solid var(--border);
}

.ia-card { border-top: 3px solid var(--accent); }
.ia-card .card-icon { background: var(--accent); color: #fff; }

.ia-note {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.ia-note h3 { margin-bottom: 1rem; }
.ia-note p { font-size: 0.94rem; margin: 0; }
.ia-note strong { color: var(--text-primary); }

/* Étiquette « IA » apposée sur une carte de module. */
.tag-ia {
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: middle;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
}

/* --- Chiffres / points forts --------------------------------------------- */

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; text-align: center; }
.fact b { display: block; font-family: var(--font-title); font-size: 1.9rem; color: var(--accent); line-height: 1.1; }
.fact span { font-size: 0.92rem; color: var(--text-secondary); }

/* --- Tarifs -------------------------------------------------------------- */

.tabs { display: inline-flex; gap: 0.25rem; padding: 0.3rem; background: var(--surface2); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 2rem; }
.tabs button {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 600;
  color: var(--text-secondary); padding: 0.5rem 1.1rem; border-radius: 999px;
}
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }

.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim), var(--shadow); }
.price-badge {
  position: absolute; top: -0.75rem; left: 1.5rem;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 999px;
}
.price { font-family: var(--font-title); font-size: 2.1rem; font-weight: 700; margin: 0.2rem 0 0.1rem; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-card .features { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; font-size: 0.94rem; }
.price-card .features li { display: flex; gap: 0.55rem; align-items: flex-start; margin-bottom: 0.5rem; color: var(--text-secondary); }
.price-card .features li::before { content: "✓"; color: var(--success); font-weight: 700; }
.price-card .btn { margin-top: auto; }

/* Mention « tout ce qui précède, plus… » en tête de liste de fonctionnalités. */
.price-card .features-intro {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.1rem 0 -0.6rem;
}
.price-card .price-sub { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 0.6rem; }

/* --- Tableau comparatif des offres ---------------------------------------
   Cinq colonnes : le libellé puis une colonne par offre entreprise. Sous la
   largeur minimale, le tableau défile horizontalement dans son conteneur
   plutôt que d'écraser les libellés (la page, elle, ne défile jamais
   latéralement).
   ------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.93rem;
}
/* La légende double le chapô de la section : elle n'est utile qu'aux lecteurs
   d'écran, qui n'ont pas ce contexte visuel. */
.compare caption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.compare th, .compare td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.compare thead th {
  background: var(--surface2);
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: var(--text-primary);
}
.compare thead th span { display: block; font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.compare thead th:first-child { text-align: left; }
.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-body);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .group th {
  background: var(--surface2);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
/* La colonne mise en avant reprend le liseré de la carte correspondante. */
.compare .col-featured { background: var(--accent-dim); color: var(--text-primary); font-weight: 600; }
.compare tbody td strong { color: var(--text-primary); font-weight: 600; }
.mark-yes { color: var(--success); font-weight: 700; }
.mark-no { color: var(--text-muted); }

.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;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1.1rem;
  margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1rem; }

/* --- Bandeau d'appel ----------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: 0.9; max-width: 38rem; margin-inline: auto; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: #f3f6ff; color: var(--accent); }
.cta-band .cta-row { justify-content: center; }

/* --- Formulaire ---------------------------------------------------------- */

.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-dim); }
.field textarea { min-height: 8rem; resize: vertical; }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.87rem; color: var(--text-secondary); }
.consent input { margin-top: 0.25rem; width: 1rem; height: 1rem; flex: none; }

.form-note { font-size: 0.82rem; color: var(--text-muted); }

/*
  Leurre anti-robots du formulaire de contact. À la différence de .sr-only, ce
  champ doit être invisible ET inaudible : un lecteur d'écran ne doit pas inviter
  à le remplir, sous peine de recaler un visiteur légitime. D'où display: none,
  que les robots les plus sommaires ignorent — c'est précisément le but.
*/
.visually-offscreen { display: none; }

.form-status { padding: 0.8rem 1rem; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-status.ok { display: block; background: rgba(20, 123, 68, 0.12); color: var(--success); }
.form-status.ko { display: block; background: rgba(220, 38, 38, 0.12); color: #dc2626; }

/* --- Pages légales ------------------------------------------------------- */

.legal { max-width: 48rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal ul { color: var(--text-secondary); padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { font-family: var(--font-title); color: var(--text-primary); }
.legal td { color: var(--text-secondary); }
.table-wrap { overflow-x: auto; }
.legal .updated { font-size: 0.86rem; color: var(--text-muted); }

/* Marqueur des informations à renseigner avant mise en ligne. */
.todo {
  background: rgba(217, 119, 6, 0.14);
  border-bottom: 2px dashed #d97706;
  color: #b45309;
  padding: 0 0.2rem;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .todo { color: #fbbf24; }
}

/* --- Pied de page -------------------------------------------------------- */

.site-footer {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text-secondary); font-size: 0.93rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer .tagline { font-size: 0.92rem; color: var(--text-secondary); max-width: 22rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Bandeau cookies (inactif tant qu'aucun traceur n'est déclaré) -------- */

#cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  z-index: 90;
}
#cookie-banner p { font-size: 0.9rem; margin-bottom: 0.9rem; }
#cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
#cookie-banner .btn { flex: 1 1 10rem; }
