/* ==========================================================================
   Idomee — site vitrine
   Source : Figma « Site commerce » › « Idomee — Maquette accueil (desktop 1440) »
   DA : crème / vert / encre — Space Grotesk (titres) + Inter (texte)
   ========================================================================== */

:root {
  --cream: #F5F3EE;
  --white: #FFFFFF;
  --sand: #EEEAE2;
  --line: #E2DED5;
  --input-border: #CFC9BD;
  --placeholder: #6B7672;
  --ink: #14201D;
  --ink-2: #22332E;
  --ink-line: #3B4D47;
  --footer: #0E1714;
  --muted: #46534F;
  --accent: #1E6B57;
  --accent-dark: #134A3C;
  --accent-text: #2E4A42;
  --mint: #9FD3C1;
  --mint-soft: #DDEBE5;
  --mint-line: #A9CFC1;
  --on-ink-muted: #B9C7C2;
  --danger: #B3361F;
  --danger-soft: #FCEDE9;

  --font-title: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Échelle typographique (Figma › Typographie) — desktop : ratio 1,25 · mobile : ratio 1,2 */
  --fs-display: 60px;  --lh-display: 1.04;
  --fs-h2: 40px;       --lh-h2: 1.12;
  --fs-h3: 32px;       --lh-h3: 1.15;
  --fs-h4: 24px;       --lh-h4: 1.2;
  --fs-h5: 20px;       --lh-h5: 1.2;
  --fs-num-l: 48px;    --lh-num-l: 1.1;
  --fs-num-m: 40px;    --lh-num-m: 1.15;
  --fs-num-s: 28px;    --lh-num-s: 1.15;
  --fs-lead: 18px;     --lh-lead: 1.55;
  --fs-body: 16px;     --lh-body: 1.55;
  --fs-small: 15px;    --lh-small: 1.5;
  --fs-caption: 13px;  --lh-caption: 1.4;
  --fs-eyebrow: 14px;  --lh-eyebrow: 1.3;

  --container: 1440px;
  --gutter: 100px;
  --section-y: 96px;
}
@media (max-width: 1200px) { :root { --gutter: 48px; } }
@media (max-width: 760px)  {
  :root {
    --gutter: 20px; --section-y: 64px;
    --fs-display: 40px; --fs-h2: 28px; --fs-h3: 24px; --fs-h4: 20px; --fs-h5: 18px;
    --fs-num-l: 36px; --fs-num-m: 32px; --fs-num-s: 24px;
    --fs-lead: 17px; --fs-eyebrow: 12px;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
input, select, button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); }
.stack { display: flex; flex-direction: column; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Titres de section ---------- */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.eyebrow { font-weight: 600; font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.bg-ink .eyebrow { color: var(--mint); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.02em; }
.bg-ink .h2 { color: #fff; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--muted); }

/* ---------- Boutons (composant Figma « Bouton ») ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: var(--fs-body); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: var(--fs-small); }
.btn--block { width: 100%; }

.chip { display: inline-flex; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--mint-soft); color: var(--accent-dark); font-weight: 600; font-size: var(--fs-small); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 243, 238, .96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 22px; }
.nav { display: flex; gap: 28px; font-size: var(--fs-small); font-weight: 500; }
.nav a { text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lead); }
  .site-header.is-open .nav { display: flex; }
}
@media (max-width: 420px) { .header-actions .btn { display: none; } }

/* ---------- Hero ---------- */
/* Au-delà de 1440 px, l'image ne s'étire plus : elle reste centrée et les côtés
   sont comblés par les couleurs de ses bords (beige à gauche, vert à droite). */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--hero-left) 50%, var(--hero-right) 50%); --hero-left: #F4F1EC; --hero-right: #256253; }
.hero__bg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--container); height: 100%; object-fit: cover; object-position: right center; }
.hero--no-image { background: var(--cream); }
.hero__inner { position: relative; min-height: 611px; display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero__text { width: 630px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.02em; }
.hero__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 8px; font-size: var(--fs-small); color: var(--muted); }
.hero__stats strong { display: block; margin-bottom: 2px; font-family: var(--font-title); font-size: var(--fs-h5); line-height: var(--lh-h5); color: var(--ink); }
/* L'illustration est masquée dès qu'elle passerait sous le texte :
   - toujours sous 1100 px (tablette / mobile) ;
   - au-delà, main.js mesure le chevauchement et ajoute .hero--no-image. */
