/* ════════════════════════════════════════════════════════════════
   COMPARATEUR RC PRO SANTÉ — Stylesheet
   Approche : Mobile-first · Tokens via CSS custom properties
   ════════════════════════════════════════════════════════════════

   ┌──────────────────────────────────────────────────────────────┐
   │ SOMMAIRE                                                     │
   ├──────────────────────────────────────────────────────────────┤
   │  1. Reset & base                                             │
   │  2. Design tokens (couleurs, typo, ombres, radius, blobs)   │
   │  3. Navbar                                                   │
   │  4. Hero (et 4B portraits — supprimé en Phase 1 DA)         │
   │  5. Funnel card                                              │
   │  6. Progress bar                                             │
   │  7. Form steps                                               │
   │  8. Profession cards + autocomplete                          │
   │  9. Form fields                                              │
   │ 10. Toggle options (garanties)                               │
   │ 11. Consent (RGPD)                                           │
   │ 12. Buttons                                                  │
   │ 13. Trust bar                                                │
   │ 13B. Simulation de comparaison (Phase 1)                     │
   │ 14. Success screen                                           │
   │ 15. Section "Garanties"                                      │
   │ 16. Social proof (avis)                                      │
   │ 17. FAQ                                                      │
   │ 18. Footer                                                   │
   │ 19. Sticky CTA mobile                                        │
   │ 19B. Phase 4 — filtres / ETA / social counter / exit popup  │
   │ 20. Pages légales (mentions, CGU, confidentialité)          │
   │ 20B. Page Contact (formulaire dédié)                         │
   │ 20C. Landing pages SEO métier (Phase 5)                      │
   │ 21. Décor "Assurup-style" (blobs, photos, animations)       │
   │       21.1 Hero · 21.2 Garanties · 21.3 Social proof         │
   │       21.4 CTA final                                         │
   │ 22. Animations globales                                      │
   │ ── Responsive : tablet (≥600px) · desktop (≥1024px)          │
   └──────────────────────────────────────────────────────────────┘ */

/* ─── 1. RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

input, select, textarea, button {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── 2. DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Colors */
  --bg: #faf9f6;
  --bg-card: #ffffff;
  --bg-dark: #0f1f2e;
  --bg-soft: #f4f5f7;
  --text: #1a1a2e;
  --text-light: #5a6577;
  --text-muted: #8b94a3;
  --text-white: #f5f5f0;
  --accent: #0066ff;
  --accent-hover: #0052cc;
  --accent-light: #e8f0ff;
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --border: #e2e4e9;
  --border-focus: #0066ff;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Typography */
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* Funnel state */
  --step-done: #10b981;
  --step-active: #0066ff;
  --step-todo: #d1d5db;

  /* Décor "Assurup-style" — blobs organiques (cf. section 21) */
  --blob-mint: #7FFFD4;
  --blob-yellow: #FFDC48;
  --blob-pink: #ED3B8C;
  --blob-blue: #62AAF9;
}

/* ─── 3. NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
}

.logo-text strong {
  font-weight: 700;
}

.nav-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.trust-text {
  display: none;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--success-light);
  color: #065f46;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.72rem;
}

/* ─── 4. HERO ────────────────────────────────────────────────── */
.hero {
  padding: 84px 20px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100vw);
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
  animation: fadeInDown 0.6s ease;
}

/* Eyebrow tagline (cible audience) — cohérent avec le système typo */
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  animation: fadeInDown 0.6s ease 0.05s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
  animation: fadeInDown 0.6s ease 0.1s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 28px;
  animation: fadeInDown 0.6s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeInDown 0.6s ease 0.3s both;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.74rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ─── 5. FUNNEL CARD ─────────────────────────────────────────── */
.funnel-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.funnel-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* ─── 6. PROGRESS BAR ────────────────────────────────────────── */
.progress-bar-container {
  padding: 24px 24px 0;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 8px;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--step-todo);
  border-radius: 2px;
  z-index: 0;
}

