/* ============================================================
   ONDIA — Site vitrine (PRÉPARATION, hors production)
   Logo et palette du site VALIDÉS par Iker le 2026-10-26 et
   conservés tels quels. v0.4 : site réparti en 5 pages
   (Accueil, Produits, Solutions, Tarifs, Contact), accueil
   épuré, beaucoup moins de texte, visuels SVG inline.
   Toutes les couleurs vivent dans le bloc :root ci-dessous ;
   aucune valeur hexadécimale hors de :root.
   ============================================================ */

:root {
  /* Palette du site — validée par Iker, valeurs inchangées */
  --color-deep: #0D1233;          /* bleu nuit — hero, étapes, pied de page */
  --color-deep-2: #171D4A;        /* bleu nuit relevé — dégradés */
  --color-brand: #5A48F2;         /* violet onde — couleur principale */
  --color-brand-dark: #4636C9;    /* violet au survol */
  --color-accent: #00C2A8;        /* turquoise vif — accents, bouton d'appel */
  --color-accent-ink: #06392F;    /* texte foncé sur l'accent */
  --color-bg: #F6F7FC;            /* fond clair général */
  --color-surface: #FFFFFF;       /* cartes, surfaces */
  --color-ink: #141836;           /* texte principal */
  --color-muted: #4A5170;         /* texte secondaire (AA sur fond clair) */
  --color-on-dark: #E8EAFB;       /* texte sur fond sombre */
  --color-on-dark-muted: #B9BEE4; /* texte secondaire sur fond sombre */
  --color-border: #DFE3F2;        /* bordures claires */

  /* Surfaces translucides et bordures sur fond sombre (rgba) */
  --header-bg: rgba(255, 255, 255, 0.88);
  --border-on-dark: rgba(232, 234, 251, 0.22);

  /* Ombres (rgba, pas de hex hors :root) */
  --shadow-card: 0 6px 24px rgba(13, 18, 51, 0.08);
  --shadow-mock: 0 34px 90px rgba(13, 18, 51, 0.30), 0 0 0 1px rgba(13, 18, 51, 0.04), 0 18px 70px rgba(90, 72, 242, 0.38);
  --shadow-btn: 0 8px 20px rgba(90, 72, 242, 0.35);
  --shadow-pill: 0 12px 34px rgba(13, 18, 51, 0.14);
  --shadow-featured: 0 26px 54px rgba(13, 18, 51, 0.34);

  /* Formes et rythme (rayons élargis en v0.3) */
  --radius: 24px;
  --radius-small: 14px;
  --radius-large: 40px;
  --max-width: 1180px;

  /* Typographie : pile système (rapidité, aucun chargement externe) */
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

a { color: var(--color-brand); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section[id] { scroll-margin-top: 110px; }

/* ---------- Motif onde (décoratif) ---------- */
.wave-line { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.wave-line-brand { stroke: var(--color-brand); opacity: 0.5; }
.wave-line-accent { stroke: var(--color-accent); opacity: 0.45; }
.wave-line-soft { opacity: 0.28; }
.wave-line-light { stroke: var(--color-surface); opacity: 0.35; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--color-brand);
  color: var(--color-surface);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--color-brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn-ghost:hover { background: var(--color-bg); }
.btn-light {
  background: var(--color-surface);
  color: var(--color-brand-dark);
}
.btn-light:hover { background: var(--color-bg); }
.btn-large { padding: 15px 32px; font-size: 1.05rem; }
.btn-small { padding: 9px 18px; font-size: 0.95rem; }
.btn-block { display: block; width: 100%; padding: 12px 20px; }
.btn-call {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  padding: 8px 16px;
  font-size: 0.9rem;
  border: none;
}
.btn-call:hover { filter: brightness(1.06); }
.btn-call.is-calling { background: var(--color-brand); color: var(--color-surface); }

/* ---------- Logo (validé, inchangé) ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-ink);
}
.logo-mark-bg { fill: var(--color-brand); }
.logo-mark-wave { stroke: var(--color-surface); stroke-width: 3; fill: none; stroke-linecap: round; }
.logo-word { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }

/* ---------- En-tête : pilule flottante détachée ---------- */
.site-header {
  position: sticky; top: 14px; z-index: 50;
  margin-top: 14px;
}
.header-pill {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-pill);
  padding: 10px 12px 10px 22px;
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--color-ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.main-nav a:hover { color: var(--color-brand); }
.main-nav a[aria-current="page"] { color: var(--color-brand-dark); font-weight: 700; }
.main-nav a.btn { color: var(--color-surface); }
.main-nav a.btn:hover { color: var(--color-surface); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; border-radius: 2px;
  background: var(--color-ink); margin: 5px 0;
}

/* ---------- Étiquette de section ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; font-weight: 700; color: var(--color-brand);
  margin-bottom: 16px;
}

/* ---------- Hero accueil : centré sur fond bleu nuit ---------- */
.hero {
  position: relative;
  margin-top: 22px;
  background: linear-gradient(160deg, var(--color-deep) 0%, var(--color-deep-2) 58%, var(--color-brand-dark) 135%);
  color: var(--color-on-dark);
  text-align: center;
  padding: 96px 0 168px;
  overflow: hidden;
}
.hero-waves {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero .eyebrow { color: var(--color-accent); }
.hero h1 {
  font-size: 4rem; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--color-surface); margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.2rem; color: var(--color-on-dark);
  max-width: 36rem; margin: 0 auto 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .btn-ghost { color: var(--color-on-dark); border-color: var(--color-on-dark-muted); }
.hero .btn-ghost:hover { background: transparent; border-color: var(--color-surface); color: var(--color-surface); }

/* ---------- Maquette produit : large, centrée, en débordement ---------- */
.showcase { padding-bottom: 12px; }
.product-mock {
  max-width: 900px;
  margin: -118px auto 0;
  position: relative; z-index: 2;
}
.mock-window {
  background: var(--color-surface);
  border-radius: 28px;
  box-shadow: var(--shadow-mock);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px; border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--color-border); }
.mock-url {
  margin-left: 10px; font-size: 0.82rem; color: var(--color-muted);
  background: var(--color-surface); border: 1px solid var(--color-border);
  padding: 3px 12px; border-radius: 999px;
}
.mock-body { padding: 24px; color: var(--color-ink); }
.mock-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  font-size: 0.82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--color-border); color: var(--color-muted);
  background: var(--color-surface);
}
.chip-active { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-surface); }
.mock-list { list-style: none; }
.mock-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 6px; border-top: 1px solid var(--color-border);
}
.mock-row:first-child { border-top: none; }
.mock-who { flex: 1; min-width: 0; text-align: left; }
.mock-name { display: block; font-weight: 700; font-size: 0.98rem; }
.mock-meta { display: block; font-size: 0.85rem; color: var(--color-muted); }
.mock-phone {
  font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.95rem;
  color: var(--color-muted); white-space: nowrap;
}
.mock-phone.is-revealed { color: var(--color-ink); }
.mock-caption { font-size: 0.85rem; color: var(--color-muted); margin-top: 14px; text-align: left; }

