/* ─── Police (auto-hébergée, ex-Google Fonts) ────────────────────────────────
   Un seul fichier variable couvre les graisses 400/600/700/800 — évite la
   requête bloquante vers fonts.googleapis.com. */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Variables ───────────────────────────────────────────────────────────── */
/* Palette Axydiag (docs/Axydiag-pistes-design-1.pdf) — noms --brand-* conservés
   pour ne pas retoucher chaque règle du fichier, seules les valeurs changent. */
:root {
  --brand-50:  #eaf2e1;
  --brand-100: #dee9d0;
  --brand-200: #c3d9a8;
  --brand-500: #3a6b16;
  --brand-600: #23380d;
  --brand-700: #2f5a10;
  --brand-800: #2a4412;
  --brand-900: #23380d;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* ─── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--slate-900); background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
.hidden { display: none !important; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
#header { position: fixed; inset: 0 0 auto; z-index: 50; transition: all .3s; }
#header.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(8px); box-shadow: 0 1px 3px rgba(0,0,0,.1); border-bottom: 1px solid var(--slate-100); }
#header .nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); }
.logo-text span { color: var(--brand-700); }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--slate-600); margin: 0 .75rem; transition: color .2s; }
.nav-links a:hover { color: var(--brand-700); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--brand-700); color: #fff; font-weight: 700; font-size: .9rem;
  padding: .75rem 1.5rem; border-radius: .75rem; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(35,56,13,.3); transition: all .2s;
}
.btn-primary:hover:not(:disabled) { background: var(--brand-800); box-shadow: 0 6px 20px rgba(35,56,13,.4); }
.btn-primary:active:not(:disabled) { transform: scale(.98); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary.lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 1rem; }
.btn-primary.full { width: 100%; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: transparent; color: var(--brand-700); font-weight: 600; font-size: .9rem;
  padding: .75rem 1.5rem; border-radius: .75rem; border: 2px solid var(--brand-700); cursor: pointer;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--brand-50); }
.btn-secondary.full { width: 100%; }

.btn-white {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--brand-800); font-weight: 800; font-size: 1rem;
  padding: 1rem 2rem; border-radius: 1rem; border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.15); transition: all .2s;
}
.btn-white:hover { background: var(--brand-50); box-shadow: 0 12px 40px rgba(0,0,0,.2); }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.card-hover { background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: all .2s; }
.card-hover:hover { border-color: #93c5fd; box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.input-field {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--slate-300); border-radius: .75rem;
  font-size: .875rem; color: var(--slate-900); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input-field:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(58,107,22,.15); }
