/* ------------------------------------ BODY ------------------------------------ */

body {
    background-color: #1E1E1E;
    color: #CCCCCC;
    font-family: system-ui;
    h1, h2, h3, h4, h5, h6 {
        color: #FFFFFF;
    }
    a {
        color: #CCCCCC;
        text-decoration: none;
    }
    a:hover {
        color: #B22222;
    }
    margin: 0;
}
/* ------------------------------------ FIN BODY ------------------------------------ */


/* ------------------------------------ NAVIGATION ------------------------------------ */

.main-nav {
    background-color: #1E1E1E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding-left: 20px;
    padding-right: 20px;
}

/* Logo + titre */
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-left img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-title span:first-child {
    font-weight: 600;
    font-size: 16px;
}

.nav-title span:last-child {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* Liens */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a, .nav-links span {
    text-decoration: none;
    color: #CCCCCC;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Bouton Nous contacter */
.nav-contact a {
    display: inline-block;
    color: #000;
    background: #FA6A00;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-contact a:hover {
    background-color: #B22222;
    color: white;
}

/* --- Bouton burger --- */

.nav-toggle {
    display: none; /* caché sur desktop */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #FA6A00;
    transition: transform 0.2s, opacity 0.2s;
}

.has-sub-toggle {
    font-weight: 500 !important;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    font-size: 15px;
    color: #CCCCCC;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .main-nav {
        padding: 12px 16px;
        width: 95%;
    }

    /* On affiche le burger, on cache le menu par défaut */
    .nav-toggle {
        display: flex;
    }

    .nav-right {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 16px 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none; /* caché par défaut */
    }

    .main-nav.is-open .nav-right {
        display: flex;
    }
    
    .main-nav.is-open .nav-right a, .main-nav.is-open .nav-right span {
        color: #000 !important;
    }
    
    .has-sub-toggle {
        color: #000;
    }
    
    .main-nav.is-open .nav-links li a {
        color: #000 !important;
    }
    
    .main-nav.is-open .nav-contact a {
        background: #FA6A00;
        color: #fff !important;
    }


    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-contact {
        width: 90%;
    }

    .nav-contact a {
        width: 100%;
        text-align: center;
    }

    /* Animation croix sur le burger */
    .main-nav.is-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .main-nav.is-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .main-nav.is-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
    
    /* ---------- Sous-menu Services ---------- */
/* ---------- Sous-menu "Services" ---------- */

.nav-links .has-sub {
    position: relative;
}

/* Sous-menu : liste propre, sans puces */
.nav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

/* Liens du sous-menu */
.nav-sub li {
    margin: 0;
    padding: 0;
}

.nav-sub a {
    display: block;
    text-decoration: none;
}

/* ----- Desktop : dropdown sombre au survol ----- */
@media (min-width: 900px) {

    .nav-sub {
        position: absolute;
        top: 100%;
        left: 0;
        background: #1E1E1E;
        border-radius: 8px;
        padding: 8px 0;
        min-width: 260px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
        z-index: 200;
    }

    .nav-sub a {
        padding: 8px 16px;
        color: #CCCCCC;
        font-size: 14px;
        white-space: nowrap;
    }

    .nav-sub a:hover {
        background: #2A2A2A;
        color: #fff;
        opacity: 1;
    }

    /* Affichage au survol */
    .nav-links .has-sub:hover > .nav-sub {
        display: block;
    }
}

/* ----- Mobile : sous-menu intégré dans le panneau blanc ----- */
@media (max-width: 900px) {

    .nav-sub {
        position: static;
        padding-top: 6px;
        margin-left: 8px;
    }

    .nav-sub a {
        padding: 4px 0;
        font-size: 14px;
    }

    /* Texte noir comme le reste du menu burger */
    .main-nav.is-open .nav-sub a {
        color: #000 !important;
    }

    /* Sur mobile, la plupart des navigateurs ouvrent le sous-menu au tap (équivalent hover) */
    .nav-links .has-sub:hover > .nav-sub {
        display: block;
    }
}



    /* ---------- FIN Sous-menu Services ---------- */


/* ------------------------------------ FIN NAVIGATION ------------------------------------ */


/* ------------------------------------ HERO ------------------------------------ */

.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Image de fond */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Voile sombre par-dessus l'image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Contenu texte + boutons */
.hero-content {
    max-width: 900px;
    text-align: center;
    color: #fff;
    margin-top: 250px;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Boutons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hero-actions a {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: opacity 0.2s;
}

/* Bouton "Nous contacter" : fond blanc */
.hero-actions .btn-contact {
    background: #FA6A00;
    color: white;
}

.hero-actions .btn-contact:hover {
    background: #B22222;
    color: white;
}

/* Bouton téléphone : fond noir */
.hero-actions .btn-phone {
    background: #000;
    color: #fff;
    border-color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-actions a {
        width: 100%;
        max-width: 260px;
    }
}


/* ------------------------------------ FIN HERO ------------------------------------ */


/* ------------------------------------ accroche ------------------------------------ */
.accroche {
    padding: 42px 0;
    text-align: center;
}

.accroche-inner {
    max-width: 780px;
    margin: 0 auto;
}

/* Tag premium */
.accroche-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #333841;
    background: #11151b;
    color: wheat;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 18px;
}

/* Texte principal */
.accroche-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 auto;
    max-width: 760px;
}

/* Responsive */
@media (max-width: 700px) {
    .accroche {
        padding: 32px 0;
    }

    .accroche-text {
        font-size: 15.5px;
        padding: 0 40px;
    }
}

/* ------------------------------------ FIN accroche ------------------------------------ */


/* ------------------------------------ SECTION SERVICES ------------------------------------ */

.services-section {
    padding: 60px 20px;
}

.services-section h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
    color: white;
}

