/* =============================================
   AirPur Provence — style.css
   Mobile-first | Vanilla CSS | Zéro dépendance
   ============================================= */

/* -----------------------------------------------
   0. TICKER BANNER
----------------------------------------------- */
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-banner {
  width: 100%;
  height: 40px;
  background: var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.top-banner:hover .ticker-track { animation-play-state: paused; }

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 500;
}

.ticker-item svg {
  stroke: var(--primary);
  flex-shrink: 0;
}

.ticker-separator {
  color: rgba(0, 0, 0, 0.25);
  padding: 0 8px;
  font-size: 18px;
  line-height: 1;
}

/* -----------------------------------------------
   1. CSS VARIABLES & RESET
----------------------------------------------- */
:root {
  /* Bleu principal */
  --primary:        #179cd8;
  --primary-dark:   #1186b8;   /* hover, ombres */
  --primary-deeper: #0d6a92;   /* sections sombres, footer */
  --primary-light:  #e8f6fd;   /* fonds clairs alternés */
  --primary-glow:   rgba(23, 156, 216, 0.18);

  /* Jaune or */
  --gold:           #fbd74a;
  --gold-dark:      #e8c32a;   /* hover boutons gold */
  --gold-light:     #fef9e0;   /* fonds badges, encarts */

  /* Neutres */
  --white:          #ffffff;
  --off-white:      #f7fbfe;
  --text-dark:      #0a1e2e;   /* texte principal, sur --gold */
  --text-mid:       #4a6070;
  --text-light:     #90aab8;

  /* Semantic */
  --danger-bg:      #fff0f0;
  --danger-text:    #d93025;
  --success-bg:     #f0fff6;
  --success-text:   #1e7a45;
  --border:         rgba(23, 156, 216, 0.15);

  /* Dérivées */
  --card-shadow: 0 4px 20px rgba(23, 156, 216, 0.08);
  --card-shadow-hover: 0 12px 32px rgba(23, 156, 216, 0.14);

  /* Typographie — Plus Jakarta Sans pour les titres */
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  /* Spacing */
  --section-padding: 64px 0;
  --container-max: 1200px;
  --container-padding: 24px; /* Mobile : 24px */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.2;
}

/* Typographie — tailles mobile */
h1 { font-size: 36px; font-weight: 700; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 600; }

.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;
}

/* -----------------------------------------------
   2. LAYOUT
----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-padding);
}

/* -----------------------------------------------
   3. TYPOGRAPHY SECTIONS
----------------------------------------------- */
.section-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 48px;
}

/* -----------------------------------------------
   4. BUTTONS
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

/* RÈGLE 1 : CTA gold */
.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
  border: 2px solid var(--gold);
  font-weight: 700;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

/* RÈGLE 2 : Bouton outline blanc */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* -----------------------------------------------
   5. ANIMATIONS & REVEAL
----------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.85; }
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* -----------------------------------------------
   6. HEADER
----------------------------------------------- */
#header {
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 24px;
  padding-right: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

/* RÈGLE 6 : Logo "AirPur" text-dark, "Provence" primary */
.logo-accent { color: var(--primary); }
.logo--white .logo-text { color: var(--white); }
.logo--white .logo-accent { color: var(--gold); }

.header-tagline {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .header-tagline { display: none; }
}

.nav-menu ul {
  display: none;
  gap: 4px;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 2px;
}

/* RÈGLE 5 : underline nav hover = gold */
.nav-menu a:hover,
.nav-menu a:focus-visible { color: var(--primary); }
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}

.hamburger:hover,
.hamburger:focus-visible { background: var(--primary-light); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------------------------
   7. HERO — 2 COLONNES
----------------------------------------------- */
/* RÈGLE 3 : fonds sombres = gradient primary → primary-deeper */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deeper) 100%);
  color: var(--white);
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Layout 2 colonnes */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Colonne gauche --- */
.hero-text { display: flex; flex-direction: column; gap: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}

.badge-pulse {
  animation: pulse 1.8s ease-in-out infinite;
  display: inline-block;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 16px;
}

