/* ============================================================
   urgence_serrurier_red — Step 3 CSS
   Palette inversée (Gemini R2): 80% blanc cassé dominant,
   anthracite = accent uniquement, rouge = ACTIONS only.
   Mobile-first, LCP < 1.5s, Robin V2 ready.
   ============================================================ */

:root {
  /* Palette validée R2 Gemini */
  --bg-dominant: #EDF2F4;     /* blanc cassé — 80% du site */
  --accent-deep: #2B2D42;      /* anthracite — header, titres, footer */
  --steel: #8D99AE;            /* gris acier — bordures, icônes secondaires */
  --action: #D90429;           /* rouge URGENCE — CTA, Live dot, étape 3 */
  --action-hover: #B30322;     /* rouge plus sombre — hover state */
  --safe: #007F5F;             /* vert sobre — badge "sans casse" */
  --shadow-soft: 0 2px 12px rgba(43, 45, 66, 0.08);
  --shadow-strong: 0 8px 24px rgba(43, 45, 66, 0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
  --header-h: 64px;
  --sticky-h: 64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--accent-deep);
  background: var(--bg-dominant);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture { max-width: 100%; height: auto; display: block; }

a { color: var(--action); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

button, .cta { font-family: inherit; cursor: pointer; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.2; color: var(--accent-deep); }
h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 760px; }

/* Focus visible — accessibilité */
:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   1. HEADER STICKY
   ============================================================ */
/* Hiérarchie z-index (documentée Gemini R6):
   - sticky-call mobile  : 90
   - site-header sticky  : 100
   - future modales Robin V2 : 200+
   Toujours respecter cet ordre pour éviter qu'un bouton flotte
   au-dessus d'un formulaire ou message d'erreur. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--accent-deep);
  color: #fff;
  height: var(--header-h);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

/* gap 0.75rem au lieu de 0.55 — Gemini R6 ergonomie:
   plus d'espace entre dot pulsant et nom pour ne pas distraire la lecture. */
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.05rem; }
.brand-city { font-size: 0.75rem; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }

/* Pulse dot dans .brand — mobile only, masqué desktop (live-status visible).
   Gemini R5 visual review: dot vert isolé sans contexte = cryptique. */
.brand-pulse {
  display: none;
  position: relative;
  width: 10px; height: 10px;
}
.brand-dot {
  position: absolute;
  inset: 0;
  background: #2ECC71;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: live-ping 2s infinite;
}

/* Sur mobile <640px: afficher le pulse dans .brand car .live-status est caché */
@media (max-width: 640px) {
  .brand-pulse { display: inline-block; }
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #fff;
}
.live-dot {
  width: 8px; height: 8px;
  background: #2ECC71;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  animation: live-ping 2.5s ease-in-out infinite;
}
/* Gemini R6: animation adoucie (opacité max 0.5 au lieu de 0.7, cycle 2.5s
   ease-in-out au lieu de 2s linéaire) pour éviter distraction visuelle
   à côté du nom de marque. */
@keyframes live-ping {
  0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.live-text { white-space: nowrap; }

/* Status fermé — dot vert remplacé par orange via classe injectée par main.js
   Utilisé sur les modèles futurs à horaires limités (chauffage, électricien, etc.). */
.live-status.is-closed .live-dot {
  background: #F77F00;
  animation: none;
  box-shadow: none;
}
.live-status.is-closed { background: rgba(247, 127, 0, 0.15); }

.header-tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--action);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-tel:hover, .header-tel:focus-visible {
  background: var(--action-hover);
  text-decoration: none;
  transform: translateY(-1px);
}
.header-tel-num { font-variant-numeric: tabular-nums; }

/* Mobile: cacher .live-status entier (dot maintenant dans .brand) + numéro tel header
   Gemini R5: ne plus laisser le dot vert orphelin — il est rapatrié dans .brand */
