/* ======== Configuration Globale ======== */
:root {
    --primary-color: #4A90E2; /* Bleu (couleur principale) */
    --dark-color: #2C3E50;    /* Bleu marine (texte) */
    --light-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-muted: #7F8C8D;
    --font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.7;
    background-color: var(--light-color);
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}
.legal-header .back-link {
    display: inline-block;
    padding: 8px 16px;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}
.legal-header .back-link:hover {
    background: #e9e9e9;
}

.lang-switcher {
    display: flex; /* Force l'alignement horizontal */
    align-items: center; /* Aligne le texte et le | */
    gap: 8px; /* Espace les éléments */
    font-size: 0.9rem;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 4px;
}

.lang-switcher .active {
    text-decoration: underline;
    color: #333;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ======== Boutons CTA ======== */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 1.1rem;
}

.cta-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* ======== Header ======== */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header nav {
    /* 1. Active le mode Flexbox */
    display: flex;
    /* 2. Centre le groupe (logo + switcher) horizontalement */
    justify-content: center;
    /* 3. Aligne les éléments verticalement (si tailles différentes) */
    align-items: center;
    /* 4. Crée un espace entre le logo et le sélecteur */
    gap: 30px;
}

.lang-switcher {
    font-size: 0.9rem;
}
.lang-switcher a {
    color: var(--text-muted); /* Utilise la couleur "muted" du site */
    margin-left: 8px;
    text-decoration: none;
    font-weight: 600;
    padding: 4px;
}

.lang-switcher a:hover {
    color: var(--primary-color);
}

.lang-switcher .active {
    text-decoration: underline;
    color: var(--dark-color);
}

.logo {
    /* On définit une largeur MAXIMALE pour le logo */
    /* C'est plus propre que "width: 30%" */
    max-width: 250px; /* Ajustez 250px si c'est trop grand/petit */
    min-width: 150px; /* Pour qu'il ne devienne pas minuscule */
}

.logo-img {
    /* L'image sera 100% de la taille de son parent (le <a>) */
    width: 100%;
    height: auto;
}

/* ======== Section Hero ======== */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* ======== Section Features ======== */
.features {
    padding: 70px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: 1 colonne */
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* ======== Section Visual ======== */
.visual {
    padding: 70px 0;
    background-color: var(--bg-light);
    text-align: center;
}
.visual h2 {
    font-size: 2.2rem;
}
.visual p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.visual-mockup {
    margin-top: 30px;
    max-width: 400px;
}

/* ======== Section Testimonial ======== */
.testimonial {
    padding: 70px 0;
    text-align: center;
}
.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-card blockquote {
    font-size: 1.3rem;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 0;
}
.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ======== Section Final CTA ======== */
.final-cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-color);
}
.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.final-cta.cta-primary {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* ======== Footer ======== */
.footer {
    padding: 40px 0;
    background-color: var(--dark-color);
    color: #bdc3c7;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-links {
    margin-top: 15px;
}
.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* ======== Responsive (Desktop) ======== */
@media (min-width: 768px) {
   .hero-content h1 {
        font-size: 3.8rem;
    }

   .feature-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur desktop */
    }

   .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
   .footer-links {
        margin-top: 0;
    }
}