/* Par défaut : mobile -> swipe horizontal */
.services-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 10px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Optionnel : cacher la barre de scroll sur certains navigateurs */
.services-container::-webkit-scrollbar {
    display: none;
}
.services-container {
    scrollbar-width: none; /* Firefox */
}

/* Carte = lien cliquable */
.service-card {
    scroll-snap-align: start;
    flex: 0 0 80%;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: white;
    background-color: #3A3A3A;
}

/* === MOBILE / PAR DÉFAUT : NE PAS COUPER L’IMAGE === */
.service-card img {
    width: 100%;
    height: auto;          /* plus de hauteur imposée */
    object-fit: contain;   /* on montre toute l'image */
    background: #000;      /* optionnel : fond neutre derrière si bandes noires */
}

.service-content {
    padding: 16px 18px 20px;
}

.service-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-content p {
    font-size: 14px;
    line-height: 1.5;
    color: white;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* --- Desktop : on passe en grille 3 colonnes, plus de swipe --- */
@media (min-width: 900px) {

    .services-section {
        padding: 70px 60px;
    }

    .services-container {
        overflow: visible;
        scroll-snap-type: none;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        justify-items: center;
    }

    .service-card {
        flex: initial;
    }

    /* DESKTOP : on peut revenir à une image plus "remplie" si tu veux */
    .service-card img {
        height: 260px;
        object-fit: cover;
    }
}


/* ------------------------------------ FIN SECTION SERVICES ------------------------------------ */


/* ------------------------------------ SECTION VALEURS ------------------------------------ */

.valeurs-section {
    padding: 60px 20px;
    background: #f5f5f5; /* léger fond gris comme ton mockup */
}

.valeurs-section h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 35px;
}

/* Container 3 colonnes desktop */
.valeurs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin: 0 auto;
}

/* Carte */
.valeur-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.valeur-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.valeur-card img {
    width: 120px;
    height: auto;
    margin-bottom: 18px;
}

.valeur-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.valeur-content p {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.5;
}