/* RÈGLE 5 : accent titre hero = gold */
.hero-title-accent { color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  line-height: 1.65;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-checks svg { flex-shrink: 0; }

.hero-subtitle-end {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 28px;
}

/* CTA Hero */
.hero-cta { margin-bottom: 24px; }

.btn-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Bandeau social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px 20px;
  width: fit-content;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px;
}

.hero-proof-item:first-child { padding-left: 0; }
.hero-proof-item:last-child  { padding-right: 0; }

.hero-proof-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* RÈGLE 5 : étoiles = gold */
.proof-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* RÈGLE 3 : chiffres mis en valeur = gold */
.proof-stat {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
}

.proof-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.proof-label strong {
  color: var(--white);
  font-size: 0.88rem;
  display: block;
}

/* --- Colonne droite : carte formulaire --- */
/* RÈGLE 7 : fond blanc, shadow glow bleu */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(23, 156, 216, 0.2);
  padding: 28px 24px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

/* Hero form fields — style clair (fond blanc) */
#hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hf-row {
  display: grid;
  grid-template-columns: 1fr; /* Mobile : 1 colonne */
  gap: 10px;
}

.hf-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hf-group--full {
  grid-column: 1 / -1;
}

.hf-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.8;
}

/* RÈGLE 7 : titre carte = primary */
.hf-group label span[aria-hidden] {
  color: var(--primary);
}

.hf-group input,
.hf-group select,
.hf-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--off-white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px; /* 16px min — évite le zoom automatique iOS */
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.hf-group input::placeholder,
.hf-group textarea::placeholder {
  color: var(--text-light);
  font-size: 0.82rem;
}

.hf-group select option {
  background: var(--white);
  color: var(--text-dark);
}

/* RÈGLE 5 & 7 : focus inputs = border primary + glow */
.hf-group input:focus,
.hf-group select:focus,
.hf-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--white);
}

.hf-group input.error,
.hf-group select.error {
  border-color: var(--danger-text);
}

.hf-group .field-error {
  font-size: 0.72rem;
  color: var(--danger-text);
  min-height: 14px;
}

.hf-group textarea {
  resize: vertical;
  min-height: 72px;
  font-size: 0.88rem;
}

/* Toggle radio gainable */
.radio-toggle {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.radio-opt {
  position: relative;
  cursor: pointer;
}

.radio-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-opt span {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--off-white);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.radio-opt input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.radio-opt span:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.radio-opt input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Bouton submit hero */
.btn-hero-submit {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}

.hero-form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.73rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}

/* Succès hero form */
.hero-success {
  text-align: center;
  padding: 32px 20px;
  animation: fadeInUp 0.5s ease;
}

.hero-success[hidden] { display: none; }

.hero-success svg { margin: 0 auto 14px; }

/* RÈGLE 7 : titre succès = primary */
.hero-success h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.hero-success p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* -----------------------------------------------
   8. RÉASSURANCE
----------------------------------------------- */
/* RÈGLE 4 : fond section paire = primary-light */
.reassurance {
  background: var(--primary-light);
  padding: 32px 0;
}

.reassurance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reassurance-item svg { flex-shrink: 0; }

.reassurance-item div {
  display: flex;
  flex-direction: column;
}

.reassurance-item strong {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.reassurance-item span {
  font-size: 0.82rem;
  color: var(--primary);
}

/* -----------------------------------------------
   9. PROBLÈME → SOLUTION (2 colonnes numérotées)
----------------------------------------------- */
/* RÈGLE 4 : section impaire = white */
.problem-solution { background: var(--white); }

.ps-label {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.ps-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 48px;
}

.ps-col { display: flex; flex-direction: column; }

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  align-self: flex-start;
}
/* RÈGLE 8 : badges problème/solution */
.ps-badge--danger  { background: var(--danger-bg); color: var(--danger-text); border: 1px solid rgba(229, 62, 62, 0.25); }
.ps-badge--success { background: var(--success-bg); color: var(--success-text); border: 1px solid rgba(39, 103, 73, 0.25); }

.ps-items { display: flex; flex-direction: column; }

