/* Variables & Design System */
:root {
    --primary: #2b4592; /* Dark blue from text */
    --primary-dark: #1f326b;
    --primary-light: #eff6ff; /* Soft UI background */
    --brand-light: #4fbce0; /* Light blue from eye */
    --accent-orange: #ef5b4c; /* Orange from hand */
    --accent-yellow: #fcb731; /* Yellow from arrow */
    --secondary: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-main: #f8fafc;
    --border-color: #e2e8f0;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: var(--bg-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-main);
    border-color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    padding: 12px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo, .footer-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav a:not(.btn) {
    font-weight: 500;
    position: relative;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav a:not(.btn):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 40px 0 60px;
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-benefits .check {
    font-size: 1.2rem;
}

.hero-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.target-badge {
    padding: 6px 14px;
    background-color: var(--brand-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-trust {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.hero-trust .stars {
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Sections Global */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Grid Offres */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-light);
}

/* Pratique */
.pratique-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pratique-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-main);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 4px;
}

.feature-text span {
    color: var(--text-light);
}

.reassurance-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
}

.reassurance-box h3 {
    color: var(--white);
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.reassurance-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.reassurance-item svg {
    color: #93c5fd; /* Light blue */
    flex-shrink: 0;
    margin-top: 4px;
}

.reassurance-item:last-child {
    margin-bottom: 0;
}

/* Conversion Form */
.bg-pattern {
    background-color: var(--bg-main);
    position: relative;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
    z-index: 0;
}

.conversion-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.form-container {
    background-color: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 16px;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

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

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

/* Top Banner (Urgency) */
.top-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-banner strong {
    color: var(--accent-yellow);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    background-color: var(--white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none; /* Controlled via JS */
    color: var(--text-light);
    border-top: 1px solid var(--bg-main);
}

.faq-item.active .faq-answer {
    display: block;
    padding-top: 20px;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Form Trust & Enhancements */
.form-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Multi-step Form */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    width: 25%; /* Default for step 1 */
    transition: width 0.3s ease;
}

.radio-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    display: block;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    background: var(--bg-main);
    color: var(--text-main);
}

.radio-card input:checked + .card-content {
    border-color: var(--primary);
    background-color: var(--brand-light);
    color: var(--primary-dark);
}

.radio-card:hover .card-content {
    border-color: var(--primary-light);
}

.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.step-actions .btn {
    flex: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .pratique-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        display: contents;
    }

    .hero-content .badge { order: 1; margin-bottom: 8px; }
    .hero h1 { 
        order: 2; 
        font-size: 2rem;
        margin-bottom: 8px;
    }
    .hero .subtitle { 
        order: 3; 
        margin-bottom: 12px;
        font-size: 0.95rem;
    }
    
    .hero-form-wrapper {
        order: 4;
        width: 100%;
        margin: 8px 0 16px;
    }
    
    .hero-benefits { order: 5; margin-bottom: 16px;}
    .hero-targets { order: 6; margin-bottom: 16px;}
    .hero-actions { order: 7; }
    .hero-trust { order: 8; margin-top: 12px; margin-bottom: 16px; }

    .experience-badge {
        bottom: 20px;
        left: 20px;
    }
    
    /* Remove large glow effects on mobile */
    .hero::before, .hero::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative; /* Not sticky on mobile to save space */
        padding: 8px 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .top-banner {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none; /* In a real app, implement a mobile menu */
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px 16px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 16px 0 32px;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
