﻿/* ========================== */
/*         VARIABLES          */
/* ========================== */
:root {
    --bg-main: #0a1633;       /* Bleu nuit profond */
    --bg-alt: #1b233d;        /* Bleu-gris sombre (sections et cartes) */
    --text: #faf7f2;           /* Blanc ivoire (texte) */
    --accent-green: #7a7650;  /* Vert olive (éléments clés) */
    --accent-gold: #e6c276;   /* Doré chaud (titres, hover) */
    --radius: 12px;
    --shadow-gold: 0 0 25px rgba(230,194,118,0.35);
    --bilan-gap: 3rem;        /* contrôle l'espacement */
    --bilan-text-ratio: 1.8;  /* contrôle la largeur du texte */
    --bilan-image-ratio: 1;   /* contrôle la largeur de l'image */
}

/* ========================== */
/*          GLOBAL            */
/* ========================== */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    background: var(--bg-main);
    color: var(--text);
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a { color: var(--accent-gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-green); }

.container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
h2 { font-size: 2rem; margin-bottom: 2rem; color: var(--accent-green); }

/* ========================== */
/*          HEADER            */
/* ========================== */
header {
    background: rgba(10,16,36,0.9);
    backdrop-filter: blur(6px);
    position: fixed;
    width: 100%;
    top:0; left:0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Logo doré cliquable */
.logo-link {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}
.header-logo {
    width: 60px;
    height: auto;
}

/* Icônes de contact (LinkedIn, email, téléphone) */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-right: 1rem;
}
.social-icons a {
    color: var(--accent-gold);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--accent-green);
}

/* Nom et navigation */
.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--accent-gold);
}
nav a {
    margin-left: 1.5rem;
    color: var(--text);
    position: relative;
}
nav a::after {
    content: "";
    position: absolute;
    left:0;
    bottom:-4px;
    height:2px;
    width:0%;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}
nav a:hover::after { width:100%; }

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff; /* couleur de l’icône */
}

@media (max-width: 768px) {
    nav.menu {
        display: none;
        flex-direction: column;
        background: rgba(12, 27, 42, 0.95); /* fond semi-transparent */
        position: absolute;
        top: 60px; /* hauteur du header */
        right: 10px;
        width: 220px;
        padding: 0.5rem 0;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        z-index: 999;
    }

    nav.menu a {
        color: #fff;
        padding: 12px 20px;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: background 0.2s ease, padding-left 0.2s ease;
        display: block;
    }

    nav.menu a:hover {
        background: rgba(255, 215, 0, 0.15); /* doré transparent */
        padding-left: 28px; /* petit décalage au survol */
    }

    .menu-icon {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: #fff; /* couleur icône burger */
    }

    .menu-toggle {
        display: none;
    }

    .menu-toggle:checked + .menu-icon + nav.menu {
        display: flex;
    }
}

/* ========================== */
/*           HERO             */
/* ========================== */
#hero {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('foret.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: var(--radius);
}

.hero-content h1 {
    color: var(--accent-gold);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1rem auto;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-green);
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
    transform: scale(1.05);
}

#hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

/* ========================== */
/*   SECTION BILAN EN AVANT  */
/* ========================== */
.highlight-section {
    background: var(--bg-alt);
    color: var(--text);
    padding: 5rem 0 1rem 0; /* réduit le padding bas pour rapprocher Qualiopi */
    position: relative;
}

.bilan-content {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* égalise les hauteurs */
    gap: var(--bilan-gap, 2rem);
}

.bilan-text {
    flex: var(--bilan-text-ratio, 1.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(10,16,36,0.7);
    padding: 2rem;
    border-radius: var(--radius);
}

.bilan-text h2 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.bilan-text p {
    text-align: justify;
}

.bilan-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center; /* centre les boutons */
}
.bilan-buttons .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-green);
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.bilan-buttons .cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}
.bilan-buttons .cta-btn.secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
    transform: scale(1.05);
}

.price-info {
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    display: inline-block;
    font-size: 0.95rem;
    color: var(--text);
    text-align: center;
    background-color: rgba(255, 215, 0, 0.05);
}

.price-info strong {
    color: var(--accent-gold);
    font-weight: bold;
}