.progress-fill {
  position: absolute;
  top: 16px;
  left: 16px;
  height: 3px;
  background: var(--step-done);
  border-radius: 2px;
  z-index: 1;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-dot.done { background: var(--step-done); }
.step-dot.active {
  background: var(--step-active);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
}
.step-dot.todo {
  background: var(--step-todo);
  color: #9ca3af;
}

.step-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.step-label {
  font-size: 0.66rem;
  color: var(--text-light);
  text-align: center;
  width: 25%;
}

.step-label.active {
  color: var(--accent);
  font-weight: 600;
}

/* ─── 7. FORM STEPS ──────────────────────────────────────────── */
.funnel-body {
  padding: 24px;
  position: relative;
  border: none;
}

.funnel-step {
  display: none;
  border: none;
  padding: 0;
  animation: fadeIn 0.4s ease;
}

.funnel-step.active {
  display: block;
}

.funnel-step h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ─── 8. PROFESSION CARDS ────────────────────────────────────── */
.profession-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.profession-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  background: var(--bg-card);
  user-select: none;
}

.profession-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.profession-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.profession-card .prof-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: block;
}

.profession-card .prof-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.2;
}

.profession-card .prof-price {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 3px;
}

.profession-card .check-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.profession-card.selected .check-mark {
  display: flex;
}

/* Search */
.search-container {
  margin-bottom: 16px;
}

.search-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

#professionSearch {
  width: 100%;
  padding: 12px 40px 12px 42px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#professionSearch:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.search-clear {
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.search-results {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  max-height: 240px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.search-result-item {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item:hover, .search-result-item.highlighted {
  background: var(--accent-light);
}

.search-result-item .result-cat {
  font-size: 0.7rem;
  color: var(--text-light);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 10px;
}

.search-result-item.selected {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

.search-empty {
  padding: 14px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ─── 9. FORM FIELDS ─────────────────────────────────────────── */
.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field-group .required {
  color: var(--danger);
}

.field-group .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78rem;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235a6577' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-group input:focus,
.field-group select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

.error-msg {
  color: var(--danger);
  font-size: 0.76rem;
  margin-top: 4px;
  display: none;
}

.field-group input.error ~ .error-msg,
.field-group select.error ~ .error-msg {
  display: block;
}

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

/* ─── 10. TOGGLE OPTIONS ─────────────────────────────────────── */
.guarantees-included {
  margin-bottom: 20px;
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.subsection-title--options {
  color: var(--text-light);
  margin-top: 4px;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.included-card {
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.included-card::before {
  content: '✓ Inclus';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.02em;
}

.included-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #065f46;
  padding-right: 60px;
}

.included-detail {
  font-size: 0.74rem;
  color: #047857;
  margin-top: 2px;
}

.toggle-grid {
  border: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.toggle-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
}

.toggle-option:hover { border-color: var(--accent); }

.toggle-option.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.toggle-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.8rem;
  color: transparent;
  transition: all 0.2s;
  background: var(--bg-card);
}

.toggle-option.selected .toggle-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.toggle-content {
  display: flex;
  flex-direction: column;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.toggle-detail {
  font-size: 0.74rem;
  color: var(--text-light);
}

/* ─── 11. CONSENT ───────────────────────────────────────────── */
.consent-group {
  margin-top: 16px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: 8px;
}

.consent-label:last-child { margin-bottom: 0; }

.consent-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── 12. BUTTONS ───────────────────────────────────────────── */
.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  flex: 1;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: #ccc;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent) 0%, #0052cc 100%);
}

/* ─── 13. TRUST BAR ─────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-light);
}

/* ─── 13B. SIMULATION DE COMPARAISON ────────────────────────── */
/* Étape intercalaire entre la soumission et l'écran de succès.
   Crée un effet d'attente / valeur perçue style LesFurets / LeLynx. */
.simulation-screen {
  display: none;
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
}

.simulation-screen.active { display: block; animation: fadeIn 0.4s ease; }

.sim-header { margin-bottom: 22px; }

.sim-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: inline-block;
}

.sim-spinner svg { animation: simSpin 1.1s linear infinite; }

.sim-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.sim-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 360px;
  margin: 0 auto;
}

.sim-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 18px;
  max-width: 380px;
  text-align: left;
}

.sim-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity 0.3s, color 0.3s;
}

.sim-step.active {
  opacity: 1;
  color: var(--text);
  font-weight: 600;
}

.sim-step.done {
  opacity: 1;
  color: var(--success);
}

.sim-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s, color 0.3s;
}

