/* ---------- Design tokens ---------- */
:root {
    --bg: #f8f7ff;
    --surface: #ffffff;
    --surface-alt: #f1efff;
    --text: #1f2a37;
    --muted: #5f6c82;
    --primary: #6f5bff;
    --primary-soft: #edeaff;
    --accent: #ffb347;
    --border: rgba(99, 115, 129, 0.18);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-soft: 0 25px 50px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 18px 35px rgba(111, 91, 255, 0.12);
}

@media (max-width: 600px) {
    .hero {
        padding: 3.5rem 0 2.5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-trust-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    .trust-pill {
        border-radius: 14px;
        min-height: auto;
        padding: 0.75rem 1rem;
    }
    .trust-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .panel-card {
        gap: 0.6rem;
    }
    .panel-shell {
        padding: 1.2rem 1.3rem;
    }
    .panel-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .panel-guarantees {
        grid-template-columns: 1fr;
    }
    .panel-cta {
        width: 100%;
    }
    .guarantee-grid {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .guarantee-card {
        width: 100%;
    }
}

/* ---------- Base styles ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    color: var(--text);
}

.wrapper {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ---------- Barre de réassurance ---------- */
.reassurance-bar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.85rem 0;
    position: sticky;
    top: 76px;
    z-index: 40;
}

.reassurance-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.reassurance-items span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #f4f5fb;
    color: #1f2933;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.reassurance-items i {
    color: #4f46e5;
    font-size: 0.95rem;
}

/* ---------- CTA Intermediates ---------- */
.cta-intermediate {
    background: var(--primary-soft);
}

.cta-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(111, 91, 255, 0.1);
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.cta-content p {
    font-size: 1.1rem;
    color: #475467;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.cta-center .cta-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------- Guarantee Cards Compact ---------- */
.guarantee-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.guarantee-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, #edf0fb 0%, #e7ebf9 100%);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 72px;
    flex: 1;
}

.guarantee-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.guarantee-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    place-items: center;
    color: #4f46e5;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.guarantee-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.guarantee-copy strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.guarantee-copy p {
    margin: 0;
    font-size: 0.85rem;
    color: #475467;
    line-height: 1.25;
}

.guarantee-disclaimer {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .guarantee-grid {
        overflow-x: auto;
        padding-bottom: 0.75rem;
    }
    .guarantee-card {
        min-width: 300px;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .guarantee-card {
        padding: 0.9rem 1.2rem;
        min-width: 260px;
    }
    .guarantee-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* ---------- Progress Indicator ---------- */
.progress-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
}

.progress-step {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.progress-text {
    color: var(--primary);
    font-weight: 500;
}

/* ---------- Form Help ---------- */
.form-help {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248,247,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(111,91,255,0.15);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-block .symbol {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    box-shadow: var(--shadow-card);
}

.logo-block .symbol i {
    font-size: 1.2rem;
}

.logo-block p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

nav {
    display: flex;
    gap: 1rem;
    font-weight: 600;
    color: var(--muted);
}

nav a {
    text-decoration: none;
    color: inherit;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

nav a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

/* ---------- Buttons ---------- */
.btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #6f5bff 0%, #8f7bff 100%);
    color: #fff;
    box-shadow: 0 18px 35px rgba(111, 91, 255, 0.25);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 25px 45px rgba(111, 91, 255, 0.3);
}

.btn.secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn.secondary:hover {
    background: var(--primary-soft);
}

.btn.large {
    padding: 1.1rem 2.4rem;
}

.btn.xlarge {
    padding: 1.3rem 2.8rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.btn.w-full {
    width: 100%;
}

/* ---------- Hero ---------- */
.hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at top, rgba(111,91,255,0.18), transparent 55%), var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--primary);
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    margin: 0.8rem 0;
    line-height: 1.1;
}

.lead {
    font-size: 1.1rem;
    color: #475467;
    margin-bottom: 1.5rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.hero-highlights span {
    background: #fff;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    color: #475467;
    border: 1px solid rgba(99,115,129,0.15);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.notice {
    color: #667085;
    font-size: 0.9rem;
}

.hero-panel {
    display: flex;
    align-items: flex-start;
}

.panel-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.panel-shell {
    background: white;
    border-radius: 22px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.panel-content {
    overflow: visible;
    max-height: none;
    padding-right: 0;
}

.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 999px;
}

.panel-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.6rem;
    text-align: center;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
}

.panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.panel-icon {
    font-size: 1rem;
    line-height: 1.4;
}

.panel-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.08rem;
}

.panel-item p {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.panel-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(15, 23, 42, 0.08), transparent);
    margin: 1.4rem 0;
}

.panel-guarantees {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.9rem;
    margin-bottom: 1rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: #374151;
}