.hero--no-image .hero__bg { display: none; }
.hero--no-image .hero__inner { min-height: 0; padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 1100px) {
  .hero { background: var(--cream); }
  .hero__bg { display: none; }
  .hero__inner { min-height: 0; padding-top: 40px; padding-bottom: 56px; }
}

/* ---------- Concept ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cards-4, .cards-3 { grid-template-columns: 1fr; } }
.concept-card { background: var(--cream); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.concept-card img { width: 40px; height: 40px; }
.concept-card h3 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.concept-card p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); }

/* ---------- Pourquoi Idomee ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } .compare .example--diy { order: 1; } .compare .col--idomee { order: 2; } .compare .example--idomee { order: 3; } }
.col { border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.col--diy { background: var(--white); border: 1px solid var(--line); }
.col--idomee { background: var(--ink); }
.col__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.col__head h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.col--idomee h3 { color: #fff; }
.tag { font-size: var(--fs-caption); padding: 5px 12px; border-radius: 999px; }
.col--diy .tag { background: var(--sand); color: var(--muted); }
.col--idomee .tag { background: var(--mint); color: var(--ink); font-weight: 600; }
.bullets { display: flex; flex-direction: column; gap: 18px; }
.bullets li { display: flex; gap: 14px; color: var(--muted); }
.bullets img { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.bullets strong { font-weight: 600; color: var(--ink); }
.col--idomee .bullets li { color: var(--on-ink-muted); }
.col--idomee .bullets strong { color: #fff; }
.example { border-radius: 24px; padding: 28px 32px; }
.example--diy { background: var(--sand); color: var(--muted); }
.example--diy strong { color: var(--ink); font-weight: 600; }
.example--idomee { background: var(--mint-soft); color: var(--accent-text); }
.example--idomee strong { color: var(--accent-dark); font-weight: 600; }
@media (max-width: 520px) { .col, .example { padding: 24px; } }
.punchline { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-h4); line-height: var(--lh-h4); text-align: center; }
.punchline span { color: var(--accent); }

/* ---------- Offres ---------- */
.situation { display: flex; align-items: center; gap: 24px; background: var(--mint-soft); border-radius: 20px; padding: 24px 28px; }
.situation__icon { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.situation__icon img { width: 28px; height: 28px; }
.situation__main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.situation__label { font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.situation__title { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.situation p { font-size: var(--fs-small); line-height: 1.5; color: var(--accent-text); }
.situation__sep { flex: none; width: 1px; height: 64px; background: var(--mint-line); }
.situation__aside { flex: 0 1 480px; display: flex; flex-direction: column; gap: 4px; }
.situation__aside strong { font-weight: 600; }
@media (max-width: 900px) { .situation { flex-wrap: wrap; } .situation__sep { display: none; } .situation__aside { flex-basis: 100%; } }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--mint-soft); color: var(--accent-dark); font-weight: 600; font-size: var(--fs-small); }
.badge img { width: 18px; height: 18px; }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 14px; }
@media (max-width: 1100px) { .packs { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } }
@media (max-width: 620px)  { .packs { grid-template-columns: 1fr; } }
.pack { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; min-height: 529px; }
.pack--featured { border: 2px solid var(--accent); }
.pack__flag { position: absolute; top: -16px; left: 22px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: var(--fs-caption); font-weight: 600; }
.pack h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.pack ul { font-size: var(--fs-small); line-height: 1.9; color: var(--muted); }
.pack__spacer { flex: 1 1 auto; }
.saving { display: flex; gap: 12px; align-items: flex-start; background: var(--mint-soft); border-radius: 16px; padding: 14px 16px; }
.saving__icon { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.saving__icon img { width: 20px; height: 20px; }
.saving__amount { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-num-s); line-height: var(--lh-num-s); color: var(--accent-dark); }
.saving__label { font-size: var(--fs-small); font-weight: 600; color: var(--accent-dark); }
.saving__note { font-size: var(--fs-caption); line-height: 1.45; color: var(--accent-text); }
.pack__price { border-top: 1px solid var(--line); padding-top: 18px; }
.price-note { font-size: var(--fs-caption); color: var(--muted); }
.price { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-num-m); line-height: var(--lh-num-m); }
@media (max-width: 1100px) { .pack { min-height: 0; } }