@media (max-width: 640px) {
  .live-status { display: none; }
  .header-tel-num { display: none; }
  .brand-city { display: none; }
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  padding: 2.5rem 1.25rem 3rem;
  background: linear-gradient(180deg, var(--bg-dominant) 0%, #fff 100%);
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--action);
  background: rgba(217, 4, 41, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin: 0 0 1.25rem;
}

.hero-title { margin-bottom: 0.5rem; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--accent-deep); /* WCAG AA: opacity 0.85 → pur #2B2D42 (Gemini R5 fix) */
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.stars { color: #F7B500; letter-spacing: 0.05em; }
.rating-count { color: var(--steel); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 52px;
}
.cta-primary {
  background: var(--action);
  color: #fff !important;
  box-shadow: var(--shadow-soft);
}
.cta-primary:hover, .cta-primary:focus-visible {
  background: var(--action-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}
.cta-secondary {
  background: transparent;
  color: var(--accent-deep) !important;
  border: 2px solid var(--accent-deep);
}
.cta-secondary:hover, .cta-secondary:focus-visible {
  background: var(--accent-deep);
  color: #fff !important;
}

.payment-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--steel);
}
.payment-logos img {
  height: 24px;
  width: auto;
  filter: grayscale(0.2);
}
.payment-label { margin-left: 0.5rem; }

/* Gemini R9 — SMS fallback CTA sous bouton hero (conversion-saver urgence) */
.hero-sms-fallback {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.92rem;
  color: var(--accent-deep);
}
.hero-sms-fallback a {
  font-weight: 700;
  color: var(--action);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.hero-sms-fallback a:hover,
.hero-sms-fallback a:focus-visible {
  color: var(--action-hover);
  text-decoration-thickness: 2px;
}

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  /* Gemini R9: object-fit cover + height 100% pour éliminer whitespace
     quand SVG ratio (3:2 ou autre) ≠ container 4:3. Crop léger côtés
     mais zéro whitespace. */
  object-fit: cover;
  aspect-ratio: 4/3;
}
.hero-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(43, 45, 66, 0.85);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .hero { padding: 4rem 1.25rem 4.5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}

/* ============================================================
   3. TUNNEL — 4 étapes vers votre canapé
   ============================================================ */
.tunnel {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid rgba(141, 153, 174, 0.2);
  border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}
.tunnel-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.tunnel-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.tunnel-step {
  background: var(--bg-dominant);
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tunnel-step:hover { transform: translateY(-2px); }

.tunnel-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.tunnel-step-label { margin: 0 0 0.5rem; font-size: 1.05rem; }
.tunnel-step-desc { margin: 0; font-size: 0.95rem; color: rgba(43, 45, 66, 0.92); } /* fix WCAG */

/* Spécificité forte pour écraser le reste (Gemini R4)
   z-index: 2 ajouté Gemini R5 pour éviter chevauchement shadow rouge
   avec voisins desktop en grid 4 cols. */
.tunnel-steps .tunnel-step.tunnel-step-highlight {
  background: var(--action);
  color: #fff;
  border-color: var(--action-hover);
  box-shadow: 0 8px 24px rgba(217, 4, 41, 0.3);
  transform: scale(1.02);
  position: relative;
  z-index: 2;
}
.tunnel-steps .tunnel-step.tunnel-step-highlight .tunnel-step-num {
  background: #fff;
  color: var(--action);
}
.tunnel-steps .tunnel-step.tunnel-step-highlight .tunnel-step-label,
.tunnel-steps .tunnel-step.tunnel-step-highlight .tunnel-step-desc {
  color: #fff;
}
.tunnel-steps .tunnel-step.tunnel-step-highlight .tunnel-step-label {
  font-weight: 800;
  font-size: 1.25rem;
}

@media (min-width: 720px) {
  /* gap 1.5rem (au lieu de 1rem) — Gemini R5: éviter chevauchement
     shadow rouge de l'étape 3 highlight avec les voisins. */
  .tunnel-steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* ============================================================
   4. PRICING — 3 cards forfaits + badge sans casse
   ============================================================ */
.pricing {
  padding: 3.5rem 0;
  background: var(--bg-dominant);
}
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-sub {
  text-align: center;
  /* fix WCAG: 0.75 sur #EDF2F4 = limite. Garder mais légèrement remonter. */
  color: rgba(43, 45, 66, 0.92);
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  /* padding-top 2.5rem pour laisser place SYSTÉMATIQUE au badge -12px
     (Gemini R5: anti-overlap si titre passe sur 2 lignes) */
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.price-card-featured {
  border-color: var(--action);
}

/* Badge sans casse — élément visuel fort (Gemini R4 + R5)
   max-width pour éviter dépassement écran 320px, white-space nowrap conservé.
   .price-card padding-top 2.5rem garantit la place visuelle même si h3 wrap. */
.badge-safe {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--safe);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: calc(100% - 1.5rem);
  box-shadow: 0 4px 12px rgba(0, 127, 95, 0.35);
}
/* Gemini R6: réduire le badge sur très petits écrans (320-359px)
   pour éviter texte écrasé ou wrap involontaire — "mieux vaut un
   badge petit qu'un badge sur 2 lignes qui ressemble à un bug". */
@media (max-width: 359px) {
  .badge-safe {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
  }
}

.price-title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  min-height: 2.4em;
}
.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--action);
  margin: 0 0 0.75rem;
  font-variant-numeric: tabular-nums;
}
.price-note {
  font-size: 0.9rem;
  color: rgba(43, 45, 66, 0.92); /* fix WCAG */
  margin: 0;
}