.ps-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.ps-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.ps-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.ps-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
/* RÈGLE 8 : cercles problème/solution */
.ps-num--danger  { background: var(--danger-bg); color: var(--danger-text); border: 2px solid rgba(229, 62, 62, 0.25); }
.ps-num--success { background: var(--success-bg); color: var(--success-text); border: 2px solid rgba(39, 103, 73, 0.25); }

.ps-connector {
  width: 2px;
  height: 24px;
  margin: 6px 0 6px 19px;
  border-radius: 2px;
  align-self: flex-start;
}
.ps-connector--danger  { background: rgba(229, 62, 62, 0.25); }
.ps-connector--success { background: rgba(39, 103, 73, 0.25); }

.ps-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.ps-arrow--h { display: none; }
.ps-arrow--v { display: block; }

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* -----------------------------------------------
   9b. SECTION CHIFFRES CLÉS
----------------------------------------------- */
/* RÈGLE 3 : fond sombre = gradient primary → primary-deeper */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deeper) 100%);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}
.stat-icon--gold { filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.5)); color: var(--gold); }

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

/* RÈGLE 3 : chiffres compteurs = gold */
.stat-number,
.stat-static {
  font-family: var(--font-display), sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--gold);
  display: block;
}

.stat-jo {
  font-family: var(--font-display), sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--gold);
  display: block;
}

.stat-suffix {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  max-width: 120px;
}

/* -----------------------------------------------
   10. PRICING SECTION — SWITCHER + CARDS
----------------------------------------------- */
/* RÈGLE 9 : fond section = primary-light */
.pricing-section {
  background: var(--primary-light);
  padding-bottom: 32px;
}

/* Toggle Particulier / Pro */
/* RÈGLE 9 : fond toggle inactif = #f0f0f0 */
.pricing-toggle {
  display: flex;
  background: #f0f0f0;
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 48px;
}

.pricing-toggle button {
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.2s ease;
  background: transparent;
  color: #666;
}

/* RÈGLE 9 : bouton actif = primary */
.pricing-toggle button.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(23, 156, 216, 0.3);
}

/* Grille — 1 colonne mobile, 3 colonnes desktop */
.pricing-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

/* Cards */
.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* RÈGLE 9 : card populaire = border primary */
.pricing-card.popular {
  margin-top: -16px;
  box-shadow: 0 8px 40px rgba(23, 156, 216, 0.18);
  border: 2px solid var(--primary);
}

.pricing-card.popular:hover {
  box-shadow: 0 16px 48px rgba(23, 156, 216, 0.25);
}

/* RÈGLE 9 : badge "Le plus populaire" = primary */
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.81rem;
  font-weight: 700;
  white-space: nowrap;
}

/* RÈGLE 5 : Icône cercle = background primary, icône blanche */
.pricing-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.pricing-icon svg { display: block; }

/* Titre card */
.pricing-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* Prix */
.pricing-price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price--sm {
  font-size: 1.6rem;
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 24px;
}

/* Liste features */
.pricing-features-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-align: left;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f5f5f5;
}

/* RÈGLE 9 : checkmarks features = primary */
.pricing-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Boutons pricing */
.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: block;
  text-decoration: none;
  margin-top: auto;
}

/* RÈGLE 9 : bouton outline = border + texte primary */
.pricing-btn-outline {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.pricing-btn-outline:hover,
.pricing-btn-outline:focus-visible {
  background: var(--primary);
  color: var(--white);
}

/* RÈGLE 9 : bouton solid = primary */
.pricing-btn-solid {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.pricing-btn-solid:hover,
.pricing-btn-solid:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* -----------------------------------------------
   11. GALERIE AVANT / APRÈS
----------------------------------------------- */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s ease;
}

.gallery-item:hover { box-shadow: var(--card-shadow-hover); }

.before-after { display: grid; grid-template-columns: 1fr 1fr; }

.before, .after {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e0e8ed;
}

.before img, .after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .before img,
.gallery-item:hover .after img { transform: scale(1.04); }

.ba-label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 1;
}

