/* Variables Globales */
:root {
    --color-primary: #FFFFFF;
    --color-secondary: #6EA538;
    --color-tertiary: #F8FAF5;
    
    --color-text-dark: #333333;
    --color-overlay: rgba(0, 0, 0, 0.45);
    
    --font-text: 'Roboto', sans-serif;
    --font-title: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-text);
    color: var(--color-text-dark);
    background-color: var(--color-tertiary);
    overflow-x: hidden;
    min-width: 375px;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-title);
}

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

/* --- Top Bar --- */
.top-bar {
    background-color: var(--color-primary);
    text-align: center;
    padding: 16px 32px;
    font-size: 0.85rem;
    border-bottom: 1px solid #E5E5E5;


}

.top-bar a {
    color: var(--color-secondary);
    margin-left: 8px;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* --- Navbar (Mobile First) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--color-primary);
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Hamburger Menu */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--color-text-dark);
    transition: 0.3s;
}

/* Menu de navigation mobile caché par défaut */
.nav-links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 24px;
    gap: 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    font-size: 1.2rem;
    font-weight: 100;
}

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

.nav-buttons {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Boutons (Composants réutilisables) --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px; /* Arrondi léger fidèle à la maquette */
    font-family: var(--font-text);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px); /* Animation légère de soulèvement */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline-green {
    background-color: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline-green:hover {
    background-color: var(--color-tertiary);
}

.btn-solid-green {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    color: var(--color-primary);
}

.btn-solid-green:hover {
    background-color: #5d8e2e; /* Un vert légèrement plus foncé */
}

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

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- Hero Section (Mobile First) --- */
.hero {
    position: relative;
    min-height: 55vh;
    background-image: url('images/hero_backgroud.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-primary);
    max-width: 900px;
    width: 100%;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 300;
}

.highlight {
    color: var(--color-secondary);
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 12px 24px;
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    /* Ajustements du Hero pour tablette */
    .hero-content h1 {
        font-size: 3rem; /* Taille intermédiaire */
    }

}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1110px) {
    /* Navbar Desktop */
    .mobile-toggle {
        display: none; /* On cache le bouton burger */
    }

    

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        align-items: center;
        gap: 24px; /* Espacement entre les liens */
    }

    .nav-links a {
        font-size: 0.92rem;
    }

    .nav-buttons {
        flex-direction: row;
        margin-top: 0;
        margin-left: 20px;
        gap: 16px;
    }

    /* Hero Desktop */
    .hero {
        height: 597px;
        
    }
    .hero-content h1 {
        font-size: 4rem; /* Grand titre fidèle à la maquette */
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}



/* =========================================
   SECTION À PROPOS & STATS (Mobile First)
   ========================================= */
.about-section {
    background-color: var(--color-primary); /* Fond blanc */
    padding: 60px 24px;
    color: var(--color-text-dark);
}

.container {
    margin: 0 auto;
}

/* --- Haut de section --- */
.about-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.about-title h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 600;
}

.about-title .highlight {
    color: var(--color-secondary);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.mt-15 {
    margin-top: 15px;
}

.about-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.about-link:hover {
    transform: translateX(5px); /* Petite animation au survol de la flèche */
}

/* --- Bas de section (Statistiques) --- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px); /* Animation légère au survol de la carte */
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 400; /* Plus fin selon la maquette */
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.stat-desc {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.4;
    max-width: 250px;
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .about-section {
        padding: 80px 40px;
    }

    .about-title h2 {
        font-size: 2.2rem;
    }

    /* Les stats passent sur 2 colonnes */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 20px;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .about-section {
        padding: 80px 5%;
    }

    /* Le texte du haut se sépare en 2 colonnes (Titre à gauche, Texte à droite) */
    .about-top {
        flex-direction: row;
        align-items: flex-start;
        gap: 80px;
        margin-bottom: 100px;
    }

    .about-title {
        flex: 1; /* Prend la moitié de l'espace */
    }

    .about-title h2 {
        font-size: 2.3rem;
        font-weight: 100;
    }

    .about-text {
        flex: 1; /* Prend l'autre moitié de l'espace */
    }

    /* Les stats passent sur 4 colonnes */
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 3.5rem;
    }
}


/* =========================================
   SECTION KIT CONFORT (Mobile First)
   ========================================= */