.guarantee-item span {
    font-size: 1rem;
}

.panel-note {
    font-size: 0.78rem;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: #374151;
}

.panel-cta {
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #6f5bff 0%, #8f7bff 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(111, 91, 255, 0.2);
    transition: all 0.3s ease;
}

.panel-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(111, 91, 255, 0.2);
    transition: all 0.3s ease;
}

.panel-cta + * {
    margin-top: 0;
}

@media (max-width: 768px) {
    .panel-list {
        grid-template-columns: 1fr;
    }
    .panel-guarantees {
        grid-template-columns: 1fr;
    }
    .panel-section + .panel-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

.panel-section + .panel-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99,115,129,0.12);
}

.panel-section h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.panel-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.panel-section ul li {
    color: #4b5567;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.95rem;
}

.panel-section ul li i {
    color: var(--primary);
}

.panel-section ul.plain li i {
    color: #f97066;
}

/* ---------- Sections ---------- */
.section {
    padding: 4rem 0;
    background: transparent;
}

.section.light {
    background: #fff;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-head.narrow {
    max-width: 540px;
}

.section-head .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.card-grid {
    display: grid;
    gap: 1.4rem;
}

.card-grid.four {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card p {
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---------- Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.process-grid article {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.2s ease;
}

.process-grid article:hover {
    transform: translateY(-2px);
}

.process-grid span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 0.8rem;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.process-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.process-grid p {
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---------- Form section ---------- */
.form-section {
    background: #fff;
}

.form-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.form-card {
    max-width: 480px;
}

.form-group {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-card input,
.form-card select,
.form-card textarea {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99,115,129,0.25);
    padding: 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(111, 91, 255, 0.1);
}

.trust-note {
    font-size: 0.9rem;
    color: #475467;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-card.hidden {
    display: none;
}

.loader {
    text-align: center;
    padding: 3rem 0;
}

.loader p {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.loader small {
    color: var(--muted);
}

.hero-trust-row {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 0.5rem;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #f4f6ff;
    border-radius: 18px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
    min-height: 78px;
    flex: 1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f1f3ff);
    display: grid;
    place-items: center;
    color: #4f46e5;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.trust-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-copy strong {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
}

.trust-copy p {
    margin: 0;
    font-size: 0.86rem;
    color: #475467;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.offer-cards article {
    border: 1px solid rgba(99,115,129,0.2);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.offer-cards h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.offer-cards ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: grid;
    gap: 0.4rem;
}

.offer-cards li {
    color: #475467;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.offer-cards li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 600;
}

.payment-note {
    color: #475467;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

.panel-note {
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 1.2rem;
}

.micro-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1rem;
    position: relative;
    transition: transform 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
}

.plan-card.featured {
    border: 2px solid var(--primary);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
}

.plan-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.plan-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.plan-features li {
    display: flex;
    gap: 0.5rem;
    color: #475467;
    font-size: 0.95rem;
}

.plan-features i {
    color: var(--primary);
}

/* ---------- Contact Section ---------- */
.contact-section {
    background: #f8f9fa;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 115, 129, 0.1);
    width: 100%;
    max-width: 540px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-card .form-group {
    margin-bottom: 1.25rem;
}

.contact-card label {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(111, 91, 255, 0.1);
}

.contact-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(111, 91, 255, 0.25);
}

.contact-reassurance {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0 1.5rem 0;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.reassurance-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.confidentiality-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    justify-content: center;
}

.confidentiality-note i {
    color: var(--primary);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ---------- Legal & Contact ---------- */
.section.accent {
    background: var(--primary-soft);
}

.legal-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.legal-grid h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-grid h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.legal-grid p {
    color: #475467;
    line-height: 1.6;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.list-check li {
    display: flex;
    gap: 0.5rem;
    color: #475467;
    font-size: 0.95rem;
}

.list-check li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 600;
}

.contact {
    background: #fff;
}

.contact-card {
    max-width: 540px;
    margin: 0 auto;
}

/* ---------- Footer ---------- */
footer {
    background: #f1f1fb;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    color: #475467;
}

.footer strong {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ---------- Utilities ---------- */
.hidden {
    display: none !important;
}

/* ---------- Modal Premium ---------- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(248, 249, 255, 0.9);
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2rem);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: min(92vw, 820px);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18), 0 10px 30px rgba(15, 23, 42, 0.12);
    transform: scale(0.95) translateY(24px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.modal-small {
    width: min(90vw, 520px);
    max-height: 60vh;
}

.modal.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Header */
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3rem 3.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    background: linear-gradient(to bottom, #fafbff 0%, white 100%);
    border-radius: 20px 20px 0 0;
}

.header-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1d23;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.header-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.modal-close {
    background: rgba(249, 250, 251, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.modal-close:hover {
    background: rgba(243, 244, 246, 0.95);
    color: #374151;
    transform: scale(1.08);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form */
.modal-body {
    flex: 1 1 auto;
    display: flex;
    position: relative;
    overflow: hidden;
}

.modal-screen {
    flex: 1 1 100%;
    padding: 2rem 3rem;
    overflow-y: auto;
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-content {
    flex: 1 1 auto;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-stack .form-group {
    margin-bottom: 0;
}

.loading-content,
.result-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.upsell-card {
    position: relative;
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 255, 0.95));
    border: 1px solid rgba(124, 58, 237, 0.25);
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.15);
    text-align: left;
}

.upsell-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    padding: 0.35rem 1rem;
    background: linear-gradient(120deg, #f97316, #fb7185);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
}

.upsell-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.upsell-header h4 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    color: #111827;
}

.upsell-header p {
    margin: 0;
    color: #475467;
}

.upsell-price {
    text-align: right;
}

.upsell-price span {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #7c3aed;
}

.upsell-price small {
    color: #6b7280;
}

.upsell-benefits {
    list-style: none;
    padding: 1rem 0 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: #1f2937;
}

.upsell-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.upsell-benefits i {
    color: #10b981;
    font-size: 1rem;
}

.upsell-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.upsell-actions .btn {
    flex: 1 1 260px;
}

.upsell-dismiss {
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: underline;
}

.upsell-dismiss:hover {
    color: #111827;
}

.loading-content h3,
.result-content h3 {
    font-size: 1.6rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.loading-subtitle,
.result-subtitle {
    color: #6b7280;
    margin: 0;
}

.btn-primary-strong {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.35);
}

.btn-primary-strong:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
}

.modal-panel {
    flex: 1 1 auto;
    padding: 2rem;
    overflow-y: auto;
}

.loading-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.loading-indicator .spinner {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 4px solid rgba(124, 58, 237, 0.2);
    border-top-color: #7c3aed;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-summary,
.success-panel .loading-summary {
    width: 100%;
    border-radius: 16px;
    background: #f8f9ff;
    padding: 1.25rem;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span {
    color: #6b7280;
}

.summary-card {
    width: min(100%, 520px);
    margin: 0 auto;
    text-align: left;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    background: #f8f9ff;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.summary-card .summary-row strong {
    font-weight: 600;
    color: #111827;
}

.success-header {
    border-bottom: none;
    text-align: center;
}

.success-check {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: successPulse 0.6s ease;
}

.success-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.offer-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    background: white;
    text-align: left;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.offer-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #4b5563;
}

.offer-card.priority {
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(168, 85, 247, 0.05));
}

.offer-card.priority.highlight {
    animation: priorityPulse 1.2s ease forwards;
}

.offer-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0.25rem 0 0.75rem;
}

.offer-price.premium {
    color: #7c3aed;
}

.offer-card a.btn {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.offer-emoji {
    font-size: 1.75rem;
}

.result-note {
    color: #6b7280;
    font-size: 0.95rem;
}

@keyframes priorityPulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
    }
    40% {
        transform: translateY(-6px);
        box-shadow: 0 30px 45px rgba(124, 58, 237, 0.25);
    }
    70% {
        transform: translateY(2px);
    }
    100% {
        transform: translateY(0);
    }
}

.offer-emoji {
    font-size: 1.75rem;
}

.success-alert {
    color: #b91c1c;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background: #fff1f2;
}

.offer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offer-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.offer-card.priority {
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(168, 85, 247, 0.05));
}

.offer-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.offer-card button {
    margin-top: 0.75rem;
    width: 100%;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.2);
    color: #0f172a;
}

.form-content::-webkit-scrollbar {
    width: 8px;
}

.form-content::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.form-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.form-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #94a3b8, #64748b);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1d23;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    letter-spacing: -0.01em;
}