.input-field.input-error { border-color: #ef4444; }
.label { display: block; font-size: .875rem; font-weight: 500; color: var(--slate-700); margin-bottom: .375rem; }
.field-error { font-size: .75rem; color: #ef4444; margin-top: .25rem; }

/* ─── Step cards (tunnel selections) ─────────────────────────────────────── */
.step-card {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.25rem 1rem; border-radius: 1rem; border: 2px solid var(--slate-200);
  background: #fff; cursor: pointer; text-align: center; transition: all .2s;
}
.step-card:hover { border-color: #7fa855; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.step-card.selected { border-color: var(--brand-600); background: var(--brand-50); }
.step-card .emoji { font-size: 2rem; }
.step-card .card-title { font-size: .9rem; font-weight: 700; color: var(--slate-900); }
.step-card .card-desc { font-size: .75rem; color: var(--slate-500); line-height: 1.4; }

/* YesNo large cards */
.yesno-card {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 2rem 1rem; border-radius: 1.25rem; border: 2px solid var(--slate-200);
  background: #fff; cursor: pointer; text-align: center; transition: all .2s; width: 100%;
}
.yesno-card:hover { border-color: #7fa855; }
.yesno-card.selected { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 4px 16px rgba(35,56,13,.12); }
.yesno-card .yesno-label { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); }
.yesno-card .yesno-sub { font-size: .8rem; color: var(--slate-500); }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); }
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--slate-900); margin: .5rem 0 0; line-height: 1.2; }
.section-subtitle { font-size: 1.1rem; color: var(--slate-600); margin: 1rem 0 0; line-height: 1.6; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 50%, var(--brand-700) 100%); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; inset:0; background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zm-2 4.5h-1v-1h1v1zm1-10V8H4v10h15zM2 10h12v6H2v-6zm15 24h4v-6h-4v6zM0 38h20V28H0v10zm2-8h16v6H2v-6z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 7rem 1.5rem 5rem; position: relative; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .4rem 1rem; font-size: .8rem; font-weight: 600; color: #fff; margin-bottom: 1.5rem; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.hero-h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; line-height: 1.1; margin: 0 0 1.25rem; }
.hero-h1 em { color: #bfdbfe; font-style: normal; }
.hero-p { font-size: 1.1rem; color: #bfdbfe; line-height: 1.7; margin: 0 0 2rem; }
.trust-list { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-direction: column; gap: .75rem; }
.trust-list li { display: flex; align-items: center; gap: .75rem; color: #bfdbfe; font-weight: 500; }
.trust-list li::before { content: none; display: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero cert card */
.cert-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 1.5rem; padding: 2rem; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.cert-item { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border-radius: .75rem; padding: .5rem .75rem; }
.cert-item span { font-size: .8rem; font-weight: 500; color: #fff; }
.cert-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.cert-badge { display: flex; flex-direction: column; align-items: center; gap: .25rem; background: rgba(255,255,255,.1); border-radius: .75rem; padding: .75rem .5rem; text-align: center; }
.cert-badge span { font-size: .7rem; color: #bfdbfe; line-height: 1.3; }

/* ─── Services grid ──────────────────────────────────────────────────────── */
.services-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 3rem; }
.service-card { padding: 1.25rem; }
.service-icon { display: inline-flex; border-radius: .75rem; padding: .625rem; margin-bottom: .75rem; font-size: 1.25rem; }
.service-title { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin: 0 0 .5rem; }
.service-desc { font-size: .825rem; color: var(--slate-600); line-height: 1.5; margin: 0; }

/* ─── Why us grid ────────────────────────────────────────────────────────── */
.why-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 3rem; }
.why-card { padding: 1.5rem; }
.why-icon { display: inline-flex; border-radius: 1rem; padding: .75rem; margin-bottom: 1rem; font-size: 1.5rem; }
.why-title { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin: 0 0 .5rem; }
.why-desc { font-size: .875rem; color: var(--slate-600); line-height: 1.6; margin: 0; }

/* ─── How it works ───────────────────────────────────────────────────────── */
.hiw-section { background: var(--brand-900); padding: 5rem 0; }
.hiw-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; }
.hiw-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 1.25rem; padding: 1.75rem; position: relative; }
.hiw-num { position: absolute; top: 1rem; right: 1rem; font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.08); line-height: 1; }
.hiw-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.hiw-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.hiw-desc { font-size: .875rem; color: #93c5fd; line-height: 1.6; margin: 0; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-btn { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; background: none; border: none; cursor: pointer; text-align: left; }
.faq-q { font-size: 1rem; font-weight: 600; color: var(--slate-900); flex: 1; }
.faq-icon {
  width: 1.25rem; height: 1.25rem; color: var(--brand-600); flex-shrink: 0;
  transition: transform .38s cubic-bezier(0.4, 0, 0.2, 1); margin-top: .1rem;
}
.faq-icon.rotate-180 { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  font-size: .9rem; color: var(--slate-600); line-height: 1.7;
  transition:
    max-height .42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity .32s ease,
    padding-bottom .42s ease;
}
.faq-answer.faq-open {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

/* ─── Coverage ───────────────────────────────────────────────────────────── */
.city-badge { display: inline-flex; align-items: center; gap: .25rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: .375rem .875rem; font-size: .8rem; font-weight: 500; color: var(--slate-700); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.dept-box { background: var(--slate-50); border-radius: .75rem; padding: .75rem; text-align: center; }
.dept-num { font-size: 1.5rem; font-weight: 900; color: var(--brand-700); }
.dept-name { font-size: .7rem; color: var(--slate-500); line-height: 1.3; margin-top: .125rem; }

/* ─── Autocomplete ───────────────────────────────────────────────────────── */
.autocomplete-box { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid var(--slate-200); border-radius: .75rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); overflow: hidden; margin-top: .25rem; }
.autocomplete-item { display: block; padding: .625rem 1rem; font-size: .875rem; color: var(--slate-700); background: none; border: none; cursor: pointer; width: 100%; text-align: left; transition: background .15s; }
.autocomplete-item:hover { background: var(--brand-50); }

/* ─── Tunnel ─────────────────────────────────────────────────────────────── */
.tunnel-shell { background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); }
.tunnel-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .tunnel-layout { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); } }
.tunnel-panel { background: #fff; border: 1px solid var(--slate-200); border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 20px 50px rgba(15,23,42,.06); }
.tunnel-sidecard { position: sticky; top: 5.5rem; }
.tunnel-step-header { margin-bottom: 1.5rem; }
.tunnel-step-kicker { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand-50); color: var(--brand-700); border-radius: 999px; padding: .35rem .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.tunnel-step-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin: .9rem 0 .6rem; color: var(--slate-900); }
.tunnel-step-subtitle { font-size: 1rem; color: var(--slate-600); line-height: 1.65; margin: 0; }
.tunnel-grid { display: grid; gap: 1rem; }
.tunnel-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tunnel-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tunnel-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-card.surface-oversize { margin-top: .75rem; border-color: var(--brand-200, #bfdbfe); background: var(--brand-50); }
.step-card.surface-oversize:hover { border-color: var(--brand-600); }
.tunnel-grid.project-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tunnel-grid.property-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tunnel-grid.period-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.step-group + .step-group { margin-top: 2rem; }
.step-group-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); margin: 0 0 .9rem; }
.step-card.align-left { align-items: flex-start; text-align: left; min-height: 100%; }
.step-card.align-left .emoji { font-size: 1.6rem; }
.step-card.full-width { width: 100%; }
.form-grid { display: grid; gap: 1rem; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-stack { display: flex; flex-direction: column; gap: .375rem; position: relative; }
.field-help { font-size: .8rem; color: var(--slate-500); line-height: 1.55; margin: 0; }
.inline-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: .9rem; padding: .95rem 1rem; font-size: .9rem; line-height: 1.55; }
.surface-hint-box { margin-top: .75rem; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-800); border-radius: .9rem; padding: .9rem 1rem; font-weight: 600; }
.step-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.step-actions.split { justify-content: space-between; }
.info-chip-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.info-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--slate-100); color: var(--slate-700); }
.checkbox-stack { display: grid; gap: .9rem; margin-top: 1rem; }
.checkline { display: flex; align-items: flex-start; gap: .75rem; font-size: .92rem; color: var(--slate-700); line-height: 1.55; }
.checkline input { margin-top: .2rem; accent-color: var(--brand-700); }
.summary-card { background: linear-gradient(180deg, #1c2b0c 0%, #2f4d16 100%); color: #fff; border-radius: 1.4rem; padding: 1.5rem; }
.summary-card h3 { margin: 0; font-size: 1.15rem; }
.summary-card p { color: #cbd5e1; line-height: 1.65; }
.summary-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.summary-list li { display: flex; gap: .75rem; align-items: flex-start; color: #e2e8f0; font-size: .92rem; }
.summary-list strong { color: #fff; display: block; margin-bottom: .15rem; }
.summary-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .35rem .75rem; font-size: .75rem; font-weight: 700; color: #dcead0; margin-bottom: 1rem; }
.quote-scroll { max-height: 420px; overflow: auto; }
.quote-empty { background: var(--slate-50); border: 1px dashed var(--slate-300); border-radius: 1rem; padding: 1.2rem; color: var(--slate-500); text-align: center; }
.text-red-500 { color: #ef4444; }
.text-slate-400 { color: var(--slate-400); }
.confirmation-hero { text-align: center; margin-bottom: 1.5rem; }
.confirmation-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1rem 0 .5rem; color: var(--slate-900); }
.confirmation-text { color: var(--slate-600); line-height: 1.7; max-width: 640px; margin: 0 auto; }
.tunnel-step { animation: stepEnter .3s ease-out; }
@keyframes stepEnter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.tunnel-step.hidden { display: none; }
.step-enter { animation: stepEnter .3s ease-out; }

/* Progress */
.progress-track { height: .5rem; background: var(--slate-100); border-radius: 999px; overflow: hidden; }
#progress-bar { height: 100%; background: var(--brand-600); border-radius: 999px; transition: width .5s ease; }

/* Quote */
.quote-price-box { background: var(--brand-700); border-radius: 1rem; padding: 1.5rem; text-align: center; margin-bottom: 1.25rem; }
.quote-total { font-size: 3rem; font-weight: 900; color: #fff; margin: 0; }
.quote-meta { font-size: .875rem; color: #d7e8c5; margin: .5rem 0 0; }
.quote-discount-badge { display: inline-flex; align-items: center; gap: .375rem; background: rgba(34,197,94,.2); border: 1px solid rgba(74,222,128,.3); border-radius: 999px; padding: .25rem .875rem; font-size: .8rem; font-weight: 700; color: #86efac; margin-top: .75rem; }

.diag-list { border: 1px solid var(--slate-200); border-radius: 1rem; overflow: hidden; }
.diag-row { display: flex; align-items: flex-start; gap: .75rem; padding: .875rem 1rem; border-bottom: 1px solid var(--slate-100); background: #fff; transition: background .15s; }
.diag-row:last-child { border-bottom: none; }
.diag-row.diag-disabled { background: var(--slate-50); opacity: .55; }
.diag-check { width: 1.25rem; height: 1.25rem; color: var(--brand-600); flex-shrink: 0; margin-top: .1rem; }
.diag-checkbox { width: 1rem; height: 1rem; margin-top: .2rem; flex-shrink: 0; cursor: pointer; accent-color: var(--brand-600); }
.diag-info { flex: 1; min-width: 0; }
.diag-label { font-size: .875rem; font-weight: 600; color: var(--slate-900); display: block; }
.diag-note { font-size: .75rem; color: var(--slate-500); display: block; margin-top: .125rem; }
.diag-price-col { text-align: right; flex-shrink: 0; }
.diag-price { font-size: .9rem; font-weight: 700; color: var(--slate-900); display: block; }
.badge-required { font-size: .7rem; color: var(--slate-400); }
.badge-optional { font-size: .7rem; color: #d97706; }
.text-green-600 { color: #16a34a; }

.quote-discount-info { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: .75rem; padding: .75rem 1rem; font-size: .8rem; color: #166534; margin-top: .75rem; }
.payment-note { font-size: .75rem; color: var(--slate-400); display: flex; align-items: center; gap: .375rem; margin-top: .75rem; }

/* Slots */
.slot-block { background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem; padding: 1.25rem; margin-bottom: 1rem; }
.slot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.slot-title { font-weight: 600; color: var(--slate-900); font-size: .9rem; }
.slot-clear { background: none; border: none; color: var(--slate-400); cursor: pointer; font-size: 1rem; }
.slot-clear:hover { color: #ef4444; }
.slot-fields { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .slot-fields { grid-template-columns: 2fr 1fr 1fr; } }

/* Confirmation */
.confetti { text-align: center; margin-bottom: 1.5rem; }
.check-circle { width: 5rem; height: 5rem; background: #dcfce7; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.5rem; animation: checkPop .6s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes checkPop { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }
.recap-block { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: .75rem; padding: 1rem; font-size: .875rem; }
.recap-block p { margin: .25rem 0; color: var(--slate-700); }
.recap-label { font-weight: 600; color: var(--slate-500); margin-right: .5rem; }
.recap-ref { font-family: monospace; font-weight: 700; color: var(--brand-700); }
.recap-diags { border: 1px solid var(--slate-200); border-radius: .75rem; overflow: hidden; margin-top: 1rem; }
.recap-diag-row { display: flex; justify-content: space-between; padding: .5rem 1rem; font-size: .8rem; border-bottom: 1px solid var(--slate-100); color: var(--slate-700); }
.recap-total-row { display: flex; justify-content: space-between; padding: .75rem 1rem; font-weight: 800; font-size: 1rem; color: var(--brand-700); background: var(--brand-50); }
.recap-section-title { font-weight: 700; color: var(--slate-900); margin-bottom: .5rem; }
.recap-slot { font-size: .875rem; color: var(--slate-700); margin: .25rem 0; }

/* Animations scroll */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.animate-on-scroll.visible { opacity: 1; transform: none; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--slate-900); color: var(--slate-300); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.footer-logo { font-size: 1.25rem; font-weight: 800; color: #fff; }
.footer-logo span { color: #c9a35a; }
.footer-desc { font-size: .8rem; color: var(--slate-400); line-height: 1.6; margin-top: .75rem; }
.footer-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-200); margin-bottom: 1rem; }
.footer-links a { display: block; font-size: .85rem; color: var(--slate-400); margin-bottom: .5rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .8rem; margin-bottom: .5rem; }
.footer-contact-item .ic { color: #c9a35a; flex-shrink: 0; margin-top: .1rem; }
.cert-tag { display: inline-block; background: #1e293b; border-radius: 999px; padding: .2rem .6rem; font-size: .7rem; color: var(--slate-300); margin: .15rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .75rem; color: var(--slate-500); }
.footer-bottom a { color: var(--slate-500); margin-left: 1rem; }
.footer-bottom a:hover { color: var(--slate-300); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-title { font-size: 1.75rem; }
  .hero-h1 { font-size: 2rem; }
  .nav-links, .nav-cta { display: none; }
  .form-grid.two,
  .tunnel-grid.two,
  .tunnel-grid.three,
  .tunnel-grid.four { grid-template-columns: 1fr; }
  .tunnel-panel { padding: 1.1rem; border-radius: 1.2rem; }
  .step-actions.split { justify-content: flex-start; }

  /* feature-info-card — layout horizontal sur mobile */
  .feature-info-card {
    display: grid;
    grid-template-columns: 2.8rem 1fr;
    column-gap: 1rem;
    row-gap: .25rem;
    padding: 1rem 1.1rem;
    align-items: start;
  }
  .feature-info-card .feature-card-icon {
    grid-row: 1 / -1;
    align-self: start;
    margin-bottom: 0;
    margin-top: .1rem;
  }
  .feature-info-card h3 { margin: 0 0 .2rem; font-size: 1rem; }
  .feature-info-card p  { margin: 0; }
  .feature-info-card .inline-link { margin-top: .65rem; }
  .hiw-grid { grid-template-columns: 1fr; }
}

/* ─── Home Refresh ───────────────────────────────────────────────────────── */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon,
.list-icon,
.badge-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: .45rem;
  border-radius: .75rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.menu-btn:hover { background: var(--slate-100); color: var(--brand-700); }
.mobile-menu {
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--slate-200);
  padding: 1rem 1.5rem 1.5rem;
  backdrop-filter: blur(16px);
}
.mobile-nav { display: flex; flex-direction: column; gap: .35rem; }
.mobile-nav a { padding: .75rem .8rem; border-radius: .75rem; color: var(--slate-700); font-weight: 600; }
.mobile-nav a:hover { background: var(--slate-100); }
.mobile-menu-cta { margin-top: .6rem; }
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  font-weight: 700;
  transition: transform .45s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.section-heading-center { text-align: center; }
.section-copy-limit { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-rich { min-height: auto; padding-top: 4rem; }
.hero-rich .hero-inner { padding-top: 8.5rem; padding-bottom: 6rem; }
.hero-grid-rich { grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); }
.hero-copy { position: relative; z-index: 2; }
.hero-panel-wrap { position: relative; z-index: 2; }
.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  opacity: .55;
  animation: drift 14s ease-in-out infinite;
}
.hero-orb-one {
  width: 360px;
  height: 360px;
  top: 10%;
  right: -80px;
  background: radial-gradient(circle, rgba(191,219,254,.45), rgba(191,219,254,0));
}
.hero-orb-two {
  width: 280px;
  height: 280px;
  left: -40px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(96,165,250,.3), rgba(96,165,250,0));
  animation-delay: -4s;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-12px,0) scale(1.04); }
}
.hero-rich .trust-list { gap: .9rem; }
.hero-rich .trust-list li::before { content: none; display: none; }
.list-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: #bfdbfe;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .9rem;
  margin-top: 2rem;
}
.hero-stat {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.hero-stat strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .35rem; }
.hero-stat span { color: #bfdbfe; font-size: .82rem; line-height: 1.55; display: block; }
.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 25px 80px rgba(15,23,42,.28);
  backdrop-filter: blur(16px);
}
.hero-panel { border-radius: 1.6rem; padding: 1.5rem; color: #fff; }
.panel-topline { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.panel-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .75rem;
  font-weight: 700;
}
.panel-chip-soft { color: #dbeafe; }
.panel-title { margin: 0; font-size: 1.75rem; line-height: 1.15; }
.panel-text { color: #dbeafe; line-height: 1.65; font-size: .95rem; margin: .85rem 0 1.2rem; }
.quick-choice-grid { display: grid; gap: .85rem; margin-bottom: 1rem; }
.quick-choice-card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  transition: transform .45s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease;
}
.quick-choice-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.quick-choice-card strong { font-size: 1rem; }
.quick-choice-card span:last-child { color: #dbeafe; font-size: .84rem; line-height: 1.5; }
.quick-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .9rem;
  background: rgba(255,255,255,.14);
  color: #fff;
}
.quote-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.quote-preview strong { display: block; margin-top: .2rem; }
.quote-preview-label { color: #bfdbfe; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.quote-preview-meta { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.quote-preview-meta span {
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .78rem;
}
.trust-band { position: relative; margin-top: -2.2rem; z-index: 4; }
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.trust-band-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(191,219,254,.75);
  border-radius: 1.2rem;
  padding: 1.2rem;
  display: flex;
  gap: .9rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.08);
}
.trust-band-card h2 { margin: 0 0 .35rem; font-size: 1.05rem; }
.trust-band-card p { margin: 0; color: var(--slate-600); line-height: 1.6; font-size: .9rem; }
.trust-band-icon {
  width: 2.8rem;
  height: 2.8rem;
  padding: .7rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-50), #ffffff);
  color: var(--brand-700);
  flex-shrink: 0;
}
.feature-section { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr);
  gap: 2rem;
  align-items: start;
}
.feature-points { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-point {
  display: flex;
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--slate-200);
}
.feature-point:last-child { border-bottom: none; }
.feature-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 1rem;
  background: var(--brand-50);
  color: var(--brand-700);
}
.feature-point strong { display: block; margin-bottom: .25rem; }
.feature-point p { margin: 0; color: var(--slate-600); line-height: 1.6; }
.feature-card-grid { display: grid; gap: 1rem; }
.step-card .emoji svg { width: 1.8rem; height: 1.8rem; }
.inline-note { display: flex; align-items: flex-start; gap: .55rem; }
.check-circle .icon { width: 2.2rem; height: 2.2rem; }
.feature-info-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.3rem;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(15,23,42,.05);
}
.feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-50), #ffffff);
  color: var(--brand-700);
  margin-bottom: .8rem;
}
.feature-info-card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.feature-info-card p { margin: 0; color: var(--slate-600); line-height: 1.6; }
.feature-info-card-accent {
  background: linear-gradient(180deg, var(--brand-900), var(--brand-700));
  color: #fff;
  border-color: rgba(191,219,254,.2);
}
.feature-info-card-accent p { color: #cfe3ff; }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 700;
  color: #fff;
}
.service-stage { background: #f7fbff; }
.services-grid-rich .service-card {
  border-radius: 1.2rem;
  box-shadow: 0 16px 34px rgba(15,23,42,.04);
}
.service-icon svg,
.why-icon svg,
.hiw-icon svg,
.feature-card-icon svg,
.feature-point-icon svg,
.quick-choice-icon svg,
.trust-band-icon,
.coverage-highlight-icon svg { width: 1.35rem; height: 1.35rem; }
.service-icon-blue { background: #eff6ff; color: #1d4ed8; }
.service-icon-orange { background: #fff7ed; color: #ea580c; }
.service-icon-red { background: #fef2f2; color: #dc2626; }
.service-icon-amber { background: #fefce8; color: #ca8a04; }
.service-icon-gold { background: #fff7ed; color: #d97706; }
.service-icon-copper { background: #fef3c7; color: #b45309; }
.service-icon-violet { background: #f5f3ff; color: #7c3aed; }
.service-icon-green { background: #f0fdf4; color: #16a34a; }
.service-icon-slate { background: #f8fafc; color: #475569; }
.service-icon-indigo { background: #eef2ff; color: #4f46e5; }
.service-icon-pink { background: #fff1f2; color: #e11d48; }
.why-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 1.5rem;
  align-items: start;
}
.why-grid { margin-top: 0; }
.why-side-panel {
  background: linear-gradient(180deg, #0f172a, #172554);
  border-radius: 1.4rem;
  padding: 1.4rem;
  color: #fff;
  position: sticky;
  top: 5.5rem;
}
.why-side-topline { color: #93c5fd; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 700; }
.why-side-metric { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.why-side-metric:last-of-type { margin-bottom: 1rem; }
.why-side-metric strong { display: block; margin-bottom: .25rem; }
.why-side-metric span { color: #cbd5e1; line-height: 1.6; font-size: .92rem; }
.why-icon-blue { background: #dbeafe; color: #1d4ed8; }
.why-icon-green { background: #dcfce7; color: #16a34a; }
.why-icon-purple { background: #f3e8ff; color: #7c3aed; }
.why-icon-yellow { background: #fef9c3; color: #ca8a04; }
.why-icon-rose { background: #fce7f3; color: #be185d; }
.why-icon-orange { background: #ffedd5; color: #c2410c; }
.section-eyebrow-light { color: #93c5fd; }
.section-title-light { color: #fff; }
.hiw-subtitle { color: #bfdbfe; max-width: 640px; margin-left: auto; margin-right: auto; }
.hiw-card { transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .35s ease, background .35s ease; }
.hiw-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.11); }
.hiw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.09);
  color: #fff;
}
.hiw-cta { text-align: center; margin-top: 3rem; }
.payment-zone { background: linear-gradient(180deg, #ffffff, #f8fafc); }
.payment-zone-layout {
  display: grid;
  grid-template-columns: minmax(280px,.9fr) minmax(0,1.1fr);
  gap: 1.5rem;
  align-items: start;
}
.payment-card,
.coverage-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.4rem;
  padding: 1.4rem;
  box-shadow: 0 18px 45px rgba(15,23,42,.05);
}
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .95rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
  font-size: .84rem;
}
.coverage-highlight {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 1.1rem;
  padding: 1rem;
  margin: 1.25rem 0;
}
.coverage-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--brand-700);
}
.coverage-highlight strong { display: block; margin-bottom: .25rem; }
.coverage-highlight p { margin: 0; color: var(--slate-600); line-height: 1.6; }
.coverage-cities { display: flex; flex-wrap: wrap; gap: .55rem; }
.badge-icon { color: inherit; }
.coverage-address-card {
  margin-top: 1.2rem;
  border-radius: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 1rem;
}
.coverage-address-card p {
  margin: 0 0 .45rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--slate-700);
}
.coverage-address-card p:last-child { margin-bottom: 0; }
.faq-stage { background: #fff; }
.faq-layout-home {
  display: grid;
  grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr);
  gap: 2rem;
}
.faq-contact-card {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, #0f172a, #1e3a8a);
  border-radius: 1.3rem;
  padding: 1.3rem;
  color: #fff;
}
.faq-contact-card h3 { margin: 0 0 .4rem; }
.faq-contact-card p { color: #dbeafe; line-height: 1.65; margin: 0 0 1rem; }
.faq-list-shell {
  border: 1px solid var(--slate-200);
  border-radius: 1.2rem;
  padding: 0 1.35rem;
  box-shadow: 0 18px 45px rgba(15,23,42,.04);
}
.cta-stage { background: transparent; padding-top: 0; }
.cta-panel {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  border-radius: 1.6rem;
  padding: 2rem;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) auto;
  gap: 1.5rem;
  align-items: center;
}
.cta-copy { color: #dbeafe; font-size: 1rem; line-height: 1.7; max-width: 700px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }
.footer-contact-item .icon { width: 1rem; height: 1rem; }
.card,
.card-hover,
.btn-primary,
.btn-secondary,
.btn-white,
.service-card,
.why-card,
.faq-list-shell,
.payment-card,
.coverage-card {
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease, background .35s ease, color .35s ease;
}
.card:hover,
.card-hover:hover,
.service-card:hover,
.why-card:hover,
.payment-card:hover,
.coverage-card:hover { transform: translateY(-4px); }
.animate-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(10px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1), filter .9s cubic-bezier(.22,1,.36,1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (max-width: 1024px) {
  .hero-grid-rich,
  .feature-layout,
  .why-layout,
  .payment-zone-layout,
  .faq-layout-home,
  .cta-panel { grid-template-columns: 1fr; }
  .hero-stats,
  .trust-band-grid { grid-template-columns: 1fr; }
  .why-side-panel { position: static; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero-rich .hero-inner { padding-top: 7rem; padding-bottom: 5rem; }
  .hero-panel,
  .cta-panel,
  .payment-card,
  .coverage-card,
  .faq-contact-card,
  .trust-band-card { padding: 1.15rem; }
  .hero-stats { gap: .7rem; }
  .quote-preview { flex-direction: column; align-items: flex-start; }
  .quote-preview-meta { justify-content: flex-start; }
}