/* --- Responsive mobile --- */
@media (max-width: 900px) {
    .valeurs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .valeur-card {
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ------------------------------------ FIN SECTION VALEURS ------------------------------------ */


/* ------------------------------------ SECTION MAP / LOCALISATION ------------------------------------ */

.map-section {
    padding: 70px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
}

/* Colonne texte */
.map-info {
    flex: 1;
}

.map-info h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.map-info p {
    font-size: 14px;
    line-height: 1.6;
    text-transform: uppercase;
}

/* Colonne carte */
.map-embed {
    flex: 1;
    background: #e8f3ff;          /* carré bleu clair */
    border-radius: 14px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-embed {
    flex: 3;
    background: #e8f3ff;
    border-radius: 14px;
    /* PAS d'overflow hidden ici */
    /* on laisse le contenu prendre sa place */
}

/* On donne une hauteur fixe à la map */
.map-embed iframe {
    width: 100%;
    height: 350px;   /* adapte si tu veux plus grand */
    border: 0;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .map-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-embed {
        width: 100%;
        min-height: 260px;
    }
}

/* ------------------------------------ FIN SECTION MAP / LOCALISATION ------------------------------------ */


/* ------------------------------------ FOOTER ------------------------------------ */

.footer {
    border-top: 1px solid #e5e5e5;
    padding: 40px 20px 30px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    font-size: 14px;
}

.footer-icon {
    width: 16px!important;
    height: 16px!important;
}

/* Colonne gauche : logo + texte */
.footer-left {
    display: flex;
    gap: 20px;
    flex: 1.2;
}

.footer-left img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-info h3 {
    font-size: 20px;
    margin: 0 0 10px;
    line-height: 1.1;
}

.footer-info p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.footer-info a {
    color: inherit;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Réseaux sociaux */
.footer-socials {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.footer-socials img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Colonne droite : listes services / zones / horaires */
.footer-right {
    display: flex;
    gap: 40px;
    flex: 3;
    justify-content: space-around;
}

.footer-col h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 4px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left {
        flex-direction: row;
        align-items: flex-start;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .footer-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-left img {
        width: 55px;
        height: 55px;
    }
}

/* ------------------------------------ FIN FOOTER ------------------------------------ */


/* ------------------------------------ A PROPOS ------------------------------------ */

.apropos-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.apropos-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.apropos-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 70px;
}

.apropos-block.reverse {
    flex-direction: row-reverse;
}

.apropos-text {
    flex: 1;
}

.apropos-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.apropos-text p {
    line-height: 1.6;
    margin-bottom: 14px;
}

.btn-primary {
    display: inline-block;
    background: #FA6A00;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #B22222;
    color: white;
}

.apropos-image {
    flex: 1;
}

.apropos-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Liste des engagements */
.apropos-list {
    margin: 10px 0 20px;
    padding-left: 20px;
}

.apropos-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .apropos-block,
    .apropos-block.reverse {
        flex-direction: column;
    }

    .apropos-image img {
        max-height: 300px;
        object-fit: cover;
    }
}

/* ------------------------------------ FIN A PROPOS ------------------------------------ */

/* ------------------------------------ PAGE SERVICE INDIVIDUELLE ------------------------------------ */

.service-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.service-hero {
    margin-bottom: 40px;
}

.service-hero-content h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.service-label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    opacity: 0.7;
}

.service-intro {
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-secondary {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #ccc;
    color: #333;
    font-size: 14px;
    background-color: white;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-article h2,
.service-article h3,
.service-article h4 {
    margin-bottom: 8px;
}

.service-article p {
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .service-page {
        padding: 30px 16px 50px;
    }
}


/* IMAGE HERO DU SERVICE */
.service-hero-image {
    width: 100%;
    /* height: 320px; ajuste comme tu veux */
    overflow: hidden;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bloc texte sous l’image */
.service-hero-text {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.service-hero-text h1 {
    font-size: 30px;
    margin-bottom: 15px;
}

.service-intro {
    line-height: 1.6;
    margin-bottom: 18px;
}


/* ------------------------------------ FIN PAGE SERVICE INDIVIDUELLE ------------------------------------ */


/* ------------------------------------ PAGE CONTACT ------------------------------------ */

.contact-page {
    width: 100%;
}

.form-success {
    padding: 12px;
    background: #e0ffe7;
    color: #118a39;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 25px;
}

.form-error {
    padding: 12px;
    background: #ffe0e0;
    color: #b30000;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 25px;
}


/* Image en haut */
.contact-hero-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section contact */
.contact-section {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 20px;
    display: flex;
    gap: 50px;
}

.contact-left {
    flex: 1;
}

.contact-left h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-subtext {
    line-height: 1.6;
    font-size: 15px;
}

/* Formulaire */
.contact-form-container {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full {
    flex-basis: 100%;
}

label {
    font-size: 14px;
    margin-bottom: 5px;
}

input, select, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.contact-btn {
    margin-top: 10px;
    padding: 14px 24px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-section {
        flex-direction: column;
        gap: 30px;
    }
}

/* ------------------------------------ FIN PAGE CONTACT ------------------------------------ */



/* ------------------------------------ MENTIONS LÉGALES ------------------------------------ */

.legal-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.legal-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 12px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.legal-section a {
    font-weight: 500;
    text-decoration: underline;
}

/* Séparateurs visuels */
.legal-section hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 900px) {
    .legal-page {
        padding: 30px 16px 50px;
    }

    .legal-section h1 {
        font-size: 26px;
    }

    .legal-section h2 {
        font-size: 20px;
    }
}

/* ------------------------------------ FIN MENTIONS LÉGALES ------------------------------------ */