/* ============================================================
   Acrux - Design tokens & overrides
   Dark only (light theme abandoned until next redesign)
   ============================================================ */

:root {
  color-scheme: dark;
  --bleu-nuit: #272757;
  --bleu-nuit-clair: #3a3a6e;
  --bleu-nuit-tres-clair: #ededf5;
  --jaune-moutarde: #ff9e00;
  --jaune-moutarde-hover: #e08a00;
  --jaune-moutarde-tres-clair: #fff4e0;
  --jaune-moutarde-desature: #d4a84b;
  --noir-spatial: #0a0c0d;
  --noir-doux: #12141a;
  --off-white: #f8f7f4;
  --gris-perle: #e8e6e1;
  --gris-ardoise: #6b6a75;
  --gris-charbon: #2a2a32;
  --succes: #2e8b57;
  --erreur: #c23b22;
  --info: #4a6fa5;
  --attention: #e67e22;

  /* Semantic - dark (default) : accent = jaune moutarde */
  --bg: var(--noir-spatial);
  --bg-elevated: var(--noir-doux);
  /* Fond header opaque : évite le flash blanc au scroll (sticky + blur) */
  --bg-header: var(--noir-spatial);
  --bg-card: #16181f;
  --bg-card-hover: #1c1e28;
  --bg-muted: #1a1c24;
  --text: var(--off-white);
  --text-secondary: #b8b6c0;
  --text-muted: var(--gris-ardoise);
  --border: rgba(232, 230, 225, 0.1);
  --border-strong: rgba(232, 230, 225, 0.18);
  --accent: var(--jaune-moutarde);
  --accent-hover: var(--jaune-moutarde-hover);
  --accent-soft: rgba(var(--accent-rgb), 0.12);
  --accent-on: var(--noir-spatial); /* texte sur fond accent */
  --accent-rgb: 255, 158, 0; /* rgba(var(--accent-rgb), a) */
  --accent-bright: #ffc453; /* extrémité de dégradés accent (dark) */
  --footer-bg: var(--bleu-nuit);
  --header-border: rgba(var(--accent-rgb), 0.15);
  --focus-ring: var(--jaune-moutarde);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --success-bg: rgba(46, 139, 87, 0.15);
  --error-bg: rgba(194, 59, 34, 0.15);
}

/* Inter latin (SIL OFL) — auto-hébergé pour le LCP, sans Google Fonts */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jaune moutarde : usage volontaire uniquement (info super importante) */
.text-highlight-important {
  color: var(--jaune-moutarde);
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
  /* Pas de césure de mots sur le site */
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* Justification harmonisée du texte de lecture (sans couper les mots) */
p,
li,
.section-lead,
.hero-subtitle,
.legal-prose,
.legal-intro,
.about-text p,
.about-value-text,
.article-body,
.article-prose,
.article-lead,
.faq-panel,
.svc-hero-lead,
.vl-problem-text {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/*
 * Blocs en grille : pas de justify (lisibilité).
 * Mobile / colonne unique : texte à gauche.
 * Desktop (blocs en ligne) : centrage plus bas (media queries).
 */
.card p,
.svc-feature p,
.svc-feature-body,
.svc-step p,
.pack-pitch,
.pack-list li,
.step p,
.advantage p,
.cta-banner p,
.br-included-card p,
.br-included-card li,
.tarifs-option-desc,
.tarifs-perk-list li {
  text-align: left;
  text-justify: auto;
}

/*
 * Vue ordinateur : sections de blocs alignés en ligne → texte centré (plus visuel).
 * Listes à puces des packs / tarifs restent à gauche.
 */
@media (min-width: 768px) {
  .advantage {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .advantage h3,
  .advantage p {
    text-align: center;
  }

  .card:not(.blog-card) {
    text-align: center;
  }

  .card:not(.blog-card) .card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .card:not(.blog-card) h3,
  .card:not(.blog-card) p {
    text-align: center;
  }

  .br-included-card {
    text-align: center;
  }

  .br-included-card h3,
  .br-included-card p,
  .br-included-time {
    text-align: center;
  }

  .br-included-num {
    margin-left: auto;
    margin-right: auto;
  }

  /* Listes des cartes inclus branding : centrées mais lisibles */
  .br-included-card .br-bullets {
    text-align: left;
    display: inline-block;
    margin-inline: auto;
  }

  .step,
  .step h3,
  .step p,
  .svc-step,
  .svc-step h3,
  .svc-step p {
    text-align: center;
  }

  /* Packs services : en-tête centré, listes à gauche pour la lecture */
  .pack-head {
    text-align: center;
  }

  .pack-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .pack-name,
  .pack-pitch {
    text-align: center;
  }
}

/* Listes de nav / footer / skills / sommaire blog : pas de justify */
.nav-dropdown li,
.nav-mobile li,
.footer-col li,
.about-team-skills li,
.social-links li,
.tarifs-lines li,
.article-toc li,
.article-toc a {
  text-align: left;
}

/* Zones centrées : on annule le justify */
.text-center p,
.text-center .section-lead,
.hero .section-lead,
.about-cta-text,
.about-cta-card p,
.tarifs-empty-text,
.tarifs-empty-title,
.tarifs-disclaimer,
.svc-why-card p,
.form-status {
  text-align: center;
}

/* Slogan footer : aligné à gauche sous le logo (pas de justify, pas de centre) */
.footer-slogan {
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

/* UI : pas de justify sur labels / boutons / nav */
label,
button,
.btn,
.nav-link,
.nav-mobile a,
.section-label,
.footer-col a,
.footer-contact-link {
  hyphens: none;
  -webkit-hyphens: none;
}

.btn,
button {
  text-align: center;
}

/* Titres : jamais justifiés */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.pack-name,
.about-value-title,
.about-team-name {
  text-align: inherit;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  /* Gouttières fiables (évite les blocs collés aux bords) */
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1120px) {
  .container {
    padding-inline: 1.75rem;
  }
}

/* Accueil + services : cadre un peu plus large que le reste du site */
.layout-wide .container,
.layout-wide .promo-banner-inner,
.layout-wide .nav-mobile nav,
.layout-wide .cookie-banner-inner {
  max-width: 1240px;
}

.section {
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 38rem;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

/* CTA primaire : jaune moutarde (tous thèmes, y compris light) */
.btn-primary {
  background: var(--jaune-moutarde);
  color: var(--noir-spatial);
  box-shadow: 0 4px 16px rgba(255, 158, 0, 0.28);
}

.btn-primary:hover {
  background: var(--jaune-moutarde-hover);
  color: var(--noir-spatial);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Bandeau promotionnel (js/promo.js - enabled: true/false) ---------- */
:root {
  /* Couleur « exceptionnelle » (distincte du moutarde Acrux) */
  --promo-flash: #e11d48;
  --promo-flash-hover: #be123c;
  --promo-flash-soft: rgba(225, 29, 72, 0.12);
  --promo-flash-border: rgba(225, 29, 72, 0.45);
  --promo-flash-text: #9f1239;
}
.promo-banner {
  /* sticky = containing block pour la croix absolute */
  position: sticky;
  top: 0;
  z-index: 55;
  /* Même DA « exceptionnelle » que la page tarifs (rose flash) */
  background: var(--promo-flash);
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.28);
}

.promo-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.55rem 3rem 0.55rem 1rem; /* place pour la croix à droite */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem 1.25rem;
  min-width: 0;
}

.promo-banner-copy {
  margin: 0;
  flex: 1 1 14rem;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.promo-banner-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: #fff;
}

.promo-banner-icon svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.promo-banner-label {
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  /* Pas de cadre */
  background: none;
  padding: 0;
  box-shadow: none;
  border: 0;
}

.promo-banner-sep {
  flex-shrink: 0;
  margin: 0 0.1rem;
  font-weight: 700;
  opacity: 0.7;
}

.promo-banner-text {
  min-width: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}

/* Décompte + CTA : le texte prend la place restante, ce bloc reste à droite */
.promo-banner-aside {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.7rem;
  min-width: 0;
}

.promo-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.promo-countdown-prefix {
  font-size: 0.78rem;
  font-weight: 700;
}

.promo-countdown-clock {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.promo-countdown-seg {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
  padding: 0.2rem 0.38rem 0.16rem;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.16);
}

.promo-countdown-seg b {
  font-size: 0.84rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: right;
}

.promo-countdown-seg abbr {
  font-size: 0.62rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: lowercase;
}

/* Les deux-points ne servent que sur mobile (30j 04:12:08) */
.promo-countdown-colon {
  display: none;
}

.promo-countdown.is-ended .promo-countdown-clock {
  font-size: 0.78rem;
  font-weight: 800;
}

/* Tablette : garder le décompte, retirer « Plus que » pour tenir sur une ligne */
@media (max-width: 980px) {
  .promo-countdown-prefix {
    display: none;
  }
}

.promo-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 0.15rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--promo-flash);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.promo-banner-cta:hover {
  background: #fff1f2;
  color: var(--promo-flash-hover);
  transform: translateY(-1px);
}

/* Croix collée tout à droite du bandeau (viewport) */
.promo-banner-close {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.promo-banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.promo-banner-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Bandeau + header = un seul bloc sticky, sans interstice */
.site-top-stack {
  position: sticky;
  top: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
}

.site-top-stack .promo-banner {
  position: relative;
  top: auto;
  z-index: auto;
  flex-shrink: 0;
  border-bottom: 0;
  box-shadow: none;
}

body.has-promo-banner .site-top-stack .site-header {
  position: relative;
  top: 0;
  flex-shrink: 0;
}

/* Fallback si le bandeau n’est pas dans le stack */
body.has-promo-banner .site-header {
  top: var(--promo-banner-height, 3rem);
}

body.has-promo-banner {
  scroll-padding-top: calc(5.5rem + var(--promo-banner-height, 3rem));
}

/*
 * Anti-CLS : réserve la place du bandeau avant injection JS (class posée en head).
 * Hauteur par défaut ~3rem ; affinée par promo.js après paint.
 */
html.promo-banner-pending {
  --promo-banner-height: 3rem;
}

html.promo-banner-pending body {
  padding-top: var(--promo-banner-height, 3rem);
  scroll-padding-top: calc(5.5rem + var(--promo-banner-height, 3rem));
}

html.promo-banner-pending .site-header {
  top: var(--promo-banner-height, 3rem);
}

/* Une fois le vrai bandeau collé en sticky top:0, on retire le padding de réserve */
html.promo-banner-pending body.has-promo-banner {
  padding-top: 0;
}

/* ---------- Tarifs : promo exceptionnelle (rose / flash) ---------- */
body.promo-active .tarifs-promo-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--promo-flash);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

body.promo-active .tarifs-price-was {
  text-decoration: line-through;
  opacity: 0.65;
  margin-right: 0.3rem;
  font-weight: 500;
  color: var(--text-muted);
}

body.promo-active .tarifs-price-now {
  color: var(--promo-flash);
  font-weight: 800;
}

body.promo-active .tarifs-option-price-main .tarifs-price-now {
  color: var(--promo-flash);
}

body.promo-active .tarifs-line-chip--fixed .tarifs-price-was {
  font-size: 0.85em;
  margin-left: 0.2rem;
}

/* Note hero tarifs : bloc bien distinct */
body.promo-active .tarifs-promo-note {
  margin: 1rem auto 0;
  max-width: 36rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  border: 2px solid var(--promo-flash);
  background:
    linear-gradient(135deg, var(--promo-flash-soft), transparent 70%),
    var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.12);
}

body.promo-active .tarifs-promo-note strong {
  color: var(--promo-flash);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Cartes packs / branding concernées par la promo */
body.promo-active .tarifs-pack:has([data-promo-kind="site"]),
body.promo-active .tarifs-option:has([data-promo-kind="branding"]) {
  border-color: var(--promo-flash-border);
  box-shadow: 0 0 0 1px var(--promo-flash-soft);
}

body.promo-active .tarifs-pack:has([data-promo-kind="site"]) .tarifs-price-fixed,
body.promo-active .tarifs-option:has([data-promo-kind="branding"]) .tarifs-option-price-main {
  color: var(--promo-flash-text);
}
/* Fallback si :has non supporté - la note + badges suffisent */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--header-border);
  /* Pas de backdrop-filter : évite le fond qui “blanchit” au scroll */
}

/* Ligne header : container + avatar auth collé au bord droit (hors container) */
.site-header-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 4.25rem;
}

.site-header-row > .container.header-inner {
  flex: 1 1 auto;
  min-width: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  flex-shrink: 0;
  line-height: 0;
}

/*
  Header : logo_banner_* (canvas 500×220, ratio ~2.27)
  Hauteur un peu plus haute que l’ancien 992×232 pour garder une largeur lisible
*/
.site-header .logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.site-header .logo-img {
  display: block;
  height: 2.85rem; /* ~46px → largeur ~104px */
  width: auto;
  max-width: min(11.5rem, 48vw);
  object-fit: contain;
}

@media (min-width: 640px) {
  .site-header .logo-img {
    height: 3.35rem; /* ~54px → largeur ~122px */
    max-width: 13rem;
  }
}

.logo-banner {
  display: inline-block;
  line-height: 0;
}

/* Footer / marque : même asset banner, proportions 500×220 */
.logo-banner-img {
  height: 2.85rem;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo-banner-img {
    height: 3.1rem;
    max-width: 12.5rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  /* Pousse le menu vers la droite, avec espace avant les boutons */
  margin-left: auto;
  margin-right: 0.25rem;
}

.nav-desktop .nav-link,
.nav-desktop > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.25;
}

.nav-desktop .nav-link:hover,
.nav-desktop > a:hover,
.nav-item.has-dropdown.is-open > .nav-trigger {
  color: var(--text);
  background: var(--bg-muted);
}
.nav-caret {
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.15s ease;
}

.nav-item.has-dropdown.is-open .nav-caret,
.nav-mobile-group.is-open .nav-caret {
  transform: rotate(180deg);
}

/* Outils gratuits : le libellé mène au hub, le chevron ouvre la liste */
.nav-trigger--split {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 0.5rem;
  color: var(--text-secondary);
}

.nav-trigger--split > .nav-link {
  padding-right: 0.15rem;
  background: transparent;
}

.nav-item.has-dropdown:hover > .nav-trigger--split > .nav-link,
.nav-item.has-dropdown.is-open > .nav-trigger--split > .nav-link,
.nav-item.has-dropdown.is-hover > .nav-trigger--split > .nav-link,
.nav-trigger--split > .nav-link:hover,
.nav-trigger--split > .nav-link[aria-current="page"] {
  background: transparent;
  color: var(--text);
}

.nav-caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 1.65rem;
  margin-right: 0.15rem;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

/* Dropdown desktop */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13.5rem;
  /* Petit décalage visuel, comblé par ::before pour le hit-test souris */
  margin: 0.2rem 0 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  z-index: 80;
  display: none;
}

/* Pont invisible entre le bouton et le panneau (évite la fermeture au passage) */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.55rem;
  height: 0.6rem;
}

.nav-item.has-dropdown.is-open .nav-dropdown,
.nav-item.has-dropdown.is-hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  display: block;
}

.nav-item.has-dropdown.is-open > .nav-trigger,
.nav-item.has-dropdown.is-hover > .nav-trigger {
  color: var(--text);
  background: var(--bg-muted);
}
/* Desktop : hover pur (classe is-hover gérée en JS avec délai de sortie) */
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-dropdown:hover .nav-dropdown {
    display: block;
  }

  .nav-item.has-dropdown:hover > .nav-trigger {
    color: var(--text);
    background: var(--bg-muted);
  }}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown a:has(.nav-badge),
.nav-mobile-sub a:has(.nav-badge) {
  width: 100%;
  justify-content: space-between;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  box-sizing: border-box;
  height: 1.15rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--accent-on);
  background: var(--accent);
}

