/* ============================================================
   electricien_premium_dark — Step 3 CSS
   Dark mode premium strict, glassmorphism, scroll-spy, Bento.
   Validé Gemini Round 13 — feu vert.
   ============================================================ */

:root {
  /* Palette WCAG validée Gemini R10 */
  --bg-body:         #0B0C10;    /* fond principal noir profond */
  --bg-section:     #1F2833;     /* sections / cartes / inputs */
  --border-subtle:  #2A2F3D;     /* bordures 1px anti-bloc-noir */
  --action:         #66FCF1;     /* cyan — accents/icons/boutons ONLY */
  --action-deep:    #4FBFB5;     /* cyan hover */
  --text-pure:      #FFFFFF;     /* titres importants */
  --text-soft:      #C5C6C7;     /* texte courant (min 16px obligatoire) */
  --text-mute:      #8A8E96;     /* texte très secondaire */

  --shadow-glow:    0 0 14px rgba(102, 252, 241, 0.35);
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.4);

  --font:           -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-serif:     "Charter", Georgia, serif;

  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;

  --maxw:           1240px;
  --header-h:       72px;

  /* Z-index hierarchy (Gemini R13 warning) */
  --z-base:         1;
  --z-sticky:       10;   /* sticky elements (expertise media) */
  --z-header:       100;  /* site header */
  --z-toast:        200;  /* future toasts/notifs */
  --z-modal:        300;  /* future Robin V2 modals */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-body);
}

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

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

a {
  color: var(--action);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover, a:focus-visible {
  color: var(--text-pure);
}

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--text-pure);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

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

/* Focus visible — Gemini R13: cyan néon sur fond noir */
:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
  border-radius: 4px;
}

@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 GLASSMORPHISM (transparent → blur opaque scroll)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

/* État scrollé (toggled par JS via data-scrolled="true")
   Gemini R14: fallback opaque 0.95 pour Safari iOS sans backdrop-filter
   (l'effet transparent grisâtre sans blur = anti-premium). */
.site-header[data-scrolled="true"] {
  background: rgba(11, 12, 16, 0.95);
  border-bottom-color: var(--border-subtle);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header[data-scrolled="true"] {
    background: rgba(11, 12, 16, 0.72);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
  }
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-pure);
}
.brand:hover { color: var(--text-pure); }
.brand-logo {
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-tagline {
  font-size: 0.72rem;
  color: var(--action);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}
.header-nav a {
  color: var(--text-soft);
  font-weight: 500;
}
.header-nav a:hover { color: var(--text-pure); }
.header-cta {
  background: var(--action);
  color: var(--bg-body) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.header-cta:hover {
  background: var(--action-deep);
  color: var(--bg-body) !important;
  box-shadow: var(--shadow-glow);
}

.header-english {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-mute);
  white-space: nowrap;
}
.header-english svg { color: var(--action); }

/* Gemini R12: cacher english badge sur mobile (backup dans footer) */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-desktop-only { display: none; }
  .header-inner { gap: 1rem; }
}

/* ============================================================
   2. HERO premium — image piquée + overlay nav lisible
   ============================================================ */
.hero {
  position: relative;
  padding: 9rem 1.5rem 5rem;
  background: var(--bg-body);
  /* Gemini R12: overlay haut pour lisibilité nav avant scroll (glassmorphism) */
  background-image: linear-gradient(180deg, rgba(11, 12, 16, 0.85) 0%, transparent 25%);
}

.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--action);
  background: rgba(102, 252, 241, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 252, 241, 0.2);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1rem;
  background: linear-gradient(180deg, var(--text-pure) 0%, var(--text-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  min-height: 52px;
  border: 1px solid transparent;
}
.cta-primary {
  background: var(--action);
  color: var(--bg-body) !important;
  box-shadow: var(--shadow-glow);
}
.cta-primary:hover, .cta-primary:focus-visible {
  background: var(--action-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(102, 252, 241, 0.55);
}
.cta-secondary {
  background: transparent;
  color: var(--text-pure) !important;
  border-color: var(--border-subtle);
}
.cta-secondary:hover, .cta-secondary:focus-visible {
  border-color: var(--action);
  color: var(--action) !important;
}

.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 3/2;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 960px) {
  .hero { padding: 11rem 1.5rem 7rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

/* ============================================================
   3. EXPERTISES — Scroll-spy sticky (CSS-first, JS enhancement)
   ============================================================ */
.expertises {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}
.expertises-header { text-align: center; margin-bottom: 4rem; }
.section-title { text-align: center; }
.section-sub {
  text-align: center;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 auto 2rem;
}

.expertises-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.expertise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}

.expertise-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-section);
}
.expertise-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.expertise-body { padding: 0 0.5rem; }
.expertise-title {
  color: var(--text-pure);
  margin-bottom: 0.6rem;
}
.expertise-desc { color: var(--text-soft); margin-bottom: 0.75rem; }
.expertise-keywords {
  font-size: 0.85rem;
  color: var(--action);
  letter-spacing: 0.04em;
  margin: 0;
}
.expertise-keywords span { margin-right: 0.4rem; }