.sim-step.active .sim-step-icon {
  background: var(--accent-light);
  color: var(--accent);
  animation: simPulse 1.2s ease-in-out infinite;
}

.sim-step.done .sim-step-icon {
  background: var(--success-light);
  color: var(--success);
  animation: none;
}

.sim-step-icon .sim-icon-default { display: block; }
.sim-step-icon .sim-icon-check { display: none; }
.sim-step.done .sim-step-icon .sim-icon-default { display: none; }
.sim-step.done .sim-step-icon .sim-icon-check { display: block; animation: scaleIn 0.3s ease; }

.sim-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto 22px;
}

.sim-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #4d8cff);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sim-insurers {
  display: grid;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto 16px;
}

.sim-insurer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  text-align: left;
}

.sim-insurer.revealed {
  opacity: 1;
  transform: translateY(0);
}

.sim-insurer--best.revealed {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.15);
  background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
}

.sim-insurer-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sim-insurer-logo {
  width: 76px;
  height: 36px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}

.sim-insurer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sim-insurer--best .sim-insurer-logo {
  border-color: rgba(0, 102, 255, 0.35);
}

.sim-insurer-guarantee {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--success);
  background: var(--success-light);
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.sim-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 14px auto 0;
  line-height: 1.5;
  text-align: center;
}

.sim-insurer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.sim-insurer-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.sim-insurer-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.sim-insurer--best .sim-insurer-price { color: var(--accent); }

.sim-price-value {
  display: inline-block;
  min-width: 1.4ch;
  text-align: right;
  transition: transform 0.2s;
}

.sim-price-value.tick { animation: simTick 0.25s ease; }

.sim-price-unit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 2px;
}

.sim-skip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s, opacity 0.4s;
  opacity: 0;
}

.sim-skip:not([hidden]) {
  opacity: 1;
}

.sim-skip:hover { color: var(--text); }

@keyframes simSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes simPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(0, 102, 255, 0); }
}

@keyframes simTick {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); opacity: 0.5; }
  100% { transform: translateY(0); }
}

@media (min-width: 600px) {
  .simulation-screen { padding: 36px 28px 28px; }
  .sim-title { font-size: 1.4rem; }
}

/* ─── 14. SUCCESS SCREEN ────────────────────────────────────── */
.success-screen {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.success-screen.active { display: block; }

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-screen h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-screen p {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 400px;
  margin: 0 auto 24px;
}

.success-details {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
}

.success-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.success-details .detail-row:last-child { border: none; }

.success-details .detail-label { color: var(--text-light); }
.success-details .detail-value { font-weight: 600; }

/* ─── 15. GUARANTEES SECTION ────────────────────────────────── */
.guarantees-section {
  background: var(--bg-card);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.guarantees-section h2,
.social-proof h2,
.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.guarantee-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guarantee-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.guarantee-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.guarantee-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
  margin-bottom: 8px;
}

.guarantee-card p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.5;
}

.franchise-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ─── 16. SOCIAL PROOF ──────────────────────────────────────── */
.social-proof {
  padding: 60px 0;
  background: var(--bg);
}

.reviews-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.review-stars {
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
  font-style: italic;
}

.review-text::before { content: '"'; }
.review-text::after { content: '"'; }