.nav-dropdown a:hover {
  color: var(--text);
  background: var(--bg-muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: 1.25rem;
}

@media (min-width: 1024px) {
  .header-actions {
    margin-left: 1.75rem;
    gap: 0.75rem;
  }

  .nav-desktop {
    gap: 0.35rem;
    margin-right: 0;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
  padding: 0;
  flex-shrink: 0;
}

.icon-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
/* Même hauteur que le CTA (.btn min-height 2.875rem) */
.header-actions .icon-btn {
  width: 2.875rem;
  height: 2.875rem;
  min-height: 2.875rem;
  border-radius: 0.75rem;
  border-width: 2px;
  border-color: var(--border-strong);
}

.header-actions .header-cta {
  min-height: 2.875rem;
  height: 2.875rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Deux CTA : audit primaire à gauche, contact secondaire à droite */
@media (max-width: 1199px) {
  .header-actions .header-cta {
    padding-inline: 0.7rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-desktop {
    gap: 0.1rem;
  }

  .nav-desktop .nav-link,
  .nav-desktop > a {
    padding: 0.4rem 0.45rem;
    font-size: 0.8125rem;
  }

  .header-actions {
    margin-left: 0.65rem;
    gap: 0.4rem;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile : pas de nav desktop → actions collées à droite */
@media (max-width: 1023px) {
  .header-actions {
    margin-left: auto;
  }
}

/* Mobile nav */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 0.75rem 0 1rem;
}

.nav-mobile.is-open {
  display: block;
  max-height: calc(100vh - 4.25rem - var(--promo-banner-height, 0px));
  max-height: calc(100dvh - 4.25rem - var(--promo-banner-height, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1023px) {
  html.nav-open,
  html.nav-open body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  html.nav-open body {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
  }

  body.has-tarifs-mobile-bar .nav-mobile.is-open {
    padding-bottom: calc(16.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1024px) {
  .nav-mobile,
  .nav-mobile.is-open {
    display: none;
  }
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .nav-mobile nav {
    padding-inline: 1.5rem;
  }
}

.nav-mobile a {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-mobile a:hover {
  background: var(--bg-muted);
  color: var(--text);
}
.nav-mobile-group {
  display: flex;
  flex-direction: column;
}

.nav-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  font: inherit;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
}

.nav-mobile-trigger:hover,
.nav-mobile-group.is-open > .nav-mobile-trigger {
  background: var(--bg-muted);
  color: var(--text);
}

.nav-mobile-trigger--split {
  padding: 0.2rem 0.35rem 0.2rem 0.35rem;
}

.nav-mobile .nav-mobile-trigger--split > a {
  flex: 1;
  padding: 0.55rem 0.5rem;
  color: inherit;
  font-weight: inherit;
}

.nav-mobile .nav-mobile-trigger--split > a:hover,
.nav-mobile .nav-mobile-trigger--split > a[aria-current="page"] {
  background: transparent;
  color: var(--text);
}

.nav-mobile-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.15rem 0 0.35rem 0.75rem;
}

/* display:flex ci-dessus gagne sur [hidden] du UA : forcer la fermeture */
.nav-mobile-sub[hidden] {
  display: none !important;
}

.nav-mobile-sub a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* Téléphone : les CTA du header sont masqués, on les retrouve en tête du menu */
.nav-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.nav-mobile-ctas .btn {
  margin-top: 0;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.75rem;
}

@media (min-width: 640px) {
  .nav-mobile-ctas {
    display: none;
  }
}

.nav-mobile a.btn-primary {
  background: var(--jaune-moutarde);
  color: var(--noir-spatial);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 158, 0, 0.28);
  font-weight: 600;
}

.nav-mobile a.btn-primary:hover {
  background: var(--jaune-moutarde-hover);
  color: var(--noir-spatial);
}

.nav-mobile a.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-strong);
  font-weight: 600;
}

.nav-mobile a.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 60%;
  background: radial-gradient(
    ellipse,
    rgba(39, 39, 87, 0.35),
    transparent 65%
  );
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 4.5rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

/* Highlight titres hero : jaune moutarde volontaire (même en light) */
.hero h1 .highlight,
.svc-hero-title .highlight,
.tarifs-hero .section-title .highlight,
.about-hero .section-title .highlight {
  color: var(--jaune-moutarde);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: var(--bg-card);
  line-height: 0;
  /* Pas de ratio forcé : l’image impose ses proportions (évite le crop) */
}

.hero-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* ============================================================
   Hero accueil - composition marketing animée (hm-*)
   ============================================================ */

.hero-media.hero-visual {
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  line-height: normal;
  border-radius: 0;
}

.hm-stage {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1.35rem 0.85rem 1.6rem;
  isolation: isolate;
}

.hm-glow {
  position: absolute;
  z-index: 0;
  inset: 8% 5% 12% 5%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(39, 39, 87, 0.42) 0%,
    rgba(39, 39, 87, 0.18) 42%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92);
}
/* Browser mock */
.hm-browser {
  position: relative;
  z-index: 2;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}
.hm-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.hm-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--gris-ardoise);
  opacity: 0.5;
  flex-shrink: 0;
}

.hm-dot:first-child {
  background: #e05a45;
  opacity: 0.85;
}

.hm-dot:nth-child(2) {
  background: #e8b84a;
  opacity: 0.85;
}

.hm-dot:nth-child(3) {
  background: #3cb371;
  opacity: 0.75;
}

.hm-url {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  flex: 1;
  min-width: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-lock {
  width: 0.62rem;
  height: 0.62rem;
  flex-shrink: 0;
  border-radius: 0.1rem 0.1rem 0.14rem 0.14rem;
  background: rgba(60, 179, 113, 0.9);
  position: relative;
}

.hm-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0.36rem;
  height: 0.26rem;
  margin-left: -0.18rem;
  border: 1.5px solid rgba(60, 179, 113, 0.95);
  border-bottom: none;
  border-radius: 0.22rem 0.22rem 0 0;
}

.hm-browser-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(
    165deg,
    var(--bg-card) 0%,
    rgba(39, 39, 87, 0.32) 100%
  );
}
.hm-row {
  opacity: 0;
  transform: translateY(10px);
}

.hm-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hm-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.4), rgba(var(--accent-rgb), 0.08)),
    var(--bg-muted);
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  position: relative;
}

.hm-logo::after {
  content: "";
  position: absolute;
  inset: 28% 30% 32% 30%;
  border-radius: 0.22rem;
  background: var(--accent);
}

.hm-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.hm-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.hm-zone {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.hm-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.48rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(39, 39, 87, 0.22);
  border: 1px solid rgba(39, 39, 87, 0.4);
}
.hm-stars {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--jaune-moutarde);
  line-height: 1;
}

.hm-rating-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.hm-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.62rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.hm-btn svg {
  flex-shrink: 0;
}

.hm-btn--call {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.hm-btn--devis {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.hm-gallery-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hm-gallery-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.hm-thumb {
  display: block;
  aspect-ratio: 1.15;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.14), transparent 60%),
    var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.hm-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272757' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  opacity: 0.85;
}

.hm-thumb:nth-child(2) {
  background:
    linear-gradient(200deg, rgba(39, 39, 87, 0.4), transparent 55%),
    var(--bg-muted);
}

.hm-thumb:nth-child(3) {
  background:
    linear-gradient(120deg, rgba(var(--accent-rgb), 0.2), transparent 50%),
    var(--bg-muted);
}

.hm-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hm-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

/* Floating badges */
.hm-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
}
.hm-badge-stars {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--jaune-moutarde);
  line-height: 1;
}

.hm-badge-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  flex-shrink: 0;
}

.hm-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.hm-badge-text strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
}

.hm-badge--reviews {
  top: 0.2rem;
  right: 0.35rem;
}

/* À gauche, bas du mock : ne pas recouvrir les CTA Appeler / Devis */
.hm-badge--local {
  top: auto;
  right: auto;
  left: 0.25rem;
  bottom: 4.75rem;
}

/* Toast conversion */
.hm-toast {
  position: absolute;
  z-index: 4;
  left: auto;
  right: 0.35rem;
  bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: var(--bg-card);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(var(--accent-rgb), 0.08);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}
.hm-toast-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
  flex-shrink: 0;
}

.hm-toast-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
}

.hm-toast-text strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
}

/* ---- Animations (déclenchées par .reveal.is-visible) ---- */

.hero-visual.is-visible .hm-glow {
  animation: hm-glow-breathe 5s ease-in-out 0.35s both infinite;
}

.hero-visual.is-visible .hm-browser {
  animation: hm-browser-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual.is-visible .hm-brand {
  animation: hm-row-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.hero-visual.is-visible .hm-rating {
  animation: hm-row-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero-visual.is-visible .hm-actions {
  animation: hm-row-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero-visual.is-visible .hm-gallery-block {
  animation: hm-row-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both;
}

.hero-visual.is-visible .hm-trust {
  animation: hm-row-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
}

.hero-visual.is-visible .hm-btn--call {
  animation: hm-pulse-glow 2.6s ease-in-out 0.9s infinite;
}

/* Entrée (opacity) + float (transform) = propriétés distinctes, pas de conflit */
.hero-visual.is-visible .hm-badge--reviews {
  animation: hm-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both,
    hm-float 4.2s ease-in-out 0.95s infinite;
}

.hero-visual.is-visible .hm-badge--local {
  animation: hm-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both,
    hm-float-alt 4.8s ease-in-out 1.1s infinite;
}

.hero-visual.is-visible .hm-toast {
  animation: hm-toast-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

.hero-visual.is-visible .hm-toast-dot {
  animation: hm-dot-pulse 2s ease-in-out 1.2s infinite;
}

@keyframes hm-glow-breathe {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  12% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 0.88;
    transform: scale(1);
  }
}

@keyframes hm-browser-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hm-row-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hm-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hm-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes hm-float-alt {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes hm-toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hm-pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
  }
  50% {
    box-shadow: 0 4px 22px rgba(var(--accent-rgb), 0.55);
  }
}

@keyframes hm-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0.08);
  }
}

/* Mobile : pastilles plus discrètes, pas de débordement */
@media (max-width: 639px) {
  .hm-stage {
    padding: 1rem 0.35rem 1.35rem;
    max-width: 22rem;
  }

  .hm-badge--reviews {
    top: 0.1rem;
    right: 0.15rem;
    padding: 0.45rem 0.6rem;
  }

  .hm-badge--local {
    left: 0.15rem;
    bottom: 4.35rem;
  }

  .hm-toast {
    left: auto;
    right: 0.2rem;
    bottom: 0.2rem;
    padding: 0.55rem 0.7rem;
  }
}

@media (min-width: 900px) {
  .hm-stage {
    max-width: 30rem;
    padding: 1.5rem 1.25rem 1.85rem;
  }

  .hm-badge--reviews {
    top: 0.35rem;
    right: 0.55rem;
  }

  .hm-badge--local {
    left: 0.15rem;
    bottom: 5rem;
  }

  .hm-toast {
    left: auto;
    right: 0.45rem;
    bottom: 0.45rem;
  }
}

/* Cards & grids */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Services : contenu des cartes centré */
#services .card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#services .card-icon {
  margin-left: auto;
  margin-right: auto;
}

#services .card p {
  max-width: 20rem;
}

#services .card-link-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}

#services .card-audit {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

#services .card-audit:hover,
#services .card-audit:focus-visible {
  color: var(--accent-hover);
}

#services .card-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* Problems section */
.problems {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

/* Lead Constat un peu plus large (le <br> garde Acrux en tête de 2e ligne) */
#problemes .section-lead {
  max-width: min(42rem, 100%);
}

.problem-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .problem-list {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.problem-col,
.solution-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.problem-item,
.solution-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.problem-item {
  border-left: 3px solid var(--erreur);
}

.solution-item {
  border-left: 3px solid var(--succes);
}

/* Croix / check bien visibles */
.item-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}

.item-icon--cross {
  background: rgba(194, 59, 34, 0.18);
  color: #e05a45;
  box-shadow: inset 0 0 0 1.5px rgba(194, 59, 34, 0.55);
}

.item-icon--check {
  background: rgba(46, 139, 87, 0.18);
  color: #3cb371;
  box-shadow: inset 0 0 0 1.5px rgba(46, 139, 87, 0.55);
}
.problem-item strong,
.solution-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
  font-size: 0.975rem;
}

.problem-item > div > span,
.solution-item > div > span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.vs-badge {
  display: none;
  align-self: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 800;
  font-size: 0.75rem;
  place-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .vs-badge {
    display: grid;
  }
}

/* Titres de colonnes - plus visibles / importants */
.col-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0 0 0.65rem;
  color: var(--text);
  line-height: 1.25;
}

.col-title-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  flex-shrink: 0;
}

.col-title--problem .col-title-icon {
  background: rgba(194, 59, 34, 0.16);
  color: #e05a45;
  box-shadow: inset 0 0 0 1px rgba(194, 59, 34, 0.4);
}

.col-title--solution .col-title-icon {
  background: rgba(46, 139, 87, 0.16);
  color: #3cb371;
  box-shadow: inset 0 0 0 1px rgba(46, 139, 87, 0.4);
}

.col-title--problem {
  color: var(--text);
}

.col-title--solution {
  color: var(--text);
}