@media (min-width: 880px) {
  .expertise { grid-template-columns: 1fr 1fr; gap: 4rem; }
  /* Alternance gauche/droite des médias pour rythme visuel */
  .expertise:nth-child(even) .expertise-media { order: 2; }
  .expertise:nth-child(even) .expertise-body { order: 1; }
  /* Gemini R13 + R14: sticky avec max-height viewport pour éviter
     que l'image (potentiellement 2000px portrait) déborde et casse
     l'effet sticky. object-fit cover garantit cadre toujours rempli. */
  .expertise-media {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    max-height: calc(100vh - var(--header-h) - 4rem);
    overflow: hidden;
  }
  .expertise-media img {
    height: 100%;
    object-fit: cover;
  }
}

/* ============================================================
   VISUAL BREAK — macro photo respiration entre Expertises et Process
   ============================================================ */
.visual-break {
  margin: 5rem auto;
  max-width: var(--maxw);
  padding: 0 1.5rem;
}
.visual-break img {
  width: 100%;
  height: auto;
  aspect-ratio: 12/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  opacity: 0.85;
}

/* ============================================================
   4. PROCESS — typo fine, lignes 1px (Gemini R10)
   ============================================================ */
.process {
  padding: 5rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 3rem auto 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process-step {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.process-step:hover {
  border-color: var(--action);
  transform: translateY(-3px);
}
.process-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--action);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  line-height: 1;
}
.process-step-title {
  color: var(--text-pure);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.process-step-desc { color: var(--text-soft); margin: 0; font-size: 0.95rem; }

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

/* ============================================================
   5. RÉALISATIONS — Bento Grid asymétrique (classes utilitaires)
   ============================================================ */
.realisations {
  padding: 6rem 0;
}

.bento-grid {
  display: grid;
  /* Gemini R13: gap 1.5rem mobile, 2rem desktop — équilibre Bento */
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 3rem auto 0;
  grid-template-columns: 1fr;
  /* Mobile: empilé simple */
}

.bento-cell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-section);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.bento-cell:hover {
  transform: translateY(-4px);
  border-color: var(--action);
}
.bento-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gemini R16: filtres CSS pour varier le rendu visuel des 6 réalisations
   qui pointent vers le même realisation.svg de démo. Effet "diversité" zéro
   asset. À retirer dès que les vraies photos prospect arrivent. */
.bento-grid > .bento-cell:nth-child(2) img { filter: hue-rotate(20deg) brightness(0.92); }
.bento-grid > .bento-cell:nth-child(3) img { filter: hue-rotate(-15deg) brightness(0.85); }
.bento-grid > .bento-cell:nth-child(4) img { filter: hue-rotate(40deg) brightness(1.05); }
.bento-grid > .bento-cell:nth-child(5) img { filter: hue-rotate(-30deg) brightness(0.78); }
.bento-grid > .bento-cell:nth-child(6) img { filter: hue-rotate(60deg) brightness(0.95); }
.bento-cell figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 12, 16, 0.92) 100%);
  color: var(--text-pure);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Gemini R14: simplification Bento — UN seul système.
   Mobile: empilé 1 col, aspect-ratio sur img interne (cover).
   Desktop: grid-template-areas pilote tout. Classes utilitaires SUPPRIMÉES
   (.bento-main/tall/wide/standard sans aspect-ratio — juste hooks visuels). */