.form-section h3 i {
    color: #4f46e5;
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.08));
    padding: 0.625rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
}

.section-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.625rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.125rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafbfc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    color: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 16px rgba(79, 70, 229, 0.08);
    transform: translateY(-2px);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    display: block;
    margin-top: 0.625rem;
    color: #9ca3af;
    font-size: 0.8rem;
    line-height: 1.5;
    font-style: italic;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 3px;
    accent-color: #4f46e5;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.btn-secondary {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Footer */
.modal-footer {
    flex: 0 0 auto;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, #fafbff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.footer-icons span {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-icons i {
    color: #4f46e5;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .modal-form {
        padding: 0 1.5rem 2rem;
        gap: 2rem;
    }

    .modal-intro {
        grid-template-columns: 1fr;
        padding: 1.75rem;
    }

    .reassurance-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .reassurance-card {
        flex: 1 1 45%;
    }

    .form-content {
        max-height: none;
        padding-right: 0.25rem;
    }
}

@media (max-width: 540px) {
    .modal-container {
        border-radius: 16px;
        padding: 1rem 0;
    }

    .modal-screen {
        padding: 1.5rem;
    }

    .modal-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
    }

    .modal-form {
        padding: 0 1rem 1.5rem;
    }

    .modal-intro {
        padding: 1.5rem;
    }

    .reassurance-cards {
        flex-direction: column;
    }

    .reassurance-card {
        flex: 1 1 auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .offer-cards {
        grid-template-columns: 1fr;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 95%;
        text-align: center;
    }

    .offer-cards {
        grid-template-columns: 1fr;
    }

    .upsell-header {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .upsell-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Success Content */
.success-content {
    padding: 3rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-content h2 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.success-content > p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.summary-section {
    background: var(--primary-soft);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.summary-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-grid {
    display: grid;
    gap: 1rem;
}

.summary-item {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.next-steps {
    margin: 2rem 0;
}

.next-steps h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps-list {
    display: grid;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    text-align: left;
    align-items: flex-start;
}

.step-item .step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.step-content h4 {
    color: var(--text);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.step-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
.hero-analyse {
    background: linear-gradient(135deg, var(--primary) 0%, #8b7aff 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero-analyse-content {
    max-width: 800px;
    margin: 0 auto;
}

.progress-header {
    margin-bottom: 2rem;
}

.step-indicator {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-analyse h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-analyse-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-steps .step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.progress-steps .step.active .step-number {
    background: white;
    color: var(--primary);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- Section Formulaire Analyse ---------- */
.analyse-form-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.analyse-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.analyse-form .form-section {
    padding: 3rem;
    display: none;
}

.analyse-form .form-section.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-header p {
    color: #475467;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analyse-form .form-group {
    margin-bottom: 1.25rem;
}

.analyse-form label {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.analyse-form input,
.analyse-form select,
.analyse-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.analyse-form input:focus,
.analyse-form select:focus,
.analyse-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(111, 91, 255, 0.1);
}

.analyse-form input.error,
.analyse-form select.error,
.analyse-form textarea.error {
    border-color: #ef4444;
}

.analyse-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.next-btn {
    margin-left: auto;
}

/* ---------- Section Confirmation ---------- */
.confirmation-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.confirmation-section.hidden {
    display: none;
}

.confirmation-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    animation: successPulse 0.6s ease-out;
}

.confirmation-card h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.confirmation-card > p {
    font-size: 1.2rem;
    color: #475467;
    margin-bottom: 3rem;
}

.summary-section {
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.summary-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-grid {
    display: grid;
    gap: 1rem;
}

.summary-item {
    padding: 0.8rem;
    background: white;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.next-steps {
    margin: 3rem 0;
}

.next-steps h3 {
    color: var(--text);
    margin-bottom: 2rem;
}

.steps-list {
    display: grid;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.step-item .step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text);
    margin-bottom: 0.3rem;
}

.step-content p {
    color: #475467;
    font-size: 0.9rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    nav {
        display: none;
    }

    .cta-group {
        flex-direction: column;
    }

    .reassurance-items {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Modal responsive */
    .modal {
        padding: 1rem;
    }
    
    .modal-container {
        border-radius: 16px;
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .modal-header {
        padding: 2rem 2rem 1rem;
    }
    
    .header-content h2 {
        font-size: 1.4rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .progress-bar {
        padding: 0 2rem 1.5rem;
    }
    
    .progress-steps {
        gap: 0.5rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .modal-form {
        padding: 0 2rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-footer {
        padding: 1rem 2rem;
    }
    
    .footer-icons {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .form-layout {
        grid-template-columns: 1fr;
    }

    .offer-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .card-grid.four {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* Modal mobile */
    .modal {
        padding: 0.5rem;
    }
    
    .modal-container {
        border-radius: 12px;
        margin: 0;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .header-content h2 {
        font-size: 1.2rem;
    }
    
    .header-subtitle {
        font-size: 0.9rem;
    }
    
    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .progress-bar {
        padding: 0 1.5rem 1rem;
    }
    
    .progress-steps {
        gap: 0.3rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .modal-form {
        padding: 0 1.5rem 1rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-help {
        font-size: 0.8rem;
    }
    
    .form-navigation {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .footer-icons {
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .success-content {
        padding: 2rem 1rem;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .success-content h2 {
        font-size: 1.4rem;
    }
    
    .success-content > p {
        font-size: 1rem;
    }
    
    .summary-section {
        padding: 1.5rem;
    }
    
    .summary-item {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
}
