/* Variables */
:root {
    --primary: #0055A4; /* Bleu français */
    --secondary: #EF4135; /* Rouge français */
    --accent: #FFFFFF; /* Blanc */
    --dark: #333333;
    --light: #F5F5F5;
    --grey: #CCCCCC;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2 span {
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--secondary);
}

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

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--dark);
    opacity: 0.85;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--body-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.primary {
    background-color: var(--primary);
    color: var(--accent);
    box-shadow: var(--shadow);
}

.primary:hover {
    background-color: var(--secondary);
    color: var(--accent);
    transform: translateY(-3px);
}

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

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.cta-center {
    text-align: center;
    margin: 3rem 0 1rem;
}

.cta-left {
    margin: 2rem 0;
}

/* En-tête */
header {
    background-color: var(--accent);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    display: block;
}

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

.menu {
    display: flex;
    list-style: none;
}

.menu li a {
    display: block;
    padding: 0 1.2rem;
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.menu li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.menu li a:hover:after {
    transform: scaleX(1);
}

/* Section Héro */
.hero {
    padding: 4rem 0;
    background: linear-gradient(45deg, rgba(0,85,164,0.03) 0%, rgba(239,65,53,0.03) 100%);
}

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

.hero-content {
    max-width: 540px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    position: relative;
}

.hero h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

.subheading {
    font-size: 1.1rem;
    color: var(--dark);
    opacity: 0.85;
}

.badges {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--heading-font);
}

.badge-text {
    font-size: 0.9rem;
    color: var(--dark);
}

/* Comment Ça Marche */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--accent);
}

.process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    background-color: var(--accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

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

/* Caractéristiques */
.features {
    padding: 5rem 0;
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* À Propos */
.about {
    padding: 5rem 0;
    background: linear-gradient(45deg, rgba(0,85,164,0.03) 0%, rgba(239,65,53,0.03) 100%);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    max-width: 540px;
}

.about-content h2 {
    text-align: left;
}

/* Pied de page */
footer {
    background-color: var(--dark);
    color: var(--accent);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-favicon {
    display: inline-block;
    margin-top: 0.5rem;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-family: var(--heading-font);
    margin-bottom: 1.2rem;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--grey);
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 992px) {
    .process {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .process-step {
        width: 100%;
    }
    
    .hero .container,
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image,
    .about-image {
        order: -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--accent);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        opacity: 0;
        visibility: hidden;
    }
    
    .menu.active {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
    }
    
    .menu li {
        width: 100%;
        text-align: center;
    }
    
    .menu li a {
        padding: 1rem;
    }
    
    .footer-nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-column {
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .badges {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
}