@media (min-width: 760px) {
  .bento-grid {
    gap: 2rem;
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "a a a b b b"
      "c c d d e e"
      "f f f f f f";
  }
  .bento-grid > .bento-cell:nth-child(1) { grid-area: a; }
  .bento-grid > .bento-cell:nth-child(2) { grid-area: b; }
  .bento-grid > .bento-cell:nth-child(3) { grid-area: c; }
  .bento-grid > .bento-cell:nth-child(4) { grid-area: d; }
  .bento-grid > .bento-cell:nth-child(5) { grid-area: e; }
  .bento-grid > .bento-cell:nth-child(6) { grid-area: f; }
}
@media (min-width: 1100px) {
  .bento-grid {
    grid-template-areas:
      "a a a a b b"
      "c c d d e e"
      "f f f f f f";
  }
}

/* Aspect-ratio mobile uniquement (desktop: grid pilote la zone) */
@media (max-width: 759px) {
  .bento-cell { aspect-ratio: 16/10; }
  .bento-cell.bento-tall { aspect-ratio: 4/5; }
  .bento-cell.bento-wide { aspect-ratio: 16/9; }
  .bento-cell.bento-standard { aspect-ratio: 4/3; }
}

/* ============================================================
   6. PARTNERS — grayscale → couleur hover (Gemini R11)
   ============================================================ */
.partners {
  padding: 5rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
}

