:root {
    --lead-sunrise: radial-gradient(circle at top right, rgba(99, 102, 241, 0.25), transparent 55%);
    --lead-pattern: linear-gradient(120deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.lead-magnet-body {
    font-family: var(--font-primary, 'Inter', sans-serif);
    min-height: 100vh;
    background: #f6f8ff;
    position: relative;
}

.lead-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

.lead-hero {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-3xl, 2rem);
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: var(--shadow-2xl, 0 32px 64px rgba(0, 0, 0, 0.12));
    position: relative;
    overflow: hidden;
}

.lead-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--lead-pattern), var(--lead-sunrise);
    background-size: 220px 220px, cover;
    opacity: 0.4;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    text-wrap: balance;
    font-weight: 700;
}

.hero-title-main {
    display: block;
}

.hero-title-detail {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.6em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500, #6b7280);
}

.hero-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary, #6366f1);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600, #4b5563);
    margin-bottom: 1.5rem;
}

.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-benefits li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-700, #374151);
}

.hero-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-primary, #6366f1);
    font-weight: 600;
}

.compatibility {
    margin-bottom: 1.5rem;
}

.compatibility span {
    font-weight: 600;
    color: var(--gray-600, #4b5563);
}

.compatibility-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.compatibility-badges span {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full, 999px);
    background: rgba(99, 102, 241, 0.08);
    color: var(--brand-primary, #6366f1);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-ctas .btn-launch-primary,
.hero-ctas .btn-launch-secondary,
.lead-form button {
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.trust-signals {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-signals strong {
    font-size: 1.5rem;
    color: var(--brand-primary, #6366f1);
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-2xl, 1.5rem);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 2rem;
    box-shadow: var(--shadow-2xl, 0 32px 64px rgba(0, 0, 0, 0.12));
    will-change: transform;
    transform-style: preserve-3d;
    position: relative;
}

.form-badge {
    display: inline-flex;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full, 999px);
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-form-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.infomaniak-slot {
    border-radius: var(--radius-lg, 1rem);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg, 0 20px 35px rgba(0, 0, 0, 0.12));
    background: rgba(255, 255, 255, 0.98);
}

.infomaniak-slot iframe {
    width: 100% !important;
    min-height: 700px;
    border: 0;
    display: block;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--gray-700, #374151);
}

.lead-form input,
.lead-form select {
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-lg, 1rem);
    padding: 0.95rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--brand-primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.lead-form button {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem 1.5rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray-500, #6b7280);
}

.form-feedback {
    min-height: 1.5rem;
    font-size: 0.95rem;
    color: var(--brand-primary, #6366f1);
    font-weight: 600;
}

/* Old mockup styles removed - replaced by kit-preview-section */

.section-content {
    margin-top: 4rem;
}

.section-header {
    text-align: left;
    max-width: 700px;
    margin-bottom: 2rem;
}

.section-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-secondary, #8b5cf6);
    margin-bottom: 0.5rem;
}

.section-content h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.compliance-grid ol {
    padding-left: 1.25rem;
    font-weight: 600;
    color: var(--gray-700, #374151);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.section-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-2xl, 1.5rem);
    padding: 1.75rem;
    box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.06));
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full, 999px);
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.compatibility-glass {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-2xl, 1.5rem);
    padding: 1.25rem 1.5rem;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.audience-card {
    text-align: center;
    padding: 1.1rem;
    border-radius: var(--radius-xl, 1.25rem);
    background: rgba(15, 23, 42, 0.05);
    font-weight: 600;
}

.bridge-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.08));
    border-radius: var(--radius-3xl, 2rem);
    padding: 3rem;
}