.combo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--ink); color: #fff; border-radius: 24px; padding: 28px 36px; }
.combo__label { font-size: var(--fs-small); font-weight: 600; color: var(--mint); }
.combo h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); color: #fff; }
.combo p { font-size: var(--fs-small); color: var(--on-ink-muted); }
.combo__price { display: flex; flex-direction: column; color: var(--on-ink-muted); }
.combo__old { font-size: var(--fs-small); text-decoration: line-through; }
.combo .price-note { color: var(--on-ink-muted); }
.combo .price { color: #fff; }
@media (max-width: 520px) { .combo { padding: 24px; } }

/* ---------- Contrat de maintenance ---------- */
.evo { position: relative; }
.evo__plus { position: absolute; left: 50%; top: -56px; width: 112px; height: 112px; transform: translateX(-50%); border-radius: 50%; background: var(--accent); border: 8px solid #fff; box-shadow: 0 8px 20px rgba(20, 32, 29, .18); display: flex; align-items: center; justify-content: center; z-index: 2; }
.evo__plus svg { width: 56px; height: 56px; }
.evo__inner { display: flex; gap: 48px; align-items: flex-start; }
.evo__aside { flex: 0 0 400px; display: flex; flex-direction: column; gap: 20px; }
.subscription { background: var(--mint-soft); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.subscription__name { font-weight: 600; color: var(--accent-dark); }
.subscription__price { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-num-l); line-height: var(--lh-num-l); }
.subscription__price span { font-weight: 500; font-size: var(--fs-lead); color: var(--muted); }
.subscription__note { font-weight: 500; color: var(--accent-dark); }
.services { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; gap: 22px; align-items: flex-start; }
.service__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.service__icon img { width: 24px; height: 24px; }
.service h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); margin-bottom: 10px; }
.service p { color: var(--muted); }
.service p + p { margin-top: 6px; }
.service p strong { font-weight: 600; color: var(--ink); }
@media (max-width: 1000px) { .evo__inner { flex-direction: column; } .evo__aside { flex-basis: auto; width: 100%; } }
@media (max-width: 760px) { .evo__plus { width: 80px; height: 80px; top: -40px; border-width: 6px; } .evo__plus svg { width: 40px; height: 40px; } }
@media (max-width: 520px) { .service { flex-direction: column; padding: 24px; } }