.ba-label--before { background: #ffeeee; color: #cc0000; }
.ba-label--after  { background: #eeffee; color: #006600; }

.gallery-caption {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-align: center;
  margin-top: 8px;
  padding: 0 8px 10px;
}

.gallery-caption--center { text-align: center; }

.gallery-item--full { grid-column: 1 / -1; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(23, 156, 216, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.gallery-dot.active,
.gallery-dot:hover { background: var(--primary); }

/* -----------------------------------------------
   12. TÉMOIGNAGES — SLIDER INFINI
----------------------------------------------- */
/* RÈGLE 3 : fond sombre = gradient primary → primary-deeper */
.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deeper) 100%);
  padding: var(--section-padding);
  overflow: hidden;
}

.testimonials .section-title { color: var(--white); }

.testimonials > .container { margin-bottom: 40px; }

/* Slider wrapper (full width, pas de container) */
.testimonials-slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0;
}

/* Pause à hover */
.testimonials-slider:hover .testimonials-track {
  animation-play-state: paused;
}

/* Track commun */
.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.testimonials-track--1 {
  animation: scrollLeft 40s linear infinite;
}

.testimonials-track--2 {
  animation: scrollRight 40s linear infinite;
}

/* Cards avis */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(23, 156, 216, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* RÈGLE 5 : étoiles = gold */
.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Badge type client */
.tc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.tc-badge--part {
  background: rgba(23, 156, 216, 0.12);
  color: var(--primary);
  border: 1px solid rgba(23, 156, 216, 0.3);
}

.tc-badge--pro {
  background: var(--gold-light);
  color: #7a5c00;
  border: 1px solid rgba(255, 184, 0, 0.35);
}

.testimonial-card blockquote p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-mid);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* -----------------------------------------------
   13. FAQ
----------------------------------------------- */
/* RÈGLE 10 : fond section = white */
.faq { background: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(23, 156, 216, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: left;
  transition: color 0.2s, background 0.2s;
}

/* RÈGLE 10 : question active = primary */
.faq-question:hover,
.faq-question:focus-visible,
.faq-item.open .faq-question {
  color: var(--primary);
  background: rgba(23, 156, 216, 0.04);
}

/* RÈGLE 10 : icône accordéon = primary */
.faq-icon {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding-bottom: 18px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 2px;
}

/* -----------------------------------------------
   14. SECTION DEVIS
----------------------------------------------- */
/* RÈGLE 3 : fond sombre = gradient primary → primary-deeper */
.quote-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deeper) 100%);
  color: var(--white);
}

.quote-inner {
  max-width: 720px;
  margin: 0 auto;
}

.quote-header {
  text-align: center;
  margin-bottom: 40px;
}