.review-author {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ─── 17. FAQ ───────────────────────────────────────────────── */
.faq-section {
  padding: 60px 0 80px;
  background: var(--bg-card);
}

.faq-list {
  max-width: 700px;
  margin: 32px auto 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  list-style: none;
  color: var(--text);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:hover { background: var(--bg-soft); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--text-light);
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── 18. FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 40px 20px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  margin-top: 18px !important;
  font-size: 0.74rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

/* ─── 19. STICKY CTA (mobile) ───────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  animation: slideUp 0.3s ease;
}

.btn-sticky {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ─── 20. ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

/* ════════════════════════════════════════════════════════════════
   ─── 19B. PHASE 4 — TÂCHES CONVERSION ─────────────────────────────
   - Filtres rapides Santé / Bien-être (step 1)
   - Indicateur ETA "Plus que X minutes" sous chaque btn-row
   - Compteur social proof animé (counter-up) sous le hero
   - Popup exit intent (desktop, 1× par session)
   ════════════════════════════════════════════════════════════════ */

/* 19B.1 — Filtres rapides step 1 */
.profession-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 999px;
  width: fit-content;
}

.profession-filter {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.profession-filter:hover { color: var(--text); }

.profession-filter.active {
  background: var(--bg-card);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* 19B.2 — Indicateur ETA "Plus que X minutes" */
.step-eta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.step-eta svg { color: var(--accent); flex-shrink: 0; }

.step-eta--last svg { color: var(--success); }
.step-eta--last { color: var(--success); font-weight: 600; }

/* 19B.3 — Compteur social proof */
.social-counter {
  padding: 18px 16px 8px;
  text-align: center;
}

.social-counter-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 100%;
}

.social-counter-inner p { margin: 0; line-height: 1.4; }
.social-counter-inner strong { color: var(--text); font-weight: 700; font-family: var(--font-display); font-size: 1rem; }
.social-counter-inner em { color: var(--accent); font-style: normal; font-weight: 600; }

.social-counter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
  animation: socialPulse 2s ease-in-out infinite;
}

@keyframes socialPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .social-counter-dot { animation: none; }
}

/* 19B.4 — Popup exit intent */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Spécificité (0,2,0) > .exit-popup (0,1,0) → la fermeture via
   `popup.hidden = true` masque effectivement le bloc.
   Sans cette règle, `display: flex` écrase le style UA `[hidden]`
   et le popup reste affiché malgré la mise à jour de l'attribut. */
.exit-popup[hidden] { display: none; }

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: exitFadeIn 0.25s ease;
}

.exit-popup-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 24px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: exitPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.2s;
}
.exit-popup-close:hover { background: var(--border); color: var(--text); }

.exit-popup-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 6px;
}

.exit-popup-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.exit-popup-card h2 em { color: var(--accent); font-style: italic; }

.exit-popup-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 22px;
}

