/* ========================================
   DILIGEO LANDING PAGE
   ========================================
   GitHub ↔ Vercel auto-deploy test : 2026-04-15 */

:root {
    --blue-900: #0f1f3d;
    --blue-800: #1a3157;
    --blue-700: #1a3c6e;
    --blue-600: #2554a0;
    --blue-500: #3b6fd4;
    --blue-100: #e8f0fe;
    --blue-50: #f4f7fc;
    --accent: #2554a0;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-700);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--blue-700);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--white);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
    width: 100%;
}

/* ---- HERO ---- */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-50) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--blue-100);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--blue-900);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-sub {
    max-width: 480px;
}

.hero-secondary-cta {
    margin: 16px 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-secondary-cta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.hero-secondary-cta a:hover {
    text-decoration: underline;
}

.hero-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    min-width: 120px;
    box-shadow: var(--shadow-sm);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.2;
}

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

/* ---- REPORT PREVIEW ---- */
.report-preview {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.report-header-bar {
    background: var(--gray-100);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.report-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.report-title-bar {
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
}

.report-body {
    padding: 24px;
}

.report-section-fake {
    margin-bottom: 20px;
}

.report-h1 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 10px;
}

.report-h2 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.pill {
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.pill-orange { background: #fff7ed; color: #c2410c; }
.pill-blue { background: #eff6ff; color: #1d4ed8; }
.pill-gray { background: var(--gray-100); color: var(--text-light); }

.report-line {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 6px;
}

.report-line.inline {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    flex: 1;
}

.w35 { width: 35%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w95 { width: 95%; }

.report-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 60px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.chart-bar {
    flex: 1;
    background: var(--gray-200);
    border-radius: 4px 4px 0 0;
}

.chart-bar.accent { background: var(--accent); }

.risk-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.risk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.risk-dot.high { background: #ef4444; }
.risk-dot.med { background: #f59e0b; }
.risk-dot.low { background: #22c55e; }

/* Pie chart */
.pie-chart-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.pie-chart {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.pie-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---- SECTIONS ---- */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--blue-900);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--blue-900);
    letter-spacing: -0.3px;
}

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

.section-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-sub.light {
    color: var(--gray-300);
}

/* ---- PROBLEMS ---- */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.problem-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-900);
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- STEPS ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-900);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---- REPORT TOC ---- */
.report-toc {
    max-width: 680px;
    margin: 48px auto 0;
}

.toc-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.toc-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 32px;
    padding-top: 2px;
}

.toc-content h3 {
    font-size: 1.05rem;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.toc-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---- AUDIENCE ---- */
.audience-single {
    max-width: 600px;
    margin: 32px auto 0;
    text-align: center;
}

.audience-single p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.audience-single ul {
    list-style: none;
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}

.audience-single li {
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.audience-single li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ---- CONTACT FORM ---- */
.contact-form {
    max-width: 580px;
    margin: 0 auto;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

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

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    color: var(--text);
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.12);
}

.contact-form select {
    margin-bottom: 12px;
}

.contact-form textarea {
    margin-bottom: 16px;
    resize: vertical;
    min-height: 80px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 12px;
}

/* ---- FOOTER ---- */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- TRUST ---- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.trust-item {
    text-align: center;
    padding: 8px;
}

.trust-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--blue-100);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trust-item h3 {
    font-size: 1rem;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- CONTACT EMAIL ---- */
.contact-email {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.contact-email a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.contact-email a:hover {
    color: var(--white);
}

.footer-text a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-text a:hover {
    color: var(--accent);
}

.footer-legal {
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    margin-top: 16px;
}

.footer-legal p {
    font-size: 0.75rem;
    color: var(--gray-300);
    text-align: center;
}

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

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

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 100px 0 56px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-sub {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hero-metrics {
        gap: 12px;
    }

    .metric-card {
        min-width: 0;
        padding: 12px 10px;
        flex: 1;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .metric-label {
        font-size: 0.7rem;
    }

    .problems-grid,
    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text .btn {
        display: block;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-metrics {
        justify-content: center;
    }

    .hero-visual {
        order: 0;
    }

    .report-body {
        padding: 16px;
    }

    .report-h1 {
        font-size: 0.85rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 88px 0 40px;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .hero-metrics {
        flex-wrap: wrap;
    }

    .metric-card {
        min-width: calc(50% - 8px);
    }

    .nav-links {
        gap: 14px;
    }

    .nav-link {
        display: none;
    }

    .nav-cta {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* ========================================================================= */
/*  Onboarding page                                                          */
/* ========================================================================= */

.onboarding-body {
  background: var(--bg);
  color: var(--blue-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.onboarding-header,
.onboarding-footer {
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 31, 61, 0.08);
  font-size: 14px;
}

.onboarding-footer {
  border-top: 1px solid rgba(15, 31, 61, 0.08);
  border-bottom: none;
  color: rgba(15, 31, 61, 0.6);
  margin-top: auto;
}

.logo-link {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  text-decoration: none;
}

.header-link {
  color: rgba(15, 31, 61, 0.7);
  text-decoration: none;
  font-size: 14px;
}
.header-link:hover { color: var(--accent); text-decoration: underline; }

.onboarding-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  width: 100%;
  box-sizing: border-box;
}

/* Banniere reprise */
.resume-banner {
  background: rgba(37, 84, 160, 0.06);
  border: 1px solid rgba(37, 84, 160, 0.18);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--blue-900);
}
.btn-link {
  background: none; border: none; padding: 0;
  color: var(--accent); text-decoration: underline;
  font: inherit; cursor: pointer;
}

/* Barre de progression */
.progress {
  margin-bottom: 32px;
}
.progress-track {
  height: 4px;
  background: rgba(15, 31, 61, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
  width: 20%;
}
.progress-label {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(15, 31, 61, 0.6);
  letter-spacing: 0.02em;
}

/* Etapes */
.step {
  animation: step-fade 0.3s ease;
}
.step[hidden] { display: none; }

@keyframes step-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.step h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--blue-900);
}
.step h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--blue-900);
}
.lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(15, 31, 61, 0.75);
  margin-bottom: 16px;
}
.process-note {
  font-size: 14px;
  color: rgba(15, 31, 61, 0.6);
  margin-bottom: 32px;
}
.hint {
  font-size: 13px;
  color: rgba(15, 31, 61, 0.6);
  margin: -8px 0 16px;
  display: block;
}

/* Form layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 24px;
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.form-grid label,
.form-label-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-900);
}
.form-grid label span,
.form-label-block span {
  display: block;
}
.form-label-block { display: block; margin-bottom: 28px; }
.form-label-block span { margin-bottom: 6px; }

.form-grid input,
.form-grid select,
.form-label-block input,
.form-label-block select,
.form-label-block textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid rgba(15, 31, 61, 0.18);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--blue-900);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.form-label-block textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}
.form-grid input:focus,
.form-grid select:focus,
.form-label-block input:focus,
.form-label-block select:focus,
.form-label-block textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 84, 160, 0.15);
}

/* Checkbox groups */
.checkbox-group {
  border: 1px solid rgba(15, 31, 61, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 0 0 28px;
}
.checkbox-group legend {
  padding: 0 8px;
  font-weight: 500;
  color: var(--blue-900);
  font-size: 14px;
}
.checkbox-group label {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--blue-900);
  cursor: pointer;
}
.checkbox-group.inline label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--accent);
}

/* Range inputs (CA cible, effectif) */
.range-group { margin-bottom: 28px; }
.range-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--blue-900);
  margin: 0 0 6px;
}
.range-group .hint {
  margin: 0 0 12px;
}
.range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.range-inputs label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(15, 31, 61, 0.6);
}
.range-inputs label span {
  display: block;
}
.range-inputs input {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid rgba(15, 31, 61, 0.18);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--blue-900);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.range-inputs input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 84, 160, 0.15);
}