.partners-list {
  list-style: none;
  padding: 0;
  margin: 3rem auto 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.partners-list li { display: flex; justify-content: center; }
.partners-list img {
  width: auto;
  max-width: 160px;
  height: 60px;
  object-fit: contain;
  /* Gemini R11: grayscale + opacity 0.5 → couleur originale au hover */
  filter: grayscale(1) brightness(0.85);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partners-list img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

@media (min-width: 720px) {
  .partners-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .partners-list { grid-template-columns: repeat(6, 1fr); }
}

/* ============================================================
   7. PACKS INSPIRATION — sans prix + IRVE offer séparée
   ============================================================ */
.packs { padding: 6rem 0; }

.packs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: var(--maxw);
  margin: 3rem auto 3rem;
}

.pack-card {
  background: var(--bg-section);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pack-card:hover {
  border-color: var(--action);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.pack-title {
  color: var(--text-pure);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}
.pack-desc { color: var(--text-soft); margin-bottom: 1rem; }
.pack-includes {
  font-size: 0.88rem;
  color: var(--text-mute);
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.pack-includes strong { color: var(--text-soft); }
.pack-cta {
  display: inline-block;
  font-weight: 600;
  color: var(--action);
  padding-top: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pack-cta:hover {
  color: var(--text-pure);
  border-bottom-color: var(--action);
}

.irve-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-body) 100%);
  border: 1px solid var(--action);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}
.irve-offer strong {
  color: var(--text-pure);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.35rem;
}
.irve-price {
  color: var(--action);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.irve-note { color: var(--text-soft); margin: 0; font-size: 0.92rem; }

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

/* ============================================================
   8. REVIEWS — cards premium + lang anglais préservé
   ============================================================ */
.reviews {
  padding: 6rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 3rem auto 0;
}
.review-card {
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 0.25rem;
  right: 1rem;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--action);
  line-height: 1;
  opacity: 0.4;
}
.review-text {
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.review-meta {
  font-size: 0.85rem;
  color: var(--text-mute);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}
.review-meta strong { color: var(--text-pure); display: inline-block; margin-bottom: 0.15rem; }
.review-role { color: var(--text-soft); }

.review-card-en {
  border-color: var(--action);
}
.review-card-en::after {
  content: 'EN';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  color: var(--action);
  letter-spacing: 0.15em;
  font-weight: 700;
  background: rgba(102, 252, 241, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

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

/* ============================================================
   9. QUOTE FORM multi-step — tuiles cliquables + cyan focus glow
   ============================================================ */
.quote {
  padding: 6rem 0 7rem;
  background: var(--bg-body);
}

.quote-form {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

/* Gemini R14: PAS de display:none brutal (clac UX). Transition fluide
   via opacity + visibility + max-height + pointer-events. Permet fade-in
   organique au passage step suivant. */
.quote-step {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  background: var(--bg-section);
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease-out, max-height 0.4s ease-out, transform 0.35s ease-out, padding 0.3s ease-out, border-color 0.3s ease;
  transform: translateY(8px);
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
}
.quote-step[data-step-active="true"] {
  opacity: 1;
  visibility: visible;
  max-height: 2000px;
  pointer-events: auto;
  transform: translateY(0);
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-color: var(--border-subtle);
}

/* Bug fix Kevin: <legend> natif HTML chevauche bordure fieldset (offsetTop -1).
   Remplacé par <p aria-labelledby> dans HTML — accessibilité préservée.
   Le p se comporte comme block normal sans quirk legend. */
.quote-step-label {
  color: var(--action);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  padding: 0;
  display: block;
}

/* Noscript fallback — Gemini R16 critique non négociable */
.quote-noscript {
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid #E63946;
  color: var(--text-pure);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.quote-noscript strong { color: #E63946; }
.quote-noscript a { font-weight: 700; }

.quote-subgroup-label {
  color: var(--text-pure);
  font-weight: 600;
  margin: 1.25rem 0 0.85rem;
}
.quote-subgroup-label:first-of-type { margin-top: 0; }

.quote-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.quote-options-grid-3 { grid-template-columns: repeat(2, 1fr); }

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

.quote-option {
  display: block;
  cursor: pointer;
  position: relative;
}
.quote-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quote-option span {
  display: block;
  padding: 1rem 0.85rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-body);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.quote-option span small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-mute);
  font-weight: 400;
  margin-top: 0.2rem;
}
.quote-option:hover span {
  border-color: var(--action);
  color: var(--text-pure);
}
/* Gemini R13: focus glow cyan néon obligatoire (sinon clic perdu noir) */
.quote-option input:focus-visible + span,
.quote-option input:checked + span {
  border-color: var(--action);
  background: rgba(102, 252, 241, 0.08);
  color: var(--text-pure);
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

.quote-field {
  display: block;
  margin-bottom: 1.25rem;
}
.quote-field > span {
  display: block;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.quote-field input[type="text"],
.quote-field input[type="tel"],
.quote-field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-body);
  /* Gemini R12: pas de bordures blanches default — border-subtle puis cyan focus */
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-pure);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quote-field input:focus {
  outline: none;
  border-color: var(--action);
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.4);
}

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.quote-consent input { margin-top: 0.25rem; }

.quote-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Confirmation submit récapitulative (Gemini R15) */
.quote-confirm {
  text-align: center;
  padding: 1.5rem 0;
}
.quote-confirm-title {
  color: var(--action);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}
.quote-confirm-recap {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 48ch;
  margin: 0 auto;
}
.quote-confirm-recap strong { color: var(--text-pure); }

.quote-next, .quote-prev {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  background: var(--action);
  color: var(--bg-body);
}
.quote-next:hover {
  background: var(--action-deep);
  box-shadow: var(--shadow-glow);
}
.quote-prev {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border-subtle);
}
.quote-prev:hover {
  color: var(--text-pure);
  border-color: var(--action);
}

/* ============================================================
   10. FOOTER premium
   ============================================================ */
.site-footer {
  background: var(--bg-section);
  color: var(--text-soft);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h3.footer-h {
  color: var(--text-pure);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer address {
  font-style: normal;
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.site-footer a {
  color: var(--action);
  font-weight: 500;
}
.site-footer a:hover { color: var(--text-pure); }
.footer-hours {
  margin-top: 0.5rem;
  color: var(--text-mute);
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  /* Gemini R14: --text-mute (#8A8E96) sur --bg-section = ratio 3.5:1 FAIL.
     Passer à --text-soft (#C5C6C7) pour ratio 4.5:1+ WCAG AA. */
  color: var(--text-soft);
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}


/* ============================================================
   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
   ============================================================ */
.robin-focus-ring {
  outline: 3px solid rgba(102, 252, 241, 0.6);
  outline-offset: 4px;
  border-radius: 6px;
  transition: outline 0.3s ease-in-out;
}

/* ============================================================
   STICKY CALL — bouton flottant permanent (palette dark cyan)
   Mobile centré bas, desktop bas-droite discret.
   ============================================================ */
.sticky-call {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--action);
  color: var(--bg-body) !important;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: var(--shadow-glow), 0 8px 24px rgba(0,0,0,0.5);
}
.sticky-call:hover, .sticky-call:focus-visible {
  background: var(--action-deep);
  color: var(--bg-body) !important;
}
.sticky-call svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .site-footer { margin-bottom: 80px; }
}
@media (min-width: 901px) {
  /* Desktop: floating button bas-droite, plus discret (pattern M5) */
  .sticky-call {
    bottom: 24px;
    left: auto;
    right: 24px;
    transform: none;
    padding: 0.85rem 1.4rem;
    font-size: 0.98rem;
  }
  .sticky-call:hover, .sticky-call:focus-visible {
    background: var(--action-deep);
    transform: translate(-2px, -2px);
  }
}


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