/* Image qui suit la hauteur de la carte */
.bilan-image {
    flex: var(--bilan-image-ratio, 1);
    display: flex;
    align-items: stretch;
}
.bilan-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Bloc statistiques */
.bilan-stats {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
}
.stars {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.2);
}
.stars::after {
    content: "★★★★★";
    color: rgba(255,255,255,0.2);
}
.stars::before {
    content: "★★★★★";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--score, 4.9) / 5 * 100%);
    overflow: hidden;
    color: var(--accent-gold);
}
.score,
.percentage {
    font-weight: bold;
    color: var(--accent-gold);
}

/* Encadré CPF */
.cpf-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(230,194,118,0.3);
    border-radius: var(--radius);
}
.cpf-info img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.cpf-info p {
    font-size: 0.95rem;
    color: var(--text);
}

/* Carte Qualiopi (intégrée) */
.qualiopi-card {
    margin-top: 2rem; /* espace entre le bloc principal et Qualiopi */
    background: rgba(10,16,36,0.7);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    width: 100%;
}

.qualiopi-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.qualiopi-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem;
}
.qualiopi-card p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.4;
}

/* ========================== */
/*   AUTRES ACCOMPAGNEMENTS (GLOBAL) */
/* ========================== */
.accompagnements-section {
    background: linear-gradient(to bottom, #0d1430 0%, #1b233d 100%);
    padding: 0rem 2rem 2rem 2rem;
    text-align: center;
    position: relative;
}
.accompagnements-section h2 {
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
}
.accompagnements-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}
.accompagnements-grid {
    display: flex;
    gap: 5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.accompagnements-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
}
.accompagnement-card {
    background: rgba(10,16,36,0.85);
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1 1 45%;
    max-width: 500px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform;
    box-sizing: border-box;
}
.card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-image .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transition: background 0.4s ease;
}
.accompagnement-card .card-image {
    box-shadow: none;
    flex-shrink: 0;
}
.card-content {
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.card-content h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

#accompagnements h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.card-content p {
    color: var(--text);
    opacity: 0.9;
    text-align: justify;
    line-height: 1.5;
}

/* ========================== */
/*   COACHING (DÉTAILS) */
/* ========================== */
.benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}
.benefits li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}
.benefits li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}
.quick-info {
    min-width: calc(100% - 2px); /* compense les bordures */
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(230,194,118,0.3);
    border-radius: var(--radius);
    font-size: 0.9rem;
    line-height: 1.4;
    flex-shrink: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    white-space: normal;
    justify-content: center;      /* Centre le texte horizontalement */
    text-align: center;           /* Centre le texte en multi-ligne */
    max-width: 100%;              /* Empêche un wrap excessif */
    word-break: keep-all;         /* Évite les coupures étranges */
    box-sizing: border-box;            /* Inclut padding et bordure dans le calcul */
    width: 100%;                       /* Verrouille la largeur */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* animations uniquement */
}
.quick-info p {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0;
    color: var(--text);
}
.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}
.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.cta-btn.secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
    transform: scale(1.05);
}

/* ========================== */
/*   FORMATION (DÉTAILS) */
/* ========================== */
.formation-card .benefits {
    list-style: none;
    margin: 0.5rem 0 1rem 0;
    padding: 0;
    color: var(--text);
    font-size: 0.95rem;
    opacity: 0.9;
}
.formation-card .benefits li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}
.formation-card .benefits li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}

/* ========================== */
/*   PRÉSENTATION AMÉLIE      */
/* ========================== */
.presentation-wrapper {
    background: rgba(10, 16, 36, 0.85);
    border-radius: var(--radius);
    border: 1px solid rgba(230,194,118,0.3);
    padding: 2rem;
    max-width: 1200px;      /* même largeur que les sections bilan/accompagnement */
    margin: 0 auto;         /* centre la carte horizontalement */
}

.presentation-section {
    background: var(--bg-alt);
    padding: 4rem 2rem;
}

.presentation-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
}

/* Colonne gauche */
.presentation-left {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.presentation-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-gold);
}
.identity h2 {
    color: var(--accent-gold);
    margin: 0.5rem 0;
    font-size: 1.8rem;
    text-align: center;
}
.identity .subtitle {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}
.identity .highlight {
    font-weight: 700;
    opacity: 0.9;
}

