@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('../css/partners-trust.css');
@import url('../css/clickable-affordance.css');
@import url('../css/proximity.css');

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #6366f1;
  --accent-light: #e0e7ff;
  --blue: #3b82f6;
  --blue-light: #dbeafe;
  --ring: #2dd4bf;
  --border: #e2e8f0;
  --success-bg: #ecfdf5;
  --success-text: #065f46;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow: 0 4px 6px -1px rgba(15,23,42,.07), 0 10px 30px -5px rgba(15,23,42,.1);
  --shadow-lg: 0 20px 50px -12px rgba(15,23,42,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(13,148,136,.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 10%, rgba(99,102,241,.08) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ===== LANDING TOPBAR ===== */
.landing-topbar {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid rgba(226,232,240,.7);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.landing-topbar-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.landing-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  color: var(--muted);
  transition: color .2s;
}
.landing-back:hover { color: var(--text); }
.landing-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}
.landing-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-logo-icon svg { width: 18px; height: 18px; }

.page {
  min-height: 100dvh;
  padding: 32px 14px 48px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border: 1px solid rgba(45, 212, 191, .3);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.12);
}

/* ===== CARD ===== */
.card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ===== HERO ===== */
.hero-surface {
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08) 0%,
    rgba(99, 102, 241, 0.06) 42%,
    rgba(14, 165, 233, 0.04) 100%
  );
  padding: 2px;
}

.hero {
  padding: 32px 28px 24px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 18px;
}

h1 {
  margin: 8px 0 12px;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -.02em;
}

.sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: .95rem;
  line-height: 1.5;
}
.points li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.vtc-zone-hint {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(15, 76, 129, 0.02));
  border: 1px solid rgba(15, 76, 129, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
}
.vtc-zone-hint .vtc-zone-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 700;
}
.vtc-zone-hint strong {
  font-size: 1rem;
}
.vtc-zone-hint span {
  opacity: 0.85;
}

/* ===== BUTTONS ===== */
.btn {
  appearance: none;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0d8a80);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, .3);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(13, 148, 136, .4);
}

