/* Variables de couleurs basées sur le document */
:root {
    --primary-blue: #0b1a58; /* Bleu marine du PDF */
    --accent-orange: #f27c21; /* Orange du logo */
    --accent-orange-hover: #d96b1b;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Layout utilitaires */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 800;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo-icon {
    background-color: var(--accent-orange);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 2rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-orange);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8rem 0 6rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-orange);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Grilles */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.align-center { align-items: center; }

/* Cartes (Problèmes) */
.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.problem-card h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Section Solutions (Features) */
.feature-row {
    margin-bottom: 5rem;
}

.feature-text h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1.1rem;
    color: #555;
}

.feature-image img {
    width: 100%;
    height: 350px; /* Vous pouvez ajuster cette hauteur selon vos préférences */
    object-fit: contain; /* Permet à l'image de remplir l'espace sans se déformer */
    object-position: center; /* Centre l'image si elle est recadrée */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Ajoute une belle ombre moderne */
    display: block; /* Évite l'espace vide sous l'image */
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h2 {
    margin-bottom: 1rem;
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--accent-orange);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
    
    .feature-row.reverse {
        direction: rtl; /* Astuce simple pour inverser l'ordre sur desktop, mais on gère en flex pour mobile */
    }
    
    .feature-row {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-row.reverse > * {
        direction: ltr;
    }
}