/* Boutons */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Colonne droite */
.presentation-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.profile-title {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}
.bio {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Chiffres clés */
.key-stats {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(230,194,118,0.3);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    color: var(--text);
}
.key-stats ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.key-stats li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}
.key-stats li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}
.key-stats .themes {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: justify;
}

/* Valeurs */
.values {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(230,194,118,0.3);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
}
.values h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}
.values ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 1.5rem;
}
.values li {
    margin-bottom: 0.4rem;
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.95rem;
}
.values li::before {
    content: "→";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}

/* ========================== */
/*   CLIENTS & AVIS           */
/* ========================== */
.clients-avis-section {
    padding: 4rem 2rem;
    text-align: center;
}

.clients-avis-section h2 {
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
}
.clients-avis-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.clients-avis-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    align-items: stretch;
    position: relative;
}

/* Séparateur vertical */
.clients-avis-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 42%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

/* Colonne gauche : logos */
.clients-logos {
    display: flex;
    transform: translateX(-40px);
    justify-content: center;
    align-items: center;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
}
.logo-grid img {
    max-height: 149.44px; /* logos légèrement agrandis */
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: var(--text);;
    border-radius: var(--radius);
    padding: 0.9rem;
}
.logo-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Colonne droite : témoignages */
.avis-colonne {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.avis-grid {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 2rem;
}
.avis-grid blockquote {
    flex: 1;
    height: 100%;
    background: rgba(10, 16, 36, 0.85);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(230,194,118,0.3);
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.avis-grid blockquote:hover {
    transform: translateY(-6px);
}
.avis-grid cite {
    display: block;
    text-align: right;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

/* ========================== */
/*   SECTION CONTACT          */
/* ========================== */
.contact-section {
    background: linear-gradient(to bottom, #1b233d, #0a1633);
    padding: 4rem 2rem;
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map-photo {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.contact-map-photo .contact-map img,
.contact-map-photo .contact-photo img {
    height: 100%;      /* prend toute la hauteur disponible */
    object-fit: cover; /* rogne pour remplir sans déformation */
}

.little-asterisque {
    font-size: 0.9em;
}

.contact-map-photo .contact-map {
    flex: 2; /* plus large pour la carte */
}

.contact-map-photo .contact-photo {
    flex: 1; /* plus étroit pour la photo verticale */
}

.contact-map-photo .contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.contact-left, .contact-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-left { flex: 0.6; }
.contact-right { flex: 1.4; }

.contact-left h2, .contact-right h2 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.contact-left p {
    color: var(--text); /* texte blanc */
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-left p i {
    color: var(--accent-gold); /* icône doré */
}

.contact-left a {
    color: var(--text); /* liens blancs comme le texte */
    text-decoration: none;
}
.contact-left a:hover {
    color: var(--accent-gold); /* doré au survol */
}

/* Boutons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}
.contact-buttons .cta-btn {
    width: auto; /* pas de largeur forcée */
    text-align: center;
}
/* Empêche le bouton de prendre toute la largeur */
.cta-btn.inline-btn {
    width: auto;
    display: inline-block;
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
}

.contact-section .cta-btn.inline-btn:hover {
    color: var(--text); /* blanc ivoire */
}

/* Séparateur vertical (comme section Témoignages/Entreprises) */
.contact-separator {
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    margin: 0 1rem;
}

/* Carte */
.contact-map img {
    width: 100%;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-map img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(230,194,118,0.4);
}
.map-hint {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-gold);
    opacity: 0.85;
}
.map-hint:hover {
    opacity: 1;
}

/* Popups */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-overlay.active { display: flex; }
.popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
}
.popup-content iframe {
    width: 100%;
    height: 400px;
    border: none;
}
.popup-content .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}
.popup-content {
    color: #000; /* Texte noir pour le fond blanc */
}
.popup-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}
.popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.popup-content ul li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}
.popup-content .close-btn {
    color: #000; /* Noir sur fond blanc */
}
/* Style personnalisé pour pop-up carte */
#popup-map .popup-content {
    background: #0a1633; /* fond bleu nuit */
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(230, 194, 118, 0.5);
    max-width: 900px;
    width: 90%;
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    position: relative;
}