.kit-section {
    background-color: var(--color-tertiary); /* Fond beige/gris très clair */
    padding: 60px 24px;
    color: var(--color-text-dark);
}

/* --- Infos Textuelles --- */
.kit-info {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.kit-subtitle {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: -8px;
}

.kit-title {
    font-size: 2rem;
    font-weight: 100;
    margin: 8px 0 16px;
    color: #000000;
}

.kit-price {
    font-size: 1rem;
    margin-bottom: 15px;
}

.kit-price strong {
    font-size: 1.1rem;
}

.kit-info .btn{
    padding: 12px 24px;
    width: fit-content;
}

/* --- Visuel et Callouts (Cartes) --- */
.kit-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 50px;
}

.kit-img {
    width: 100%;
    max-width: 600px; /* Taille max sur mobile/tablette */
    height: auto;
    display: block;
}

.callout {
    background-color: transparent;
    border: 1px dashed #A0A0A0; /* Bordure pointillée comme sur la maquette */
    border-radius: 12px;
    padding: 8px 16px;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.callout h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.callout p {
    font-size: 0.8rem;
    color: #555555;
    line-height: 1.4;
}

/* --- Footer (Matériel Certifié) --- */
.kit-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #E5E5E5;
    padding-top: 20px;
}

.cert-text {
    font-weight: 500;
    font-size: 1rem;
}

.cert-logos {
    display: flex;
    gap: 16px;
}

.logo-placeholder {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #555;
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .kit-section {
        padding: 80px 40px;
    }

    .kit-title {
        font-size: 2.5rem;
    }

    /* Les cartes s'affichent en grille sous l'image */
    .kit-visual {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .kit-img {
        grid-column: 1 / -1; /* L'image prend toute la largeur */
        margin: 0 auto 30px;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .kit-section {
        padding: 80px 5%;
    }

    /* Conteneur global en position relative pour gérer les éléments absolus */
    .kit-visual {
        display: block; /* On retire la grille */
        margin-top: -60px; /* Remonte légèrement l'image vers le texte */
    }

    .kit-img {
        width: 60%;
        max-width: 800px;
        margin: 0 auto;
    }

    /* Positionnement flottant des cartes autour de l'image */
    .callout {
        position: absolute;
        width: 280px;
        background-color: var(--color-tertiary); /* Pour cacher l'image en dessous si ça chevauche */
        box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Léger ombrage pour détacher du fond */
    }

    /* Placement exact (à ajuster selon les dimensions réelles de ton image) */
    .callout-1 {
        top: 25%;
        left: 0;
    }

    .callout-2 {
        bottom: 10%;
        left: 5%;
    }

    .callout-3 {
        top: 40%;
        right: 0;
    }
}



/* =========================================
   SECTION PROCESSUS (Mobile First)
   ========================================= */
.process-section {
    background-color: var(--color-primary); /* Fond blanc */
}

/* --- En-tête --- */
.process-header {
    padding: 60px 24px; /* Remplacement des 15/20 par 24/48 */
    max-width: 900px;
    /* On retire le margin auto pour que ça s'aligne à gauche comme sur la maquette */
}

.process-subtitle {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 100;
}

.process-title {
    font-size: 1.8rem;
    font-weight: 100;
    margin: 8px 0 16px ; /* Remplacement de 15 par 16 */
    color: #000000;
}

.process-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

/* --- Étapes (Pleine largeur avec image) --- */
.process-step {
    position: relative;
    padding: 60px 24px; /* Remplacement de 20 par 24 */
    display: flex;
    align-items: center;
    min-height: 400px; /* Hauteur minimum pour voir l'image sur mobile */
}

.step-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.step-right{
    overflow: hidden;
}

.step-right .step-bg{
    height: 600px;
    top: -600px;
}


.step-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65); /* Assombrit fortement l'image pour que le texte soit lisible */
    z-index: 2;
}

.step-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
}

/* --- Contenu textuel dans l'image --- */
.step-content {
    color: var(--color-primary); /* Texte blanc */
    max-width: 600px; /* Limite la largeur du texte pour la lisibilité */
    display: flex;
    flex-direction: column;
    align-items: start;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
}

.step-content h3 span {
    width: 32px;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-left: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.step-note {
    display: block;
    font-style: italic;
    font-size: 0.9rem;
    padding-left: 32px;
    color: rgba(255, 255, 255, 0.7);
}

.step-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 4px; /* Décolle légèrement le soulignement du texte */
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 32px;
}