.pricing-night-note {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  /* fix Lighthouse a11y: var(--steel) #8D99AE sur #fff = ratio 2.7:1 FAIL.
     Passer à accent-deep avec opacité légère pour rester subtle ET WCAG AA. */
  color: rgba(43, 45, 66, 0.85);
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--action);
}

@media (min-width: 760px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   5. COVERAGE — carte + zones + GBP link
   ============================================================ */
.coverage { padding: 3.5rem 0; background: #fff; }
.coverage-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.coverage-map img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.coverage-zones h3 { margin-bottom: 1rem; }
.zones-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.zones-list li {
  background: var(--bg-dominant);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-align: center;
}
.coverage-radius {
  font-size: 0.95rem;
  color: rgba(43, 45, 66, 0.92); /* fix WCAG */
  margin: 0 0 1rem;
}
.coverage-gmaps a {
  display: inline-block;
  font-weight: 700;
  padding: 0.5rem 0;
  /* Gemini R9: contraste lien GBP — couleur explicite rouge action
     (au lieu de hériter du color body) pour score Desktop 96→100 */
  color: var(--action);
  border-bottom: 2px solid var(--action);
}
.coverage-gmaps a:hover, .coverage-gmaps a:focus-visible {
  color: var(--action-hover);
  border-bottom-color: var(--action-hover);
}

@media (min-width: 900px) {
  .coverage-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ============================================================
   6. REVIEWS — 4 cartes avis
   ============================================================ */
.reviews { padding: 3.5rem 0; background: var(--bg-dominant); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--action);
}
.review-text {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--accent-deep); /* fix WCAG: pur */
}
.review-meta {
  font-size: 0.85rem;
  /* fix Lighthouse a11y: var(--steel) sur #fff card = ratio insuffisant.
     Passe à accent-deep avec opacité 0.7 (ratio AA OK). */
  color: rgba(43, 45, 66, 0.7);
}
.review-meta strong { color: var(--accent-deep); }

@media (min-width: 720px)  { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   7. FAQ — details/summary avec transition fluide
   (Gemini R4 point de rupture : Robin V2 ne doit pas saccader)
   Gemini R5 layout-shift: padding-bottom généreux pour absorber
   l'expansion des details sans pousser le footer (Robin clic footer
   ne doit pas voir cible bouger pendant animation FAQ).
   ============================================================ */
.faq { padding: 3.5rem 0 5rem; background: #fff; }

.faq-item {
  background: var(--bg-dominant);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--action);
  background: #fff;
}
.faq-q {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--accent-deep);
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--action);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--accent-deep); /* fix WCAG: pur */
  font-size: 0.95rem;
  line-height: 1.65;

  /* Animation reveal douce — Robin V2 friendly */
  animation: faq-reveal 0.3s ease-out;
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.site-footer {
  background: var(--accent-deep);
  /* WCAG AA: rgba blanc 0.85 = ratio 4.0:1 sur #2B2D42 (FAIL).
     Fix Gemini R5 → blanc pur 100% pour mentions légales lisibles plein soleil. */
  color: #FFFFFF;
  padding: 3rem 0 1.5rem;
  margin-bottom: 80px; /* place pour sticky-call mobile */
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 0.5rem;
}
.footer-tel {
  display: inline-block;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.footer-tel:hover, .footer-tel:focus-visible {
  color: var(--action) !important;
  text-decoration: none;
}
.footer-hours { color: rgba(255,255,255,0.85); margin: 0; } /* fix WCAG */

.footer-h {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.site-footer address {
  font-style: normal;
  line-height: 1.6;
  font-size: 0.9rem;
}
.site-footer a { color: #FFFFFF; } /* fix WCAG: blanc pur */
.site-footer a:hover { color: var(--action); }

.footer-legal p { font-size: 0.85rem; line-height: 1.6; }
.footer-legal img { margin-top: 0.5rem; filter: brightness(0) invert(1) opacity(0.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85); /* fix WCAG: 0.55 = ratio illisible plein soleil */
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer { margin-bottom: 0; } /* desktop: pas de sticky mobile */
}

/* ============================================================
   STICKY CALL — bouton flottant mobile
   ============================================================ */
.sticky-call {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--action);
  color: #fff !important;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none !important;
  /* Gemini R5 visual review: ombre renforcée pour détacher
     le bouton du fond clair #EDF2F4 (sinon se fond). Double
     shadow: la plus dense + une halo rouge plus large. */
  box-shadow:
    0 8px 28px rgba(217, 4, 41, 0.55),
    0 2px 4px rgba(43, 45, 66, 0.15);
  animation: pulse-shadow 2.2s ease-in-out infinite;
}
@keyframes pulse-shadow {
  0%, 100% {
    box-shadow:
      0 8px 28px rgba(217, 4, 41, 0.55),
      0 2px 4px rgba(43, 45, 66, 0.15);
  }
  50% {
    box-shadow:
      0 12px 40px rgba(217, 4, 41, 0.8),
      0 2px 4px rgba(43, 45, 66, 0.15);
  }
}
.sticky-call:hover, .sticky-call:focus-visible {
  background: var(--action-hover);
  text-decoration: none;
}

@media (min-width: 760px) {
  /* Desktop: sticky devient floating button bas-droite, plus discret (pattern M5) */
  .sticky-call {
    bottom: 24px;
    left: auto;
    right: 24px;
    transform: none;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
  }
  .sticky-call:hover, .sticky-call:focus-visible {
    background: var(--action-hover);
    transform: translate(-2px, -2px);
  }
}


/* ============================================================
   CONTACT CARD — demande de rappel (pattern M4, palette urgence M2)
   ============================================================ */
.contact {
  padding: 4.5rem 0;
  background: var(--bg-dominant);
  border-top: 1px solid var(--steel);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 2.4rem;
}
.contact-direct {
  background: var(--accent-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.contact-direct-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--action);
  margin: 0 0 0.8rem;
}
.contact-tel {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  color: #fff !important;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  margin-bottom: 0.5rem;
}
.contact-tel:hover, .contact-tel:focus-visible {
  color: var(--action) !important;
  text-decoration: none;
}
.contact-hours {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.contact-or {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.8rem 0;
}
.contact-email {
  color: var(--action) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.95rem;
}
.contact-form {
  background: #FFFFFF;
  border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
}
.contact-form-label {
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.contact-field {
  display: block;
  margin-bottom: 1rem;
}
.contact-field > span {
  display: block;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-dominant);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  color: var(--accent-deep);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-field textarea { resize: vertical; min-height: 80px; }
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.16);
}
.contact-noscript {
  background: rgba(217, 4, 41, 0.08);
  border: 1px solid var(--action);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
  color: var(--accent-deep);
}
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--accent-deep);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}
.contact-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.contact-submit { width: 100%; margin-top: 0.5rem; }
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: stretch; }
  .contact-direct { display: flex; flex-direction: column; justify-content: center; }
}