#popup-map iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    pointer-events: auto; /* Réactiver l'interaction directe */
}

/* Réactiver au clic (optionnel via JS) */
#popup-map iframe.active {
    pointer-events: auto;
}

/* Bouton de fermeture stylisé */
#popup-map .close-btn {
    color: var(--accent-gold);
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 32px;      /* Largeur égale */
    height: 32px;     /* Hauteur égale */
    display: flex;    /* Centrer la croix */
    justify-content: center;
    align-items: center;
    padding: 0;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
}
#popup-map .close-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
}

/* Style harmonisé pour la popup des horaires */
#popup-horaires .popup-content {
    background: #0a1633; /* fond bleu nuit */
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(230, 194, 118, 0.5);
    max-width: 700px;
    width: 90%;
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    color: #fff; /* texte blanc */
    text-align: left;
}

/* Titre stylisé */
#popup-horaires h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Liste d’horaires */
#popup-horaires ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}
#popup-horaires ul li {
    margin-bottom: 0.5rem;
    color: #ddd;
}

/* Bouton de fermeture comme la popup carte */
#popup-horaires .close-btn {
    color: var(--accent-gold);
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
}
#popup-horaires .close-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
}
/* Mise en page double colonne pour popup horaires */
.horaires-grid {
    max-width: 800px;
    background: #0a1633;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(230, 194, 118, 0.5);
    border-radius: var(--radius);
    color: #fff;
}

.horaires-columns {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1rem;
}

.horaires-col {
    flex: 1;
    text-align: center;
    padding: 1rem; /* même padding partout */
    box-sizing: border-box;
    border-radius: 0;
}

.horaires-col h4 {
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.horaires-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.horaires-separator {
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.horaires-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--accent-gold);
    opacity: 0.85;
}

.horaires-note:hover {
    opacity: 1;
}
/* Surlignage de la colonne active */
.horaires-col.active {
    background: rgba(230,194,118,0.1);
    border: 1px solid var(--accent-gold);
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

/* Style commun aux popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #0b1a39; /* bleu foncé */
    color: #f0d48c; /* doré */
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #f0d48c;
    max-width: 800px;
    width: 90%;
    position: relative;
}

.popup-content h3 {
    margin-top: 0;
    text-align: center;
    color: #f0d48c;
}

.popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #f0d48c;
}

.next-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    background: transparent;
    border: none;
    color: #f0d48c;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================== */
/*     MENTIONS LEGALES       */
/* ========================== */