.step-link:hover {
    color: var(--color-secondary);
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {

    
    .process-header {
        padding: 80px 40px;
    }

    .process-title {
        font-size: 2.2rem;
    }

    .process-step {
        padding: 80px 40px;

    }

    .step-content h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .process-header {
        padding: 80px 5%;
    }

    .process-title {
        font-size: 2.5rem;
    }

    .process-step {
        padding: 80px 5%;
        min-height: 0px;
    }

    .step-content {
        max-width: 50%; /* Le texte prend la moitié de l'écran */
    }

    .step-content h3 {
        font-size: 1.8rem;
    }

    /* Alternance Gauche / Droite du texte */
    .step-left .step-container {
        justify-content: flex-start; /* Aligne le contenu à gauche */
    }

    .step-right .step-container {
        justify-content: flex-end; /* Aligne le contenu à droite */
    }
}



/* =========================================
   SECTION AVIS CLIENTS (Mobile First)
   ========================================= */
.reviews-section {
    background-color: var(--color-primary); /* Fond blanc */
    padding: 64px 24px; /* Multiples de 8 */
    overflow: hidden; /* Évite les débordements avec les images positionnées en absolu */
}

/* --- En-tête --- */
.reviews-header {
    margin-bottom: 48px;
    text-align: left;
}

.reviews-subtitle {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 100;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 100;
    margin: 8px 0px 16px;
    color: #000000;
}

.reviews-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    max-width: 600px;
}

/* --- Contenu (Images et Textes) --- */
.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 64px; /* Grand espace sur mobile pour laisser respirer l'image superposée */
}

/* Images */
.reviews-images {
    position: relative;
    max-width: 500px;
    margin: 0 auto; /* Centre sur mobile */
}

.img-main {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

.img-portrait {
    position: absolute;
    bottom: -32px;
    right: 16px;
    width: 120px;
    height: 120px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Textes / Citation */
.reviews-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    color: #000000;
    margin-bottom: 24px;
}

.review-stars {
    color: #C19B44; /* Couleur dorée pour les étoiles */
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.review-author {
    font-size: 0.9rem;
    color: #555555;
}

/* --- Navigation --- */
.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.nav-arrow {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #555555;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-arrow:hover {
    color: var(--color-secondary);
}

.nav-progress {
    display: flex;
    gap: 16px;
}

.progress-line {
    height: 2px;
    width: 48px;
    background-color: #E5E5E5;
    transition: background-color 0.3s ease;
}

.progress-line.active {
    background-color: var(--color-secondary);
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .reviews-section {
        padding: 80px 32px;
    }

    .reviews-title {
        font-size: 2.5rem;
    }

    .reviews-content {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .reviews-images {
        flex: 1;
        margin: 0;
    }

    .reviews-text-wrapper {
        flex: 1;
    }

    .img-portrait {
        width: 140px;
        height: 140px;
        right: -24px; /* Décale l'image du portrait plus vers la droite */
    }

    .review-quote {
        font-size: 1.25rem;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .reviews-section {
        padding: 80px 5%;
    }

    .reviews-header {
        margin-bottom: 64px;
    }

    .reviews-title {
        font-size: 3rem;
    }

    .reviews-content {
        gap: 100px; /* Grand espace entre la photo et la citation */
    }

    .img-portrait {
        width: 160px;
        height: 160px;
        bottom: -48px;
        right: -40px;
        border-width: 8px; /* Bordure blanche plus épaisse sur Desktop */
    }

    .review-quote {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .reviews-nav {
        margin-top: 64px;
    }
}



/* =========================================
   SECTION RENTABILITÉ / BÉNÉFICES (Mobile First)
   ========================================= */
.benefits-section {
    background-color: var(--color-tertiary);
    padding: 64px 24px;
}

/* --- En-tête --- */
.benefits-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 64px;
}

.benefits-subtitle {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 100;
}

.benefits-title {
    font-size: 1.8rem;
    font-weight: 100;
    line-height: 1.3;
    color: #000000;
    margin-top: 8px;
    margin-bottom: 16px;
}

.benefits-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    max-width: 800px;
    margin-bottom: 32px;
}

/* --- Grille et Cartes --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
    gap: 48px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligné à gauche comme sur la maquette */
    text-align: center;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-secondary);
    border-radius: 8px; /* Léger arrondi */
    color: var(--color-secondary); /* Couleur de l'icône SVG */
    margin-bottom: 24px;
}

.benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 24px;
}

