:root {
    --white-off: #F9F9F7;
    --sage: #3498DB;
    /* Changé : Bleu clair moderne à la place du vert */
    --navy: #1F2F3E;
    --text-dark: #2C3E50;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white-off);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

header.scrolled {
    background: white;
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.logo span {
    color: var(--sage);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    margin-top: 15px;
    list-style: none;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 15px solid transparent;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--navy);
    text-transform: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: var(--beige);
    color: var(--sage);
    border-left: 3px solid var(--sage);
    padding-left: 30px;
}

.nav-links li a:hover::after {
    display: none;
}

.nav-links a::after {
    display: none;
}

/* Bouton Contact Header */
.btn-contact {
    padding: 12px 25px;
    background: var(--navy);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    line-height: normal;
}

.btn-contact:hover {
    background: var(--sage);
    transform: scale(1.05);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&q=80&w=2000') no-repeat center/cover;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 47, 62, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

.hero-btns {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--sage);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-outline:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- SECTION CARTES --- */
.section {
    padding: 120px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: var(--navy);
    font-size: 1.5rem;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.text-link {
    color: var(--sage);
    text-decoration: none;
    font-weight: 600;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease-out;
}

.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}
























/* --- VARIABLES --- */
:root {
    --navy: #1F2F3E;
    --blue-light: #3498DB;
    /* Ton bleu clair */
    --text-dark: #2C3E50;
    --bg-light: #F4F7F9;
    --transition: all 0.4s ease;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-white {
    background: #fff;
}

.bg-light {
    background: var(--bg-light);
}

.text-center-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.logo span {
    color: var(--blue-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}



/* --- HERO INTERNAL --- */
.hero-internal {
    height: 50vh;
    min-height: 400px;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1500') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 47, 62, 0.7);
}

.hero-center {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-center h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-center p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- SECTIONS --- */
.section-page {
    padding: 100px 0;
}

.subtitle {
    color: var(--blue-light);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 25px;
}

.content-text {
    font-size: 1.15rem;
    max-width: 800px;
    color: #555;
    margin-bottom: 20px;
}

/* --- TEAM GRID --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-light);
}

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

.role {
    color: var(--blue-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--navy);
    color: #fff;
    padding: 80px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand p {
    margin-top: 15px;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav h4 {
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-center h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}





















/* Correctif espacement texte/vidéo */
.video-intro-text {
    margin-bottom: 50px;
    /* Plus d'espace sous le texte */
    font-size: 1.1rem;
    color: #555;
}

/* Grille spécifique SMAF pour les cartes d'autonomie */
.smaf-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Espacement entre les paragraphes de la section Comprendre */
.content-text p {
    margin-bottom: 25px;
    /* Espace net entre les paragraphes */
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Flip Cards (Inchangé mais vérifié) */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.flip-card {
    height: 450px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    background: var(--navy);
    color: white;
    transform: rotateY(180deg);
}







/* --- VIDÉO PRINCIPALE --- */
.video-container-box {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    border: 8px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.play-button-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--blue-light, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.icon-play {
    color: white;
    font-size: 2.2rem;
    padding-left: 5px;
    /* Correction visuelle du triangle */
    line-height: 1;
}

.play-button-center:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.play-button-center:hover .icon-play {
    color: #3498db;
}

/* --- FLIP CARDS VIDÉO --- */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1500px;
}

.flip-card {
    height: 480px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.flip-card-front {
    background: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.flip-card-back {
    background: #000;
    transform: rotateY(180deg);
    padding: 0 !important;
}

.video-partner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- GRILLE SMAF --- */
.smaf-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .smaf-cards-grid {
        grid-template-columns: 1fr;
    }
}





















/* --- ESPACEMENT TEXTE --- */
.mb-60 {
    margin-bottom: 60px !important;
    /* Crée l'espace entre le texte et la carte */
}

/* --- SECTION PLAN CLIQUABLE --- */
.map-container {
    max-width: 1000px;
    margin: 0 auto;
}

.map-card-link {
    display: block;
    position: relative;
    height: 400px;
    background: #0f172a;
    /* Fond Navy profond */
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.map-bg-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Création d'une grille type architecte */
    background-image:
        linear-gradient(rgba(52, 152, 219, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, transparent 0%, rgba(15, 23, 42, 0.7) 100%);
}

.map-content {
    text-align: center;
    color: white;
}

.map-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 20px 0 10px 0;
}

/* --- BOUTON PULSANT --- */
.pulse-button {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    position: relative;
    animation: pulse-effect 2s infinite;
}

@keyframes pulse-effect {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(52, 152, 219, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* --- HOVER EFFECTS --- */
.map-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.map-card-link:hover .pulse-button {
    background: white;
}

/* Mobile */
@media (max-width: 768px) {
    .map-card-link {
        height: 320px;
    }

    .map-content h3 {
        font-size: 1.6rem;
    }

    .mb-60 {
        margin-bottom: 40px !important;
    }
}















:root {
    --navy: #0f172a;
    --blue-light: #3498db;
    --white: #ffffff;
    --light-grey: #f8fafc;
    --text-grey: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    margin: 0;
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-page {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.bg-white {
    background-color: var(--white);
}

.text-center-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mb-60 {
    margin-bottom: 60px !important;
}

/* --- TITRES --- */
.subtitle {
    color: var(--blue-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* --- GRILLE DE PROCESSUS (01, 02, 03, 04) --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-item {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border-top: 5px solid var(--blue-light);
    position: relative;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.process-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(52, 152, 219, 0.12);
    /* Chiffre en arrière-plan discret */
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.process-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.process-item p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* --- CATALOGUE CARDS --- */
.formation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.f-card {
    padding: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    text-align: left;
    transition: 0.3s;
}

.f-card:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.f-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.f-card h3 {
    margin-bottom: 10px;
}

.f-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .process-item {
        padding: 40px 30px;
    }

    .section-page {
        padding: 60px 0;
    }
}



/* --- SECTION EXPERTISE METIER --- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.expertise-column {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--blue-light);
}

.expertise-header {
    margin-bottom: 20px;
}

.expertise-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.expertise-column h3 {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
    margin: 0;
    border-bottom: 2px solid var(--blue-light);
    padding-bottom: 10px;
}

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

.expertise-list li {
    font-size: 0.9rem;
    color: var(--text-grey);
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    position: relative;
    padding-left: 15px;
}

.expertise-list li::before {
    content: "•";
    color: var(--blue-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}


/* --- SECTION INTRO TEXTE SIMPLE --- */
.section-intro-text {
    padding: 80px 0 40px 0;
    background-color: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 30px;
    line-height: 1.3;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 30px;
}

.intro-content strong {
    color: var(--blue-light);
    font-weight: 600;
}

/* Une petite ligne élégante pour séparer les sections */
.intro-divider {
    width: 80px;
    height: 4px;
    background-color: var(--blue-light);
    margin: 40px auto 0;
    border-radius: 2px;
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-content p {
        font-size: 1.05rem;
    }
}
























/* --- HERO INNOVATION ----------------------------------------________-----------------------
 */
.hero-innovation {
    height: 75vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.8));
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
    /* Espace pour laisser remonter les cartes sans cacher le texte */
}

.hero-innovation h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.hero-innovation p {
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- GRILLE & CHEVAUCHEMENT --- */
.p-top-0 {
    padding-top: 0 !important;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -180px;
    /* Les cartes remontent fort sur l'image */
    position: relative;
    z-index: 10;
}

.innovation-card {
    background: white;
    padding: 60px 35px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.innovation-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
    border-color: var(--blue-light);
}

.card-icon-box {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.innovation-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.innovation-card p {
    color: var(--text-grey);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.btn-card-innovation {
    color: var(--blue-light);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- AUTRES SECTIONS --- */
.bg-cta-innovation {
    background-color: #f0f7ff;
}

.divider-line {
    width: 50px;
    height: 3px;
    background: var(--blue-light);
    margin: 0 auto 30px;
}

.btn-outline-innovation {
    display: inline-block;
    padding: 16px 35px;
    border: 2px solid var(--blue-light);
    color: var(--blue-light);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-outline-innovation:hover {
    background: var(--blue-light);
    color: white;
}

/* --- MOBILE --- */
@media (max-width: 1024px) {
    .innovation-grid {
        grid-template-columns: 1fr;
        margin-top: -100px;
        /* Moins de remontée sur mobile */
        padding: 0 15px;
    }

    .hero-innovation {
        height: auto;
        padding: 150px 0 150px;
    }

    .hero-innovation h1 {
        font-size: 2.8rem;
    }
}

















.bie-stats-v3 {
    background: #ffffff;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.stats-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 40px;
}

/* Header */
.stats-header {
    text-align: center;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.badge-date {
    background: #3b66ad;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.stats-header h1 {
    margin: 15px 0;
    font-size: 28px;
}

.stats-header h1 small {
    display: block;
    color: #666;
    font-weight: normal;
    font-size: 18px;
}

/* Top Metrics */
.top-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    gap: 10px;
}

.metric-box {
    text-align: center;
}

.m-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #3b66ad;
}

.m-label {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
}

/* Timeline Age */
.age-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    padding: 0 20px;
}

.age-step {
    text-align: center;
    flex: 1;
}

.age-step strong {
    display: block;
    font-size: 20px;
    color: #3b66ad;
}

.age-step span {
    font-size: 12px;
    color: #888;
}

.age-step.highlight strong {
    color: #e67e22;
    font-size: 24px;
}

.age-line {
    height: 2px;
    background: #eee;
    flex: 1;
    margin: 0 10px;
    position: relative;
    top: -10px;
}

/* Blocks */
.stats-section-block {
    margin-bottom: 40px;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 8px;
}

.stats-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

h3 {
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Bars & Lists */
.progress-item {
    margin-bottom: 15px;
}

.p-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
}

.p-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.p-bar div {
    height: 100%;
    border-radius: 4px;
}

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

.employers-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.employers-list .val {
    margin-left: auto;
    font-weight: bold;
}

.stacked-bar {
    display: flex;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .stats-two-columns {
        grid-template-columns: 1fr;
    }

    .top-metrics {
        flex-direction: column;
        gap: 20px;
    }

    .age-timeline {
        flex-direction: column;
        gap: 15px;
    }

    .age-line {
        display: none;
    }
}

















/* --- CONTACT ------------------------------------------------------------------------------------------ */

/* --- FIX POUR HERO CONTACT --- */
/* On force le h1 à utiliser la bonne typo même dans le header contact */
.hero-internal h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    /* Même taille que sur Innovation */
}

/* --- STRUCTURE CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item h4 {
    margin: 0;
    font-weight: 800;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    color: var(--text-grey);
}

/* --- FORMULAIRE RÉUTILISANT LES VARIABLES --- */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
}

/* --- MOBILE --- */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-internal h1 {
        font-size: 2.5rem;
    }
}




















/* --- Ajustement du logo -------------------------------------------------------------------- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Enlève le soulignement si le lien est bleu */
}

.logo img {
    height: 35px;
    /* Ajuste la hauteur selon la taille réelle de ton logo */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    /* Petit effet au survol */
}














/* Burger caché en desktop */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {

    .burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links li {
        margin: 15px 0;
    }

    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 10px 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}























/* --- CORRECTIFS PAGE AES --- */

/* Aligne le texte et la carte sur la même ligne horizontale */
.aes-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Texte un peu plus large que la carte */
    gap: 80px;
    align-items: center;
    /* ALIGNEMENT VERTICAL PARFAIT */
}

/* Liste de téléchargement dans la carte */
.download-list {
    text-align: left;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-list a {
    text-decoration: none;
    color: var(--navy) !important;
    /* Force la couleur Navy sur fond blanc */
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
    transition: var(--transition);
    border: 1px solid transparent;
}

.download-list a:hover {
    color: var(--blue-light) !important;
    background: white;
    border-color: var(--blue-light);
    transform: translateX(5px);
}

/* Responsivité pour la grille AES */
@media (max-width: 992px) {
    .aes-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .download-list {
        max-width: 400px;
        margin: 25px auto 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — PATCH OPTIMISÉ (remplace les anciens styles burger)
   Fichier : style.css — Ajout bas de fichier
═══════════════════════════════════════════════════════════════ */

/* --- Bouton Contact desktop uniquement --- */
.btn-contact-desktop {
    display: inline-block;
}

/* --- Contact caché dans le menu mobile par défaut --- */
.nav-contact-mobile {
    display: none;
}

/* --- Burger : état de base (caché sur desktop) --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: 6px;
    transition: background 0.2s ease;
    z-index: 1100;
}

.burger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy, #1F2F3E);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Burger animé en croix quand ouvert */
.burger.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ══════════════════════════
   MOBILE — max 768px
══════════════════════════ */
@media (max-width: 768px) {

    /* Affiche le burger */
    .burger {
        display: flex;
    }

    /* Cache le bouton contact desktop */
    .btn-contact-desktop {
        display: none;
    }

    /* Affiche contact dans le menu mobile */
    .nav-contact-mobile {
        display: list-item;
    }

    /* Menu fermé par défaut */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    }

    /* Menu ouvert */
    .nav-links.active {
        max-height: 500px;
        opacity: 1;
        pointer-events: auto;
        padding: 16px 0 24px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 13px 24px;
        font-size: 0.95rem;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Dropdown mobile */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: #f8fafc !important;
        display: none;
        transition: none !important;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 11px 40px !important;
        font-size: 0.88rem !important;
        color: #666 !important;
        border-left: none !important;
    }

    .dropdown-menu li a:hover {
        background: #eef4fb !important;
        color: var(--sage, #3498DB) !important;
        transform: none !important;
        padding-left: 40px !important;
    }

    /* Bouton CONTACT dans le menu mobile */
    .nav-contact-mobile a.btn-contact {
        display: inline-block;
        margin: 12px auto 0;
        padding: 12px 30px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SMAF — RESPONSIVE MOBILE
═══════════════════════════════════════════════════════════════ */

/* Flip cards SMAF : désactivation du flip sur mobile, remplacement par tap */
@media (max-width: 768px) {

    /* Grille témoignages : 1 colonne sur mobile */
    .flip-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        perspective: none;
    }

    /* Carte moins haute sur mobile */
    .flip-card {
        height: auto !important;
        min-height: 220px;
    }

    /* Pas de flip au hover (inutile sur touch) */
    .flip-card:hover .flip-card-inner {
        transform: none;
    }

    /* Flip au tap via classe .flipped ajoutée par JS */
    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card-front {
        padding: 28px 20px;
        position: relative;
        height: auto;
        min-height: 220px;
    }

    .flip-card-back {
        height: 220px;
    }

    /* Indication visuelle "tap pour voir la vidéo" */
    .flip-card-front::after {
        content: "Appuyer pour voir la vidéo ▶";
        display: block;
        margin-top: 14px;
        font-size: 0.75rem;
        color: #3498db;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

    /* Grille outils SMAF : 2 colonnes sur tablette, 1 sur petit mobile */
    .smaf-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
        margin-top: 24px;
    }

    /* Carte info-card plus compacte */
    .info-card {
        padding: 24px 16px;
    }

    /* Carte interactive map */
    .map-card-link {
        height: 260px;
        border-radius: 18px;
    }

    .map-content h3 {
        font-size: 1.4rem;
    }

    .pulse-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Vidéo principale SMAF */
    .video-container-box {
        border-width: 4px;
        border-radius: 12px;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .smaf-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .flip-card-front::after {
        content: "Toucher pour la vidéo ▶";
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — GRILLES INLINE (AES, 3IE, MODALITÉS)
   Corrige les grid-template-columns hardcodées sur mobile
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Padding container réduit */
    .container {
        padding: 0 20px;
    }

    /* Section padding réduit */
    .section-page {
        padding: 60px 0;
    }

    /* Grilles 2 colonnes → 1 colonne (inline style overrides) */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:repeat(2,1fr)"],
    [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:repeat(3,1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Grilles blocs de compétences AES */
    [style*="max-width:66%"] {
        max-width: 100% !important;
    }

    /* Vidéos immersives AES : 1 colonne */
    .video-immersive-card {
        grid-column: span 1;
    }

    /* Hero titres plus petits */
    .hero-innovation h1,
    .hero-internal h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 2rem;
    }

    /* Formulaire contact padding réduit */
    .contact-form {
        padding: 30px 20px;
    }

    /* Qualiopi box */
    .qualiopi-box {
        padding: 25px 20px;
    }

    /* Promo cards : évite le débordement */
    .aes-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero-innovation h1,
    .hero-internal h1 {
        font-size: 1.8rem !important;
    }

    .section-page {
        padding: 48px 0;
    }

    /* Boutons pleine largeur sur très petit écran */
    .btn-primary,
    .btn-outline,
    .btn-contact {
        width: 100%;
        text-align: center;
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — RÉSEAUX SOCIAUX
═══════════════════════════════════════════════════════════════ */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.social-icon:hover {
    background: var(--blue-light, #3498DB);
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}

.social-icon svg {
    display: block;
}

@media (max-width: 768px) {
    .footer-social {
        gap: 10px;
    }
    .social-icon {
        width: 36px;
        height: 36px;
    }
}