.exit-popup-cta {
  width: 100%;
  padding: 14px 22px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.exit-popup-note {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

@keyframes exitFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes exitPopIn { from { opacity: 0; transform: scale(0.92) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .exit-popup-overlay, .exit-popup-card { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   ─── 20. PAGES LÉGALES (mentions, CGU, confidentialité, contact) ─
   Layout sobre, typographie lisible, breadcrumb, lien retour.
   Toutes les pages légales partagent ce style.
   ════════════════════════════════════════════════════════════════ */
.legal-main {
  padding: 90px 0 60px;
  min-height: 70vh;
  background: var(--bg);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.legal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: italic;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content p,
.legal-content ul {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.legal-back:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .legal-main { padding: 110px 0 80px; }
  .legal-content { padding: 48px 56px; }
  .legal-content h2 { font-size: 1.4rem; margin-top: 36px; padding-top: 24px; }
}

/* ─── 20B. PAGE CONTACT — formulaire dédié ─────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 12px;
}

.contact-coords {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.contact-coords h2 {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.contact-coords p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.contact-coord-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.contact-rgpd {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.contact-form h2 {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-card);
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.contact-form textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.contact-form textarea.error { border-color: var(--danger); }
.contact-form textarea.error ~ .error-msg { display: block; }

.contact-disclaimer {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin-top: 12px;
  line-height: 1.5;
}

.contact-success {
  margin-top: 18px;
  padding: 16px;
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: #065f46;
}
.contact-success strong { font-size: 1rem; }
.contact-success span { font-size: 0.88rem; }

.contact-error {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #991b1b;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; }
  .contact-coords, .contact-form { padding: 28px 26px; }
}

/* ════════════════════════════════════════════════════════════════
   ─── 20C. LANDING PAGES SEO MÉTIER (Phase 5) ──────────────────────
   Pages /pages/rc-pro-{kinesitherapeute,dentiste,pharmacien}.html
   Réutilisent .legal-content + ajouts spécifiques (table, CTAs).
   ════════════════════════════════════════════════════════════════ */

/* Reset des liens-bouton dans .legal-content :
   sinon `.legal-content a { color: var(--accent); text-decoration: underline; }`
   masque le texte blanc des `.btn-primary` (texte = bleu sur fond bleu).
   Spécificité (0,2,1) > (0,1,1) → ces règles l'emportent. */
.legal-content a.btn { text-decoration: none; }
.legal-content a.btn-primary { color: #fff; }
.legal-content a.btn-primary:hover { color: #fff; }
/* Le bloc CTA final a un fond gradient bleu et un bouton inverse :
   on remet le texte en bleu sur fond blanc. */
.legal-content .profession-cta-block a.btn-primary { color: var(--accent); }
.legal-content .profession-cta-block a.btn-primary:hover { color: var(--accent); }

.profession-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 6px;
}

.profession-lead {
  font-size: 1rem !important;
  color: var(--text) !important;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 24px !important;
}

.profession-cta-inline {
  margin-bottom: 24px;
  flex: none;
  display: inline-flex;
  width: auto;
}

.profession-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.profession-table th,
.profession-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.profession-table th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profession-table tbody tr:last-child td { border-bottom: none; }
.profession-table tbody tr:nth-child(even) { background: rgba(0, 102, 255, 0.02); }
.profession-table td:nth-child(2) { font-weight: 600; color: var(--accent); white-space: nowrap; }
.profession-table td:nth-child(3) { color: var(--text-light); font-size: 0.85rem; }

.profession-cta-block {
  background: linear-gradient(135deg, var(--accent) 0%, #0052cc 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin: 36px 0 20px;
}

.profession-cta-block h2 {
  border-top: none !important;
  padding-top: 0 !important;
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
}

.profession-cta-block p {
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 18px !important;
  font-size: 0.92rem !important;
}

.profession-cta-block .btn-primary {
  background: #fff;
  color: var(--accent);
}
.profession-cta-block .btn-primary:hover { background: rgba(255, 255, 255, 0.92); }

.profession-related {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem !important;
  color: var(--text-light) !important;
}

.profession-related a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .profession-table { font-size: 0.95rem; }
  .profession-cta-block { padding: 36px 32px; }
}

/* Petite table mobile : passer en mode "stack" sous 480px pour rester lisible */
@media (max-width: 479px) {
  .profession-table thead { display: none; }
  .profession-table tr {
    display: block;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }
  .profession-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
  }
  .profession-table td:last-child { border-bottom: none; }
  .profession-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
  }
}

/* ════════════════════════════════════════════════════════════════
   ─── 21. ASSURUP-STYLE DECOR ────────────────────────────────────
   Direction artistique inspirée d'assurup.com :
   - Blobs SVG organiques en aplat coloré (4 teintes : mint/yellow/pink/blue)
   - Photos lifestyle avec coins arrondis 16-24px et ombre douce
   - Composition asymétrique (offset, débordement contrôlé)
   - Animation float subtile (désactivée si prefers-reduced-motion)
   - Les éléments NE bloquent JAMAIS un clic ni la lecture du formulaire
   ════════════════════════════════════════════════════════════════ */

/* Base : tout blob est invisible aux a11y, non-cliquable, derrière le contenu */
.decor-blob {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  display: block;
  width: 200px;
  height: 200px;
  filter: blur(0.5px);
  animation: blobFloat 7s ease-in-out infinite;
}

.decor-blob--mint   { color: var(--blob-mint); }
.decor-blob--yellow { color: var(--blob-yellow); }
.decor-blob--pink   { color: var(--blob-pink); }
.decor-blob--blue   { color: var(--blob-blue); }
.decor-blob path { fill: currentColor; }

.decor-blob--xs { width: 120px; height: 120px; }
.decor-blob--sm { width: 160px; height: 160px; }
.decor-blob--lg { width: 260px; height: 260px; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(0, -8px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .decor-blob { animation: none; }
}

/* ─── 21.1 HERO — grille 2 colonnes (texte / photo+blobs) ───── */
/* Mobile-first :
   - flux normal en 1 colonne, texte centré
   - photo masquée pour préserver le focus sur le funnel
   Tablette ≥ 768 :
   - grille 1fr / 0.7fr, texte aligné gauche, photo réintroduite
   Desktop ≥ 1024 :
   - grille 1.1fr / 1fr, gap généreux
   Les blobs vivent À L'INTÉRIEUR de .hero-decor (parent relative)
   pour ne JAMAIS empiéter sur la colonne texte. */
.hero-grid { display: block; }

.hero-content { /* hérite des règles déjà définies sur .hero pour le texte */ }

.hero-decor { display: none; }

/* À partir du tablet : on déploie la grille et la photo */
@media (min-width: 768px) {
  .hero { text-align: left; max-width: 1100px; }
  .hero::before { left: 28%; }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
  }

  .hero-content { min-width: 0; }
  .hero-subtitle { max-width: 100%; margin-left: 0; margin-right: 0; }
  .hero-stats { justify-content: flex-start; }

  .hero-decor {
    display: block;
    position: relative;
    min-width: 0;
  }

  .hero-photo {
    position: relative;
    z-index: 1;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
  }
  .hero-photo img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
  }

  /* Blobs ancrés dans .hero-decor — débordent hors de la photo,
     mais jamais dans la colonne texte (gap suffisant). */
  .hero-blob-yellow,
  .hero-blob-mint {
    position: absolute;
    z-index: -1;
    pointer-events: none;
  }
  .hero-blob-yellow {
    width: 110px; height: 110px;
    top: -36px; right: -24px;
  }
  .hero-blob-mint {
    width: 200px; height: 200px;
    bottom: -50px; left: -56px;
  }
}

/* Desktop ≥ 1024 : grille plus généreuse et blobs plus grands */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
  }

  .hero-blob-yellow { width: 130px; height: 130px; top: -40px; right: -30px; }
  .hero-blob-mint   { width: 230px; height: 230px; bottom: -50px; left: -60px; }
}

/* Animations gated par prefers-reduced-motion (style Assurup) */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    opacity: 0;
    transform: scale(0.95) rotate(-2deg);
    animation: heroPhotoIn 600ms cubic-bezier(0.4, 0, 0.2, 1) 200ms forwards;
  }
  .hero-blob-mint   { animation: heroBlobFloat 6s ease-in-out 0s   infinite alternate; }
  .hero-blob-yellow { animation: heroBlobFloat 6s ease-in-out 1.5s infinite alternate; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-blob-mint, .hero-blob-yellow {
    animation: none !important;
    transition: none !important;
  }
  .hero-photo { opacity: 1; transform: rotate(-2deg); }
}

@keyframes heroPhotoIn {
  to { opacity: 1; transform: scale(1) rotate(-2deg); }
}

@keyframes heroBlobFloat {
  to { transform: translateY(-8px); }
}

/* ─── 21.2 GARANTIES — bandeau 2 colonnes ──────────────────── */
.guarantees-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 8px 0 36px;
  align-items: center;
}

