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

/* Variables */
:root {
    /* Palette de couleurs - Un thème vert turquoise et or */
    --primary: #00796B;     /* Teal foncé */
    --primary-dark: #004D40;/* Teal très foncé */
    --accent: #FFC107;      /* Jaune/Or */
    --accent-light: #FFD54F;/* Jaune clair */
    --light: #FFFFFF;       /* Blanc */
    --light-gray: #F5F5F5;  /* Gris très clair */
    --gray: #9E9E9E;        /* Gris moyen */
    --dark: #263238;        /* Bleu-gris très foncé */
    
    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Bordures */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Reset et bases */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    color: var(--light);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

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

/* En-tête et navigation */
header {
    background-color: var(--light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

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

/* Section Hero */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    color: var(--light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-pattern {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.hero-pattern svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

/* Boutons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    font-family: var(--font-heading);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

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

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

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

/* Section d'en-tête */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: var(--spacing-xs);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: var(--spacing-xs) auto 0;
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section de fonctionnalités */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

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

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

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

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

/* Section du processus */
.process {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 121, 107, 0.15), rgba(0, 121, 107, 0));
    border-radius: 50%;
}

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

.step {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto var(--spacing-sm);
}

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

.step p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.step-arrow {
    width: 50px;
    flex-shrink: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

/* Section des témoignages */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

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

.testimonial-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.testimonial-icon {
    margin-bottom: var(--spacing-sm);
}

.testimonial-icon svg {
    width: 60px;
    height: 60px;
}

.testimonial-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.testimonials-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

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

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

.faq-item {
    background-color: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    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(--spacing-sm) var(--spacing-sm);
    margin-bottom: 0;
}

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

/* Section CTA */
.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--light);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

.cta-content h2::after {
    background-color: var(--accent);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

/* Pied de page */
footer {
    background-color: var(--primary-dark);
    color: var(--light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-svg {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-xs);
}

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

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-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.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: var(--spacing-xs) 0;
        height: 24px;
    }
}

@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(--spacing-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(--spacing-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);
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

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