.quote-header h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.quote-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-row-name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* RÈGLE 1 : astérisques formulaire = gold */
.form-group label span[aria-hidden] { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.form-group select option { background: var(--primary-deeper); color: var(--white); }

/* RÈGLE 5 : focus inputs = border primary + glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(255, 255, 255, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e57373;
  box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.2);
}

.field-error {
  font-size: 0.8rem;
  color: #ff8a80;
  min-height: 18px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-checkbox { flex-direction: column; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 2px;
  transition: all 0.2s;
  position: relative;
}

/* Checkbox cochée = primary */
.checkbox-label input:checked + .checkbox-custom {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid var(--primary);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-label input:focus-visible + .checkbox-custom {
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  justify-content: center;
  margin-top: 8px;
}

.success-message {
  text-align: center;
  padding: 40px 24px;
  background: rgba(23, 156, 216, 0.08);
  border: 1px solid rgba(23, 156, 216, 0.25);
  border-radius: var(--radius);
  animation: fadeInUp 0.5s ease;
}

.success-message[hidden] { display: none; }
.success-message svg { margin: 0 auto 16px; }
.success-message h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.success-message p  { color: rgba(255, 255, 255, 0.75); font-size: 1rem; }

/* -----------------------------------------------
   15. FOOTER
----------------------------------------------- */
/* RÈGLE 3 : footer = primary-deeper */
#footer {
  background: var(--primary-deeper);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-slogan {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.footer-col a { color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--gold); }

.footer-contact ul li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { flex-shrink: 0; color: var(--primary-light); }

.footer-bottom { padding: 18px 0; text-align: center; }

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.45); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* -----------------------------------------------
   16. RESPONSIVE — TABLETTE (768px+)
----------------------------------------------- */
@media (min-width: 768px) {

  :root {
    --section-padding: 80px 0;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 34px; }

  /* Header */
  .hamburger { display: none; }
  .nav-menu ul { display: flex; }

  /* Hero */
  .hero { padding: 60px 24px 72px; }
  /* Hero tablette : 1 colonne, formulaire centré */
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-form-card { max-width: 600px; margin: 0 auto; padding: 28px 24px; }
  /* hf-row : 2 colonnes dès tablette */
  .hf-row { grid-template-columns: 1fr 1fr; }

  /* Réassurance */
  .reassurance-inner { grid-template-columns: repeat(4, 1fr); }

  /* Stats — 2 colonnes (maintenu) */
  .stats-grid { gap: 32px 40px; }

  /* Pricing toggle — plus compact sur tablette */
  .pricing-toggle button { padding: 10px 22px; }

  /* Galerie */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Formulaire devis bas */
  .form-row { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* -----------------------------------------------
   17. RESPONSIVE — DESKTOP (1024px+)
----------------------------------------------- */
@media (min-width: 1024px) {

  :root {
    --container-padding: 48px; /* Desktop : 48px */
    --section-padding: 96px 0;
  }

  h1 { font-size: 52px; }
  h2 { font-size: 38px; }

  /* Hero layout 2 colonnes */
  .hero { padding: 64px 0 88px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

  /* Hero form card */
  .hero-form-card { max-width: 100%; margin: 0; padding: 32px 28px; }
  /* hf-row : 2 colonnes sur desktop */
  .hf-row { grid-template-columns: 1fr 1fr; }

  /* Problème / Solution — 2 colonnes */
  .ps-layout {
    grid-template-columns: 1fr 80px 1fr;
    gap: 0;
    align-items: center;
  }
  .ps-arrow--h { display: block; }
  .ps-arrow--v { display: none; }

  /* Stats — 4 colonnes */
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  /* Pricing — 3 colonnes + card populaire surélevée */
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card.popular { margin-top: -16px; }

  /* Galerie */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Slider avis — 2 rangées visibles */
  .testimonials-track--2 { display: flex; }

  /* Dots galerie masqués sur desktop */
  .gallery-dots { display: none; }

  /* Footer */
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
}

/* Masquer rangée 2 sur mobile */
@media (max-width: 1023px) {
  .testimonials-track--2 { display: none; }
}

/* Prénom/Nom toujours côte à côte, même sur mobile */
@media (max-width: 767px) {
  .form-row { grid-template-columns: 1fr; }
  .form-row-name { grid-template-columns: 1fr 1fr; }
}

/* -----------------------------------------------
   18. ACCESSIBILITÉ & FOCUS
----------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .testimonials-track { animation: none; }
}

/* -----------------------------------------------
   19. HERO PROMO PILL
----------------------------------------------- */
@keyframes pulsePill {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

.hero-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  width: fit-content;
  animation: pulsePill 2s ease-in-out infinite;
}

/* -----------------------------------------------
   20. RÉASSURANCE — EMOJI ICON
----------------------------------------------- */
.reassurance-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

/* -----------------------------------------------
   21. PRICING — BADGE CRÉDIT D'IMPÔT
----------------------------------------------- */
.pricing-tax-badge {
  background: var(--gold-light);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
}

/* -----------------------------------------------
   22. SECTION MÉTHODE — 2 RANGÉES
----------------------------------------------- */
.method-section {
  background: var(--primary-light);
  padding: 96px 0;
}

.method-label {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Rangées */
.method-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
}

.method-row--bottom {
  margin-top: 32px;
  margin-bottom: 48px;
}

/* Connecteur horizontal (masqué mobile) */
.method-connector { display: none; }

/* Étape individuelle */
.method-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  width: 100%;
  max-width: 340px;
}

.method-step-num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 56px;
  color: var(--primary);
  opacity: 0.35;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
}

/* Cercle standard */
.method-step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* Cercle signature — fond primary */
.method-step-circle--primary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 72px;
  height: 72px;
}

.method-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.method-step-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* Badge "Notre signature" */
.method-signature-badge {
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Étapes 04 + 05 — dimensions communes */
.method-step--signature,
.method-step--last {
  border-radius: 20px;
  padding: 32px 40px;
  width: 100%;
}

/* Étape 04 SIGNATURE — card bleue */
.method-step--signature {
  background: var(--primary);
  box-shadow: 0 16px 48px rgba(23, 156, 216, 0.3);
}

.method-step--signature .method-step-num { color: rgba(255, 255, 255, 0.55); opacity: 1; }
.method-step--signature .method-step-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}
.method-step--signature .method-step-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  max-width: 100%;
}