.guarantees-banner-media {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.guarantees-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(15, 31, 46, 0.10);
}
.guarantees-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.guarantees-blob {
  width: 160px; height: 160px;
  top: -28px; left: -24px;
  opacity: 0.85;
}

.guarantees-banner-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.guarantees-banner-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guarantees-banner-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--text-light);
}
.guarantees-banner-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 1024px) {
  .guarantees-banner {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 56px;
    margin-bottom: 56px;
  }
  .guarantees-banner-media { max-width: none; }
  .guarantees-blob { width: 220px; height: 220px; top: -40px; left: -50px; }
  .guarantees-banner-title { font-size: 1.5rem; margin-bottom: 16px; }
  .guarantees-banner-list li { font-size: 1rem; }
}

/* ─── 21.3 SOCIAL PROOF — blob + photo d'ambiance ──────────── */
.social-proof {
  position: relative;
  overflow: hidden;
}

.social-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1200&q=60");
  background-size: cover;
  background-position: right bottom;
  opacity: 0;
  transition: opacity 0.4s;
}

.social-proof .container { position: relative; z-index: 1; }

.social-proof-blob {
  width: 160px; height: 160px;
  top: 24px; left: -40px;
  opacity: 0.55;
}

@media (min-width: 1024px) {
  .social-proof::before { opacity: 0.08; }
  .social-proof-blob { width: 220px; height: 220px; top: 40px; left: -70px; }
}