.bridge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.bridge-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-2xl, 1.5rem);
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.faq-list {
    border-radius: var(--radius-2xl, 1.5rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.faq-item+.faq-item {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800, #1f2937);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600, #4b5563);
}

.lead-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--gray-600, #4b5563);
}

.lead-footer a {
    color: inherit;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-benefits {
        align-items: center;
        text-align: left;
    }

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

    .trust-signals {
        justify-content: center;
    }

    .hero-form-card {
        order: -1;
    }

    .lead-main {
        padding-top: 5rem;
    }
}

@media (max-width: 600px) {
    .lead-main {
        padding: 5rem 1rem 2rem;
    }

    .lead-hero {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-2xl, 1.5rem);
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

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

    .hero-form-card {
        padding: 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .compatibility-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-100 {
    transition-delay: 100ms;
}

.reveal.delay-200 {
    transition-delay: 200ms;
}

.reveal.delay-300 {
    transition-delay: 300ms;
}

/* ========================================
   Kit Preview Section - Aperçu du kit inclus
   ======================================== */
.kit-preview-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(139, 92, 246, 0.06));
    border-radius: var(--radius-2xl, 1.5rem);
    border: 1px solid rgba(99, 102, 241, 0.12);
    position: relative;
    overflow: hidden;
}

.kit-preview-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08), transparent 70%);
    pointer-events: none;
}

.kit-preview-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.kit-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full, 999px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    margin-bottom: 0.75rem;
}

.kit-preview-subtitle {
    color: var(--gray-600, #4b5563);
    font-size: 1rem;
    margin: 0;
}

.kit-preview-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Document Card */
.document-card {
    perspective: 1000px;
}

.document-card-inner {
    background: #fff;
    border-radius: var(--radius-xl, 1.25rem);
    padding: 1rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.document-card:hover .document-card-inner {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 
        0 8px 12px -1px rgba(0, 0, 0, 0.08),
        0 20px 30px -5px rgba(99, 102, 241, 0.15),
        0 40px 50px -10px rgba(0, 0, 0, 0.1);
}

.document-card-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.doc-icon {
    font-size: 1.25rem;
}

.doc-type {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-800, #1f2937);
}

.doc-badge {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 159, 110, 0.1);
    color: #0f9f6e;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full, 999px);
    border: 1px solid rgba(14, 159, 110, 0.2);
}

.doc-badge-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.2);
}

.document-preview {
    position: relative;
    border-radius: var(--radius-lg, 1rem);
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 3 / 4;
}

.document-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.document-card:hover .document-preview img {
    transform: scale(1.03);
}

.document-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(99, 102, 241, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-card:hover .document-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full, 999px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s;
}

.document-card:hover .overlay-content {
    transform: translateY(0);
}

.document-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.doc-format {
    font-size: 0.75rem;
    color: var(--gray-500, #6b7280);
    font-weight: 500;
}

.doc-feature {
    font-size: 0.75rem;
    color: var(--brand-primary, #6366f1);
    font-weight: 600;
}

/* Kit Preview CTA */
.kit-preview-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.kit-preview-cta .btn-launch-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.kit-preview-cta .btn-launch-primary svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 700px) {
    .kit-preview-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .kit-preview-showcase {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .document-preview {
        aspect-ratio: 4 / 5;
    }

    .kit-preview-cta .btn-launch-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Dark Mode Support for Kit Preview */
@media (prefers-color-scheme: dark) {
    .kit-preview-section {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.1));
        border-color: rgba(99, 102, 241, 0.2);
    }

    .kit-preview-section::before {
        background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15), transparent 70%);
    }

    .kit-preview-subtitle {
        color: var(--gray-400, #9ca3af);
    }

    .document-card-inner {
        background: var(--gray-800, #1f2937);
        border-color: rgba(99, 102, 241, 0.15);
    }

    .doc-type {
        color: var(--gray-100, #f3f4f6);
    }

    .document-preview {
        background: var(--gray-700, #374151);
    }

    .document-card-footer {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .doc-format {
        color: var(--gray-400, #9ca3af);
    }
}

/* ========================================
   Message Pages (Confirmation & Success)
   ======================================== */
.lead-message-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-2xl, 1.5rem);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-2xl, 0 32px 64px rgba(0, 0, 0, 0.12));
    max-width: 540px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.message-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    pointer-events: none;
    z-index: 0;
}

.message-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.message-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.message-title {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900, #111827);
    line-height: 1.2;
    margin: 0;
}

.message-text {
    font-size: 1.1rem;
    color: var(--gray-600, #4b5563);
    line-height: 1.6;
    margin: 0;
}

.message-note {
    font-size: 0.9rem;
    color: var(--gray-500, #6b7280);
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem;
    border-radius: var(--radius-lg, 1rem);
    border: 1px dashed rgba(99, 102, 241, 0.2);
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--brand-primary, #6366f1);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-home:hover {
    color: var(--brand-secondary, #8b5cf6);
    transform: translateX(-4px);
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