/* File upload */
.file-upload {
  margin-bottom: 28px;
  padding: 16px;
  border: 1px dashed rgba(15, 31, 61, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(15, 31, 61, 0.02);
}
.file-upload label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--blue-900);
}
.file-upload input[type="file"] { margin-top: 8px; display: block; }
.cv-fallback { margin-top: 12px; font-weight: normal; font-size: 14px; }

/* Recap */
.recap {
  background: rgba(15, 31, 61, 0.03);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.6;
}
.recap h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-900);
}
.recap dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; }
.recap dt { color: rgba(15, 31, 61, 0.6); font-weight: 500; }
.recap dd { margin: 0; color: var(--blue-900); }

/* Consentement */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(37, 84, 160, 0.04);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
  color: var(--blue-900);
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }

/* Field errors */
.field-error {
  display: block;
  font-size: 13px;
  color: #b00020;
  margin-top: 6px;
}
.has-error input,
.has-error select,
.has-error textarea {
  border-color: #b00020;
}

/* Navigation */
.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 31, 61, 0.08);
}
.step-nav .btn-secondary {
  background: transparent;
  border: 1px solid rgba(15, 31, 61, 0.18);
  color: var(--blue-900);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font: inherit;
  cursor: pointer;
}
.step-nav .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.step-nav .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Confirmation */
.step.confirmation h2 {
  font-size: 28px;
}
.step.confirmation p { font-size: 16px; line-height: 1.6; margin: 12px 0; color: rgba(15, 31, 61, 0.8); }

/* Honeypot field — invisible */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Responsive */
@media (max-width: 480px) {
  .onboarding-main { padding: 32px 16px 48px; }
  .step h1 { font-size: 26px; }
  .step h2 { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .range-inputs { grid-template-columns: 1fr 1fr; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav button { width: 100%; }
}
