/* Importation de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Variables et styles de base --- */
:root {
    --primary-color: #ff3366;
    --secondary-color: #007bff;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #343a40;
    --text-muted: #6c757d;
}

/* Appliquer box-sizing pour corriger le problème de largeur */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

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

a:hover {
    color: #cc0033;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* --- En-tête de navigation --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.header .logo {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list li {
    margin-left: 20px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.lang-switcher-desktop {
    display: flex;
    align-items: center;
    margin-left: 20px;
    gap: 10px;
}

.lang-switcher-desktop .flag-icon {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lang-switcher-desktop .flag-icon:hover {
    opacity: 1;
}

.lang-switcher-mobile {
    display: none;
}

/* --- Sections principales --- */
.full-screen-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 80px 20px;
}

.content-section {
    padding: 80px 20px;
    text-align: center;
}

.full-screen-section h2, .content-section h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Arrière-plan de la section d'accueil */
.hero-bg {
    background: url('https://source.unsplash.com/random/1920x1080/?love,connection,friends') no-repeat center center/cover;
    position: relative;
    color: var(--white);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.text-white-link {
    color: white;
    font-weight: 600;
}

.text-white-link:hover {
    color: var(--light-bg);
}

/* --- Boutons --- */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #cc0033;
}

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

.btn-outline-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Cartes des sections (étapes, témoignages, abonnements) --- */
.step-list, .testimonial-list, .pricing-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step-card, .testimonial-card, .pricing-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4-6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-basis: 300px;
}

.step-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-muted);
}

.testimonial-author {
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Formulaires --- */
.form-container {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 450px;
    width: 100%;
    position: relative;
    z-index: 20;
}

.form-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 51, 102, 0.25);
}

.form-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* --- Abonnements --- */
.pricing-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-muted);
}

.feature-list .fas {
    color: #28a745;
    margin-right: 8px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 20px;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .menu-toggle {
        display: block;
    }

    .lang-switcher-desktop {
        display: none;
    }

    .lang-switcher-mobile {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .hero-content .lead, .hero-content h2 {
        text-align: center;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}