@media (min-width: 768px) {
  .col-title {
    font-size: 1.25rem;
  }
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1;
  margin: 0 auto 1rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.step p {
  margin: 0 auto;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 18rem;
}

/* Advantages */
.advantage-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage {
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.advantage-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.advantage h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.advantage p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* FAQ */
.faq-list {
  margin-top: 2.5rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 48rem;
}


.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:hover {
  /* Bleu nuit soft (jamais jaune) */
  background: rgba(39, 39, 87, 0.28);
}
.faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
  line-height: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  content: "";
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  margin: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-12%, -12%);
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: transparent;
  border-color: transparent;
  color: var(--text);
}
.faq-panel {
  display: none;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-block {
  padding: 1.25rem;
  border-radius: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.contact-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.contact-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.contact-block a.phone,
.contact-block a.mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

.contact-block a.phone:hover,
.contact-block a.mail:hover {
  color: var(--accent-hover);
}

.contact-block--phone {
  position: relative;
  padding-right: 3.5rem;
}

.contact-phone-photo {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 16%;
  background: var(--bg-muted);
}

.form-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-operator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  padding: 0 0 1.05rem;
  border-bottom: 1px solid var(--border);
}

.contact-operator-photo,
.contact-submit-op-photo {
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 50%;
  background: var(--bg-muted);
}

.contact-operator-photo {
  width: 3.5rem;
  height: 3.5rem;
}

.contact-operator-meta {
  min-width: 0;
}

.contact-operator-name,
.contact-operator-role,
.contact-operator-line {
  margin: 0;
  text-align: left;
}

.contact-operator-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.contact-operator-role {
  margin-top: 0.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.contact-operator-line {
  margin-top: 0.12rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

.contact-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.contact-submit-op {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.contact-submit-op-photo {
  width: 1.75rem;
  height: 1.75rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.field .hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--erreur);
  box-shadow: 0 0 0 3px var(--error-bg);
}

.field-error {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--erreur);
  line-height: 1.35;
}

.field-error[hidden] {
  display: none;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field[hidden] {
  display: none;
}

.estimation-fold details {
  margin: 0;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.estimation-fold summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.75rem;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.estimation-fold summary::-webkit-details-marker {
  display: none;
}

.estimation-fold-kicker {
  grid-column: 1;
  font-size: 0.875rem;
  font-weight: 700;
}

.estimation-fold-toggle {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.estimation-fold-toggle::after {
  content: "Voir le détail";
}

.estimation-fold details[open] .estimation-fold-toggle::after {
  content: "Replier";
}

.estimation-fold-teaser {
  grid-column: 1;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
}

.estimation-fold-body {
  padding: 0 0.95rem 0.95rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

.estimation-fold-body p {
  margin: 0 0 0.55rem;
}

.estimation-svc-name {
  margin: 0 0 0.15rem !important;
  font-weight: 700;
  color: var(--text);
}

.estimation-svc-name a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.estimation-svc-goal {
  margin: 0 0 0.85rem !important;
  font-size: 0.8125rem;
}

.estimation-price-now {
  font-weight: 700;
  color: var(--text);
}

.estimation-price-was {
  margin-left: 0.4rem;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
}

.estimation-promo {
  margin-left: 0.4rem;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--erreur);
}

.estimation-gain {
  margin-left: 0.4rem;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--accent);
}

.checkbox-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.checkbox-field input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: var(--success-bg);
  color: var(--succes);
  border: 1px solid rgba(46, 139, 87, 0.35);
}

.form-status.error {
  background: var(--error-bg);
  color: var(--erreur);
  border: 1px solid rgba(194, 59, 34, 0.35);
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

.form-status.info {
  background: rgba(74, 111, 165, 0.12);
  color: var(--info);
  border: 1px solid rgba(74, 111, 165, 0.3);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--off-white);
  padding: 4rem 0 1.75rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
}

/* Pied de page un peu plus large que le contenu principal (liens sur 1 ligne) */
.site-footer > .container {
  max-width: 1280px;
}

.footer-grid {
  display: grid;
  gap: 2.5rem 1.75rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    /* Marque + Liens + Services + Outils */
    grid-template-columns:
      minmax(12.5rem, 1.3fr)
      minmax(8.5rem, 0.95fr)
      minmax(9rem, 1fr)
      minmax(13rem, 1.25fr);
    gap: 2rem 2.5rem;
  }
}

.footer-brand .logo {
  color: var(--off-white);
  margin-bottom: 0.85rem;
}

.footer-slogan {
  font-size: 0.9375rem;
  color: rgba(248, 247, 244, 0.75);
  margin: 0 0 0.85rem;
  max-width: 18rem;
}

.footer-zone {
  margin: 1.75rem 0 0;
  width: 100%;
  max-width: none;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(248, 247, 244, 0.75);
}

.footer-zone + .footer-bottom {
  margin-top: 1.35rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
}

.footer-contact-link {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-white);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.footer-contact-link:hover {
  color: #c8c8e8;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: 0;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.footer-google:hover,
.footer-google:focus-visible {
  background: transparent;
  opacity: 0.65;
}

.footer-google:focus-visible {
  outline: 2px solid rgba(248, 247, 244, 0.55);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.footer-google svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

/* Masqués tant que les URL réseaux ne sont pas renseignées.
   Pour réactiver : remplacer display: none par display: flex. */
.social-links {
  display: none;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-links a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(248, 247, 244, 0.18);
  display: grid;
  place-items: center;
  color: var(--off-white);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.social-links a:hover {
  background: rgba(248, 247, 244, 0.1);
  border-color: rgba(200, 200, 232, 0.45);
  color: #c8c8e8;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* Intitulés colonnes footer : jaune moutarde */
  color: var(--jaune-moutarde);
}

/* Le titre de colonne peut être un lien sans prendre le style des liens de liste */
.footer-col h3 a,
.footer-col:has([href*="/outils-gratuits/"]) h3 a {
  display: inline;
  width: auto;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
  text-align: inherit;
  white-space: nowrap;
  background: transparent;
}

.footer-col h3 a:hover,
.footer-col h3 a:active,
.footer-col:has([href*="/outils-gratuits/"]) h3 a:hover,
.footer-col:has([href*="/outils-gratuits/"]) h3 a:active {
  color: inherit;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(248, 247, 244, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

/* Desktop : titres courts sur une ligne ; Outils peuvent passer à la ligne */
@media (min-width: 900px) {
  .footer-col a {
    white-space: nowrap;
  }

  .footer-col:has([href*="/outils-gratuits/"]) a {
    white-space: normal;
    overflow-wrap: break-word;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .footer-col:has([href*="/outils-gratuits/"]) ul {
    gap: 0.8rem;
  }
}

/* Pied de page : hover = souligné bleu clair, sans fond */
.footer-col a:hover {
  color: #c8c8e8;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  background: transparent;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 247, 244, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(248, 247, 244, 0.55);
}

.footer-bottom a:hover {
  color: #c8c8e8;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-legal li + li::before {
  content: "\00b7";
  margin: 0 0.4em;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== Service : Création de site web optimisé ========== */
.svc-hero {
  padding: 3.25rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.svc-hero::before {
  content: "";
  position: absolute;
  inset: -25% 30% auto -15%;
  height: 65%;
  background: radial-gradient(
    ellipse,
    rgba(39, 39, 87, 0.35),
    transparent 65%
  );
  pointer-events: none;
}
.svc-hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .svc-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.svc-hero-title {
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  color: var(--text);
}

.svc-hero-title .highlight {
  color: var(--jaune-moutarde);
  display: inline;
}

.svc-hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  max-width: 34rem;
}

.svc-hero-reassure {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text);
}

.svc-check {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: rgba(46, 139, 87, 0.18);
  box-shadow: inset 0 0 0 1.5px rgba(46, 139, 87, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233cb371' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.7rem;
  background-repeat: no-repeat;
  background-position: center;
}

.svc-hero-panel {
  justify-self: center;
  width: 100%;
  max-width: 22rem;
}

.svc-mock {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.svc-mock-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.svc-mock-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--gris-ardoise);
  opacity: 0.5;
}

.svc-mock-bar span:first-child {
  background: #e05a45;
  opacity: 0.85;
}

.svc-mock-body {
  padding: 1.35rem 1.25rem 1.5rem;
  background: linear-gradient(
    160deg,
    var(--bg-card) 0%,
    rgba(39, 39, 87, 0.35) 100%
  );
}
.svc-mock-line {
  height: 0.65rem;
  border-radius: 999px;
  background: var(--border-strong);
  margin-bottom: 0.65rem;
  width: 88%;
}

.svc-mock-line--lg {
  height: 1rem;
  width: 70%;
  background: var(--text-muted);
  opacity: 0.45;
}

.svc-mock-line--sm {
  width: 55%;
}

.svc-mock-cta {
  width: 7.5rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  background: var(--accent);
  margin: 1.1rem 0 1rem;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.svc-mock-row {
  display: flex;
  gap: 0.5rem;
}

.svc-mock-chip {
  flex: 1;
  height: 3.5rem;
  border-radius: 0.55rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.svc-mock-caption {
  text-align: center;
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============================================================
   Création site - hero mock artisan (éléments clés vitrine)
   ============================================================ */

.svc-hero-panel--wide {
  max-width: 28rem;
}

.cs-site-mock {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cs-site-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.cs-site-mock-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--gris-ardoise);
  opacity: 0.5;
  flex-shrink: 0;
}

.cs-site-mock-dot:first-child {
  background: #e05a45;
  opacity: 0.85;
}

.cs-site-mock-dot:nth-child(2) {
  background: #e8b84a;
  opacity: 0.85;
}

.cs-site-mock-dot:nth-child(3) {
  background: #3cb371;
  opacity: 0.75;
}

.cs-site-mock-url {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  flex: 1;
  min-width: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-site-mock-lock {
  width: 0.65rem;
  height: 0.65rem;
  flex-shrink: 0;
  border-radius: 0.1rem 0.1rem 0.15rem 0.15rem;
  background: rgba(60, 179, 113, 0.85);
  position: relative;
  box-shadow: 0 -0.2rem 0 -0.05rem transparent;
}

.cs-site-mock-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0.38rem;
  height: 0.28rem;
  margin-left: -0.19rem;
  border: 1.5px solid rgba(60, 179, 113, 0.9);
  border-bottom: none;
  border-radius: 0.25rem 0.25rem 0 0;
}

.cs-site-mock-body {
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(
    160deg,
    var(--bg-card) 0%,
    rgba(39, 39, 87, 0.28) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cs-site-mock-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cs-site-mock-logo {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  flex-shrink: 0;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-rgb), 0.08)),
    var(--bg-muted);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08);
  position: relative;
}

.cs-site-mock-logo::after {
  content: "";
  position: absolute;
  inset: 28% 30% 32% 30%;
  border-radius: 0.2rem;
  background: var(--accent);
  opacity: 0.9;
}

.cs-site-mock-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.cs-site-mock-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.cs-site-mock-zone {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.cs-site-mock-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  background: rgba(39, 39, 87, 0.22);
  border: 1px solid rgba(39, 39, 87, 0.4);
}
.cs-site-mock-stars {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--jaune-moutarde);
  line-height: 1;
}

.cs-site-mock-rating-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.cs-site-mock-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.45rem;
}

.cs-site-mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.cs-site-mock-btn svg {
  flex-shrink: 0;
}

.cs-site-mock-btn--call {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.28);
}

.cs-site-mock-btn--devis {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.cs-site-mock-gallery-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cs-site-mock-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: -0.35rem;
}

.cs-site-mock-thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 0.45rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), transparent 60%),
    var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.cs-site-mock-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272757' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.15rem;
  opacity: 0.85;
}

.cs-site-mock-thumb:nth-child(2) {
  background:
    linear-gradient(200deg, rgba(39, 39, 87, 0.35), transparent 55%),
    var(--bg-muted);
}

.cs-site-mock-thumb:nth-child(3) {
  background:
    linear-gradient(120deg, rgba(var(--accent-rgb), 0.18), transparent 50%),
    var(--bg-muted);
}

.cs-site-mock-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cs-site-mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.cs-site-mock-chip svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

/* Features grid */
.svc-feature-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .svc-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-feature {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.3rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color 0.2s ease;
}

.svc-feature:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
}

.svc-feature-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}

.svc-feature-body {
  min-width: 0;
  flex: 1;
}

.svc-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
}

.svc-feature p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.svc-footnote {
  margin: 2rem auto 0;
  text-align: center;
  max-width: 32rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.svc-footnote strong {
  color: var(--accent);
}

/* Process steps */
.svc-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

@media (min-width: 768px) {
  .svc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.svc-step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

.svc-step h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.svc-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  max-width: 18rem;
}

.svc-delay-card {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.svc-delay-card p {
  margin: 0 0 0.55rem;
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.svc-delay-card p:last-child {
  margin-bottom: 0;
}

.svc-delay-card strong {
  color: var(--text);
}

.svc-delay-note {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-strong);
  font-weight: 600;
  color: var(--text) !important;
}

/* Packs */
.pack-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.75rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .pack-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

.pack-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: 1.55rem 1.4rem 1.45rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pack-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: var(--shadow);
}

.pack-card--featured {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.18), var(--shadow);
}

@media (min-width: 960px) {
  .pack-card--featured {
    transform: translateY(-0.35rem);
  }
}

.pack-head {
  margin-bottom: 1.15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.pack-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
}

.pack-badge--accent {
  background: var(--accent);
  color: var(--accent-on);
}

