/* Import de polices Google */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Nunito:wght@600;700;800&display=swap');

/* Variables */
:root {
    /* Couleurs - schéma complètement différent */
    --primary: #FF5722;    /* Orange vif */
    --secondary: #FFEB3B;  /* Jaune */
    --dark: #1A237E;       /* Bleu très foncé */
    --light: #FFFFFF;      /* Blanc */
    --gray-100: #F5F5F5;   /* Gris très clair */
    --gray-200: #E0E0E0;   /* Gris clair */
    --gray-800: #263238;   /* Gris très foncé */
    
    /* Polices */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 15px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: var(--space-md);
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2.3rem;
    margin-bottom: var(--space-md);
    position: relative;
}

h2:after {
    content: '';
    display: block;
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: var(--space-sm) auto 0;
    border-radius: var(--radius-full);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-md);
}

/* Header et navigation */
header {
    background-color: var(--light);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark);
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: var(--space-xs) 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover:before {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
    background-color: var(--gray-100);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.hero-text p {
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-svg {
    max-width: 100%;
    height: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    fill: var(--light);
}

/* Boutons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), #F4511E);
    color: var(--light);
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--light);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

/* Features Section */
.features {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    width: 80px;
    height: 80px;
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-800);
    margin-bottom: 0;
}

/* How it Works Section */
.how-works {
    padding: var(--space-xl) 0;
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.how-works::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 87, 34, 0.1), rgba(255, 87, 34, 0));
}

.how-works h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.step {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #F4511E);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.step-content h3 {
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.step-content p {
    margin-bottom: 0;
}

.step-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--space-sm);
    width: 80px;
    flex-shrink: 1;
}

.step-connector svg {
    width: 100%;
    height: auto;
}

.cta-button {
    text-align: center;
    margin-top: var(--space-lg);
}

/* Benefits Section */
.benefits {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

.benefits-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.benefits-content {
    flex: 1;
}

.benefits-content h2 {
    text-align: left;
    margin-bottom: var(--space-md);
}

.benefits-content h2:after {
    margin: var(--space-sm) 0 0;
}

.benefits-list {
    margin-bottom: var(--space-md);
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.check-icon {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: var(--space-sm);
}

.benefits-image {
    flex: 1;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.benefits-image svg {
    max-width: 100%;
    height: auto;
}

/* FAQ Section */
.faq {
    padding: var(--space-xl) 0;
    background-color: var(--gray-100);
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.faq-item {
    background-color: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: var(--space-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
    flex: 1;
    padding-right: var(--space-md);
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 var(--space-md) var(--space-md);
    margin-bottom: 0;
    color: var(--gray-800);
}

.faq-item.active .faq-question {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Final CTA */
.final-cta {
    padding: var(--space-xl) 0;
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.3), rgba(255, 87, 34, 0));
}

.final-cta h2 {
    color: var(--light);
    margin-bottom: var(--space-xs);
}

.final-cta h2:after {
    background: linear-gradient(90deg, var(--secondary), var(--light));
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.footer-logo-svg {
    width: 60px;
    height: 60px;
}

.footer-site-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--secondary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content,
    .benefits-row {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: var(--space-md);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .benefits-content {
        text-align: center;
        order: 2;
    }
    
    .benefits-content h2:after {
        margin: var(--space-sm) auto 0;
    }
    
    .benefits-list li {
        justify-content: center;
    }
    
    .benefits-image {
        order: 1;
        margin-bottom: var(--space-md);
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: var(--light);
        width: 75%;
        height: 100vh;
        padding-top: var(--space-xl);
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        justify-content: flex-start;
        align-items: center;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        margin: var(--space-xs) 0;
        font-size: 1.1rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: var(--space-xs) 0;
        height: 40px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .footer-column {
        text-align: center;
        width: 100%;
    }
}