/* ---------- Chiffres : rangée horizontale à séparateurs ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 900px; margin: 52px auto 0;
  text-align: center;
}
.stat { padding: 6px 28px; }
.stat + .stat { border-left: 1px solid var(--color-border); }
.stat-number {
  display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--color-brand-dark);
}
.stat-label { display: block; color: var(--color-muted); font-size: 0.95rem; margin-top: 4px; }

/* ---------- Sections génériques ---------- */
.section { padding: 88px 0; }
.section h2 {
  font-size: 2.1rem; line-height: 1.2; letter-spacing: -0.015em;
  margin-bottom: 40px;
}
.section-sub { color: var(--color-muted); max-width: 44rem; font-size: 1.05rem; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding: 72px 0 8px; text-align: center; }
.page-hero h1 {
  font-size: 2.9rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px;
}
.page-hero .section-sub { margin: 0 auto; }

/* ---------- Cartes visuelles de l'accueil ---------- */
.visual-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.visual-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--color-ink);
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.visual-card:hover { transform: translateY(-4px); }
.visual-card-art {
  border-radius: var(--radius-small);
  background: var(--color-bg);
  padding: 18px; margin-bottom: 22px;
}
.visual-card-art svg { width: 100%; height: auto; }
.visual-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.visual-card p { color: var(--color-muted); font-size: 0.98rem; margin-bottom: 16px; }
.card-link { margin-top: auto; font-weight: 700; color: var(--color-brand-dark); }

/* ---------- Illustrations SVG (remplissages par variables) ---------- */
.ill-panel { fill: var(--color-surface); stroke: var(--color-border); }
.ill-soft { fill: var(--color-bg); }
.ill-line { fill: var(--color-border); }
.ill-brand { fill: var(--color-brand); }
.ill-brand-dark { fill: var(--color-brand-dark); }
.ill-accent { fill: var(--color-accent); }
.ill-deep { fill: var(--color-deep); }
.ill-muted { fill: var(--color-on-dark-muted); }
.ill-stroke-brand { fill: none; stroke: var(--color-brand); stroke-width: 3; stroke-linecap: round; }
.ill-stroke-accent { fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; }