.benefit-text strong {
    font-weight: 600;
    color: #000000;
}

.benefit-link {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.benefit-link:hover {
    transform: translateX(8px); /* Petite animation vers la droite au survol */
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .benefits-section {
        padding: 80px 32px;
    }

    .benefits-title {
        font-size: 2.2rem;
    }

    /* Passage en 2 colonnes (la 3ème passera en dessous toute seule) */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 32px;
    }

    .benefit-card:nth-child(3) {
        grid-column: 1 / -1; /* S'étend sur les 2 colonnes */
        justify-self: center; /* Se place au milieu */
        max-width: 450px; /* Garde la même taille visuelle que les 2 autres */
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .benefits-section {
        padding: 80px 5%;
    }

    .benefits-title {
        font-size: 2.5rem;
    }

    .benefits-header {
        margin-bottom: 80px;
    }

    /* Ligne parfaite de 3 colonnes pour les grands écrans */
    .benefits-grid {
        display : flex; 
        gap: 64px;
    }

    .benefit-card {
        flex: 1;
        align-items: start; /* Aligné à gauche comme sur la maquette */
        text-align: start;
    }
}




/* =========================================
   SECTION RÉALISATIONS (Mobile First)
   ========================================= */
.portfolio-section {
    background-color: var(--color-primary); /* Fond blanc */
    padding: 64px 24px;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* --- Textes --- */
.portfolio-text {
    text-align: left;
    background-color: #FFFFFF;
    padding: 16px 0px;
}

.portfolio-subtitle {
    display: block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 100;
}

.portfolio-title {
    font-size: 2rem;
    font-weight: 100;
    line-height: 1.2;
    color: #000000;
    margin-top: 8px;
    margin-bottom: 16px;
}

.portfolio-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    max-width: 600px;
}

/* --- Visuel (Grille d'images) --- */
.portfolio-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 colonnes même sur mobile pour l'effet mosaïque */
    gap: 8px; /* Petit espacement sur mobile pour que les images ne soient pas trop écrasées */
}

.portfolio-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Assure un format carré parfait */
    object-fit: cover; /* Recadre l'image proprement sans l'écraser */
    border-radius: 5px; /* Arrondi fidèle à la maquette */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Petite animation au survol pour rendre la mosaïque vivante */
.portfolio-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 2; /* Passe au-dessus des autres au survol */
    position: relative;
}

/* --- Lien sous la grille --- */
.portfolio-link-wrapper {
    text-align: center; /* Centré sous la grille sur mobile */
}

.portfolio-link {
    display: inline-block;
    color: #333333;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 4px; /* Aère un peu le soulignement */
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: var(--color-secondary);
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .portfolio-section {
        padding: 80px 32px;
    }

    .portfolio-title {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        gap: 16px; /* On augmente l'espace entre les images sur tablette */
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .portfolio-section {
        padding: 80px 5%;
    }

    /* On passe le conteneur en 2 colonnes (Texte à gauche, Grille à droite) */
    .portfolio-container {
        flex-direction: row;
        align-items: start; /* Aligne le texte au milieu de la hauteur de la grille */
        justify-content: space-between;
        gap: 64px;
    }

    .portfolio-text {
        flex: 1; /* Prend la moitié de l'espace disponible */
        max-width: 45%;
        position: sticky;
        top: 100px;
        
    }

    .portfolio-title {
        font-size: 3rem;
    }

    .portfolio-visual {
        flex: 1; /* Prend l'autre moitié de l'espace */
        max-width: 50%;
    }

    .portfolio-grid {
        gap: 16px;
    }

    .portfolio-link-wrapper {
        text-align: center;
        margin-top: 16px; /* Dégage un peu le lien du bas de la grille */
    }
}





/* =========================================
   SECTION FAQ (Mobile First)
   ========================================= */
.faq-section {
    background-color: var(--color-primary); /* Fond blanc */
    padding: 64px 24px;
    display: flex;
    align-items: start;
    justify-content: left;
}

.faq-container {
    max-width: 900px; /* Réduit un peu la largeur max pour faciliter la lecture des questions */
}

/* --- En-tête --- */
.faq-header {
    margin-bottom: 48px;
    text-align: left;
}

.faq-subtitle {
    display: block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 24px;
}

.faq-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    max-width: 700px;
}

