/* -----------------------------------------
   PALETTE PREMIUM (Vert + CMJN)
----------------------------------------- */

:root {
    --vert-premium: #c7d530; /* vert clair */
    --vert-fonce: #3f5f2a;

    --cyan: #00b7e3;
    --magenta: #e3007b;
    --jaune: #f7c600;
    --rouge: #e6452c;

    --gris: #333;
    --gris-clair: #f7f7f7;
    --blanc: #fff;

    --ombre: 0 4px 14px rgba(0,0,0,0.08);
}

/* -----------------------------------------
   BASE
----------------------------------------- */

body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--gris);
    background: var(--blanc);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--vert-fonce);
    margin-top: 0;
    letter-spacing: -0.3px;
}

h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: var(--vert-premium);
    margin-top: 8px;
    border-radius: 2px;
}

/* -----------------------------------------
   HEADER
----------------------------------------- */

header {
    background: var(--blanc);
    padding: 30px 0;
    border-bottom: 2px solid var(--vert-premium);
    box-shadow: var(--ombre);
}

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

.logo img {
    height: 130px;
    width: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 14px;
}

nav a {
    text-decoration: none;
    color: var(--gris);
    font-weight: 500;
    font-size: 15px;
    padding-bottom: 2px;
    transition: 0.25s;
    white-space: nowrap; /* EMPÊCHE TOUTE COUPURE */
}

nav a:hover,
nav a.active {
    color: var(--vert-fonce);
    border-bottom: 3px solid var(--vert-premium);
}

/* -----------------------------------------
   HERO FIXE
----------------------------------------- */

.hero-fixed {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hero-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay h2 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.1;
}

.hero-overlay p {
    font-size: 24px;
    margin-top: 0;
    line-height: 1.2;
}

.hero-overlay h2::after {
    display: none;
}

.hero-overlay h2,
.hero-overlay p {
    color: #fff;
    text-shadow:
        0 0 6px rgba(0,0,0,1),
        0 0 12px rgba(0,0,0,0.9),
        0 0 18px rgba(0,0,0,0.8);
}

/* -----------------------------------------
   SECTIONS
----------------------------------------- */

main {
    padding: 30px 0;
}

section {
    margin-bottom: 30px;
}

/* -----------------------------------------
   GRILLE 2 x 2
----------------------------------------- */

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 40px;
}

/* -----------------------------------------
   CARTES PREMIUM
----------------------------------------- */

.card {
    background: var(--blanc);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--ombre);
    transition: transform 0.25s, box-shadow 0.25s;
    border-top: 4px solid var(--vert-premium);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.card img {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: contain;
}

/* -----------------------------------------
   DEUX COLONNES
----------------------------------------- */

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

/* -----------------------------------------
   IMAGES ACCUEIL
----------------------------------------- */

.accueil-visuels {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 50px 0;
}

.accueil-visuels img {
    width: 23%;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.accueil-visuels img:hover {
    transform: scale(1.02);
}

/* -----------------------------------------
   LOGOS AU-DESSUS DU FOOTER
----------------------------------------- */

.logos-haut-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin: 10px 0 0px 0;
}

.logos-haut-footer img {
    height: 55px;
    width: auto;
    transition: 0.25s;
}

.logos-haut-footer img:hover {
    transform: scale(1.08);
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */

footer {
    text-align: center;
    padding: 25px 0;
    background: var(--vert-premium);
    color: #333;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* -----------------------------------------
   MENTIONS LÉGALES
----------------------------------------- */

.mentions-toggle {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: underline;
}

#mentions-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f7f7f7;
    padding: 0 15px;
    margin-top: 10px;
    border-left: 3px solid #1e4e79;
}

#mentions-panel.open {
    padding: 15px;
}

/* -----------------------------------------
   MENU AVEC POINTS
----------------------------------------- */

.menu-points {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-points li {
    list-style: none;
}

.menu-points a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.menu-points .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-cyan { background-color: #00AEEF; }
.dot-magenta { background-color: #EC008C; }
.dot-yellow { background-color: #FFF200; }
.dot-black { background-color: #000000; }
.dot-green { background-color: #7BBF3F; }

/* -----------------------------------------
   CONTACT — COORDONNÉES + CARTE
----------------------------------------- */

.email-contact {
    color: #4a6f3a;
    font-weight: 600;
    text-decoration: none;
}

.email-contact:hover {
    text-decoration: underline;
}

.facebook-contact {
    color: #1e4e79;
    font-weight: 600;
    text-decoration: none;
}

.facebook-contact:hover {
    text-decoration: underline;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 10px 0 20px 0;
}

.contact-coordonnees {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-map {
    flex: 1.2;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: 15px solid var(--vert-premium);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* -----------------------------------------
   RESPONSIVE GLOBAL — bascule plus tôt
----------------------------------------- */

@media (max-width: 1100px) {

    .grid-2x2,
    .two-columns,
    .contact-flex {
        display: block;
    }

    .grid-2x2 > *,
    .two-columns > *,
    .contact-flex > * {
        margin-bottom: 25px;
    }

    .accueil-visuels {
        flex-direction: column;
        align-items: center;
    }

    .accueil-visuels img {
        width: 80%;
    }
}

/* -----------------------------------------
   RESPONSIVE HEADER — bascule propre
----------------------------------------- */

@media (max-width: 1050px) {

    header {
        padding: 15px 0;
    }

    .header-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        text-align: center;
        width: 100%;
    }

    .logo img {
        height: 80px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
        width: 100%;
        padding-top: 5px;
    }

    nav a {
        font-size: 15px;
        padding: 4px 6px;
        white-space: nowrap; /* EMPÊCHE TOUTE COUPURE */
    }

    .contact-flex {
        flex-direction: column;
    }

    .contact-map iframe {
        height: 250px;
    }
}
/* -----------------------------------------
   POINTS COLORÉS DEVANT LES TITRES DES BLOCS
----------------------------------------- */

.service-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--vert-fonce);
    font-size: 22px;
}

/* Points plus gros que dans le header */
.service-title::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

/* Couleurs différentes pour chaque bloc */
.service-1::before { background-color: #00AEEF; }   /* Cyan */
.service-2::before { background-color: #EC008C; }   /* Magenta */
.service-3::before { background-color: #FFF200; }   /* Jaune */
.service-4::before { background-color: #000000; }   /* Noir */