.btn-soft {
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-soft:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== FORM ===== */
.form-wrap {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 28px 28px 32px;
}

.form-wrap h2.form-title {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.form-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* Wizard */
.wizard-head {
  margin-bottom: 22px;
}

.wizard-progress-track {
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

.wizard-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wizard-step {
  animation: wizardFade 0.4s ease;
}

@keyframes wizardFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
  margin: 0 0 18px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  justify-content: flex-end;
}

.wizard-actions .wizard-prev {
  margin-right: auto;
}

.input-invalid {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.5;
}

.field-check input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.field-check a {
  color: var(--primary-dark);
  font-weight: 700;
}

.form-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.form-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(45, 212, 191, .25);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

label {
  font-size: .9rem;
  font-weight: 700;
  color: #334155;
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 13px 14px;
  font-size: .98rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #94a3b8;
}

input::placeholder { color: #94a3b8; }

.small {
  margin-top: 10px;
  color: var(--muted);
  font-size: .85rem;
}

.success {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #6ee7b7;
  font-weight: 700;
  font-size: .94rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-error {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-weight: 600;
  font-size: .94rem;
}
.form-error a { color: #b91c1c; font-weight: 700; }
.wizard-actions:has(.wizard-submit:not([hidden])) .wizard-next {
  display: none !important;
}

/* ===== FAQ on landing ===== */
.form-wrap h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 14px;
}
.form-wrap .points {
  margin: 0;
}

/* ===== LANDING FOOTER ===== */
.landing-footer {
  max-width: 980px;
  margin: 32px auto 0;
  padding: 20px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: .84rem;
  color: var(--muted);
}
.landing-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.3);
  text-underline-offset: 3px;
  color: var(--primary-dark, #0f766e);
  font-weight: 600;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.landing-footer a:hover { color: var(--primary); text-decoration-color: currentColor; }
.landing-footer-legal {
  width: 100%;
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
  opacity: .8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page { padding: 20px 10px 32px; }
  .hero, .form-wrap { padding-left: 18px; padding-right: 18px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .btn { width: 100%; }
  .form-trust-row { grid-template-columns: 1fr; }
  .landing-topbar-inner { padding: 0 10px; }
}

/* ===== LEAD INSIGHTS ===== */
.lead-insights { margin-top: 18px; }
.lead-insights-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
}
.lead-insights-head h3 { margin: 0 0 6px; font-size: 1.15rem; }
.lead-insights-sub { margin: 0; color: var(--muted); font-size: 0.92rem; }
.lead-score-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
.lead-score-badge { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-radius: 12px; font-weight: 800; }
.lead-score-badge.is-hot { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid #6ee7b7; color: #065f46; }
.lead-score-badge.is-warm { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid #93c5fd; color: #1e40af; }
.lead-score-badge.is-cold { background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; }
.lead-score-num { font-size: 1.6rem; }
.lead-score-label { font-size: 0.95rem; font-weight: 700; }
.lead-id { margin: 0; font-size: 0.85rem; color: var(--muted); }
.lead-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 768px) { .lead-offers { grid-template-columns: 1fr; } }
.lead-offer { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: #fff; }
.lead-offer.is-best { border-color: #2dd4bf; box-shadow: 0 8px 20px rgba(45, 212, 191, 0.2); }
.lead-offer-top { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.lead-offer-price { font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.lead-offer-price small { font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.lead-offer ul { margin: 0; padding-left: 1.1rem; font-size: 0.85rem; color: var(--muted); }
.lead-insights-foot { margin: 14px 0 0; font-size: 0.88rem; color: var(--muted); }

/* ===== SEO content & hub landings ===== */
.landing-seo-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 18px 0 8px;
}
.landing-seo-content p { color: var(--muted); margin: 0 0 12px; }
.landing-seo-links a { color: var(--primary); font-weight: 600; }
.landing-seo-pillar { margin-top: 12px; }
.landing-seo-faq { margin: 0; }
.landing-seo-faq dt { font-weight: 700; margin-top: 12px; }
.landing-seo-faq dd { margin: 4px 0 0; color: var(--muted); }
.landings-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.landings-hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.landings-hub-card:hover {
  border-color: var(--ring);
  box-shadow: var(--shadow-sm);
}
.landings-hub-card strong { font-size: 1rem; }
.landings-hub-card span { font-size: 0.88rem; color: var(--muted); }
.landings-hub-card em {
  font-size: 0.75rem;
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}
.landings-hub-card--highlight {
  border-color: #5eead4;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

/* ===== APRIL ON product blocks ===== */
.section-lead {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  font-size: 0.88rem;
  line-height: 1.35;
  transition: border-color 0.15s ease;
}

.product-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b5d57;
  background: #dff7f3;
  border: 1px solid #9de3d8;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.steps li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.faq-list li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.faq-list h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.trust-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e3a5f;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 6px 10px;
}

/* ===== PARCOURS SIMPLIFIE (seniors / accessibilite) ===== */
.landing-sante-easy {
  font-size: 1.05rem;
}

.landing-sante-easy .sub,
.landing-sante-easy .form-lead,
.landing-sante-easy .field-hint,
.landing-sante-easy .wizard-step-intro {
  font-size: 1.02rem;
  line-height: 1.65;
}

.landing-sante-easy label {
  font-size: 1.02rem;
}

.landing-sante-easy input,
.landing-sante-easy select,
.landing-sante-easy textarea {
  font-size: 1.08rem;
  min-height: 52px;
  padding: 14px 16px;
}

.landing-sante-easy .btn {
  font-size: 1.05rem;
  padding: 16px 22px;
  min-height: 52px;
}

.landing-sante-easy .wizard-step h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.landing-sante-easy .wizard-actions .wizard-next,
.landing-sante-easy .wizard-actions .wizard-submit {
  min-width: min(100%, 280px);
}

.help-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border: 1px solid #bfdbfe;
}

.help-callout strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.help-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

.help-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-current-title {
  margin: 14px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
}

.wizard-steps-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.wizard-steps-dots button {
  appearance: none;
  border: 2px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-steps-dots button:not(:disabled):hover {
  border-color: var(--primary);
  color: var(--primary-dark, #0f766e);
  background: #f0fdfa;
}

.wizard-steps-dots button.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.wizard-steps-dots button.is-done {
  border-color: #6ee7b7;
  background: #ecfdf5;
  color: #065f46;
}

.wizard-steps-dots button:disabled {
  cursor: default;
  opacity: 0.55;
}

.wizard-step-intro {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border);
  color: #334155;
}

.wizard-step-intro.is-optional {
  background: #fffbeb;
  border-color: #fde68a;
}

.field-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.field-date input {
  letter-spacing: 0.02em;
}

.wizard-validation-hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-weight: 600;
  font-size: 0.95rem;
}

.wizard-validation-hint[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .landing-sante-easy .grid {
    grid-template-columns: 1fr;
  }

  .help-callout {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .wizard-actions .wizard-prev {
    margin-right: 0;
  }
}

/* Recherche de bien — chips type Leboncoin */
.search-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 4px;
}
.search-mode-tab {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}
.search-mode-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.search-mode-tab span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.search-mode-tab input:checked + span {
  border-color: var(--primary, #2563eb);
  background: color-mix(in srgb, var(--primary, #2563eb) 12%, #fff);
  color: var(--primary-dark, #1e3a8a);
}
.search-mode-tab input:focus-visible + span {
  outline: 2px solid var(--primary, #2563eb);
  outline-offset: 2px;
}
.search-section-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.search-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}
.search-chip-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.search-chip {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}
.search-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.search-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.search-chip input:checked + span {
  border-color: var(--primary, #2563eb);
  background: color-mix(in srgb, var(--primary, #2563eb) 10%, #fff);
  box-shadow: inset 0 0 0 1px var(--primary, #2563eb);
}
.search-chip input:focus-visible + span {
  outline: 2px solid var(--primary, #2563eb);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .search-mode-tabs {
    grid-template-columns: 1fr;
  }
  .search-chip-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Anti-abandon parcours */
.wizard-benefit-nudge {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
}
.wizard-early-finish {
  white-space: nowrap;
}
.field-optional {
  font-weight: 500;
  color: #64748b;
  font-size: 0.85em;
}