/* --- Accordéon --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Espace entre les différentes questions */
}

.faq-item {
    border-bottom: 1px solid #E5E5E5; /* Fine ligne séparatrice élégante */
}

.faq-item:last-child {
    border-bottom: none; /* Pas de ligne sous la dernière question */
}

/* Bouton de la question */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #000000;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-text);
}

/* Icône + / - (réalisée entièrement en CSS pur) */
.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #000000;
    transition: transform 0.3s ease;
}

/* Barre horizontale du + */
.faq-icon::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

/* Barre verticale du + */
.faq-icon::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

/* Animation de l'icône quand c'est ouvert (le + devient un -) */
.faq-item.active .faq-icon::after {
    transform: rotate(90deg) scale(0); /* Fait disparaître la barre verticale */
}

/* --- Réponse (Masquée par défaut) --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease; /* Animation fluide de la hauteur */
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .faq-section {
        padding: 80px 32px;
    }

    .faq-title {
        font-size: 2.5rem;
    }

    .faq-question {
        font-size: 1.2rem;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .faq-section {
        padding: 80px 5%;
    }

    .faq-container{
        margin: 0;
    }

    .faq-header {
        margin-bottom: 64px;
    }

    .faq-title {
        font-size: 3rem;
    }
}


/* =========================================
   SECTION CALL TO ACTION (Mobile First)
   ========================================= */
.cta-section {
    position: relative;
    padding: 64px 16px;
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 100px; /* S'assure qu'on voit bien l'image de fond */
}

/* L'image de fond en position absolue */
.cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Le voile sombre pour la lisibilité du texte */
.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Opacité à 70% pour bien faire ressortir le blanc */
    z-index: 2;
}

.cta-container {
    position: relative;
    z-index: 3; /* Place le texte au-dessus du voile noir */
    width: 100%;
}

.cta-content {
    max-width: 600px; /* Limite la largeur du texte pour qu'il reste sur la gauche */
    color: var(--color-primary); /* Texte blanc (#FFFFFF) */
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.cta-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85); /* Blanc légèrement transparent pour hiérarchiser */
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .cta-section {
        padding: 96px 32px;
        min-height: 450px;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .cta-section {
        padding: 120px 5%;
        min-height: 500px;
        align-items: start;
        text-align: start;
    }

    .cta-title {
        font-size: 3rem; /* Grand titre bien impactant sur grand écran */
    }
    
    .cta-desc {
        font-size: 1.1rem;
        margin-bottom: 48px;
    }
}


/* =========================================
   SECTION FOOTER (Mobile First)
   ========================================= */
.footer-section {
    background-color: #1E3019; /* Vert très foncé issu de la maquette */
    color: var(--color-primary); /* Texte blanc */
    padding: 64px 24px 32px; /* Haut, Côtés, Bas */
}

/* --- Haut du Footer --- */
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 48px; /* Espacement entre le bloc marque et les liens sur mobile */
}

/* Marque & Réseaux */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px; /* Petit arrondi pour coller aux boutons */
    color: var(--color-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Colonnes de liens */
.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes côte à côte même sur mobile pour gagner de la place */
    gap: 32px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.footer-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-list a:hover {
    color: var(--color-secondary);
    padding-left: 8px; /* Petit effet de décalage au survol */
}

/* --- Séparateur --- */
.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 48px 0 24px; /* Espace autour du trait */
}

/* --- Bas du Footer --- */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.footer-credit:hover {
    color: var(--color-primary);
}

/* =========================================
   RESPONSIVE : TABLETTE (min-width: 700px)
   ========================================= */
@media (min-width: 700px) {
    .footer-section {
        padding: 80px 32px 32px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        gap: 64px;
    }

    .footer-links-wrapper {
        gap: 64px;
    }

    /* Le copyright et les crédits passent sur une seule ligne */
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* =========================================
   RESPONSIVE : ORDINATEUR (min-width: 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .footer-section {
        padding: 80px 5% 32px;
    }

    .footer-links-wrapper {
        gap: 120px; /* On aère beaucoup plus sur grand écran */
    }
}