/* Reset et Variables - Thème Écologique */
:root {
    --primary-color: #059669;        /* Vert émeraude */
    --primary-dark: #047857;         /* Vert émeraude foncé */
    --secondary-color: #10b981;      /* Vert émeraude clair */
    --accent-color: #34d399;         /* Vert menthe */
    --success-color: #22c55e;        /* Vert succès */
    --text-dark: #064e3b;            /* Vert très foncé */
    --text-light: #6b7280;           /* Gris neutre */
    --bg-light: #f0fdf4;             /* Vert très clair */
    --white: #ffffff;
    --border-color: #d1fae5;         /* Vert clair pour bordures */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-eco: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    --gradient-nature: linear-gradient(135deg, #064e3b 0%, #059669 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--gradient-eco);
    padding: 40px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* Particules écologiques flottantes */
.hero::after {
    content: '🌱 🍃 🌿 🌾 🌳 🌲';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 24px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.15;
    }
    75% { 
        transform: translateY(-30px) rotate(2deg);
        opacity: 0.2;
    }
}

/* Animations avancées */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Application des animations */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    animation: slideIn 1s ease-out 0.5s both;
}

.submit-btn {
    animation: pulse 2s infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-top: 40px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    background: linear-gradient(to right, #fbbf24, #f59e0b, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.benefits-quick {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.benefit-item .check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success-color);
    border-radius: 50%;
    font-size: 14px;
}

/* Image du vélo dans le hero */
.hero-image {
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.velo-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

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

/* Effet de brillance sur l'image */
.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image:hover::before {
    opacity: 1;
}

/* Formulaire */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideIn 0.5s ease-out;
}

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

.lead-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

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

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.trust-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.trust-text {
    flex: 1;
}

/* Sections */
.advantages,
.program,
.use-cases,
.process,
.faq {
    padding: 80px 0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

/* Grille d'avantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Programme */
.program {
    background: white;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
    font-size: 15px;
}

/* Exemples d'utilisation */
.use-cases {
    background: var(--bg-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.use-case-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.use-case-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.use-case-examples {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.use-case-examples p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

.use-case-examples strong {
    color: var(--text-dark);
    font-weight: 600;
}

.use-case-note {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.use-case-note p {
    color: var(--text-dark);
    font-size: 16px;
    margin: 0;
}

.use-case-note strong {
    color: var(--primary-color);
}

/* Success stats */
.success-stats {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
    text-align: center;
}

.success-stats h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.step-arrow {
    font-size: 30px;
    color: var(--border-color);
    flex-shrink: 0;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Final */
.final-cta {
    background: var(--gradient-nature);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--success-color);
    color: white;
}

.cta-note {
    margin-top: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--gradient-nature);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-contact {
    margin: 15px 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Pages légales */
.legal-page {
    background: var(--bg-light);
    min-height: 100vh;
    padding: 40px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.legal-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--primary-color);
    color: white;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 25px 0 15px 0;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.legal-footer p {
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* Styles pour le lien de téléchargement */
.download-section {
    text-align: center;
    margin: 20px 0;
}

.download-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.download-link:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Ajustement de la mise en page pour la visibilité mobile */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .form-container {
        padding: 20px;
        margin-top: 20px;
    }

    .advantage-card {
        padding: 20px;
    }

    .cta-button {
        padding: 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .success-stats {
        padding: 30px 20px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-header {
        padding: 30px 20px;
    }
    
    .legal-header h1 {
        font-size: 28px;
    }
    
    .velo-image {
        max-height: 200px;
    }
    
    .hero-image {
        margin: 20px 0;
    }
}