.legal-section {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.legal-section:nth-of-type(even) {
    background: linear-gradient(to bottom, #1b233d, #0a1633);
}

.legal-section:nth-of-type(odd) {
    background: var(--bg-main);
}

.legal-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-section h2 {
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.legal-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 1rem;
    text-align: justify;
    color: var(--text);
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.legal-section ul li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    line-height: 1.6;
}

.legal-section .qualiopi-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.legal-section .cpf-info img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.admin-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-row.reverse {
    flex-direction: row-reverse;
}

.admin-text {
    flex: 1;
    background: rgba(10, 16, 36, 0.9);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.admin-text h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.admin-img {
    flex: 1;
}

.admin-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
}

.qualiopi-certif-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.qualiopi-logo img {
    max-width: 250px;
    height: auto;
    background: transparent;
    display: block;
}

.certif-mention {
    font-size: 1rem;
    color: var(--text);
    max-width: 500px;
}

.certificat-img {
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(230,194,118,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background: #fff;
}

.qualiopi-doc p {
    text-align: center;
}

.legal-section .qualiopi-logo {
    display: flex;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.legal-section .qualiopi-logo img {
    border-radius: var(--radius);
    background: transparent;
    max-width: 100%;
    height: auto;
}

.legal-section .qualiopi-certif-wrapper .qualiopi-logo img {
    background: transparent;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto;
}

/* ========================== */
/*     BILAN COMPETENCES      */
/* ========================== */

.bilan-intro {
    padding: 4rem 0;
}

.intro-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.intro-img {
    flex: 1;
    min-width: 320px;
}

.intro-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
}

.intro-text {
    flex: 1;
    min-width: 320px;
}

.intro-text blockquote {
    font-style: italic;
    font-size: 1.2rem;
    text-align: justify;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.intro-text blockquote::before {
    content: "→ ";
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.intro-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-points li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
}

.intro-points .bullet {
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.6rem;
    height: 0.6rem;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.bilan-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    background: rgba(230,194,118,0.07);
    padding: 1.5rem 0;
    border-radius: var(--radius);
}

.stat {
    text-align: center;
}

.stat .value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.stat .label {
    font-size: 0.95rem;
    opacity: 0.85;
}

.bilan-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #0a1024, #101b3a);
}

.bilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.bilan-card {
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* texte aligné à gauche */
    text-align: left;        /* forcer l’alignement du texte */
}

.bilan-card.centered-title {
    background: rgba(10,16,36,0.9);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bilan-card.centered-title h3 {
    text-align: center;       /* Centre le titre */
    width: 100%;              /* S'assure qu'il occupe toute la largeur */
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.bilan-card.centered-title ul,
.bilan-card.centered-title p {
    text-align: left;         /* Texte à gauche */
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-image h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.5);
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin: 0;
}

.card-list {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.card-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    line-height: 1.5;
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.bilan-section {
    padding: 4rem 2rem;
}

.bilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.bilan-card img {
    width: 100%;
    height: 248px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.bilan-card h3 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

.bilan-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.bilan-card ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.bilan-card li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.role-financement-container {
    max-width: 1200px;
    transform: translateX(0px);
    margin: 0 auto;
    padding: 2rem; /* Crée l'espace global autour des cartes */
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.role-col {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
}

.right-col {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-end;
}

.role-card{
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    width: 630px;
    padding: 1.5rem;
}

.financement-card {
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    width: 400px;
    padding: 1.5rem;
}

.role-card {
    height: 100%;
}

.illustration img {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
}

.role-card h3,
.financement-card h3,
.role-card h4 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

.role-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.role-card ul.benefits,
.financement-card ul.benefits {
    list-style: none;
    padding: 0;
}

.role-card ul.benefits li,
.financement-card ul.benefits li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.role-card ul.benefits li::before,
.financement-card ul.benefits li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}

.section-title {
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

/* SECTION FORMULES */
.formules-section {
    background: linear-gradient(to bottom, #0d1430 0%, #1b233d 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.formules-section h2 {
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
}

.formules-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.formules-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: nowrap;
    transform: translateX(-185px);
    width: 1500px;
    overflow-x: auto;
}

.formule-card {
    background: rgba(10,16,36,0.85);
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1 1 350px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.formule-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.formule-content {
    padding: 1.5rem;
}

.formule-card h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.formule-card .highlight {
    font-size: 0.9rem;
    color: var(--accent-green);
}

.benefits {
    list-style: none;
    padding: 0;
}

.benefits li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.benefits li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}

/* Bloc déroulé */
.deroule-card {
    background: rgba(10,16,36,0.9);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: left;
}

.deroule-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.formule-nom {
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.formule-prix {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Conteneur global */
.deroule-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.deroule-card,
.deroule-image {
    display: flex;
    flex-direction: column;
}

.deroule-card {
    flex: 2; /* plus large */
}

.deroule-image {
    flex: 1; /* plus étroite */
}


.deroule-image img {
    width: 100%;
    height: 100%; /* force à remplir toute la colonne */
    border-radius: var(--radius);
    object-fit: cover;
}

.deroule-texte {
    width: 800px;
}

.section-separator {
    border: none;
    height: 3px;
    width: 60px;
    background: var(--accent-gold);
    margin: 3rem auto; /* espace avant et après, centré */
    border-radius: 2px;
}

.spaced {
    margin-top: 1rem; /* espace vertical */
}

.bilan-grid.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bilan-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.bilan-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.bilan-card ul.benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bilan-card ul.benefits li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}

.bilan-card ul.benefits li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}

.bilan-horizontal-card {
    display: flex;
    background: rgba(10,16,36,0.9);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 3rem;
}

.bilan-horizontal-card .bilan-image {
    flex: 0 0 35%;
}

.bilan-horizontal-card .bilan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bilan-horizontal-card .bilan-text {
    flex: 1;
    padding: 2rem;
}

.bilan-horizontal-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.bilan-horizontal-card ul {
    list-style: none;
    padding: 0;
}

.bilan-horizontal-card ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.bilan-horizontal-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Deux colonnes classiques */
.bilan-grid.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.bilan-card img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.bilan-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.bilan-card ul {
    list-style: none;
    padding: 0;
}

.bilan-card ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}

.bilan-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* ============================= */
/*            COACHING           */
/* ============================= */

.coaching-section {
    padding: 4rem 0;
    background-color: #0a1024;
}

.coaching-section.alt-bg {
    background-color: #101b3a; /* couleur alternative */
}

.coaching-section .section-title {
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.coaching-section .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.coaching-section .intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Grilles principales */
.coaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tarif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    justify-content: center;
}

.watermark-gold {
    color: var(--accent-gold);
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0.2rem;
    display: inline-block;
    line-height: 0;
    vertical-align: -0.15em;
}


/* Cartes */
.bilan-card {
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.coaching-section.comprendre-coaching > .container > .coaching-grid img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--radius);
    margin: 0 auto;
}

.bilan-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.bilan-card.centered-title h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    width: 100%;
}

/* Liste à puces */
.benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.benefits li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
}

ul.benefits li.synthese::before {
    content: "➔";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

formule-content.ul.benefits li.synthese::before {
    content: "➔";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

ul.benefits li.syntheseH::before {
    content: "♥";
    color: #FC0FC0;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

ul.benefits li.ref::before {
    content: "*";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

/* Témoignages */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Liste verticale pour témoignages */
.temoignages-list {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 800px;
    gap: 1.5rem;
}

.temoignage-item {
    display: flex;
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 120px;
    position: relative;
}

.temoignage-card {
    display: flex;
    align-items: center;
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    overflow: hidden;
    height: 120px; /* Hauteur fixe identique pour toutes */
}

/* Image carrée à gauche */
.temoignage-img {
    flex: 0 0 120px;
    height: auto;
}

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

/* Texte à droite */
.temoignage-text {
    flex: 1;
    color: #fff;
    font-style: italic;
    display: flex;
    align-items: center;
    line-height: 1.4;
    position: relative;
    margin: 0;
    padding: 1rem 2rem;
}

.temoignage-text p {
    margin: 0;
    font-style: italic;
}

.temoignage-text-bis {
    flex: 1;
    color: #fff;
    font-style: italic;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    line-height: 1.4;
    position: relative;
    margin: 0;
    padding: 1rem 2rem;
}

.temoignage-text-bis p {
    margin: 0;
    font-style: italic;
    justify-content: flex-end;
    text-align: right;         /* pour le contenu texte */
}

/* Bloc mix texte / illustration (comment ça se passe) */
.role-financement-card {
    display: flex;
    gap: 2rem;
    align-items: stretch; /* force les colonnes à avoir la même hauteur */
    background: rgba(10,16,36,0.0);
}

.role-approche-card {
    flex: 0 0 64%;
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.right-column {
    flex: 0 0 36%;
    display: flex;
    flex-direction: column;
}

.illustration {
    flex: 1; /* prend toute la hauteur */
    display: flex;
    height: 100%; /* clé pour égaliser */
}

.illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Note en bas de section */
.note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.coaching-section:nth-of-type(even) {
    background: linear-gradient(to bottom, #1b233d, #0a1633);
}

.coaching-section:nth-of-type(odd) {
    background: var(--bg-main);
}

.exemple-concret-card {
    background: rgba(10, 16, 36, 0.9);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1rem; /* quasi collé */
    width: 100%; /* prend toute la largeur du container */
}

.exemple-title {
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.exemple-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.exemple-img {
    flex: 0 0 auto;
    height: 170px;
    width: 170px;
}

.exemple-img img {
    height: auto; /* retire la hauteur forcée */
    width: auto;  /* retire la largeur forcée */
    max-height: 170px; /* limite la taille */
    aspect-ratio: 1 / 1; /* carré parfait */
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    display: block;
}

.exemple-text {
    flex: 1;
    font-style: italic;
    text-align: justify;
    color: #fff;
    line-height: 1.6;
    position: relative;
}

/* ========================== */
/*         FORMATION          */
/* ========================== */

.intro-points .bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    margin-right: 0.6rem;
    vertical-align: middle;
}

.fixed-img {
    height: 280px;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
}

/* ========================== */
/*          BUREAU            */
/* ========================== */

.legende {
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 0.5rem;
    line-height: 1.4;
}
.map-text {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
}
.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* ========================== */
/*         PARCOURS           */
/* ========================== */

.parcours-presentation-title {
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-align: left;
}

/* ========================== */
/*          FOOTER            */
/* ========================== */
footer {
    text-align:center;
    background:#050811;
    color:#888;
    font-size:0.9rem;
    padding:2rem 1rem;
}
footer a.mentions-link {
    display: block;
    margin-top: 0.5rem;
    color: var(--accent-gold);
}
footer a.mentions-link:hover {
    color: var(--accent-green);
}

/* ========================== */
/*        ANIMATIONS          */
/* ========================== */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes zoomOut { from { transform: scale(1.15); } to { transform: scale(1); } }

/* ========================== */
/*        RESPONSIVE          */
/* ========================== */
@media (max-width:768px) {
    nav { display:none; }
    .logo { font-size:1.3rem; }
    #hero { height: 50vh; }
    .bilan-content {
        flex-direction: column;
        text-align: center;
    }
    .bilan-image img {
        height: auto;            /* Reprend sa hauteur naturelle sur mobile */
        align-self: center;
    }
    .accompagnements-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .accompagnement-card { max-width: 90%; }
    .cta-group { flex-direction: column; align-items: flex-start; }
    .presentation-content { flex-direction: column; text-align: center; }
    .clients-avis-grid { flex-direction: column; align-items: center; }
    quick-info {
        min-height: unset;        /* retire la hauteur fixe sur mobile */
        text-align: center;       /* centre le texte */
        flex-direction: column;   /* empile le contenu si besoin */
        align-items: center;
        padding: 1rem;
    }
    .bilan-content {
        flex-direction: column;
        text-align: center;
    }
    .bilan-image img {
        height: auto;
        width: 100%;
    }
    .qualiopi-inner {
        flex-direction: column;
        text-align: center;
    }
    .presentation-content {
        flex-direction: column;
        text-align: center;
    }
    .values ul {
        columns: 1;
    }
    .clients-avis-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .clients-avis-wrapper::before {
        display: none; /* pas de séparateur sur mobile */
    }
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .contact-grid { flex-direction: column; }
    .contact-separator { display: none; }
    .contact-buttons-row { flex-direction: column; }
    .admin-row,
    .admin-row.reverse {
        flex-direction: column;
    }
    .admin-img {
        flex: 0 0 auto !important; /* annule la largeur définie */
        width: 100%;
    }
    .certificat-img {
        max-width: 100%;
    }
    .role-financement-container {
        flex-direction: column;
        gap: 2rem;
    }

    .role-col,
    .right-col {
        flex: 1;
    }
    .deroule-container {
        flex-direction: column;
    }
    .deroule-image {
        flex: none;
        height: auto;
    }
    .deroule-image img {
        height: auto;
    }
    .bilan-grid.three-columns {
        grid-template-columns: 1fr;
    }
    .role-financement-card {
        flex-direction: column;
    }
    .right-column,
    .role-approche-card {
        flex: 1;
    }
    #hero {
        height: auto;
        padding-top: 8rem;  /* Ajuste en fonction de la hauteur de ton header */
        padding-bottom: 6rem;
    }

    .hero-content {
        padding: 0 1rem;
        text-align: center;
    }

    .presentation-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .presentation-left,
    .contact-left,
    .contact-right{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .presentation-left .identity,
    .presentation-left .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .presentation-left .cta-group a {
        width: max-content;
    }

    .presentation-right {
        align-items: center;
        text-align: center;
    }

    .presentation-right ul {
        list-style-position: inside;
        padding-left: 0;
        margin: 0 auto;
    }
    .presentation-image img {
        margin: 0 auto;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .formules-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
        transform: translateX(0px);
    }

    .formule-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto; /* centre chaque carte dans sa colonne */
    }

    .formules-section .container {
        max-width: 100%;
    }
    .intro-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .intro-img {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .intro-img img {
        width: 100%;
        height: auto;
    }

    .intro-text {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    html {
        zoom: 0.5;
    }
}
@media screen and (min-width: 769px) {
    html {
        zoom: 0.8;
    }
}