/* ─── 21.4 CTA FINAL — nouveau bloc avant footer ───────────── */
.cta-final {
  padding: 50px 0 70px;
  background: var(--bg);
}

.cta-final-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.cta-final-media {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.cta-final-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 31, 46, 0.12);
}
.cta-final-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}

.cta-blob-pink {
  width: 130px; height: 130px;
  top: -28px; left: -24px;
  opacity: 0.9;
}
.cta-blob-yellow {
  width: 110px; height: 110px;
  bottom: -22px; right: -20px;
  opacity: 0.95;
}

.cta-final-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}

.cta-final-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.cta-final-btn {
  flex: none;
  padding: 14px 26px;
  font-size: 0.98rem;
}

@media (min-width: 1024px) {
  .cta-final { padding: 80px 0 100px; }
  .cta-final-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 60px;
  }
  .cta-final-media { max-width: none; }
  .cta-blob-pink { width: 180px; height: 180px; top: -40px; left: -40px; }
  .cta-blob-yellow { width: 140px; height: 140px; bottom: -34px; right: -30px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≥ 600px)
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .navbar { padding: 0 24px; height: 64px; }
  .nav-logo { font-size: 1.05rem; gap: 10px; }
  .logo-icon { width: 36px; height: 36px; font-size: 16px; }
  .trust-text { display: inline; }

  .hero { padding: 100px 24px 60px; }

  .hero-stats { gap: 32px; }
  .stat-value { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }

  .funnel-section { padding: 0 20px 80px; }
  .funnel-body { padding: 32px; }
  .progress-bar-container { padding: 28px 32px 0; }

  .funnel-step h2 { font-size: 1.45rem; }
  .step-desc { font-size: 0.95rem; margin-bottom: 24px; }

  .profession-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .profession-card .prof-icon { font-size: 2.1rem; }
  .profession-card .prof-name { font-size: 0.92rem; }
  .profession-card .prof-price { font-size: 0.76rem; }

  .field-row { grid-template-columns: 1fr 1fr; }
  .toggle-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .included-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .step-label { font-size: 0.72rem; }

  .guarantees-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .footer-links { gap: 24px; }

  .sticky-cta { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop (≥ 1024px)
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero { padding-top: 120px; padding-bottom: 70px; }
  .hero h1 { font-size: 3.4rem; }

  .funnel-section { padding-bottom: 100px; }

  .guarantees-section, .social-proof { padding: 80px 0; }
  .faq-section { padding: 80px 0 100px; }

  .guarantees-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }

  /* Two-column reviews on desktop */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
  .review-card { min-width: 0; }
}

/* Hover capability check */
@media (hover: none) {
  .profession-card:hover { transform: none; box-shadow: none; }
  .guarantee-card:hover { transform: none; }
  .btn-primary:hover:not(:disabled) { transform: none; }
}