/* Grande illustration (page Produits) */
.page-illustration {
  max-width: 940px; margin: 44px auto 0;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 28px; box-shadow: var(--shadow-mock);
  padding: 26px;
}
.page-illustration svg { width: 100%; height: auto; }

/* ---------- Étapes courtes (accueil + solutions) ---------- */
.steps-light {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: center;
}
.steps-light .step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-accent-ink);
  font-weight: 800; font-size: 1.3rem; margin-bottom: 16px;
}
.steps-light h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps-light p { color: var(--color-muted); font-size: 0.98rem; max-width: 17rem; margin: 0 auto; }

/* ---------- Cartes produits / solutions ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card);
}
.p-card-big { grid-column: span 2; }
.p-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-brand); color: var(--color-surface);
  margin-bottom: 18px;
}
.p-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-icon-accent { background: var(--color-accent); color: var(--color-accent-ink); }
.p-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.p-card p { color: var(--color-muted); font-size: 0.98rem; }

/* ---------- Page tarifs ---------- */
.pricing-page { padding-top: 84px; }
.page-head { text-align: center; margin-bottom: 40px; }
.page-head h1 {
  font-size: 2.9rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px;
}
.page-head .section-sub { margin: 0 auto; }
.billing-toggle-wrap { text-align: center; margin-bottom: 44px; }
.billing-toggle {
  display: inline-flex; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 4px; gap: 4px;
}
.toggle-btn {
  border: none; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; padding: 8px 22px; border-radius: 999px; color: var(--color-muted);
}
.toggle-btn.is-active { background: var(--color-brand); color: var(--color-surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column;
  position: relative; box-shadow: var(--shadow-card);
}
.price-card-featured {
  background: linear-gradient(165deg, var(--color-deep) 0%, var(--color-deep-2) 80%);
  border-color: var(--color-deep-2);
  color: var(--color-on-dark);
  box-shadow: var(--shadow-featured);
  transform: translateY(-16px);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-brand); color: var(--color-surface);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card-featured h3 { color: var(--color-surface); }
.price-desc { color: var(--color-muted); font-size: 0.93rem; margin-bottom: 20px; min-height: 3.6em; }
.price-card-featured .price-desc { color: var(--color-on-dark-muted); }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; }
.price-card-featured .price { color: var(--color-surface); }
.price-period { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 20px; }
.price-card-featured .price-period { color: var(--color-on-dark-muted); }
.price-features { list-style: none; margin-bottom: 26px; flex: 1; }
.price-features li { padding: 6px 0 6px 26px; position: relative; font-size: 0.96rem; }
.price-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--color-brand); font-weight: 800;
}
.price-card-featured .price-features li::before { color: var(--color-accent); }
.pricing-note { color: var(--color-muted); font-size: 0.92rem; margin: 30px auto 0; max-width: 52rem; text-align: center; }

/* ---------- Page contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: stretch;
  max-width: 940px; margin: 0 auto;
}
.contact-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-card);
}
.contact-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.contact-card p { color: var(--color-muted); font-size: 0.98rem; }
.contact-mail {
  display: inline-block; font-size: 1.3rem; font-weight: 800;
  color: var(--color-brand-dark); text-decoration: none; margin: 14px 0 6px;
  word-break: break-all;
}
.contact-mail:hover { text-decoration: underline; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; font: inherit; color: var(--color-ink);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-small); padding: 12px 14px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--color-muted); margin-top: 12px; }

/* ---------- Pages Connexion / Inscription ---------- */
.auth-section { padding: 150px 0 90px; }
.auth-card {
  max-width: 440px; margin: 0 auto; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 38px 34px;
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-card h1 { font-size: 1.65rem; text-align: center; letter-spacing: -0.015em; margin-bottom: 8px; }
.auth-sub { text-align: center; color: var(--color-muted); margin-bottom: 26px; }
.auth-legal { font-size: 0.85rem; color: var(--color-muted); text-align: center; margin-top: 16px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--color-muted); }
.auth-alt a { color: var(--color-brand); font-weight: 600; text-decoration: none; }
.auth-alt a:hover { color: var(--color-brand-dark); }

/* ---------- CTA final : conteneur arrondi incrusté ---------- */
.cta-final { padding: 16px 0 88px; }
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-large);
  background: linear-gradient(120deg, var(--color-brand) 0%, var(--color-brand-dark) 72%);
  color: var(--color-surface); text-align: center;
  padding: 72px 36px;
  box-shadow: var(--shadow-featured);
}
.cta-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-panel-inner { position: relative; }
.cta-panel h2 { font-size: 2.3rem; letter-spacing: -0.015em; margin-bottom: 26px; }
.cta-panel p { font-size: 1.1rem; margin-bottom: 28px; color: var(--color-on-dark); }
.cta-panel .btn { white-space: nowrap; }