/* ---------- Cas d'usage ---------- */
.usecase { background: var(--cream); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.usecase__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.usecase__head img { width: 40px; height: 40px; }
.trigger { padding: 5px 12px; border-radius: 999px; font-size: var(--fs-caption); font-weight: 600; white-space: nowrap; }
.trigger--auto { background: var(--mint-soft); color: var(--accent-dark); }
.trigger--voice { background: var(--ink); color: #fff; }
.trigger--urgent { background: var(--danger); color: #fff; }
.usecase h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.usecase p { color: var(--muted); }
.usecase--urgent { background: var(--danger-soft); border: 2px solid var(--danger); box-shadow: 0 8px 14px rgba(179, 54, 31, .22); }
.usecases-more { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-h4); line-height: var(--lh-h4); color: var(--accent); }
@media (max-width: 520px) { .usecase { padding: 24px; } }

/* ---------- Devis ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); row-gap: 28px; } }
@media (max-width: 620px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps li { border-top: 2px solid var(--ink-line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.steps li:first-child { border-top-color: var(--mint); }
.steps__num { font-family: var(--font-title); font-weight: 700; color: var(--mint); }
.steps strong { font-weight: 600; line-height: 1.4; color: #fff; }
.steps small { font-size: var(--fs-small); color: var(--on-ink-muted); }
.callback { background: var(--cream); border-radius: 28px; padding: 44px; display: flex; align-items: center; gap: 40px; }
.callback__intro { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; }
.callback__intro h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.callback__intro p { color: var(--muted); }
.form { flex: 0 0 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); font-weight: 600; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid var(--input-border); border-radius: 12px;
  background: var(--white); color: var(--ink); font-size: var(--fs-body); font-weight: 400;
}
.field input::placeholder { color: var(--placeholder); }
.field select { appearance: none; -webkit-appearance: none; background: var(--white) url("../icons/chevron.svg") no-repeat right 14px center / 16px; padding-right: 40px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form__submit, .form__legal, .form__status { grid-column: 1 / -1; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: var(--fs-caption); color: var(--muted); }
.form__status { font-size: var(--fs-small); font-weight: 500; color: var(--accent-dark); }
.form__status:empty { display: none; }
@media (max-width: 1100px) { .callback { flex-direction: column; align-items: stretch; } .form { flex-basis: auto; } }
@media (max-width: 560px) { .callback { padding: 28px 20px; } .form { grid-template-columns: 1fr; } }

/* ---------- Qui sommes-nous ---------- */
.about { display: flex; gap: 64px; align-items: flex-start; }
.portrait { flex: 0 0 400px; border-radius: 28px; overflow: hidden; }
.portrait img { width: 100%; height: 440px; object-fit: cover; }
.portrait__id { background: var(--ink); padding: 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.portrait__name { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-h4); line-height: var(--lh-h4); color: #fff; }
.portrait__role { font-weight: 500; font-size: var(--fs-small); color: var(--mint); }
.about__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.about__text > p { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--muted); }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; display: flex; gap: 20px; }
.quote__mark { font-family: var(--font-title); font-weight: 700; font-size: 72px; line-height: 60px; color: var(--accent); }
.quote blockquote { margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.quote figcaption { margin-top: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--accent); }
@media (max-width: 1000px) { .about { flex-direction: column; } .portrait { flex-basis: auto; width: 100%; max-width: 400px; } }
@media (max-width: 520px) { .quote { padding: 24px 20px; gap: 12px; } .quote__mark { font-size: 56px; line-height: 48px; } .portrait img { height: 360px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: var(--on-ink-muted); font-size: var(--fs-small); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.site-footer .brand__name { font-size: var(--fs-h5); color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a, .footer-links button { color: var(--on-ink-muted); background: none; border: 0; padding: 0; font-size: var(--fs-small); text-decoration: underline; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }

/* ---------- Pages légales ---------- */
.legal { max-width: 800px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); margin-bottom: 12px; }
.legal h2 { font-size: var(--fs-h4); line-height: var(--lh-h4); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin: 12px 0 20px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--white); }
.todo { background: #FFF3C4; color: var(--ink); padding: 0 4px; border-radius: 4px; }

/* ---------- Bandeau cookies ---------- */
.consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(20, 32, 29, .18); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.consent p { font-size: var(--fs-small); color: var(--muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { flex: 1 1 140px; min-height: 44px; padding: 10px 16px; font-size: var(--fs-small); }
.consent__prefs { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.consent__prefs[hidden] { display: none; }
.toggle { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: var(--fs-small); }
.toggle strong { display: block; font-size: var(--fs-small); }
.toggle span { color: var(--muted); }
.toggle input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