/* ============================================================
   FINAL CTA — bandeau avant footer (Robin V2 forward-compat)
   Palette urgence: fond anthracite, CTA rouge plein.
   ============================================================ */
.final-cta {
  background: var(--accent-deep);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.final-cta-title {
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.7rem;
  color: #fff;
  line-height: 1.2;
}
.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 1.8rem;
  line-height: 1.5;
}
.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.cta-large {
  padding: 1.1rem 1.8rem;
  font-size: 1.1rem;
  background: var(--action);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 24px rgba(217, 4, 41, 0.55);
}
.cta-large:hover, .cta-large:focus-visible {
  background: var(--action-hover);
  color: #fff;
  text-decoration: none;
}
.final-cta-hours {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
@media (max-width: 600px) {
  .final-cta { padding: 3rem 0; }
  .final-cta-actions .cta-large { width: 100%; justify-content: center; }
}


/* ============================================================
   REVEAL ON SCROLL — animation au défilement (pattern M1)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ROBIN V2 FORWARD-COMPAT
   Préparé dès V1 (Gemini R2 — Lean Engineering)
   ============================================================ */
.robin-focus-ring {
  outline: 3px solid rgba(217, 4, 41, 0.6);
  outline-offset: 4px;
  border-radius: 6px;
  transition: outline 0.3s ease-in-out;
}

/* ============================================================
   ACCESSIBLE HELPERS
   ============================================================ */
.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;
}