/* ---------- Visuel « hub » de l'accueil (centre Ondia + outils reliés) ---------- */
.hub-panel {
  background: linear-gradient(165deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border: 1px solid var(--color-border); border-radius: var(--radius-large);
  box-shadow: var(--shadow-card); padding: 30px 22px 20px;
}
.hub-svg { display: block; width: 100%; height: auto; }
.hub-link { opacity: 0.55; }
.hub-node circle { fill: var(--color-surface); stroke: var(--color-border); stroke-width: 1.5; }
.hub-main { fill: var(--color-surface); stroke: var(--color-border); stroke-width: 1.5; }
.hub-halo {
  fill: none; stroke: var(--color-brand); stroke-width: 1.5; opacity: 0.35;
  transform-box: fill-box; transform-origin: center;
  animation: hubPulse 3.4s ease-in-out infinite;
}
@keyframes hubPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.45; }
  50% { transform: scale(1.07); opacity: 0.12; }
}
.hub-pulse-dot { fill: var(--color-accent); }
.hub-wave { fill: none; stroke: var(--color-border); stroke-width: 1.5; opacity: 0.7; }
.hub-word { font-family: var(--font-stack); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; fill: var(--color-ink); }
.hub-legend {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin: 20px 0 0; padding: 0;
}
.hub-legend li {
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-muted); border-radius: 999px; padding: 7px 14px;
  font-size: 0.9rem; font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .hub-halo { animation: none; }
  .hub-pulses { display: none; }
}
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-small); box-shadow: var(--shadow-card); overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-weight: 700; color: var(--color-ink); padding: 20px 22px;
}
.faq-chevron { color: var(--color-brand); transition: transform 0.2s ease; flex: none; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--color-muted); }
.faq-a p { margin: 0; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--color-deep); color: var(--color-on-dark-muted);
  border-radius: 36px 36px 0 0;
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.logo-footer { color: var(--color-surface); }
.footer-tagline { margin: 16px 0 6px; color: var(--color-on-dark); font-weight: 600; }
.footer-by strong { color: var(--color-on-dark); }
.footer-col h3 { color: var(--color-surface); font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--color-on-dark-muted); text-decoration: none; padding: 5px 0; }
.footer-col a:hover { color: var(--color-surface); }
.footer-bottom {
  border-top: 1px solid var(--color-deep-2);
  padding-top: 22px; padding-bottom: 26px;
  font-size: 0.9rem; text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 80px 0 148px; }
  .hero h1 { font-size: 3rem; }
  .product-mock { margin-top: -100px; }
  .visual-cards { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .p-card-big { grid-column: span 2; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .steps-light { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card-featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-head h1, .page-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .site-header { top: 10px; margin-top: 10px; }
  .header-pill { padding: 8px 10px 8px 16px; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: var(--color-surface); flex-direction: column; align-items: stretch;
    padding: 18px; gap: 4px;
    border: 1px solid var(--color-border); border-radius: 22px;
    box-shadow: var(--shadow-pill);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 6px; }
  .main-nav a.btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 128px; margin-top: 16px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-ctas .btn { width: 100%; }
  .product-mock { margin-top: -84px; }
  .mock-body { padding: 18px; }
  .mock-row { flex-wrap: wrap; }
  .stats-row { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--color-border); padding-top: 22px; }
  .cards-grid, .cards-grid-4 { grid-template-columns: 1fr; }
  .p-card-big { grid-column: span 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-page { padding-top: 60px; }
  .page-head h1, .page-hero h1 { font-size: 2rem; }
  .page-hero { padding-top: 52px; }
  .cta-final { padding-bottom: 60px; }
  .cta-panel { padding: 52px 22px; border-radius: 28px; }
  .cta-panel h2 { font-size: 1.8rem; }
  .cta-panel .btn-large { padding: 12px 14px; font-size: 0.88rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { border-radius: 26px 26px 0 0; }
}

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

/* ---------- Bascule de langue FR/EN (en-tête) ---------- */
.lang-switch { display: inline-flex; gap: 2px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 999px; padding: 3px; align-self: center; }
.lang-btn { border: none; background: transparent; font: inherit; font-weight: 700; font-size: 0.8rem; line-height: 1; padding: 0.38rem 0.62rem; border-radius: 999px; cursor: pointer; color: var(--color-muted); }
.lang-btn.is-active { background: var(--color-brand); color: var(--color-surface); }