/* Étape 05 */
.method-step--last {
  background: var(--white);
  border: 2px solid rgba(23, 156, 216, 0.2);
}

.method-step--last .method-step-num { color: var(--primary); opacity: 0.35; }

/* -----------------------------------------------
   22b. MÉTHODE — DESKTOP (≥900px)
----------------------------------------------- */
@media (min-width: 900px) {

  .method-row--top {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
  }

  .method-row--top .method-step {
    width: 200px;
    flex-shrink: 0;
  }

  .method-connector {
    display: block;
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: var(--primary);
    opacity: 0.25;
    margin-top: calc(2.2rem + 12px + 32px); /* num + gap + half circle */
    flex-shrink: 0;
  }

  .method-row--bottom {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .method-row--bottom .method-step--signature,
  .method-row--bottom .method-step--last {
    flex: 1 1 0;
    max-width: none;
  }
}

/* -----------------------------------------------
   23. SECTION VOISINS
----------------------------------------------- */
.voisins-section {
  background: var(--white);
  padding: 96px 0;
}

.voisins-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

/* Colonne gauche */
.voisins-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.voisins-left h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.voisins-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.voisins-encart {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 28px;
}

.voisins-encart strong { font-weight: 700; }

/* Colonne droite — étapes verticales */
.voisins-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.voisins-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.voisins-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.voisins-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

.voisins-connector {
  width: 2px;
  height: 40px;
  background: var(--gold);
  opacity: 0.4;
  border-left: 2px dashed var(--gold);
  margin: 4px 0;
}

.voisins-step-content {
  padding-top: 6px;
  padding-bottom: 28px;
}

.voisins-step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.voisins-step-content p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .voisins-layout {
    grid-template-columns: 55fr 45fr;
    gap: 64px;
    align-items: center;
  }
}

/* =============================================
   LIGHTBOX
============================================= */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

#lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  cursor: zoom-out;
}

#lightbox-container {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

#lightbox-caption {
  color: white;
  font-size: 14px;
  opacity: 0.8;
  text-align: center;
}

#lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}
#lightbox-close:hover { opacity: 1; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

#lightbox-img.slide-from-right {
  animation: slideInRight 0.25s ease;
}

#lightbox-img.slide-from-left {
  animation: slideInLeft 0.25s ease;
}

#lightbox-prev,
#lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

#lightbox-prev { left: 24px; }
#lightbox-next { right: 24px; }

#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

#lightbox-prev:disabled,
#lightbox-next:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  #lightbox-prev { left: 8px; }
  #lightbox-next { right: 8px; }
}

/* =============================================
   BOUTONS D'APPEL
============================================= */
.btn-call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-call-header:hover {
  background: var(--primary);
  color: white;
}

@media (max-width: 768px) {
  .btn-call-header span { display: none; }
  .btn-call-header {
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
}

.pricing-cta-call {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 32px;
}

.btn-call-pricing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-call-pricing:hover {
  background: var(--gold-dark);
}

.pricing-cta-call p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
}

.form-success {
  text-align: center;
  padding: 48px 24px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.form-success p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
}

.gallery-split-wrapper {
  width: 100%;
  max-width: 700px;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 auto;
}

.gallery-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  cursor: zoom-in;
  display: block;
}

@media (max-width: 768px) {
  .gallery-split-wrapper {
    height: 220px;
  }
}