.pack-badge--dark {
  background: var(--bleu-nuit);
  color: var(--off-white);
  border: 1px solid rgba(255, 158, 0, 0.3);
}
.pack-name {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pack-pitch {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pack-section {
  margin-bottom: 1.1rem;
  flex: 1;
}

.pack-section--muted {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem 0.95rem 0.9rem;
  flex: 0 0 auto;
  margin-bottom: 1.25rem;
}

.pack-section h4 {
  margin: 0 0 0.7rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.pack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pack-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.pack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background-color: rgba(46, 139, 87, 0.16);
  box-shadow: inset 0 0 0 1.5px rgba(46, 139, 87, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233cb371' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.65rem;
  background-repeat: no-repeat;
  background-position: center;
}

.pack-list li strong {
  color: var(--text);
  font-weight: 600;
}

.pack-cta {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pack-card .pack-cta {
  margin-top: auto;
}

/* Constants + why */
.svc-constants {
  list-style: none;
  margin: 2.25rem auto 0;
  padding: 0;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.svc-constants li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  font-size: 0.975rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

/*
 * CTA bas de page services : même largeur que le .container de page.
 * (HTML = class="container svc-why" — ne pas plafonner max-width ici)
 */
.container.svc-why,
.svc-why.container {
  max-width: 1240px; /* aligné sur .layout-wide (accueil / services) */
  width: 100%;
}

.svc-why-card {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: 2.75rem 2rem 2.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(39, 39, 87, 0.55),
    rgba(18, 20, 26, 0.9)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.28);
}

@media (min-width: 640px) {
  .svc-why-card {
    padding: 3.25rem 3rem 3rem;
  }
}

@media (min-width: 900px) {
  .svc-why-card {
    padding: 3.5rem 3.5rem 3.25rem;
  }
}
.svc-why-card .section-title {
  margin-bottom: 1.15rem;
  color: var(--off-white);
}

.svc-why-card p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  /* Fond carte toujours bleu nuit → texte clair */
  color: rgba(248, 247, 244, 0.82);
}

.svc-why-strong {
  font-weight: 700 !important;
  color: var(--off-white) !important;
  margin-bottom: 2rem !important;
}

.svc-why-card .btn {
  margin-top: 0.35rem;
}

/* Secondaire sur fond bleu nuit (svc-why-card, cta-banner) : contour clair */
.svc-why-card .btn-secondary,
.cta-banner .btn-secondary {
  color: var(--off-white);
  border-color: rgba(248, 247, 244, 0.45);
  background: transparent;
}

.svc-why-card .btn-secondary:hover,
.cta-banner .btn-secondary:hover {
  color: var(--jaune-moutarde);
  border-color: var(--jaune-moutarde);
  background: rgba(255, 158, 0, 0.12);
}

/* ========== Visibilité locale ========== */
.svc-hero-lead--tight {
  margin-top: -0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Ancien mock carte (conservé si réutilisé ailleurs) */
.vl-map-mock {
  position: relative;
  height: 16rem;
  border-radius: 1.15rem;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 30% 40%, rgba(var(--accent-rgb), 0.12), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(39, 39, 87, 0.5), transparent 45%),
    var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.vl-map-mock::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 230, 225, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 230, 225, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.vl-map-pin {
  position: absolute;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px 999px 999px 0.25rem;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-on);
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  line-height: 1;
}

.vl-map-pin span {
  transform: rotate(45deg);
  display: block;
}

.vl-map-pin--1 {
  top: 28%;
  left: 42%;
}

.vl-map-pin--2 {
  top: 48%;
  left: 58%;
  opacity: 0.55;
  background: var(--gris-perle);
}

.vl-map-pin--3 {
  top: 55%;
  left: 32%;
  opacity: 0.45;
  background: var(--gris-perle);
}

.vl-map-you {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

/* ============================================================
   Visibilité locale - hero recherche Google animé
   ============================================================ */

.vl-hero {
  width: 100%;
  transition: opacity 0.45s ease;
}

.vl-hero.is-fading {
  opacity: 0.35;
}

.vl-hero-frame {
  border-radius: 1.1rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.vl-hero-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.vl-hero-g {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
}

.vl-hero-g svg {
  display: block;
}

.vl-hero-query {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vl-hero-caret {
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  margin-left: 1px;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: vl-caret-blink 0.9s step-end infinite;
}

.vl-hero-caret.is-hidden {
  display: none;
}

@keyframes vl-caret-blink {
  50% {
    opacity: 0;
  }
}

.vl-hero-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* 2 colonnes seulement à partir de tablettes étroites (évite squeeze / overflow mobile) */
@media (min-width: 560px) {
  .vl-hero-body {
    grid-template-columns: 1.35fr 0.9fr;
  }
}

.vl-hero-results {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 12.5rem;
}

.vl-hero-result {
  margin: 0;
  padding: 0.55rem 0.55rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.vl-hero-result.is-visible {
  opacity: 1;
  transform: none;
}

.vl-hero-result--you {
  border-color: rgba(var(--accent-rgb), 0.22);
}

.vl-hero-result--you.is-boost {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.1),
    var(--bg-muted) 55%
  );
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

.vl-hero.is-fred-first .vl-hero-result--you {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.12);
}

.vl-hero-result-top {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.vl-hero-rank {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-top: 0.1rem;
}

.vl-hero-result--you .vl-hero-rank {
  color: var(--accent-on);
  background: var(--accent);
  border-color: transparent;
}

.vl-hero-result-main {
  flex: 1;
  min-width: 0;
}

.vl-hero-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin-bottom: 0.2rem;
}

.vl-hero-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.vl-hero-you {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  line-height: 1.2;
}

.vl-hero-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.3rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease, border-color 0.25s ease;
}

.vl-hero-site.is-on {
  opacity: 1;
  transform: scale(1);
  color: #1a73e8;
  border-color: rgba(26, 115, 232, 0.35);
}
.vl-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  font-size: 0.68rem;
  line-height: 1.2;
}

.vl-hero-stars {
  color: var(--jaune-moutarde);
  letter-spacing: 0.02em;
  font-size: 0.62rem;
}

.vl-hero-score {
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.vl-hero-reviews {
  color: var(--text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vl-hero-status {
  margin: 0.25rem 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.3;
}

.vl-hero-status--open {
  color: #3cb371;
}

.vl-hero-status--closed {
  color: var(--text-muted);
}

.vl-hero-closed-label {
  color: #ea4335;
  font-weight: 800;
}

.vl-hero-acrux {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.45rem;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  opacity: 0;
  transform: translateX(12px) scale(0.96);
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-width: 0;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.4s ease,
    margin 0.4s ease,
    padding 0.4s ease,
    border-width 0.3s ease;
}

.vl-hero-acrux.is-in {
  opacity: 1;
  transform: none;
  max-height: 3rem;
  margin-top: 0.4rem;
  padding: 0.3rem 0.4rem;
  border-width: 1px;
}

.vl-hero-acrux-img {
  height: 1.05rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.vl-hero-acrux-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* Mini Maps (détails type plan de ville) */
.vl-hero-map {
  position: relative;
  min-height: 9.5rem;
  border-top: 1px solid var(--border);
  background: #1c2430;
  overflow: hidden;
}

@media (min-width: 560px) {
  .vl-hero-map {
    min-height: 100%;
    border-top: none;
    border-left: 1px solid var(--border);
  }
}
.vl-hero-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.vl-map-ground {
  fill: #1c2430;
}
.vl-map-park {
  fill: rgba(61, 120, 72, 0.45);
}
.vl-map-blocks rect {
  fill: rgba(90, 100, 118, 0.55);
  stroke: rgba(120, 130, 148, 0.35);
  stroke-width: 0.6;
}
.vl-map-river {
  fill: none;
  stroke: rgba(70, 140, 190, 0.75);
  stroke-width: 9;
  stroke-linecap: round;
}
.vl-map-river-edge {
  fill: none;
  stroke: rgba(100, 170, 210, 0.35);
  stroke-width: 12;
  stroke-linecap: round;
}
.vl-map-road-sec {
  fill: none;
  stroke: rgba(70, 78, 92, 0.95);
  stroke-width: 3.2;
  stroke-linecap: square;
}
.vl-map-road-main {
  fill: none;
  stroke: rgba(196, 160, 72, 0.55);
  stroke-width: 5.5;
  stroke-linecap: square;
}
.vl-map-road-dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 0.7;
  stroke-dasharray: 3 3.5;
  stroke-linecap: butt;
}
.vl-map-cross circle {
  fill: rgba(80, 88, 102, 0.9);
  stroke: rgba(196, 160, 72, 0.35);
  stroke-width: 1;
}
.vl-hero-pin {
  position: absolute;
  z-index: 2;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px 999px 999px 0.2rem;
  transform: rotate(-45deg);
  background: #ea4335;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease,
    box-shadow 0.4s ease,
    opacity 0.4s ease,
    width 0.4s ease,
    height 0.4s ease;
  opacity: 0.92;
}

/* Positions fixes (ne pas déplacer au statut winner) */
.vl-hero-pin--sos {
  top: 22%;
  left: 48%;
}

.vl-hero-pin--aqua {
  top: 52%;
  left: 62%;
  opacity: 0.85;
}

.vl-hero-pin--fred {
  top: 58%;
  left: 28%;
  z-index: 3;
}

.vl-hero-pin.is-dim {
  opacity: 0.55;
}

/* Pin gagnant : jaune moutarde volontaire (info clé de la démo), même en light */
.vl-hero-pin--fred.is-winner {
  width: 2.05rem;
  height: 2.05rem;
  background: var(--jaune-moutarde);
  opacity: 1;
  z-index: 4;
  box-shadow:
    0 6px 18px rgba(255, 158, 0, 0.5),
    0 0 0 4px rgba(255, 158, 0, 0.2);
  transform: rotate(-45deg) scale(1.15);
}
.vl-problem {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.vl-problem-text {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.vl-problem-text strong {
  color: var(--text);
}

.vl-problem-cta {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.vl-timeline {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 46rem;
  margin-inline: auto;
}

.vl-phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-left: 3px solid var(--accent);
}

.vl-phase-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.vl-phase h3 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.vl-phase > p {
  margin: 0 0 0.65rem;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.vl-phase > p:last-child {
  margin-bottom: 0;
}

.vl-phase-result {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-strong);
  font-weight: 600 !important;
  color: var(--text) !important;
}

.vl-bullets {
  margin: 0.35rem 0 0.65rem;
  padding-left: 1.15rem;
  list-style: disc;
  list-style-position: outside;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.vl-bullets li {
  margin-bottom: 0.35rem;
}

.vl-bullets li:last-child {
  margin-bottom: 0;
}

.vl-bullets li::marker {
  color: var(--accent);
}

.vl-audience {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.vl-audience p {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.vl-audience-strong {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin-top: 0.5rem !important;
}

.vl-cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.vl-cta-alt {
  margin: 0 !important;
  font-size: 0.9rem !important;
  opacity: 0.9;
}

.vl-cta-alt a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.svc-feature p strong {
  color: var(--text);
  font-weight: 600;
}

/* Pages outils gratuits (shell Acrux) */
.tool-page,
.qr-page,
.audit-tool-page,
.sig-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.tool-page-back,
.qr-page-back,
.audit-back {
  margin: 0 0 1.25rem;
}

.tool-page-intro,
.qr-page-intro,
.audit-intro {
  margin-bottom: 1.75rem;
  max-width: none;
}

.tool-page-intro .section-title,
.qr-page-intro .section-title,
.audit-intro .section-title {
  margin-bottom: 0.75rem;
  max-width: none;
}

.tool-page .section-lead,
.qr-page .section-lead,
.audit-tool-page .section-lead {
  max-width: none;
}

/* Bridge thème Acrux → générateur QR (suit --accent dark/light) */
.qr-page .gr-qr {
  max-width: none;
  --gr-qr-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gr-qr-radius: 12px;
  --gr-qr-radius-sm: 10px;
  --gr-qr-bg: #0a0c0d;
  --gr-qr-surface: #16181f;
  --gr-qr-border: rgba(232, 230, 225, 0.12);
  --gr-qr-border-strong: rgba(232, 230, 225, 0.2);
  --gr-qr-text: #f8f7f4;
  --gr-qr-muted: #8b8a95;
  --gr-qr-primary: var(--accent);
  --gr-qr-primary-hover: var(--accent-hover);
  --gr-qr-primary-text: var(--accent-on);
  --gr-qr-primary-soft: rgba(var(--accent-rgb), 0.14);
  --gr-qr-danger: #c23b22;
  --gr-qr-danger-bg: rgba(194, 59, 34, 0.15);
  --gr-qr-focus: var(--focus-ring);
  --gr-qr-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --gr-qr-checker: rgba(232, 230, 225, 0.08);
}
/* Bridge thème Acrux → générateur signature e-mail (suit --accent dark/light) */
.sig-page .container {
  max-width: 1320px;
}

.sig-page .gr-signature-root {
  --gr-sig-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gr-sig-radius: 12px;
  --gr-sig-radius-sm: 10px;
  --gr-sig-color-primary: var(--accent);
  --gr-sig-color-primary-hover: var(--accent-hover);
  --gr-sig-color-primary-text: var(--accent-on);
  --gr-sig-color-text: #f8f7f4;
  --gr-sig-color-muted: #8b8a95;
  --gr-sig-color-border: rgba(232, 230, 225, 0.12);
  --gr-sig-color-border-hover: rgba(232, 230, 225, 0.28);
  --gr-sig-color-bg: #16181f;
  --gr-sig-color-surface: #0a0c0d;
  --gr-sig-color-error: #c23b22;
  --gr-sig-color-error-border: rgba(194, 59, 34, 0.45);
  --gr-sig-color-error-bg: rgba(194, 59, 34, 0.12);
  --gr-sig-color-success: #3d9a6a;
  --gr-sig-color-warn: #e0a14a;
  --gr-sig-color-focus: var(--focus-ring);
  --gr-sig-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --gr-sig-max-width: none;
  padding: 0;
}

/* Sticky preview sous le header site */
@media (min-width: 960px) {
  .sig-page .gr-signature-preview-panel {
    top: 5.5rem;
  }
}

/* Aperçu signature : fond clair réaliste (clients mail) même en thème sombre */
.sig-page .gr-signature-preview-frame {
  background: #ffffff;
  border-color: rgba(42, 42, 50, 0.14);
  border-style: solid;
}

.sig-page .gr-signature-preview-frame .gr-signature-empty {
  color: #6b6a75;
}
/* Page 404 */
.error-page {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  min-height: min(70vh, 36rem);
  display: flex;
  align-items: center;
}

.error-page-inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.error-code {
  margin: 0.35rem 0 0.25rem;
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.9;
}

.error-page-inner .section-title {
  margin-bottom: 0.75rem;
}

.error-page-lead {
  margin-inline: auto;
  text-align: center;
  color: var(--text-secondary);
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.error-page-links {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.error-page-links-title {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.error-page-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.15rem;
}

.error-page-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.error-page-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Mentions légales / pages légales */
.legal-page {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/*
  Plus spécifique que le .container Tailwind (qui injecte des max-width
  par breakpoint et écrasait nos réglages).
  On garde les gouttières padding-inline du .container.
*/
.container.legal-container,
section.legal-page .container.legal-container {
  width: 100%;
  max-width: 40rem; /* ~640px - colonne lisible pour CGV / mentions */
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container.legal-container,
  section.legal-page .container.legal-container {
    max-width: 45rem; /* ~672px */
  }
}

.legal-intro {
  margin-bottom: 1.75rem;
  max-width: none;
}

.legal-disclaimer {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  text-align: left;
}

.legal-prose {
  max-width: none;
  width: 100%;
}

.legal-prose h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-prose p:last-child {
  margin-bottom: 0;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
  list-style-position: outside;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.legal-prose ul ul {
  margin: 0.4rem 0 0.15rem;
}

.legal-prose code {
  font-size: 0.92em;
}

.legal-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: decimal;
  list-style-position: outside;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.legal-prose li {
  margin-bottom: 0.4rem;
}

.legal-prose li:last-child {
  margin-bottom: 0;
}

.legal-prose li::marker {
  color: var(--accent);
}

.legal-prose strong {
  color: var(--text);
  font-weight: 600;
}

.legal-prose a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-prose a:hover {
  color: var(--accent-hover);
}

.legal-back {
  margin: 2.5rem 0 0;
}

/* Utility */
.mt-section-head {
  margin-bottom: 0.25rem;
}

.text-center {
  text-align: center;
}

.text-center .section-title {
  text-align: center;
}

.text-center .section-lead {
  margin-inline: auto;
  text-align: center;
}

.text-center .section-label {
  justify-content: center;
}

/* FAQ centrée horizontalement */
#faq .faq-list {
  margin-inline: auto;
}

/* Intro + grille avantages centrées */
#avantages .section-title {
  margin-inline: auto;
}

/* ============================================================
   Blog - liste & articles (SEO)
   ============================================================ */

.blog-page {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.blog-page-intro {
  margin-bottom: 2rem;
  max-width: none;
  width: 100%;
}

.blog-page-intro .section-title,
.blog-page-intro .section-lead {
  max-width: none;
  width: 100%;
}

.blog-page-intro .section-title {
  margin-bottom: 0.75rem;
}

.blog-page-intro .section-lead + .section-lead {
  margin-top: 0.75rem;
}

.blog-page-intro a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  color: var(--accent);
}

.blog-breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

.blog-breadcrumb-sep {
  color: var(--text-muted);
  user-select: none;
}

/* Liste d’articles */
.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card:focus-within {
  border-color: var(--accent);
  outline: 2px solid transparent;
}

.blog-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-muted);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card-title a {
  color: var(--text);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.blog-card-link:hover {
  color: var(--accent-hover);
}

/* Article layout : TOC gauche + contenu */
.article-page {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.article-header {
  margin-bottom: 1.75rem;
  max-width: none;
  width: 100%;
}

.article-header .section-title {
  margin-bottom: 0.85rem;
  max-width: none;
  width: 100%;
  font-size: clamp(1.85rem, 1.35rem + 2vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-meta time {
  color: var(--text-secondary);
}

.article-lead {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.article-hero {
  margin: 0 0 2rem;
}

.article-hero figure {
  margin: 0;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.article-prose figure {
  margin: 1.5rem 0;
}

.article-prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

/* Illustration process (SVG parcours client) - centré + dark/light */
.article-process-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.75rem auto;
  max-width: 46rem;
  text-align: center;
}

.article-process-figure .article-figcaption {
  text-align: center;
  max-width: 36rem;
}

.article-process-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 46rem;
  margin-inline: auto;
  border-radius: 14px;
  overflow: visible;
  font-family: Inter, system-ui, sans-serif;
}

/* --- Dark (défaut) --- */
.article-process-svg .pc-bg {
  fill: var(--bg-card);
  stroke: var(--border-strong);
  stroke-width: 1;
}

.article-process-svg .pc-node {
  fill: var(--bg-muted);
  stroke: rgba(var(--accent-rgb), 0.4);
  stroke-width: 1.5;
}

.article-process-svg .pc-node-done {
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 1.75;
}

.article-process-svg .pc-icon {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-process-svg .pc-num-bg {
  fill: var(--accent);
}

.article-process-svg .pc-num {
  fill: #0a0c0d;
  font-size: 11px;
  font-weight: 800;
}

.article-process-svg .pc-label {
  fill: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.article-process-svg .pc-sub {
  fill: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
}

.article-process-svg .pc-sub-head {
  font-size: 12px;
}

.article-process-svg .pc-title {
  fill: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.article-process-svg .pc-arrow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}
.article-layout {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  width: 100%;
}

/*
  Colonne gauche :
  - .article-toc-sticky-root = conteneur sticky (toute la hauteur SAUF le bouton)
  - le sommaire sticky s’arrête naturellement en bas de ce conteneur → juste au-dessus du bouton
  - .article-back = figé en bas de colonne (= fin de l’article)
*/
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.article-toc-sticky-root {
  min-width: 0;
}

@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    column-gap: 2.75rem;
    align-items: stretch;
  }

  .article-sidebar {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    /* même hauteur que la colonne article */
    height: 100%;
    min-height: 100%;
  }

  /* Occupe tout l’espace au-dessus du bouton = limite du sticky */
  .article-toc-sticky-root {
    flex: 1 1 auto;
    min-height: 0;
  }

  .article-toc {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 5.5rem - 1.25rem);
    overflow: auto;
  }

  /* Toujours en bas de la colonne, hors du conteneur sticky */
  .article-back {
    margin-top: 0;
    flex: 0 0 auto;
    background: transparent;
    box-shadow: none;
    padding-top: 0;
  }

  .article-content {
    grid-column: 2;
    grid-row: 1;
    min-height: 20rem;
  }
}

@media (min-width: 1200px) {
  .article-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 3.25rem;
  }
}

/* Sommaire / plan de navigation */
.article-toc {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.article-toc-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.article-toc a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.article-toc a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.article-toc a.is-active,
.article-toc a[aria-current="true"] {
  color: var(--text);
  border-left-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.article-content {
  min-width: 0;
  width: 100%;
  max-width: none;
}

/* Placeholders images (à remplacer plus tard) */
.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 12rem;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed var(--border-strong);
  background:
    linear-gradient(135deg, rgba(39, 39, 87, 0.35), transparent 55%),
    var(--bg-muted);
  color: var(--text-muted);
  text-align: center;
  overflow: hidden;
}

.img-placeholder--hero {
  min-height: clamp(14rem, 38vw, 22rem);
  aspect-ratio: 21 / 9;
}

.img-placeholder--inline {
  min-height: 11rem;
  margin: 1.5rem 0;
  aspect-ratio: 16 / 9;
}

.img-placeholder-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.img-placeholder-title {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-secondary);
}

.img-placeholder-hint {
  margin: 0;
  max-width: 34rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.article-figcaption {
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.article-image-credit {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

a.article-image-credit {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

a.article-image-credit:hover,
a.article-image-credit:focus-visible {
  opacity: 1;
}

/* Prose article - occupe toute la colonne (décalée à droite du sommaire) */
.article-prose {
  max-width: none;
  width: 100%;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.article-prose > * + * {
  margin-top: 1.1rem;
}

.article-prose h2 {
  margin: 2.35rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  scroll-margin-top: 5.75rem;
  text-align: left;
}

.article-prose h2:first-child {
  margin-top: 0;
}

.article-prose h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  scroll-margin-top: 5.75rem;
  text-align: left;
}

.article-prose p {
  margin: 0;
}

.article-prose ul,
.article-prose ol {
  margin: 0;
  padding-left: 1.25rem;
  list-style-position: outside;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li + li {
  margin-top: 0.4rem;
}

.article-prose li::marker {
  color: var(--accent);
}

.article-prose strong {
  color: var(--text);
  font-weight: 600;
}

.article-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-prose a:hover {
  color: var(--accent-hover);
}

.article-prose .keyword {
  color: var(--text);
  font-weight: 600;
}

/* CTA + FAQ hors colonne article : pleine largeur du container */
.article-after {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

.article-after .article-cta,
.article-after .article-faq {
  width: 100%;
  max-width: none;
}

.article-cta {
  margin: 0;
  padding: 1.75rem 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%),
    var(--bg-card);
  text-align: center;
}

.article-prose .article-cta {
  margin: 2rem 0 2.25rem;
  text-align: center;
  text-justify: auto;
  hyphens: none;
}

@media (min-width: 720px) {
  .article-cta {
    padding: 2rem 2.25rem;
  }
}

.article-cta h2,
.article-prose .article-cta h2 {
  margin: 0 auto 0.75rem;
  max-width: 40rem;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: normal;
}

.article-cta p,
.article-prose .article-cta p {
  margin: 0 auto 1.25rem;
  max-width: 44rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1.0625rem;
  text-align: center;
  text-justify: auto;
}

.article-cta p:last-child {
  margin-bottom: 0;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

.article-cta .btn,
.article-prose .article-cta a.btn {
  margin: 0;
  text-decoration: none;
  white-space: normal;
}

.article-cta .btn-primary,
.article-prose .article-cta a.btn-primary,
.article-prose .article-cta a.btn-primary:hover {
  color: var(--noir-spatial);
}

.article-cta .btn-secondary,
.article-prose .article-cta a.btn-secondary {
  color: var(--text);
}

.article-cta .btn-secondary:hover,
.article-prose .article-cta a.btn-secondary:hover {
  color: var(--accent);
}

.article-faq {
  margin-top: 2.75rem;
  width: 100%;
  max-width: none;
}

.article-faq .section-title {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.article-faq .section-lead {
  margin-bottom: 1.25rem;
  max-width: 40rem;
  font-size: 0.975rem;
}

.article-faq .faq-list {
  width: 100%;
  max-width: none;
}

.article-back {
  margin: 0;
}

.article-back .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.875rem;
  padding-inline: 0.85rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* Mobile : sommaire → article → bouton */
@media (max-width: 959px) {
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .article-sidebar {
    display: contents;
  }

  .article-toc-sticky-root {
    order: 1;
    display: contents;
  }

  .article-toc {
    order: 1;
  }

  .article-content {
    order: 2;
  }

  .article-back {
    order: 3;
    margin-top: 0.25rem;
  }
}

.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;
}

.cta-banner {
  margin-top: 2.75rem;
  padding: 1.85rem 1.75rem;
  border-radius: 1rem;
  background: linear-gradient(
    135deg,
    rgba(39, 39, 87, 0.9),
    rgba(18, 20, 26, 0.95)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .cta-banner {
    padding: 2rem 2.15rem;
    gap: 1.5rem 2rem;
  }
}
.cta-banner p {
  margin: 0;
  font-weight: 600;
  max-width: 28rem;
}
/* ============================================================
   Tarifs - estimateur ultra marketing
   ============================================================ */

.tarifs-hero {
  position: relative;
  /* Override .section : moins d’air sous le header sticky */
  padding-top: 1.75rem;
  padding-bottom: 0.75rem;
  /* clip (pas hidden) : évite un scroll interne qui coupe le haut du hero */
  overflow: hidden;
  overflow: clip;
  scroll-margin-top: calc(5.75rem + var(--promo-banner-height, 0px));
}

@media (min-width: 768px) {
  .tarifs-hero {
    padding-top: 2.25rem;
    padding-bottom: 1rem;
  }
}

.tarifs-hero-inner {
  position: relative;
}

.tarifs-hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
}

.tarifs-hero .section-title {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: none;
}

.tarifs-hero .section-title .highlight {
  /* Jaune moutarde volontaire (highlight titres) */
  color: var(--jaune-moutarde);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.tarifs-hero-lead {
  max-width: none;
  font-size: 1.05rem;
}

.tarifs-hero .section-lead {
  max-width: none;
}

.tarifs-hero-glow {
  pointer-events: none;
  position: absolute;
  right: -8%;
  top: -40%;
  width: min(480px, 55vw);
  height: min(480px, 55vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(39, 39, 87, 0.4) 0%, transparent 68%),
    radial-gradient(circle at 30% 70%, rgba(39, 39, 87, 0.45) 0%, transparent 60%);
  filter: blur(4px);
}
.tarifs-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.tarifs-trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tarifs-trust-pills svg {
  color: var(--accent);
  flex-shrink: 0;
}

.tarifs-section {
  padding-top: 1rem;
  padding-bottom: 5.75rem;
}

@media (min-width: 1024px) {
  .tarifs-section {
    padding-bottom: 4.5rem;
  }
}

/* Page tarifs : container plus large (packs + estimateur moins serrés) */
.tarifs-hero > .container,
.tarifs-section > .container {
  max-width: 1320px;
}

.tarifs-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .tarifs-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
    gap: 2.35rem;
  }
}

@media (min-width: 1280px) {
  .tarifs-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(360px, 0.95fr);
    gap: 2.75rem;
  }
}

/* -- Config -- */
.tarifs-config-head {
  margin-bottom: 1.35rem;
}

.tarifs-config-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.tarifs-kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: tarifs-live-pulse 1.8s ease-out infinite;
}

.tarifs-block-title {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
}

.tarifs-block-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
}

/* -- Steps -- */
.tarifs-fieldset {
  margin: 0 0 1.85rem;
  padding: 0;
  border: none;
  min-width: 0;
}

.tarifs-step-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
}

.tarifs-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-on);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow:
    0 0 0 4px var(--accent-soft),
    0 6px 16px rgba(var(--accent-rgb), 0.35);
}

.tarifs-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.tarifs-legend-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.tarifs-hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tarifs-link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.tarifs-link-more:hover {
  text-decoration: underline;
}

/* -- Packs -- */
.tarifs-pack-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .tarifs-pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .tarifs-pack-grid {
    gap: 1.65rem;
  }
}

.tarifs-extra-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tarifs-option {
  position: relative;
  display: block;
  margin: 0;
  border-radius: 1.15rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.tarifs-option::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 158, 0, 0.14),
    transparent 50%
  );
  transition: opacity 0.2s ease;
}

.tarifs-option:hover {
  border-color: rgba(255, 158, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

/* Pack / option sélectionné : contour jaune moutarde (même en light) */
.tarifs-option:has(input:checked),
.tarifs-option.is-selected {
  border-color: var(--jaune-moutarde);
  box-shadow:
    0 0 0 1px var(--jaune-moutarde),
    0 16px 40px rgba(255, 158, 0, 0.2);
}

.tarifs-option:has(input:checked)::before,
.tarifs-option.is-selected::before {
  opacity: 1;
}

.tarifs-option:has(input:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Cadre pack Populaire : jaune moutarde (même en light) */
.tarifs-option--featured {
  border-color: rgba(255, 158, 0, 0.55);
  background:
    linear-gradient(165deg, rgba(255, 158, 0, 0.12) 0%, transparent 42%),
    var(--bg-card);
  box-shadow: 0 12px 32px rgba(255, 158, 0, 0.14);
}

@media (min-width: 760px) {
  .tarifs-option--featured {
    transform: scale(1.02);
    z-index: 1;
  }

  .tarifs-option--featured:hover {
    transform: scale(1.02) translateY(-2px);
  }
}

.tarifs-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0.38rem 2.5rem 0.38rem 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--noir-spatial);
  background: linear-gradient(90deg, #ffc453, var(--jaune-moutarde));
  box-shadow: 0 4px 12px rgba(255, 158, 0, 0.35);
  text-align: left;
  line-height: 1.2;
}

/* Plus spécifique que .tarifs-option--pack pour ne pas être écrasé */
.tarifs-option--pack.tarifs-option--featured .tarifs-option-label {
  padding-top: 3.15rem;
}

.tarifs-option--pack.tarifs-option--featured .tarifs-check {
  top: 2.9rem;
}

.tarifs-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.tarifs-option-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1.25rem 2.7rem 1.25rem 1.2rem;
  cursor: pointer;
  min-height: 100%;
}

.tarifs-option--pack .tarifs-option-label {
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  padding-top: 1.45rem;
  padding-bottom: 1.4rem;
  padding-right: 1.2rem;
  padding-left: 1.2rem;
}

.tarifs-check {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--bg-muted);
  position: relative;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.tarifs-check--box {
  border-radius: 0.4rem;
}

.tarifs-option:has(input:checked) .tarifs-check {
  border-color: var(--jaune-moutarde);
  background: var(--jaune-moutarde);
  box-shadow: 0 0 0 4px rgba(255, 158, 0, 0.18);
}

.tarifs-option:has(input:checked) .tarifs-check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0.28rem;
  height: 0.52rem;
  border: solid var(--noir-spatial);
  border-width: 0 2.2px 2.2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.tarifs-option--pack .tarifs-check {
  position: absolute;
  top: 1.35rem;
  left: 1.2rem;
}

.tarifs-option--pack .tarifs-option-body {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}

.tarifs-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.tarifs-option-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.06));
  border: 1px solid rgba(var(--accent-rgb), 0.28);
}

.tarifs-option-title {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tarifs-option-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.tarifs-option-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.tarifs-option-desc {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.tarifs-perk-list {
  list-style: none;
  margin: 0.55rem 0 0.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.tarifs-perk-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--text-secondary);
  line-height: 1.3;
}

.tarifs-perk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tarifs-option-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.tarifs-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.tarifs-price-from {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.tarifs-price-big {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.tarifs-option:has(input:checked) .tarifs-price-big {
  color: var(--jaune-moutarde);
}

.tarifs-price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 0.1rem;
}

.tarifs-price-fixed {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tarifs-option-price-main {
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.tarifs-option:has(input:checked) .tarifs-option-price-main {
  color: var(--jaune-moutarde);
}

.tarifs-option-price-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.tarifs-select-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.tarifs-option:hover .tarifs-select-hint {
  border-color: rgba(255, 158, 0, 0.45);
  color: var(--jaune-moutarde);
}

.tarifs-option:has(input:checked) .tarifs-select-hint,
.tarifs-option.is-selected .tarifs-select-hint {
  color: var(--noir-spatial);
  background: linear-gradient(135deg, #ffc453, var(--jaune-moutarde));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 158, 0, 0.3);
}

/* Mentions « Recommandé » / « Impact fort » : jaune moutarde (même en light) */
.tarifs-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--noir-spatial);
  background: linear-gradient(90deg, #ffc453, var(--jaune-moutarde));
  box-shadow: 0 4px 12px rgba(255, 158, 0, 0.35);
}

.tarifs-chip-hot {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--noir-spatial);
  background: var(--jaune-moutarde);
}

.tarifs-chip-soft {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.tarifs-info-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 0.55rem;
  color: var(--text-secondary);
  background: rgba(22, 24, 31, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.tarifs-info-btn:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
  background: var(--accent-soft);
}

.tarifs-info-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tarifs-option--row .tarifs-option-label {
  align-items: flex-start;
  padding: 1.1rem 2.85rem 1.1rem 1.1rem;
}

.tarifs-option--row .tarifs-option-price {
  border-top: none;
  padding-top: 0.25rem;
  margin-top: 0.2rem;
}

.tarifs-option--boost {
  border-color: rgba(var(--accent-rgb), 0.22);
}

/* Reassure strip */
.tarifs-reassure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

@media (min-width: 560px) {
  .tarifs-reassure-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.tarifs-reassure-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 1rem 0.85rem;
  text-align: center;
  border-radius: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.tarifs-reassure-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.1);
  transform: translateY(-1px);
}

.tarifs-reassure-text {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-secondary);
}

.tarifs-reassure-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-on);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}

/* -- Estimate pro panel -- */
.tarifs-estimate-card {
  position: relative;
  padding: 1.55rem 1.4rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.tarifs-estimate-card--pro {
  background:
    linear-gradient(165deg, rgba(var(--accent-rgb), 0.08) 0%, transparent 38%),
    linear-gradient(200deg, rgba(39, 39, 87, 0.35) 0%, transparent 50%),
    var(--bg-card);
  border-color: rgba(var(--accent-rgb), 0.22);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tarifs-estimate-shine {
  pointer-events: none;
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2), transparent 70%);
}

.tarifs-estimate-card.is-pulse {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.3),
    0 22px 55px rgba(var(--accent-rgb), 0.16);
}

@media (min-width: 1024px) {
  .tarifs-estimate {
    position: sticky;
    top: 5.1rem;
  }
}

.tarifs-estimate-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.tarifs-estimate-head .tarifs-block-title {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
}

.tarifs-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8fe0b0;
}
.tarifs-live-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #2e8b57;
  animation: tarifs-live-pulse 1.8s ease-out infinite;
}

@keyframes tarifs-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(46, 139, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 139, 87, 0);
  }
}

.tarifs-selection-count {
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* Nombre d’éléments sélectionnés : jaune moutarde (même en light) */
.tarifs-selection-count.is-active {
  color: var(--noir-spatial);
  background: linear-gradient(90deg, #ffc453, var(--jaune-moutarde));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 158, 0, 0.35);
}

/* Hero totals : badge collé au prix ; mise en place à droite si ça tient */
.tarifs-hero-totals {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.16), transparent 55%),
    var(--bg-muted);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.tarifs-hero-totals--pro {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tarifs-hero-main {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  flex: 1 0 auto;
  width: min-content;
  max-width: 100%;
}

.tarifs-hero-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.tarifs-hero-amount-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  min-width: min-content;
}

/* Prix du devis affiché : jaune moutarde (même en light) */
.tarifs-hero-amount {
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--jaune-moutarde);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  text-shadow: 0 0 28px rgba(255, 158, 0, 0.28);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.tarifs-estimate-card.is-pulse .tarifs-hero-amount {
  transform: scale(1.04);
}

.tarifs-save-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 0.08rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.55rem;
  background: linear-gradient(
    135deg,
    rgba(46, 139, 87, 0.35),
    rgba(46, 139, 87, 0.15)
  );
  border: 1px solid rgba(46, 139, 87, 0.5);
  box-shadow: 0 4px 14px rgba(46, 139, 87, 0.2);
  line-height: 1.15;
}

/* display:inline-flex ci-dessus gagne sur [hidden] du UA */
.tarifs-save-badge[hidden],
.tarifs-mobile-bar-save[hidden] {
  display: none !important;
}

.tarifs-save-pct {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #b8f0cc;
  font-variant-numeric: tabular-nums;
}
.tarifs-save-months {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8fe0b0;
  white-space: nowrap;
}
.tarifs-hero-unit {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.tarifs-total-amount-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
}

.tarifs-total-period-note {
  display: block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

.tarifs-total-period-note[hidden] {
  display: none;
}

.tarifs-total-row--monthly {
  align-items: flex-start;
}

.tarifs-value-line {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
}

.tarifs-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.tarifs-hero-side-card {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.tarifs-hero-side-card strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tarifs-mobile-bar-fixed .tarifs-price-was {
  margin-right: 0.3rem;
  font-size: 0.92em;
}

/* Billing */
.tarifs-billing {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.tarifs-billing-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.tarifs-billing-tip {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
}

.tarifs-billing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 400px) {
  .tarifs-billing-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tarifs-billing-option {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.tarifs-billing-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.tarifs-billing-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 4.35rem;
  padding: 0.55rem 0.3rem 0.5rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tarifs-billing-option:hover .tarifs-billing-label {
  border-color: rgba(var(--accent-rgb), 0.35);
}

.tarifs-billing-option:has(input:checked) .tarifs-billing-label {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 20px rgba(var(--accent-rgb), 0.15);
  transform: translateY(-1px);
}

.tarifs-billing-option:has(input:focus-visible) .tarifs-billing-label {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tarifs-billing-option--value .tarifs-billing-label {
  border-color: rgba(255, 158, 0, 0.4);
}

/* Mention « Top valeur » : jaune moutarde (même en light) */
.tarifs-billing-pill {
  position: absolute;
  top: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--noir-spatial);
  background: var(--jaune-moutarde);
}

.tarifs-billing-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.tarifs-billing-note {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.tarifs-billing-note--accent {
  color: #7dcea0;
}
/* « X mois offerts » : couleur stable (vert), inchangée à la sélection */

/* Empty / detail */
.tarifs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: 0.2rem 0 1rem;
  padding: 1.4rem 1rem;
  border-radius: 1rem;
  background: var(--bg-muted);
  border: 1px dashed rgba(var(--accent-rgb), 0.3);
}

.tarifs-empty[hidden] {
  display: none;
}

.tarifs-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: 0.3rem;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.tarifs-empty-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
}

.tarifs-empty-text {
  margin: 0;
  max-width: 17rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.tarifs-detail-title {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.tarifs-lines {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tarifs-line {
  padding: 0.75rem 0.85rem;
  border-radius: 0.8rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.tarifs-line--enter {
  animation: tarifs-line-in 0.3s ease both;
}

@keyframes tarifs-line-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tarifs-line-left {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.tarifs-line-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.55rem;
  color: var(--accent);
  background: var(--accent-soft);
}

.tarifs-line-meta {
  min-width: 0;
  flex: 1;
}

.tarifs-line-head {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.tarifs-line-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tarifs-line-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.tarifs-line-chip strong {
  color: var(--text);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.tarifs-line-chip-label {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.tarifs-line-chip--month strong {
  color: var(--accent);
}

.tarifs-line-chip--period {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: var(--accent-soft);
}

.tarifs-line-chip--period strong {
  color: var(--text);
}

.tarifs-hero-unit-hint {
  font-weight: 600;
  color: var(--accent);
}

.tarifs-hero-excl {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tarifs-once-tag {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

.tarifs-hero-side-card--period strong {
  color: var(--accent);
}

.tarifs-total-row--period strong {
  color: var(--text);
  font-size: 0.98rem;
}

.tarifs-line-was {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.15rem;
}

.tarifs-totals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.tarifs-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tarifs-total-row strong {
  font-weight: 800;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tarifs-total-row--monthly {
  font-size: 0.95rem;
  color: var(--text);
}

.tarifs-total-row--monthly strong {
  color: var(--jaune-moutarde);
  font-size: 1.08rem;
}

.tarifs-total-row--muted {
  font-size: 0.82rem;
}

.tarifs-info-tag {
  font-weight: 400;
  color: var(--text-muted);
}

/* CTA block */
.tarifs-cta-block {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
}

.tarifs-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* CTA « Recevoir cette estimation » : jaune moutarde (même en light) */
.tarifs-cta--xl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--jaune-moutarde);
  color: var(--noir-spatial);
  box-shadow: 0 10px 28px rgba(255, 158, 0, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.tarifs-cta--xl:hover {
  transform: translateY(-1px);
  background: var(--jaune-moutarde-hover);
  color: var(--noir-spatial);
  box-shadow: 0 14px 34px rgba(255, 158, 0, 0.45);
}

.tarifs-cta-main {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tarifs-cta-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.tarifs-estimate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tarifs-estimate-form .field {
  margin: 0;
  text-align: left;
}

.tarifs-disclaimer {
  margin: 1.15rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile bar : facturation + synthèse (remplace l’estimateur desktop) */
.tarifs-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.3);
}
.tarifs-mobile-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.tarifs-mobile-bar-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}

.tarifs-mobile-bar-summary {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

/* Pastilles facturation (engagement permanent = accent) */
.tarifs-mobile-bar-billing-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tarifs-mobile-bar-billing-pills::-webkit-scrollbar {
  display: none;
}

.tarifs-mobile-bill-pill {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.tarifs-mobile-bill-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tarifs-mobile-bill-pill.is-active {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: var(--accent);
  color: var(--accent);
}

.tarifs-mobile-bill-pill:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tarifs-mobile-bar-billing {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.tarifs-mobile-bar-amounts {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.tarifs-mobile-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  min-width: 0;
}

.tarifs-mobile-bar-monthly {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--jaune-moutarde);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.tarifs-mobile-bar-period {
  display: block;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-muted);
}

.tarifs-mobile-bar-period[hidden] {
  display: none;
}

/* Remises en petit à côté des montants */
.tarifs-mobile-bar-save {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.28rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  vertical-align: baseline;
}

/* Remise engagement (offre permanente facturation) = vert économie */
.tarifs-mobile-bar-save--billing {
  background: linear-gradient(
    135deg,
    rgba(46, 139, 87, 0.4),
    rgba(46, 139, 87, 0.18)
  );
  border: 1px solid rgba(46, 139, 87, 0.55);
  color: #b8f0cc;
}
/* Remise fixe promo exceptionnelle = rose flash */
.tarifs-mobile-bar-save--promo {
  background: var(--promo-flash, #e11d48);
  border: 1px solid transparent;
  color: #fff;
}

.tarifs-mobile-bar-fixed {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
}

.btn.tarifs-mobile-bar-cta {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  min-height: 2.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  background: var(--jaune-moutarde);
  color: var(--noir-spatial);
  box-shadow: 0 6px 18px rgba(255, 158, 0, 0.35);
}

.btn.tarifs-mobile-bar-cta:hover {
  background: var(--jaune-moutarde-hover);
  color: var(--noir-spatial);
}

.tarifs-estimate-form--mobile {
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.tarifs-estimate-form--mobile .field {
  gap: 0.25rem;
}

.tarifs-estimate-form--mobile .field label {
  font-size: 0.75rem;
}

.tarifs-estimate-form--mobile .field input {
  padding: 0.5rem 0.7rem;
  min-height: 2.4rem;
  font-size: 0.9rem;
}

.tarifs-estimate-form--mobile .field-error {
  font-size: 0.75rem;
}

/* Espace bas page tarifs pour la barre sticky (pills + montants + e-mail + CTA) */
body.has-tarifs-mobile-bar {
  padding-bottom: 16.5rem;
  overflow-x: hidden;
}

/* Cookie + barre tarifs : empiler, pas superposer */
@media (max-width: 1023px) {
  body.has-cookie-banner.has-tarifs-mobile-bar .tarifs-mobile-bar {
    bottom: var(--cookie-banner-height, 0px);
    padding-bottom: 0.55rem;
  }

  body.has-cookie-banner.has-tarifs-mobile-bar {
    padding-bottom: calc(16.5rem + var(--cookie-banner-height, 0px));
  }
}

/* Sous 1024px : masque l’estimateur desktop (doublon avec la barre sticky) */
@media (max-width: 1023px) {
  .tarifs-estimate {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .tarifs-mobile-bar {
    display: none !important;
  }

  body.has-tarifs-mobile-bar {
    padding-bottom: 0;
  }
}

/* ============================================================
   À propos
   ============================================================ */

/* Colonne de lecture centrée, plus étroite */
.about-hero .container,
.about-section .container,
.about-cta-section .container {
  max-width: 42rem;
  margin-inline: auto;
}

.about-hero {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
  text-align: center;
}

.about-hero .section-label,
.about-section-head .section-label,
.about-prose .section-label {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 768px) {
  .about-hero {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }
}

.about-hero .section-title {
  margin-inline: auto;
}

.about-hero .section-title .highlight {
  color: var(--jaune-moutarde);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.about-hero .section-lead {
  max-width: 36rem;
  margin-inline: auto;
  text-align: justify;
  text-justify: inter-word;
}

.about-section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .about-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.about-section--alt {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.about-section-head {
  margin-bottom: 1.75rem;
  text-align: center;
}

.about-section-head .section-title {
  margin-bottom: 0;
  margin-inline: auto;
}

.about-prose {
  max-width: 36rem;
  margin-inline: auto;
  text-align: left;
}

.about-prose .section-label,
.about-prose .section-title {
  text-align: center;
}

.about-prose .section-title {
  margin-inline: auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-values-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.about-value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "text text";
  column-gap: 0.85rem;
  row-gap: 0.7rem;
  align-items: center;
  padding: 1.35rem 1.25rem;
  border-radius: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.about-value-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.1);
  transform: translateY(-2px);
}

.about-value-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  flex-shrink: 0;
}

.about-value-title {
  grid-area: title;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.about-value-text {
  grid-area: text;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.about-team-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  max-width: 100%;
}

@media (min-width: 560px) {
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.about-team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.about-team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.12), transparent 50%),
    var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

/* Cadre uniforme : crop centré haut (meilleur pour portraits) */
.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.about-team-photo-placeholder {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
  background: var(--bg-card);
}

.about-team-body {
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-team-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-team-role {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
}

.about-team-skills-label {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-team-skills {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.about-team-skills li {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.about-cta-section {
  padding-top: 2.25rem;
  padding-bottom: 3.5rem;
}

.about-cta-card {
  text-align: center;
  padding: 1.75rem 1.35rem;
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.14), transparent 55%),
    linear-gradient(200deg, rgba(39, 39, 87, 0.4) 0%, transparent 55%),
    var(--bg-card);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

@media (min-width: 768px) {
  .about-cta-card {
    padding: 2.15rem 1.75rem;
  }
}

.about-cta-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.about-cta-text {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.about-cta-btn {
  min-width: 12rem;
  justify-content: center;
}

/* ============================================================
   Service Branding / Identité visuelle
   ============================================================ */

.br-media {
  width: 100%;
}

.br-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 16rem;
  padding: 1.5rem;
  border-radius: 1.15rem;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.1), transparent 50%),
    var(--bg-muted);
  border: 1px dashed rgba(var(--accent-rgb), 0.35);
}

.br-placeholder--tall {
  min-height: 18rem;
}

.br-placeholder--grid {
  min-height: 14rem;
}

.br-placeholder-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.br-placeholder-hint {
  max-width: 18rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Illustrations SVG branding (placeholders de qualité) */
.br-illu-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 16rem;
  padding: 0.85rem;
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.br-illu-wrap--tall {
  min-height: 18rem;
}

.br-illu-wrap--wide {
  min-height: 14rem;
  padding: 1rem 1.15rem;
}

.br-illu {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  font-family: Inter, system-ui, sans-serif;
}

/* Tokens SVG (dark par défaut via variables sémantiques) */
.br-illu .bi-bg {
  fill: var(--bg-muted);
}

.br-illu .bi-surface {
  fill: var(--bg-card);
  stroke: var(--border-strong);
  stroke-width: 1.25;
}

.br-illu .bi-surface-soft {
  fill: var(--bg-elevated);
  stroke: var(--border);
  stroke-width: 1;
}

.br-illu .bi-accent {
  fill: var(--accent);
}

.br-illu .bi-accent-soft {
  fill: var(--accent-soft);
}

.br-illu .bi-stroke {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.br-illu .bi-stroke-muted {
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.br-illu .bi-line {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.25;
}

.br-illu .bi-text {
  fill: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.br-illu .bi-text-sm {
  fill: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
}

.br-illu .bi-text-xs {
  fill: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
}

.br-illu .bi-ink {
  fill: var(--text);
}

.br-illu .bi-ink-soft {
  fill: var(--text-secondary);
}

.br-illu .bi-bad {
  fill: rgba(194, 59, 34, 0.18);
  stroke: rgba(194, 59, 34, 0.55);
  stroke-width: 1.25;
}

.br-illu .bi-good {
  fill: rgba(46, 139, 87, 0.16);
  stroke: rgba(46, 139, 87, 0.55);
  stroke-width: 1.25;
}

.br-illu .bi-num {
  fill: #0a0c0d;
  font-size: 11px;
  font-weight: 800;
}
.br-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .br-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .br-split--reverse .br-split-copy {
    order: 2;
  }

  .br-split--reverse .br-split-media {
    order: 1;
  }
}

.br-checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.br-checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: justify;
  hyphens: none;
}

.br-checklist--problem li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--erreur);
  opacity: 0.85;
}

.br-result-line {
  margin: 1.35rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: justify;
  hyphens: none;
}

.br-prose {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: justify;
  hyphens: none;
}

.br-prose--accent {
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.br-objectif-label {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.br-goals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.br-goals li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

.br-goals li span {
  color: var(--accent);
  font-weight: 800;
}

.br-included-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .br-included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.br-included-card {
  padding: 1.35rem 1.25rem;
  border-radius: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.br-included-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-on);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.br-included-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: left;
}

.br-included-time {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-align: left;
}

.br-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.br-bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
}

.br-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

.br-media-block {
  margin-top: 2rem;
}

.br-benefits {
  margin-top: 1.5rem;
}

.br-timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}

@media (min-width: 700px) {
  .br-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.br-timeline-step {
  position: relative;
  padding: 1.25rem 1.1rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.br-timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-on);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
}

.br-timeline-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

.br-timeline-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: center;
}

.br-audience {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.br-audience .section-label,
.br-audience .section-title {
  text-align: center;
}

.br-audience .section-label {
  display: flex;
  justify-content: center;
  width: 100%;
}

.br-guarantees {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .br-guarantees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.br-guarantee {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.br-guarantee-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.br-guarantee p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
}

/* ============================================================
   Page Contact
   ============================================================ */

.contact-page {
  padding-top: 1.75rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .contact-page {
    padding-top: 2.25rem;
  }
}

.contact-page-head {
  margin-bottom: 2rem;
}

.contact-page-head .section-title {
  margin-bottom: 0.75rem;
}

.contact-page-head .section-lead {
  width: 100%;
  max-width: none;
}

.contact-hours {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: left;
}

.contact-submit {
  width: 100%;
  justify-content: center;
}

.contact-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

/* ============================================================
   Cookies RGPD
   ============================================================ */

.cookie-inline-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.cookie-inline-link:hover {
  color: var(--accent-hover);
}

/* ---------- Bouton d’appel mobile (tel: direct) ---------- */
.call-fab {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 70;
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  text-decoration: none;
  font-family: inherit;
  box-shadow:
    0 8px 28px rgba(var(--accent-rgb), 0.42),
    0 2px 8px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(10, 12, 13, 0.08);
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
  /* Au-dessus du contenu, sous le bandeau cookies (z 90) */
  -webkit-tap-highlight-color: transparent;
}

.call-fab:hover {
  background: var(--accent-hover);
  color: var(--accent-on);
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(var(--accent-rgb), 0.5),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

.call-fab:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.call-fab-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(10, 12, 13, 0.12);
  flex-shrink: 0;
}
.call-fab-icon svg {
  display: block;
}

.call-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
  padding-right: 0.15rem;
}

.call-fab-title {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.call-fab-num {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

/* Visible uniquement sur mobile / tablette étroite */
@media (max-width: 767px) {
  .call-fab {
    display: inline-flex;
  }

  /* Espace bas pour ne pas masquer le bas de page / CTAs */
  body.has-call-fab {
    padding-bottom: 5.25rem;
  }

  body.has-call-fab.has-tarifs-mobile-bar {
    padding-bottom: 16.5rem;
  }
}

/* Remonte le FAB d’appel si barre tarifs mobile (pills + montants) */
@media (max-width: 1023px) {
  body.has-tarifs-mobile-bar .call-fab {
    bottom: calc(13.5rem + env(safe-area-inset-bottom));
  }
}

/* Remonte le FAB d’appel au-dessus du bandeau cookies */
body.has-cookie-banner .call-fab {
  bottom: calc(var(--cookie-banner-height, 2.75rem) + 0.75rem);
}

@media (max-width: 1023px) {
  body.has-cookie-banner.has-tarifs-mobile-bar .call-fab {
    bottom: calc(13.5rem + var(--cookie-banner-height, 2.75rem) + 0.5rem);
  }
}

.cookie-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.cookie-fab:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.cookie-fab:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.cookie-fab-label {
  line-height: 1;
}

/* Mobile : FAB cookies = icône seule (libellé dans aria-label / title) */
@media (max-width: 767px) {
  .cookie-fab {
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    gap: 0;
  }

  .cookie-fab-label {
    display: none;
  }
}

/* Pas de toggle cookies tant que le bandeau n’a pas été tranché */
body.has-cookie-banner .cookie-fab {
  display: none !important;
}

/* Remonte le FAB cookies au-dessus de la barre sticky Tarifs (pills + montants) */
@media (max-width: 1023px) {
  body.has-tarifs-mobile-bar .cookie-fab {
    bottom: calc(13.5rem + env(safe-area-inset-bottom));
  }
}

/* Ancre contact depuis Tarifs : formulaire visible sous le header sticky */
#formulaire-devis {
  scroll-margin-top: 5.75rem;
}

.contact-estimate-status {
  margin: 1.5rem 0 0;
  scroll-margin-top: 5.75rem;
}

.contact-estimate-status.is-visible {
  margin-bottom: 0;
}

.contact-estimate-status.is-visible + .contact-grid {
  margin-top: 1.5rem;
}

.contact-grid[hidden],
.contact-sent[hidden] {
  display: none;
}

.contact-sent {
  margin-top: 1.5rem;
  scroll-margin-top: 5.75rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: hidden;
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
}

.cookie-banner-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.cookie-banner-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-align: left;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
}

.cookie-banner-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

.cookie-banner-compact {
  display: none;
  margin: 0;
}

.cookie-btn-short {
  display: none;
}

.cookie-btn {
  font-size: 0.875rem;
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(10, 12, 13, 0.65);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.cookie-modal[hidden],
.cookie-banner[hidden],
.cookie-backdrop[hidden],
.cookie-fab[hidden] {
  display: none !important;
}

.cookie-modal-panel {
  width: min(32rem, 100%);
  max-width: 100%;
  max-height: min(90vh, 40rem);
  overflow: auto;
  overflow-x: hidden;
  border-radius: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.cookie-modal-head h2 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-align: left;
}

.cookie-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--text-secondary);
  cursor: pointer;
}

.cookie-modal-close:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.cookie-modal-body {
  padding: 1.15rem;
}

.cookie-modal-intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
}

.cookie-cat {
  padding: 0.95rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.85rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.cookie-cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  min-width: 0;
}

.cookie-cat-head > div {
  flex: 1 1 10rem;
  min-width: 0;
}

.cookie-cat-title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  text-align: left;
}

.cookie-cat-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: left;
}

.cookie-cat-badge {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.55rem;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cookie-switch-ui {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cookie-switch-ui::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--text-muted);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cookie-switch input:checked + .cookie-switch-ui {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
  transform: translateX(1.15rem);
  background: var(--accent);
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.cookie-modal-policy {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  text-align: left;
}

.cookie-modal-policy a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-modal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--border);
  min-width: 0;
}

body.cookie-modal-open {
  overflow: hidden;
}

/* Cookies : mobile - 1 ligne, sans débordement (bandeau + modal) */
@media (max-width: 767px) {
  .cookie-banner {
    padding: 0.28rem 0.55rem calc(0.28rem + env(safe-area-inset-bottom));
    max-height: calc(10vh + env(safe-area-inset-bottom, 0px));
    max-height: calc(10dvh + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .cookie-banner-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
  }

  .cookie-banner-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cookie-banner-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .cookie-banner-text {
    display: none;
  }

  .cookie-banner-compact {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .cookie-banner-compact a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
  }

  .cookie-banner-actions {
    flex: 0 0 auto;
    width: auto;
    flex-shrink: 0;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0.28rem;
  }

  .cookie-banner-actions .btn,
  .cookie-banner-actions .cookie-btn {
    width: auto;
    min-width: 0;
    min-height: 2.05rem;
    height: 2.05rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
    line-height: 1;
  }

  .cookie-btn-full {
    display: none;
  }

  .cookie-btn-short {
    display: inline;
  }

  .cookie-modal {
    padding: 0.75rem;
    align-items: center;
  }

  .cookie-modal-panel {
    width: 100%;
    max-width: 100%;
    max-height: min(88vh, 40rem);
  }

  .cookie-modal-head,
  .cookie-modal-body,
  .cookie-modal-foot {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cookie-modal-foot {
    flex-direction: column;
    justify-content: stretch;
  }

  .cookie-modal-foot .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    height: auto;
    padding-block: 0.7rem;
  }

  .cookie-cat {
    padding: 0.85rem 0.85rem;
  }
}

.legal-back {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* ============================================================
   Mobile polish (< 768px)
   Centrage des titres, aération, lisibilité (moins « mur de texte »)
   Checkpoint Git : c95cf1d (rollback possible)
   ============================================================ */
@media (max-width: 767px) {
  /* --- Espace global (gouttières iPhone SE / petits écrans) --- */
  .container {
    width: 100%;
    max-width: 1120px;
    padding-inline: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Header : gap un peu plus aéré */
  .header-inner {
    gap: 0.65rem;
  }

  .nav-mobile nav {
    padding-inline: 1.5rem;
  }

  /* Promo : 1 ligne compacte (label + CTA + croix) */
  html.promo-banner-pending {
    --promo-banner-height: 2.35rem;
  }

  .promo-banner {
    max-height: 10vh;
    max-height: 10dvh;
    overflow: hidden;
  }

  .promo-banner-inner {
    flex-wrap: nowrap;
    gap: 0.4rem;
    padding: 0.28rem 2.35rem 0.28rem 0.7rem;
  }

  .promo-banner-copy {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 0.3rem;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
  }

  .promo-banner-label {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .promo-banner-icon,
  .promo-banner-sep,
  .promo-banner-text {
    display: none;
  }

  .promo-banner-aside {
    gap: 0.35rem;
  }

  .promo-countdown {
    gap: 0;
  }

  .promo-countdown-prefix {
    display: none;
  }

  .promo-countdown-clock {
    gap: 0;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.16);
  }

  .promo-countdown-seg {
    background: none;
    padding: 0;
    gap: 0.02rem;
    border-radius: 0;
  }

  .promo-countdown-seg b {
    font-size: 0.72rem;
  }

  .promo-countdown-seg abbr {
    font-size: 0.62rem;
  }

  .promo-countdown-seg[data-cd-seg="h"] abbr,
  .promo-countdown-seg[data-cd-seg="m"] abbr,
  .promo-countdown-seg[data-cd-seg="s"] abbr {
    display: none;
  }

  .promo-countdown-colon {
    display: inline;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.92;
  }

  .promo-countdown-colon-after-d {
    display: none;
  }

  .promo-countdown-seg[data-cd-seg="d"] {
    margin-right: 0.22rem;
  }

  .promo-countdown.is-ended .promo-countdown-clock {
    font-size: 0.68rem;
  }

  .promo-banner-cta {
    padding: 0.22rem 0.6rem;
    font-size: 0.68rem;
    margin-left: 0;
  }

  .promo-banner-close {
    width: 1.85rem;
    height: 1.85rem;
    right: 0.2rem;
  }

  .promo-banner-close svg {
    width: 14px;
    height: 14px;
  }

  /* Blocs / cartes : padding interne un peu plus large */
  .card,
  .svc-feature,
  .pack-card,
  .form-card,
  .faq-item,
  .cta-banner,
  .tarifs-pack,
  .tarifs-option,
  .tarifs-estimate-card,
  .br-included-card,
  .about-team-card,
  .blog-card {
    box-sizing: border-box;
  }

  /* --- Titres & intros de section : centrés --- */
  .section-label {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-bottom: 0.85rem;
  }

  .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.1rem;
    max-width: 22em;
    font-size: clamp(1.55rem, 6.2vw, 1.95rem);
    line-height: 1.25;
  }

  .section-lead {
    text-align: center !important;
    margin-inline: auto;
    margin-bottom: 0.35rem;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .contact-page-head .section-lead {
    max-width: none;
  }

  .tool-page .section-title,
  .qr-page .section-title,
  .audit-tool-page .section-title,
  .tool-page .section-lead,
  .qr-page .section-lead,
  .audit-tool-page .section-lead {
    max-width: none;
  }

  .text-center,
  .text-center p,
  .text-center .section-lead,
  .text-center .section-title,
  .about-section-head,
  .about-section-head .section-title,
  .about-section-head .section-label,
  .blog-page-intro,
  .blog-page-intro .section-title,
  .blog-page-intro .section-lead,
  .tarifs-hero .section-title,
  .tarifs-hero .section-lead,
  .tarifs-config-head,
  .tarifs-block-title,
  .contact-page-head,
  .contact-page-head .section-title,
  .contact-page-head .section-lead,
  .tool-page-intro .section-title,
  .qr-page-intro .section-title,
  .error-page-inner,
  .error-page-inner .section-title,
  .svc-why-card .section-title,
  .about-cta-title {
    text-align: center;
  }

  .text-center .section-label,
  .about-section-head .section-label {
    justify-content: center;
  }

  /* Hero marketing : centré + aéré sur mobile */
  .hero {
    padding: 2.75rem 0 3.25rem;
    text-align: center;
  }

  .hero h1 {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 1.1rem;
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    line-height: 1.18;
    max-width: 16em;
  }

  .hero-subtitle {
    text-align: center !important;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 28rem;
  }

  .hero-ctas {
    justify-content: center;
    gap: 0.85rem;
  }

  .hero-trust {
    justify-content: center;
    margin-top: 1.35rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .svc-hero {
    text-align: center;
  }

  .svc-hero-title,
  .svc-hero-lead {
    text-align: center !important;
    margin-inline: auto;
  }

  .svc-hero-lead {
    max-width: 28rem;
    line-height: 1.65;
  }

  .svc-hero-grid {
    gap: 1.75rem;
  }

  .hero-ctas,
  .vl-cta-actions,
  .about-cta-card .hero-ctas,
  .svc-why-card .vl-cta-actions {
    justify-content: center;
  }

  /* --- Texte de lecture : pas de justify (plus aéré, moins dense) --- */
  p,
  li,
  .section-lead,
  .hero-subtitle,
  .legal-prose,
  .legal-intro,
  .about-text p,
  .about-value-text,
  .article-body,
  .article-prose,
  .article-lead,
  .faq-panel,
  .card p,
  .svc-hero-lead,
  .svc-feature p,
  .pack-pitch,
  .pack-list li,
  .vl-problem-text,
  .cta-banner p,
  .article-prose p,
  .legal-prose p {
    text-align: left;
    text-justify: auto;
    line-height: 1.7;
  }

  /* Réaffirmer le centre pour les leads d’intro (écrase le left ci-dessus) */
  .section-lead,
  .text-center .section-lead,
  .text-center p,
  .hero-subtitle,
  .svc-hero-lead,
  .blog-page-intro .section-lead,
  .tarifs-hero .section-lead,
  .contact-page-head .section-lead,
  .svc-why-card p,
  .about-cta-card p,
  .error-page-lead {
    text-align: center !important;
  }

  .about-hero .section-lead {
    text-align: left !important;
  }

  /* --- Cartes & grilles : plus d’air --- */
  .card-grid,
  .svc-feature-grid,
  .pack-grid,
  .about-values-grid,
  .about-team-grid,
  .blog-grid,
  .br-included-grid,
  .br-guarantees,
  .tarifs-pack-grid,
  .tarifs-reassure-grid {
    gap: 1.15rem;
    margin-top: 1.75rem;
  }

  .card,
  .svc-feature,
  .pack-card,
  .about-value-card,
  .about-team-card,
  .blog-card,
  .br-included-card,
  .br-guarantee,
  .faq-item,
  .form-card,
  .contact-block {
    padding: 1.25rem 1.15rem;
  }

  .svc-feature {
    padding: 1.2rem 1.15rem;
    gap: 0.85rem;
  }

  .svc-feature p,
  .card p,
  .pack-pitch {
    line-height: 1.6;
    font-size: 0.95rem;
  }

  .faq-list {
    margin-top: 1.75rem;
    max-width: 100%;
  }

  .faq-trigger {
    padding: 1.05rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
  }

  .faq-panel {
    padding: 0 1rem 1.05rem;
    line-height: 1.7;
    font-size: 0.95rem;
  }

  .cta-banner {
    margin-top: 2rem;
    padding: 1.35rem 1.15rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cta-banner p {
    text-align: center !important;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: none;
    width: 100%;
  }

  .cta-banner .btn {
    width: 100%;
    max-width: 20rem;
    min-width: 0;
    white-space: normal;
    height: auto;
    padding-block: 0.75rem;
  }

  /* Prose articles / légal : aération paragraphes */
  .article-prose p,
  .legal-prose p,
  .about-text p,
  .about-prose p {
    margin-bottom: 1.05rem;
    line-height: 1.75;
  }

  .article-prose h2,
  .legal-prose h2 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    text-align: left;
  }

  .article-prose ul,
  .article-prose ol,
  .legal-prose ul,
  .legal-prose ol {
    margin-bottom: 1.15rem;
    padding-left: 1.2rem;
  }

  .article-prose li + li,
  .legal-prose li + li {
    margin-top: 0.45rem;
  }

  .article-lead {
    text-align: left !important;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  /* Tarifs mobile */
  .tarifs-hero {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .tarifs-block-title {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .tarifs-block-lead {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .tarifs-pack,
  .tarifs-option {
    padding: 1.15rem 1.05rem;
  }

  .tarifs-estimate-card {
    margin-top: 1.5rem;
  }

  /* Boutons pleine largeur plus confortables quand empilés
     (nowrap global .btn provoquait overflow H sur libellés longs) */
  .hero-ctas,
  .vl-cta-actions,
  .error-page-actions,
  .svc-hero .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
  }

  .hero-ctas .btn,
  .vl-cta-actions .btn,
  .error-page-actions .btn,
  .svc-hero .hero-ctas .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    height: auto;
    padding-block: 0.8rem;
  }

  /* Visibilité locale / pages service : stopper la propagation min-content */
  .svc-hero-grid,
  .svc-hero-copy,
  .svc-hero-panel,
  .svc-hero-panel--wide,
  .vl-hero,
  .vl-hero-frame,
  .vl-timeline,
  .vl-phase {
    min-width: 0;
    max-width: 100%;
  }

  .svc-hero-reassure {
    justify-content: center;
    text-align: center;
  }

  .vl-phase {
    padding: 1.15rem 1rem 1.1rem;
    box-sizing: border-box;
  }

  .vl-bullets {
    padding-left: 1.05rem;
    overflow-wrap: break-word;
  }

  /* Process / steps */
  .svc-steps,
  .br-timeline {
    gap: 0.9rem;
    margin-top: 1.75rem;
  }

  .svc-step,
  .br-timeline-step {
    padding: 1.1rem 1rem;
  }

  /* Avantages / valeurs */
  .advantage {
    gap: 0.85rem;
  }

  #avantages .section-title {
    text-align: center;
  }

  /* Contact */
  .contact-grid {
    gap: 1.5rem;
  }

  .contact-block + .contact-block {
    margin-top: 0.25rem;
  }

  /* Promo note + page tarifs */
  body.promo-active .tarifs-promo-note {
    text-align: center;
    margin-top: 1.15rem;
    line-height: 1.55;
  }

  /* Call FAB : un peu plus d’air bas de page */
  body.has-call-fab {
    padding-bottom: 5.75rem;
  }
}

/* ---------- Footer mobile + tablette (≤1023px) : charte empilée ---------- */
@media (max-width: 1023px) {
  .site-footer {
    padding: 2.85rem 0 1.75rem;
  }

  .site-footer .container {
    padding-inline: 1.5rem;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    align-items: stretch;
  }

  /* Marque centrée */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(248, 247, 244, 0.12);
  }

  .footer-brand .logo,
  .footer-brand .logo-banner {
    margin-inline: auto;
    margin-bottom: 0.75rem;
  }

  .footer-slogan {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 0.85rem;
    max-width: 18rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-zone {
    text-align: center;
    margin-inline: auto;
  }

  .footer-contact {
    align-items: center;
    margin-bottom: 0.25rem;
    gap: 0.35rem;
  }

  .footer-contact-link {
    text-align: center;
  }

  /* Sous-menus empilés */
  .footer-col {
    text-align: center;
    min-width: 0;
    padding: 0.15rem 0 0.35rem;
  }

  .footer-col h3 {
    margin: 0 0 0.55rem;
    text-align: center;
    font-size: 0.78rem;
  }

  .footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }

  .footer-col li {
    width: 100%;
    text-align: center;
  }

  .footer-col a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: rgba(248, 247, 244, 0.9);
    text-align: center;
  }

  .footer-col a:hover,
  .footer-col a:active {
    color: #c8c8e8;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }

  .footer-bottom {
    margin-top: 1.75rem;
    padding-top: 1.15rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.55rem;
  }

  .footer-bottom--solo {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 1.5rem;
    border-top: none;
    text-align: center;
  }

  .footer-bottom p {
    width: 100%;
    text-align: center !important;
    margin: 0;
    line-height: 1.5;
  }

  .footer-legal {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.15rem;
  }

  .footer-legal li {
    width: 100%;
    text-align: center;
  }

  .footer-legal li + li::before {
    content: none;
  }

  .footer-legal a,
  .footer-bottom a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: rgba(248, 247, 244, 0.9);
    text-align: center;
  }
}

/* iPhone SE / très petits écrans : garder des gouttières franches */
@media (max-width: 390px) {
  .container {
    padding-inline: 1.4rem;
  }

  .nav-mobile nav {
    padding-inline: 1.4rem;
  }

  .site-footer .container {
    padding-inline: 1.4rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .btn {
    min-height: 2.75rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
  }

  .tarifs-mobile-bar {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .promo-banner-inner {
    padding-left: 0.65rem;
    padding-right: 2.2rem;
  }
}


/* ============================================================
   Auth / Espace client / Outils audit
   ============================================================ */

.auth-page {
  min-height: calc(100vh - 10rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-page > .section {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.auth-container {
  max-width: 28rem;
  margin-inline: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bloc plus large (mot de passe oublié, etc.) */
.auth-container--wide {
  max-width: 36rem;
}

.auth-card {
  width: 100%;
  text-align: left;
}

.auth-card--roomy.form-card {
  padding: 2rem 1.75rem 2.15rem;
}

@media (min-width: 480px) {
  .auth-card--roomy.form-card {
    padding: 2.35rem 2.25rem 2.5rem;
  }
}

.auth-card .section-label,
.auth-card .section-title,
.auth-card .auth-lead {
  text-align: center;
}

.auth-card .section-title {
  margin-left: auto;
  margin-right: auto;
}

/* Titre long : une seule ligne dès que la largeur le permet */
.auth-card .section-title.auth-title-nowrap {
  white-space: nowrap;
  font-size: clamp(1.2rem, 4.6vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: none;
  width: 100%;
}

.auth-card--roomy .auth-lead {
  max-width: 28rem;
  margin-bottom: 1rem;
}

.auth-card--roomy .auth-hint-google {
  margin-bottom: 1.35rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.auth-card--roomy .auth-switch {
  margin-top: 1.5rem;
}

.auth-lead {
  margin-bottom: 1.25rem;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-legal {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.auth-legal a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Checklist critères mot de passe */
.password-rules {
  list-style: none;
  margin: 0.5rem 0 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  display: grid;
  gap: 0.35rem;
}

.password-rules.is-empty .password-rules-item {
  color: var(--text-muted);
}

.password-rules-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text-secondary);
  font-weight: 500;
}

.password-rules-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.password-rules-item.is-ok {
  color: var(--succes);
}

.password-rules-item.is-ok .password-rules-icon {
  border-color: var(--succes);
  background: var(--success-bg);
}

.password-rules-item.is-ok .password-rules-icon::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.05rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid var(--succes);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.password-rules-item.is-ko {
  color: var(--text-secondary);
}

.password-rules-item.is-ko .password-rules-icon {
  border-color: rgba(194, 59, 34, 0.45);
}

.auth-forgot {
  margin: -0.35rem 0 1rem;
  text-align: right;
  font-size: 0.875rem;
}

.auth-forgot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot a:hover {
  text-decoration: underline;
}

.auth-hint-google {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}

/* Écran post-inscription : message + CTA connexion uniquement */
.auth-success {
  text-align: center;
}

.auth-success .section-title {
  margin-bottom: 1rem;
}

.auth-success .form-status {
  margin-bottom: 1.25rem;
  text-align: left;
}

.auth-success .auth-submit {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.auth-success[hidden],
[data-auth-signup-form][hidden] {
  display: none !important;
}

.auth-callback-debug {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
  word-break: break-word;
}

.auth-callback-debug[hidden] {
  display: none !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-strong);
}

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  font-weight: 600;
}

.btn-google:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.btn-google-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  display: block;
}

/* Avatar auth : collé au bord droit du viewport (hors .container) */
.header-auth-edge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0 0.5rem 0 0.15rem;
  z-index: 60;
}

@media (min-width: 640px) {
  .header-auth-edge {
    padding-right: 0.75rem;
    padding-left: 0.35rem;
  }
}

@media (min-width: 1024px) {
  .header-auth-edge {
    padding-right: 1rem;
  }
}

.auth-avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-avatar-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.auth-avatar-btn:hover,
.auth-avatar-btn:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-avatar-icon {
  display: block;
}

.auth-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.auth-avatar-initial {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

/* Bulle tooltip sous l'avatar */
.auth-avatar-bubble {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 70;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.15rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

.auth-avatar-bubble::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
  transform: rotate(45deg);
}

.auth-avatar-btn:hover .auth-avatar-bubble,
.auth-avatar-btn:focus-visible .auth-avatar-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Menu connecté */
.auth-avatar-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.auth-avatar-menu[hidden] {
  display: none !important;
}

.auth-avatar-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.auth-avatar-menu-item:hover,
.auth-avatar-menu-item:focus-visible {
  background: var(--bg-muted);
  outline: none;
}

.auth-avatar-menu-item--danger {
  color: var(--erreur);
  font-weight: 500;
}

/* Mobile : bulle masquée au hover (pas de hover fiable) - visible au focus clavier */
@media (hover: none) {
  .auth-avatar-btn:hover .auth-avatar-bubble {
    opacity: 0;
    visibility: hidden;
  }

  .auth-avatar-btn:focus-visible .auth-avatar-bubble {
    opacity: 1;
    visibility: visible;
  }
}

.auth-loading {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text-secondary);
  font-weight: 500;
}

.auth-loading[hidden] {
  display: none !important;
}

body.auth-pending .site-header,
body.auth-pending .site-footer {
  visibility: hidden;
}

.site-footer:has(.footer-bottom--solo) {
  border-top: none;
}

.footer-bottom--solo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: none;
}

/* Mon espace */
.espace-page.section,
.espace-page .section,
main.espace-page > .section {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .espace-page.section,
  .espace-page .section,
  main.espace-page > .section {
    padding-top: 2.25rem;
    padding-bottom: 4rem;
  }
}

.espace-page .espace-head {
  margin-bottom: 1.15rem;
}

.espace-page .espace-head .section-label {
  margin-bottom: 0.4rem;
}

.espace-page .espace-head .section-title {
  margin-bottom: 0.35rem;
}

.espace-head-lead {
  margin-bottom: 0;
}

.espace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.espace-actions--compact {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.espace-history-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
}

/* Titre d'onglet (hors carte) */
.espace-panel-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.espace-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.espace-panel .espace-account + .espace-account {
  margin-top: 1.15rem;
}

/* « Bonjour » + prénom optionnel */
.espace-page .section-title [data-profile-name-wrap] {
  margin-left: 0.35em;
}

.espace-page .section-title [data-profile-name-wrap][hidden] {
  display: none !important;
}

.espace-page .section-title [data-profile-name] {
  color: var(--accent);
  font-weight: 700;
}
/* Layout : menu latéral + panneau */
.espace-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .espace-layout {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.espace-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.espace-nav {
  display: flex;
  flex-direction: row;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 768px) {
  .espace-nav {
    flex-direction: column;
    overflow: visible;
  }
}

.espace-nav-item {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.espace-nav-item:hover,
.espace-nav-item:focus-visible {
  color: var(--text);
  background: var(--bg-muted);
  outline: none;
}

.espace-nav-item.is-active {
  color: var(--accent-on);
  background: var(--accent);
  border-color: var(--accent);
}
.espace-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.espace-sidebar-link,
.espace-sidebar-logout {
  width: 100%;
  justify-content: center;
}

.espace-panels {
  min-width: 0;
}

.espace-panel[hidden] {
  display: none !important;
}

.espace-panel.is-active {
  display: block;
}

.espace-account {
  max-width: 36rem;
  margin: 0;
}

.espace-password-providers {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.espace-account-current {
  margin: 0 0 0.65rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.espace-account-current strong {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
}

.espace-account-pending {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--info);
  background: rgba(74, 111, 165, 0.12);
  border: 1px solid rgba(74, 111, 165, 0.28);
}

.espace-account-pending[hidden] {
  display: none !important;
}

.espace-account-hint {
  margin: 0 0 1.1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.espace-account .field {
  margin-bottom: 1rem;
}

.espace-empty {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px dashed var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.espace-empty .text-secondary {
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.audit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.audit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.audit-item-main {
  min-width: 0;
  flex: 1;
}

.audit-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.4rem;
}

.audit-item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.audit-item-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.audit-item-demo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--info);
  background: rgba(74, 111, 165, 0.15);
  border: 1px solid rgba(74, 111, 165, 0.3);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.audit-item-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.audit-pdf-btn {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-muted);
  color: var(--text-secondary);
  cursor: pointer;
}

.audit-pdf-btn:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.audit-pdf-btn:disabled,
.audit-pdf-btn[aria-busy="true"] {
  opacity: 0.55;
  cursor: wait;
}

.audit-pdf-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}

/* Outils audit */
.audit-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.audit-layout {
  display: grid;
  gap: 1.25rem;
}

.audit-tool-page {
  --color-ok: var(--succes);
  --color-warn: var(--attention);
  --color-error: var(--erreur);
  --color-bg: var(--bg-muted);
  --color-surface: var(--bg-card);
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-border: var(--border-strong);
  --color-primary: var(--accent);
  --color-primary-hover: var(--accent-hover);
  --color-focus: var(--focus-ring);
  --font-base: "Inter", system-ui, sans-serif;
  --radius: 0.65rem;
  --shadow: none;
}

.audit-tool-page seo-audit-tool {
  display: block;
  max-width: none;
}

.audit-tool-page [data-audit-save-status] {
  max-width: none;
  margin: 0 0 1rem;
}

.audit-modal[hidden] {
  display: none !important;
}

.audit-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.audit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 13, 0.68);
}

.audit-modal-panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 1.05rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.audit-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.audit-modal-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
}

.audit-modal-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.audit-modal-close:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.audit-modal-text {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.audit-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.audit-modal-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .audit-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.audit-result-title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.audit-result-summary {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.audit-result-demo-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--info);
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  background: rgba(74, 111, 165, 0.12);
  border: 1px solid rgba(74, 111, 165, 0.28);
}

.audit-result-checks {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.audit-result-check {
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
}

.audit-result-check strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.audit-result-check p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.audit-result-actions {
  margin: 0;
}

.audit-benefits {
  margin-top: 2.5rem;
  max-width: none;
}

.audit-guide {
  margin-top: 3rem;
  max-width: none;
}

.audit-guide-block + .audit-guide-block {
  margin-top: 2.15rem;
}

.audit-guide-block p,
.audit-guide-block li,
.audit-guide-block dd {
  color: var(--text-secondary);
  line-height: 1.55;
}

.audit-guide-block p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.audit-how-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
}

.audit-how-list li + li {
  margin-top: 0.65rem;
}

.audit-guide .faq-list {
  margin-top: 1rem;
  max-width: none;
}

.audit-benefits-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.audit-benefits-list li + li {
  margin-top: 0.4rem;
}

/* Notice fin de process (succès / erreur) - forme unique site */
.site-notice {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 130;
  width: min(20.5rem, calc(100vw - 2rem));
  padding: 0.85rem 2.15rem 0.75rem 0.95rem;
  border-radius: 0.7rem;
  box-sizing: border-box;
  box-shadow: var(--shadow);
}

/* Desktop : verre lisible. Mobile + survol du footer : fond plein. */
@media (min-width: 768px) {
  .site-notice--success {
    background: rgba(18, 48, 34, 0.62);
    color: #b7ebc9;
    border: 1px solid rgba(125, 206, 160, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-notice--error {
    background: rgba(56, 20, 16, 0.62);
    color: #f5c4bb;
    border: 1px solid rgba(194, 59, 34, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .site-notice.is-over-footer.site-notice--success {
    background: #163526;
    color: #c8f0d8;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-notice.is-over-footer.site-notice--error {
    background: #3a1612;
    color: #f8d0c8;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }}

@media (max-width: 767px) {
  .site-notice--success {
    background: #163526;
    color: #c8f0d8;
    border: 1px solid rgba(125, 206, 160, 0.55);
  }

  .site-notice--error {
    background: #3a1612;
    color: #f8d0c8;
    border: 1px solid rgba(232, 150, 136, 0.5);
  }}

.site-notice-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
}

.site-notice-close:hover {
  opacity: 1;
}

.site-notice-message {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-justify: auto;
  hyphens: none;
}

.site-notice-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.site-notice-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-notice-link:hover {
  text-decoration-thickness: 2px;
}

.site-notice-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

@media (max-width: 767px) {
  .site-notice {
    right: 1rem;
    left: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  body.has-call-fab .site-notice {
    bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }

  body.has-cookie-banner .site-notice {
    bottom: calc(var(--cookie-banner-height, 2.75rem) + 0.75rem);
  }

  body.has-cookie-banner.has-tarifs-mobile-bar .site-notice {
    bottom: calc(13.5rem + var(--cookie-banner-height, 2.75rem) + 0.5rem);
  }
}

/* ============================================================
   Pages métier (hub + spokes)
   ============================================================ */

.metier-page .svc-hero {
  padding-top: 1.5rem;
}

.metier-breadcrumb {
  margin-bottom: 1.5rem;
}

.metier-prose {
  max-width: 42rem;
}

.metier-prose > p {
  margin: 0 0 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.metier-prose > p:last-child {
  margin-bottom: 0;
}

.metier-prose a:not(.btn) {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

.metier-prose a:not(.btn):hover {
  color: var(--text);
}

.metier-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.metier-bullets {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.metier-bullets li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.55;
}

.metier-bullets li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.metier-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.metier-keywords li {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.metier-section-head {
  margin-bottom: 1.5rem;
}

.metier-section-head .section-title {
  margin-bottom: 0.75rem;
}

.metier-proof-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .metier-proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metier-proof-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.2rem;
}

.metier-proof-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.metier-proof-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.metier-cta-final {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.metier-cta-final .section-label {
  margin-bottom: 0.75rem;
}

.metier-cta-final .section-title {
  margin-bottom: 0.85rem;
}

.metier-cta-final > p:not(.section-label) {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.metier-cta-final .hero-ctas {
  justify-content: center;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.metier-related {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .metier-related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .metier-related {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metier-related a {
  display: block;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.metier-related a:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
}

.metier-related a span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.metier-hub-grid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .metier-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .metier-hub-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metier-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.2s ease;
}

.metier-hub-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
}

.metier-hub-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.metier-hub-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  text-justify: auto;
}

.metier-hub-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
  text-justify: auto;
}
