/* ==========================================================================
   1. VARIABLES DE COULEUR & RESET
   ========================================================================== */
:root {
    --dark-navy: #151828;      /* Fond sombre bandeau supérieur & footer */
    --accent-orange: #ff6b00;   /* Couleur orange d'accentuation */
    --white: #ffffff;
    --text-dark: #1f2335;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background:#f8fafc;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.main-content {
    flex: 1; /* Pousse le footer vers le bas */
}

/* ==========================================================================
   2. BANDEAU SUPÉRIEUR (RÉSEAUX SOCIAUX)
   ========================================================================== */
.top-bar {
    background-color: var(--dark-navy);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-orange);
}

/* ==========================================================================
   3. BARRE DE NAVIGATION
   ========================================================================== */
.main-header {
    background-color: var(--white);
    padding: 18px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 36px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 1000;
}

.logo-bold {
    color: #ff6b00;
}

.logo-orange {
    color: #111111;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #111111;
    font-size: 1rem;
    font-weight: 800;
    transition: color 0.3s ease;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 4px;
}

/* ==========================================================================
   4. FOOTER (PIED DE PAGE)
   ========================================================================== */
.main-footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding-top: 20px;
    margin-top: auto;
}

.footer-content {
    display: flex; /* Utilisation de flexbox pour un meilleur contrôle de l'alignement */
    justify-content: space-between; /* Distribue l'espace pour pousser Contact tout à droite */
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 15px; /* Réduit l'espace sous le contenu (anciennement 30px) */
}

/* 1. Rapprocher le titre/logo du texte en dessous */
.footer-col h3 {
    color: var(--accent-orange);
    margin-bottom: 4px; /* Espace réduit au minimum (anciennement 15px) */
    font-size: 1.2rem;
}

.footer-col p {
    margin-top: 0;
    line-height: 1.4;
}

.footer-col h4 {
    margin-bottom: 8px; /* Espacement resserré des sous-titres */
    font-size: 0.95rem;
}

.footer-col ul{ 
list-style: none;
}
.footer-col ul li {
    margin-bottom: 4px; /* Espace resserré entre les liens */
}

/* 2. Aligner le bloc Contact tout à droite */


/* 3. Réduire la hauteur du bandeau de copyright tout en bas */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 8px 0; /* Padding réduit (anciennement 15px) */
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}
/* ==========================================================================
   FOOTER COMPLET ET ALIGNÉ
   ========================================================================== */
.main-footer {
    background-color: #1f0d5f; /* Suppression du fond violet sur tout le conteneur */
    color: var(--white);
    margin-top: auto;
}

.footer-content {
    background-color: #1f0d5f; /* Fond violet appliqué uniquement ici */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 15px;
}

/* Colonne Gauche : Logo + description */
.footer-col:first-child {
    text-align: left;
    max-width: 450px;
}

.footer-col h3 {
    color: var(--accent-orange);
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.footer-col p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Colonne Droite : Contact */
.footer-col:last-child h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 6px;
}

.footer-col:last-child p {
    text-align: right;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col:last-child i {
    margin-right: 6px;
    color: var(--accent-orange);
}

/* Bandeau de copyright bas */
.footer-bottom {
    background-color: #111111; /* Fond noir du copyright */
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   5. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}
/* ==========================================================================
   PAGE CONTACT (CONTENU SPÉCIFIQUE)
   ========================================================================== */

/* Conteneur et titres */
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-label {
    display: inline-block;
    color: var(--accent-orange, #e67e22);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-intro h1 {
    font-size: 2.2rem;
    color: var(--dark-navy, #1e293b);
    line-height: 1.2;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-orange, #e67e22);
    margin: 15px 0 25px 0;
}

.intro-text {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.6;
}

.intro-note {
    background-color: #f8fafc;
    border-left: 4px solid var(--accent-orange, #e67e22);
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

/* Grille de cartes (Étudiant / Parent) */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.choice-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #F57C00;
}

.choice-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.choice-card h2 {
    font-size: 1.3rem;
    margin: 15px 0;
    color: var(--dark-navy, #1e293b);
}

.choice-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Boutons d'action */
.choice-button, .email-button, .final-button {
    display: inline-block;
    background-color: var(--accent-orange, #e67e22);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.choice-button:hover, .email-button:hover, .final-button:hover {
    background-color: #d35400;
}

/* Section "Et Après ?" */
.after-block {
    background-color: #111322; /* Bleu nuit sombre */
    border-radius: 16px;
    padding: 40px 35px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #F57C00;
}
.after-block h2 {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
}
.after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.after-card {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 5px solid #F57C00;
}

.after-card span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-orange, #e67e22);
}

.after-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #ffffff;
}
.after-card p {
    color: rgba(255, 255, 255, 0.85);
    }
/*=====================================
                HERO
======================================*/

.hero {
    min-height: calc(100vh - 123px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}


/* =====================================
   IMAGE — FOND DU HERO
====================================== */

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =====================================
   VOILE SOMBRE
====================================== */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}


/* =====================================
   CONTENEUR DU CONTENU
====================================== */

.hero-overlay {
    width: 92%;
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* =====================================
   CONTENU TEXTE
====================================== */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
}


/* =====================================
   TITRE
====================================== */

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 35px;
}

.hero-content h1 span {
    color: #F57C00;
}


/* =====================================
   LISTE
====================================== */

.hero-list {
    list-style: none;
    margin-bottom: 35px;
    padding: 0;
}

.hero-list li {
    font-size: 20px;
    margin-bottom: 18px;
    color: #fff;
}


.hero-text {
    font-size: 21px;
    line-height: 1.6;
    color: #fff;
    font-weight: 500;

    margin: 200px auto 0;
    padding: 18px 25px;

    max-width: 800px;

    background: rgba(0, 0, 0, 0.55);
    border-left: 5px solid #F57C00;

    text-align: left;
}
/* =========================
   NOTRE HISTOIRE
   ========================= */

/* =====================================================
   NOTRE HISTOIRE — POURQUOI LA PREPA ?
   ===================================================== */

.story-section {
    background: #f7f7f7;
    padding: 70px 0 75px;
}

.story-container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
}

/* =========================
   INTRODUCTION
   ========================= */

.story-intro {
    text-align: center;
    margin-bottom: 38px;
}

.story-intro h2 {
    font-size: 2.7rem;
    line-height: 1.2;
    color: #111;
    margin: 0 0 15px;
}

.story-lead {
    font-size: 21px;
    color: #333;
    margin: 0 0 12px;
}

.story-intro p:last-child {
    font-size: 17px;
    color: #555;
    margin: 0;
}

/* =========================
   LES AVERTISSEMENTS
   ========================= */

.story-warnings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
    max-width: 1050px;
    margin: 0 auto 48px;
}

.story-warning {
    position: relative;
    background: #ffffff;
    border: 2px solid #F57C00;
    border-radius: 8px;
    padding: 18px 24px;
    min-height: 58px;
    display: flex;
    align-items: center;
    box-shadow: 5px 5px 0 #F57C00;
    margin-right: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

.story-warning span {
    font-size: 17px;
    line-height: 1.50;
    color: #333;
}
.story-warning:last-child {
    grid-column: 1 / 3;
    justify-content: center;
    text-align: center;
}

/* =========================
   LE CHOIX
   ========================= */

.story-choice {
    text-align: center;
    margin-bottom: 45px;
}

.story-choice > p {
    font-size: 18px;
    color: #555;
    margin: 0 0 5px;
}

.story-choice h3 {
    font-size: 2.35rem;
    line-height: 1.2;
    color: #111;
    margin: 0 0 22px;
}

/* =========================
   LES RAISONS
   ========================= */

.story-reasons {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 55px;
    row-gap: 5px;
    text-align: left;
}

.story-reasons p {
    margin: 0;
    padding: 9px 14px;
    border: 1px solid #F57C00;
    border-radius: 6px;
    background: #fff;
    box-shadow: 3px 3px 0 #F57C00;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* =========================
   LE COMBATTANT
   ========================= */

.story-fighter {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.story-fighter p {
    font-size: 19px;
    color: #555;
    margin: 0 0 5px;
}

.story-fighter h3 {
    font-size: 3rem;
    line-height: 1.1;
    color: #F57C00;
    margin: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {

    .story-section {
        padding: 55px 0;
    }

    .story-container {
        width: 92%;
    }

    .story-intro h2 {
        font-size: 2.1rem;
    }

    .story-warnings {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .story-warning {
        padding: 15px 18px;
    }

    .story-warning {
    position: relative;
    background: #ffffff;
    border: 2px solid #F57C00;
    border-radius: 8px;
    padding: 17px 22px;
    min-height: 58px;
    display: flex;
    align-items: center;
    box-shadow: 5px 5px 0 #F57C00;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .story-choice h3 {
        font-size: 2rem;
    }

    .story-fighter h3 {
        font-size: 2.4rem;
    }
}
/* =====================================================
   REALITE DE LA PREPA
   ===================================================== */

.reality-section {
    background: #ffffff;
    padding: 65px 0 75px;
}

.reality-container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================
   INTRODUCTION
   ========================= */

.reality-intro {
    text-align: center;
    margin-bottom: 30px;
}

.reality-kicker {
    margin: 0 0 5px;
    font-size: 18px;
    color: #555;
}

.reality-intro h2 {
    margin: 0 0 20px;
    font-size: 3rem;
    line-height: 1.1;
    color: #111;
}

.reality-lead {
    margin: 0;
    font-size: 20px;
    color: #444;
}

.reality-highlight {
    margin: 5px 0 0;
    font-size: 27px;
    color: #F57C00;
}


/* =========================
   TEXTE
   ========================= */

.reality-text {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.reality-text p {
    margin: 7px 0;
    font-size: 17px;
    line-height: 1.55;
    color: #444;
}


/* =========================
   QUESTION CENTRALE
   ========================= */

.reality-question {
    max-width: 900px;
    margin: 0 auto 45px;
    padding: 25px 30px;
    text-align: center;
    background: #f7f7f7;
    border: 2px solid #F57C00;
    border-radius: 8px;
    box-shadow: 5px 5px 0 #F57C00;
}

.reality-question span {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
    color: #555;
}

.reality-question h3 {
    margin: 0;
    font-size: 2rem;
    color: #111;
}


/* =========================
   INTRODUCTION PROFILS
   ========================= */

.profiles-intro {
    text-align: center;
    margin-bottom: 28px;
}

.profiles-intro h3 {
    max-width: 900px;
    margin: 0 auto 8px;
    font-size: 1.9rem;
    line-height: 1.3;
    color: #111;
}

.profiles-intro p {
    margin: 0;
    font-size: 19px;
    color: #F57C00;
    font-weight: 600;
}


/* =========================
   PROFILS ETUDIANTS
   ========================= */

.student-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.student-profile {
    position: relative;
    background: #f7f7f7;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 25px 27px 23px;
    box-sizing: border-box;
    transition: .2s ease;
}

.student-profile:hover {
    border-color: #F57C00;
    box-shadow: 4px 4px 0 #F57C00;
}

.profile-number {
    color: #F57C00;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.student-profile h4 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #111;
}

.student-profile p {
    margin: 0 0 17px;
    font-size: 16px;
    line-height: 1.55;
    color: #555;
}

.profile-question {
    padding-top: 13px;
    border-top: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    color: #F57C00;
}


/* =========================
   PROFIL 05 — PLUS IMPORTANT
   ========================= */

.profile-featured {
    grid-column: 1 / -1;
    max-width: 700px;
    width: 100%;
    justify-self: center;
    background: #fff;
    border-color: #F57C00;
    box-shadow: 5px 5px 0 #F57C00;
}


/* =========================
   TRANSITION
   ========================= */

.reality-transition {
    max-width: 950px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.reality-transition p {
    margin: 0 0 10px;
    font-size: 18px;
    color: #555;
}

.reality-transition h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.3;
    color: #111;
}

.reality-transition h3 span {
    color: #F57C00;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {

    .reality-section {
        padding: 50px 0 60px;
    }

    .reality-container {
        width: 92%;
    }

    .reality-intro h2 {
        font-size: 2.3rem;
    }

    .reality-lead {
        font-size: 18px;
    }

    .reality-question {
        padding: 22px 18px;
    }

    .reality-question h3 {
        font-size: 1.6rem;
    }

    .student-profiles {
        grid-template-columns: 1fr;
    }

    .profile-featured {
        grid-column: auto;
    }

    .profiles-intro h3 {
        font-size: 1.6rem;
    }
}/* =========================
   SECTION POURQUOI
========================= */

.why-section {
    padding: 80px 20px;
    background: #f7f7f7;
}

.why-container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-intro {
    font-size: 17px;
    color: #555;
    margin-bottom: 10px;
}

.why-container h2 {
    font-size: 2.3rem;
    line-height: 1.3;
    color: #111;
    margin-bottom: 25px;
}

.why-container h2 span {
    color: #F57C00;
}

.why-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.why-question-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px;
    background: white;

    border: 2px solid #F57C00;
    border-radius: 12px;

    box-shadow:
        4px 4px 0 #F57C00,
        0 8px 18px rgba(0, 0, 0, 0.08);
}

.why-question-intro {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
}

.why-questions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.why-card {
    text-align: left;
    padding: 18px 20px;
    background: #fafafa;

    border: 1px solid #F57C00;
    border-radius: 8px;

    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.why-card span {
    color: #F57C00;
    font-weight: 700;
}

.why-conclusion {
    width: 70%;
    max-width: 850px;
    margin: 45px auto 20px;
    padding: 25px 30px;
    text-align: center;

    background: #ffffff;

    border: 2px solid #ff7900;
    border-radius: 12px;

    box-shadow:
        4px 4px 0 #ff7900,
        0 6px 12px rgba(0, 0, 0, 0.08);
}

.why-conclusion p {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #555;
}

.why-conclusion strong {
    display: block;
    font-size: 1.35rem;
    color: #ff7900;
}
/* ============================= */
/* DIAGNOSTIC : POURQUOI ? */
/* ============================= */

.diagnostic-section {
    width: 100%;
    max-width: 1000px;
    margin: 70px auto 80px;
    padding: 50px 40px;

    text-align: center;

    background: #f7f7f7;
}

.diagnostic-intro {
    margin-bottom: 10px;
    color: #555;
    font-size: 1rem;
}

.diagnostic-section h2 {
    margin: 0 0 18px;
    font-size: 2rem;
    color: #111;
}

.diagnostic-section h2 span {
    color: #ff7900;
}

.diagnostic-text {
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: #555;
}

/* Grille des causes */

.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    max-width: 900px;
    margin: 0 auto;
}

.diagnostic-card {
    position: relative;

    padding: 25px 25px 22px;

    text-align: left;

    background: #ffffff;

    border: 2px solid #ff7900;
    border-radius: 12px;

    box-shadow:
        4px 4px 0 #ff7900,
        0 6px 12px rgba(0, 0, 0, 0.06);
}

.diagnostic-number {
    display: block;
    margin-bottom: 8px;

    font-size: 0.8rem;
    font-weight: 700;
    color: #ff7900;
}

.diagnostic-card h3 {
    margin: 0 0 10px;

    font-size: 1.05rem;
    color: #111;
}

.diagnostic-card p {
    margin: 0;

    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
}

/* Conclusion */

.diagnostic-conclusion {
    max-width: 760px;
    margin: 45px auto 0;
    padding: 24px 30px;

    background: #ffffff;

    border: 2px solid #ff7900;
    border-radius: 12px;

    box-shadow:
        4px 4px 0 #ff7900,
        0 6px 12px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.diagnostic-conclusion p {
    margin: 4px 0 8px;
    color: #555;
    font-size: 0.95rem;
}

.diagnostic-conclusion strong {
    display: block;
    margin-bottom: 12px;

    font-size: 1.05rem;
    color: #111;
}

.diagnostic-conclusion strong:last-child {
    margin-bottom: 0;
    color: #ff7900;
    font-size: 1.15rem;
}
/* ============================= */
/* SECTION : COMMENT ? */
/* ============================= */

.how-section {
    width: 100%;
    max-width: 1000px;
    margin: 80px auto 90px;
    padding: 55px 40px;

    text-align: center;

    background: #ffffff;
}

.how-intro {
    margin: 0 0 10px;

    color: #555;
    font-size: 1rem;
}

.how-section h2 {
    margin: 0;

    font-size: 1.6rem;
    color: #111;
}

.how-title {
    margin: 20px 0 20px;

    font-size: 3rem;
    font-weight: 800;

    color: #ff7900;
    letter-spacing: 2px;
}

.how-text {
    max-width: 700px;
    margin: 0 auto 40px;

    line-height: 1.7;
    color: #555;
}

/* Questions */

.how-questions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    max-width: 850px;
    margin: 0 auto;
}

.how-question {
    padding: 18px 20px;

    background: #f8f8f8;

    border: 2px solid #ff7900;
    border-radius: 12px;

    text-align: left;

    font-size: 0.95rem;
    line-height: 1.5;

    box-shadow:
        3px 3px 0 #ff7900;
}

.how-question span {
    font-weight: 700;
    color: #ff7900;
}

/* Conclusion */

.how-conclusion {
    max-width: 720px;
    margin: 50px auto 0;
    padding: 25px 30px;

    background: #f7f7f7;

    border-left: 4px solid #ff7900;

    text-align: center;
}

.how-conclusion p {
    margin: 0 0 8px;

    color: #555;
}

.how-conclusion strong {
    color: #111;
    font-size: 1.15rem;
}
/* =========================================================
   SECTION COMMENT ?
   ========================================================= */

.why-how {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 40px 80px;
    background: #ffffff;
    text-align: center;
}

/* Titre COMMENT ? */
.why-how h2 {
    margin-bottom: 25px;
    font-size: 42px;
    font-weight: 800;
    color: #ff7800;
    text-transform: uppercase;
}

/* Texte introductif */
.why-how > p {
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.7;
    color: #555;
}

/* Grille des questions */
.why-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 35px;
}

/* Cartes */
.why-how-card {
    min-height: 70px;
    padding: 18px 20px;

    background: #ffffff;

    border: 2px solid #ff7800;
    border-radius: 10px;

    box-shadow:
        0 3px 0 #ff7800,
        0 7px 14px rgba(0, 0, 0, 0.08);

    display: flex;
    align-items: center;

    text-align: left;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

/* Petit effet au survol */
.why-how-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 0 #ff7800,
        0 10px 18px rgba(0, 0, 0, 0.10);
}

/* Mot "Comment" */
.why-how-card strong {
    color: #ff7800;
    font-weight: 700;
    margin-right: 4px;
}

/* Conclusion */
.why-how .why-conclusion {
    max-width: 450px;
    margin: 30px auto 0;
    padding: 18px 25px;

    background: #f7f7f7;

    border-left: 3px solid #ff7800;

    text-align: center;
}

/* Première phrase de conclusion */
.why-how .why-conclusion p {
    margin: 0 0 6px;
    color: #666;
}

/* Phrase forte */
.why-how .why-conclusion strong {
    color: #111;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .why-how {
        padding: 50px 20px 60px;
    }

    .why-how h2 {
        font-size: 32px;
    }

    .why-how-grid {
        grid-template-columns: 1fr;
    }

    .why-how-card {
        min-height: auto;
    }
}
.why-how .why-conclusion {
    padding: 22px 30px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* =========================================================
   REPRENDRE LE CONTRÔLE
========================================================= */
/* Ce gris ne s'appliquera QU'AUX pages ayant la classe .bg-light-gray */
body.bg-light-gray {
    background-color: #ccced1;
}

.control-section {
    width: 100%;
    padding: 80px 20px 90px;
    background: #f7f7f7;
}

.control-container {
    width: 92%;
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}


/* INTRO */

.control-intro {
    margin: 0 0 10px;

    font-size: 18px;
    color: #555;
}


/* TITRE */

.control-container h2 {
    margin: 0 auto 25px;
    margin-top: 70px;

    max-width: 800px;

    font-size: 2.4rem;
    line-height: 1.25;

    color: #111;
}
.method-start {
    margin-top: 150px;
}

.control-container h2 span {
    color: #F57C00;
}


/* TEXTE PRINCIPAL */

.control-lead {
    max-width: 780px;
    margin: 0 auto 35px;

    font-size: 17px;
    line-height: 1.8;

    color: #555;
}


/* MESSAGE CENTRAL */

.control-message {
    max-width: 800px;

    margin: 0 auto 50px;
    padding: 28px 35px;

    background: #ffffff;

    border: 2px solid #F57C00;
    border-radius: 12px;

    box-shadow:
        4px 4px 0 #F57C00,
        0 8px 18px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.control-message p {
    margin: 0 0 10px;

    color: #555;
    font-size: 17px;
}

.control-message strong {
    display: block;

    color: #111;
    font-size: 18px;
}


/* =========================================================
   LES 3 PILIERS
========================================================= */

/* =========================================================
   CONTROL PILLARS - Interactive Cards
========================================================= */

.control-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 760px;
    margin: 35px auto 40px;
    align-items: stretch;
}

.control-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 32px;
    background: #ffffff;
    border: 2px solid #F57C00;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #F57C00, 0 5px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.control-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 8px 0 #F57C00, 0 10px 25px rgba(0, 0, 0, 0.1);
}

.control-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.control-card .card-number {
    font-size: 14px;
    font-weight: 700;
    color: #F57C00;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.control-card h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.control-card p {
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    flex: 1;
}

/* Button styling - matching quality cards */
.control-card .method-card-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    color: #F57C00;
    border: 2px solid #F57C00;
    border-radius: 6px;
    transition: all 0.25s ease;
    background: transparent;
    align-self: flex-start;
    text-align: center;
}

.control-card .method-card-link:hover {
    background: #F57C00;
    color: #ffffff !important;
    text-decoration: none;
    transform: scale(1.02);
}

.control-card .method-card-link:visited {
    color: #F57C00;
}

.control-card .method-card-link:visited:hover {
    color: #ffffff !important;
}

/* =========================================================
   RESPONSIVE - Control Cards
========================================================= */

@media (max-width: 800px) {
    .control-pillars {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 25px;
    }

    .control-card {
        padding: 25px 22px 28px;
        text-align: center;
    }

    .control-card .method-card-link {
        align-self: center;
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }

    .control-card h3 {
        font-size: 20px;
    }

    .control-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .control-card {
        padding: 20px 18px 24px;
    }

    .control-card h3 {
        font-size: 18px;
    }

    .control-card p {
        font-size: 13px;
    }

    .control-card .method-card-link {
        padding: 12px 20px;
        font-size: 13px;
        max-width: 100%;
    }
}
/* =========================================================
   QUALITÉS
========================================================= */

.qualities-intro {
    margin-bottom: 25px;
}

.qualities-intro p {
    margin: 0;
    font-size: 17px;
    color: #444;
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto 50px;
    align-items: stretch; /* Ensures all cards have equal height */
}

.quality-card {
    display: flex;
    flex-direction: column;
    padding: 25px 22px 30px;
    background: #ffffff;
    border: 1px solid #F57C00;
    border-radius: 10px;
    box-shadow: 3px 3px 0 #F57C00, 0 5px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    height: 100%; /* Takes full height of grid cell */
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quality-card:hover {
    transform: translateY(-3px);
    box-shadow: 3px 6px 0 #F57C00, 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Card content takes available space, pushing button to bottom */
.quality-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quality-card h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.quality-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    flex: 1;
}

/* Button styling - positioned at bottom of card */
.quality-card .method-card-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    color: #F57C00;
    border: 2px solid #F57C00;
    border-radius: 6px;
    transition: all 0.25s ease;
    background: transparent;
    align-self: center; /* Centers the button horizontally */
}

.quality-card .method-card-link:hover {
    background: #F57C00;
    color: #ffffff !important;
    text-decoration: none;
    transform: scale(1.02);
}

.quality-card .method-card-link:visited {
    color: #F57C00;
}

.quality-card .method-card-link:visited:hover {
    color: #ffffff !important;
}

/* =========================================================
   RESPONSIVE - Quality Section
========================================================= */

@media (max-width: 800px) {
    .qualities-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .quality-card {
        padding: 25px 20px 30px;
    }
    
    .quality-card .method-card-link {
        padding: 14px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .quality-card {
        padding: 20px 15px 25px;
    }
    
    .quality-card h3 {
        font-size: 18px;
    }
    
    .quality-card p {
        font-size: 13px;
    }
    
    .quality-card .method-card-link {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   CONCLUSION
========================================================= */

.control-conclusion {
    max-width: 780px;

    margin: 0 auto;

    padding: 28px 35px;

    background: #ffffff;

    border-left: 4px solid #F57C00;

    text-align: center;
}

.control-conclusion p {
    margin: 0 0 10px;

    font-size: 16px;
    line-height: 1.6;

    color: #555;
}

.control-conclusion strong {
    color: #111;

    font-size: 18px;
}


/* =========================================================
   RESPONSIVE
========================================================= */
.control-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 100%;
    max-width: 560px;
    margin: 35px auto 40px;
}

.control-pillars .control-card {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 800px) {

    .control-pillars,
    .qualities-grid {
        grid-template-columns: 1fr;
    }

    .control-container h2 {
        font-size: 2rem;
    }

    .control-message {
        padding: 25px 20px;
    }
}
.control-container h2 {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    margin: 0 auto 25px !important;
    color: #F57C00 !important;
}

.control-container h2 span {
    color: #F57C00 !important;
}
.method-card-link {
    display: inline-block;
    margin-top: auto;
    padding: 15px;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    color: #F57C00
}
.method-card-link:visited {
    color: #ff7900 !important;
}

.method-card-link:hover {
    color: #ff7900 !important;
    text-decoration: underline;
}

.control-card {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* =========================================
   CARTES DETAILLEES - OUVERTURE EN SURIMPRESSION
   ========================================= */

.method-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 9999;

    padding: 30px;
}

.method-overlay.active {
    display: flex;
}

.method-detail {
    position: relative;

    width: 100%;
    max-width: 850px;
    max-height: 85vh;

    overflow-y: auto;

    background: #ffffff;

    padding: 45px 55px;

    border: 2px solid #ff7a00;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);

    display: none;
}

.method-detail.active {
    display: block;
}

.method-close {
    position: absolute;

    top: 15px;
    right: 20px;

    background: none;
    border: none;

    font-size: 32px;
    font-weight: 300;

    cursor: pointer;

    color: #222;
}

.method-close:hover {
    color: #ff7a00;
}

.method-detail-number {
    color: #ff7a00;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 8px;
}

.method-detail h2 {
    margin-bottom: 15px;

    font-size: 30px;
    font-weight: 700;
}

.method-detail-intro {
    font-size: 17px;
    line-height: 1.6;

    margin-bottom: 30px;
}

.method-detail h3 {
    margin-top: 30px;
    margin-bottom: 12px;

    font-size: 21px;
}

.method-detail h4 {
    margin-top: 22px;
    margin-bottom: 8px;

    font-size: 17px;
}

.method-detail p,
.method-detail li {
    font-size: 15px;
    line-height: 1.65;
}

.method-detail ul {
    padding-left: 22px;
}

.method-detail-conclusion {
    margin-top: 30px;
    padding: 20px;

    border-left: 3px solid #ff7a00;

    font-size: 16px;
    line-height: 1.6;
}


/* ==========================================
   PAGE MATHÉMATIQUES
========================================== */

.math-page {
    background: #16025e42;
}


/* ==========================================
   INTRODUCTION
========================================== */

.math-intro {
    padding: 75px 20px 65px;
    background: #1a1a2e;
    text-align: center;
}

.math-intro-inner {
    max-width: 850px;
    margin: 0 auto;
}

.math-kicker {
    display: inline-block;
    margin-bottom: 15px;
    color: #ff7a00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.math-intro h1 {
    margin: 0 0 25px;
    color: #f8f5f5f5;
    font-size: 46px;
    font-weight: 800;
}

.math-intro p {
    max-width: 780px;
    margin: 8px auto;
    color: #f8f5f5f5;
    font-size: 17px;
    line-height: 1.8;
}

.math-intro strong {
    color: #ff7a00;
    font-weight: 700;
}


/* ==========================================
   TITRE SECTION
========================================== */

.math-levels {
    padding: 70px 20px 80px;
}

.math-title {
    margin-bottom: 45px;
    text-align: center;
}

.math-title span {
    color: #ff7a00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.math-title h2 {
    margin: 10px 0 0;
    color: #111111;
    font-size: 30px;
    font-weight: 700;
}

.math-title h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin: 15px auto 0;
    background: #ff7a00;
}


/* ==========================================
   CARTES MPSI / MP
========================================== */

.math-level-grid {
    max-width: 950px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    
}

.math-level-card {
    position: relative;

    padding: 40px 38px;

    background: #ffffff;

    border: 1px solid #ff7a00;
    border-radius: 18px;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
                border-left: 4px solid #F57C00;
                
}

.math-level-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    left: -90px;

    background: rgba(201, 162, 39, 0.10);

    border-radius: 50%;
}

.math-level-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);
}


/* ==========================================
   ICÔNES
========================================== */

.math-card-icon {
    position: relative;

    width: 62px;
    height: 62px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff7a00;
    color: #ffffff;

    font-size: 24px;
    
}


/* ==========================================
   CONTENU CARTES
========================================== */

.math-card-label {
    color: #ff7a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.math-level-card h3 {
    margin: 5px 0 18px;

    color: #111111;

    font-size: 34px;
    font-weight: 800;
}

.math-level-card h3::after {
    content: "";

    display: block;

    width: 40px;
    height: 3px;

    margin: 12px auto 0;

    background: #ff7a00;
}

.math-level-card p {
    min-height: 105px;

    max-width: 400px;

    margin: 0 auto 28px;

    color: #555555;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================
   BOUTONS
========================================== */

.math-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 24px;

    background: #ff7a00;
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.math-button:hover {
    background: #111111;
}

.math-button i {
    font-size: 11px;
}


/* ==========================================
   TERMINALE
========================================== */

.math-terminal {
    padding: 0 20px 75px;
}

.math-terminal-inner {
    max-width: 950px;

    margin: 0 auto;

    padding: 25px 30px;

    display: flex;

    gap: 20px;

    background: #faf8ef;

    border-left: 4px solid #ff7a00;

    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.math-terminal-icon {
    color: #C9A227;

    font-size: 22px;

    padding-top: 3px;
}

.math-terminal-inner h3 {
    margin: 0 0 8px;

    color: #111111;

    font-size: 19px;
}

.math-terminal-inner p {
    margin: 5px 0;

    color: #555555;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   LIEN MATHÉMATIQUES ACTIF
========================================== */

.nav-menu a.active {
    color: #ff7a00;
}

.nav-menu a.active::after {
    width: 100%;
    background: #ff7a00;
}


/* ==========================================
   FOOTER
========================================== */

.math-footer {
    padding: 25px 20px;

    background: #111111;

    text-align: center;
}

.math-footer p {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 800px) {

    .math-level-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .math-intro h1 {
        font-size: 38px;
    }

}


@media (max-width: 600px) {

    .math-intro {
        padding: 55px 17px;
    }

    .math-intro h1 {
        font-size: 32px;
    }

    .math-intro p {
        font-size: 15px;
    }

    .math-levels {
        padding: 55px 17px 65px;
    }

    .math-level-card {
        padding: 35px 25px;
        border-radius: 15px;
    }

    .math-terminal {
        padding: 0 17px 60px;
    }

    .math-terminal-inner {
        padding: 22px 18px;
    }

}
/*=====================================
          MENU MOBILE
======================================*/

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #111;
    cursor: pointer;
}


/*=====================================
            RESPONSIVE
======================================*/

@media (max-width: 768px) {

    .top-bar {
        height: 34px;
    }

    .top-container {
        width: 92%;
    }

    .social-icons {
        gap: 16px;
    }

    .social-icons a {
        font-size: 14px;
    }


    /* NAVIGATION */

    .nav-container {
        width: 92%;
        height: 70px;
    }

    .logo-orange,
    .logo-black {
        font-size: 1.45rem;
    }

    .logo-black {
        margin-left: 4px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 104px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #fff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);

        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 14px 25px;
        font-size: 15px;
    }

    .nav-menu a::after {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: calc(100vh - 104px);
    }

    .hero-overlay {
        width: 92%;
        padding: 45px 10px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 25px;
    }

    .hero-list {
        margin-bottom: 0;
    }

    .hero-list li {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .hero-text {
        font-size: 17px;
        line-height: 1.55;
        margin-top: 45px;
        padding: 16px 18px;
    }

}
/* ==========================================================
   SECTION HERO SOMBRE (Identique à l'accueil)
========================================================== */

.guide-hero {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('../images/bg-hero.jpg') center/cover no-repeat;
    background-color: #111111;
    padding: 70px 25px;
    text-align: center;
}

.guide-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-kicker {
    color: #ff6600;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.guide-hero h1 {
    color: #ffffff;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
}

.guide-hero h1 span {
    color: #ff6600;
}

.guide-title-line {
    width: 60px;
    height: 4px;
    background: #ff6600;
    margin: 20px auto;
    border-radius: 2px;
}

.guide-hero-lead {
    color: #dddddd;
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================
   SECTION CONTENU (FOND CLAIR STRUCTURÉ)
========================================================== */

.guide-body-section {
    background-color: #f8f9fa;
    color: #222222;
    padding: 60px 25px;
}

.guide-container {
    max-width: 1180px;
    margin: 0 auto;
}

.guide-intro-text {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.05rem;
    color: #444444;
}

.guide-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Couverture */
.guide-cover-column {
    text-align: center;
}

.guide-cover img {
    width: min(100%, 420px);
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.guide-cover-caption {
    margin-top: 15px;
    font-size: 0.92rem;
    color: #666666;
}

/* Liste des 7 étapes */
.guide-overview h2 {
    color: #111111;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.guide-step-preview {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    padding: 14px 20px;
    margin-bottom: 12px;
    border-left: 4px solid #ff6600;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.guide-step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: #ff6600;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.guide-step-preview h3 {
    color: #111111;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.guide-step-preview p {
    color: #555555;
    font-size: 0.88rem;
}

/* ==========================================================
   CTA (BOUTONS D'ACTION)
========================================================== */

.guide-cta {
    margin-top: 60px;
    text-align: center;
}

.guide-cta h2 {
    color: #111111;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.guide-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.guide-button-primary {
    background-color: #ff6600;
    color: #ffffff;
}

.guide-button-primary:hover {
    background-color: #e05500;
    transform: translateY(-2px);
}

.guide-contact-question {
    margin: 30px 0 15px;
    color: #555555;
    font-size: 1rem;
}

.guide-button-secondary {
    background-color: transparent;
    color: #ff6600;
    border: 2px solid #ff6600;
}

.guide-button-secondary:hover {
    background-color: #ff6600;
    color: #ffffff;
}

/* ==========================================================
   RESPONSIVE (TABLETTE & MOBILE)
========================================================== */

@media (max-width: 950px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 12px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }

    .guide-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guide-hero h1 {
        font-size: 1.8rem;
    }
}
/* ==========================================================
   PAGE
========================================================== */

.steps-page {
    width: 100%;

    padding: 70px 28px 85px;

    background: #f7f8fa;
}

.steps-container {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}


/* ==========================================================
   INTRODUCTION
========================================================== */

.steps-intro {
    max-width: 900px;

    margin: 0 auto 55px;

    text-align: center;
}

.steps-kicker {
    display: inline-block;
    margin: 0 0 15px;
    padding: 0.4rem 1.6rem;
    background: #F57C00;

    color: #FFFFFF;

    font-size: 0.92rem;
    font-weight: 800;

    letter-spacing: 1.4px;
    border-radius: 50px;
    text-transform: uppercase;
}

.steps-intro h1 {
    margin: 0;

    color: #0B2545;

    font-size: 2.4rem;
    line-height: 1.13;

    font-weight: 800;
}

.steps-intro h1 span {
    color: #F57C00;
}

.steps-title-line {
    width: 52px;
    height: 4px;

    margin: 25px auto;

    background: #F57C00;
}

.steps-intro > p:not(.steps-kicker) {
    max-width: 820px;

    margin: 0 auto 14px;

    color: #333333;

    font-size: 1.08rem;
    line-height: 1.7;
}


/* ==========================================================
   GRILLE DES 7 CARTES
========================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* ==========================================================
   ÉTAPE 7 — CENTRAGE
========================================================== */

.steps-grid .step-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
}


/* ==========================================================
   CARTE
========================================================== */

.step-card {
    min-height: 285px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    background: #FFFFFF;

    border: 1px solid #e5e5e5;
    border-radius:16px;
    border-left: 5px solid #F57C00;

    box-shadow:
        0 4px 13px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.09);
}


/* NUMÉRO */

.step-card-number {
    display: inline-block;
    margin-bottom: 14px;
    padding: 0.2rem 1rem;
    background: rgba(245, 124, 0, 0.08);
    color: #F57C00;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.3px;
    border-radius: 50px;
    text-transform: uppercase;
}


/* TITRE */

.step-card h2 {
    margin: 0 0 15px;

    color: #0B2545;

    font-size: 1.45rem;
    line-height: 1.25;

    font-weight: 800;
}


/* TEXTE */

.step-card p {
    margin: 0;

    color: #444444;

    font-size: 0.96rem;
    line-height: 1.6;
}


/* LIEN */

.step-card-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: auto;
    padding-top: 24px;

    color: #F57C00;

    font-size: 0.92rem;
    font-weight: 800;

    text-decoration: none;

    transition: gap 0.2s ease;
}

.step-card-link span {
    font-size: 1.15rem;
}

.step-card-link:hover {
    gap: 13px;
}


/* ==========================================================
   ÉTAPE 4 — CARTE MISE EN AVANT
========================================================== */




/* ==========================================================
   RETOUR AU GUIDE
========================================================== */

.steps-return {
    margin-top: 65px;

    text-align: center;
}

.steps-return p {
    margin: 0 0 16px;

    color: #444444;

    font-size: 1rem;
}

.steps-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 14px 28px;

    color: #F57C00;
    background: #FFFFFF;

    border: 2px solid #F57C00;
    border-radius: 50px;

    font-size: 0.92rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.steps-button:hover {
    color: #FFFFFF;

    background: #F57C00;

    transform: translateY(-2px);
}


/* ==========================================================
   TABLETTE
========================================================== */

@media (max-width: 900px) {

    .steps-page {
        padding: 60px 24px 70px;
    }

    .steps-grid {
        grid-template-columns: 1fr;

        max-width: 720px;

        margin: 0 auto;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .steps-page {
        padding: 48px 17px 60px;
    }

    .steps-intro {
        margin-bottom: 40px;
    }

    .steps-intro h1 {
        font-size: 2rem;
    }

    .steps-intro > p:not(.steps-kicker) {
        font-size: 1rem;
        line-height: 1.6;
    }

    .steps-grid {
        gap: 18px;
    }

    .step-card {
        min-height: auto;

        padding: 25px;
    }

    .step-card h2 {
        font-size: 1.3rem;
    }

    .step-card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .step-card-link {
        padding-top: 22px;
    }

    .steps-return {
        margin-top: 50px;
    }

    .steps-button {
        width: 100%;
        max-width: 340px;
    }


    /* NAVIGATION MOBILE */

    .site-header {
        height: auto;
    }

    .nav-container {
        height: auto;
        min-height: 70px;

        flex-wrap: wrap;

        padding: 15px 20px;

        gap: 15px;
    }

    .site-header .main-nav {
        width: 100%;

        margin: 0;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 18px;
    }

}
/* ==========================================================
   CONTAINER
========================================================== */

.coach-container {
    width: min(1050px, 92%);
    margin: 0 auto;
}


/* ==========================================================
   INTRO
========================================================== */

.coach-intro {
    padding: 85px 0 75px;
    text-align: center;
}


.section-label {
    display: inline-block;

    padding: 5px 13px;

    background: var(--navy);
    color: var(--orange);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;

    margin-bottom: 22px;
}


.coach-intro h1 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 800;
}


.coach-intro h1 span {
    color: var(--orange);
}


.title-line {
    width: 38px;
    height: 3px;

    background: var(--orange);

    margin: 22px auto 25px;
}


.intro-text {
    max-width: 720px;
    margin: 0 auto 12px;

    color: var(--text-light);
    font-size: 15px;
}


/* ==========================================================
   SECTIONS
========================================================== */

.coach-problem,
.coach-difference,
.coach-student,
.coach-method,
.coach-cta {
    padding: 75px 0;
}


.section-heading {
    text-align: center;
    margin-bottom: 45px;
}


.section-number {
    display: block;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 8px;
}


.section-heading h2 {
    max-width: 700px;
    margin: auto;

    font-size: clamp(27px, 4vw, 36px);
    line-height: 1.25;
}


.section-heading p {
    max-width: 650px;
    margin: 10px auto 0;

    color: var(--text-light);
}


/* ==========================================================
   PROBLEM
========================================================== */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}


.problem-card {
    background: var(--white);

    border: 1px solid var(--border);

    padding: 30px;

    box-shadow: var(--shadow);

    border-radius: 10px;
}


.card-number {
    display: block;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    margin-bottom: 10px;
}


.problem-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}


.problem-card p {
    color: var(--text-light);
    font-size: 14px;
}


/* ==========================================================
   DARK SECTIONS
========================================================== */

.coach-definition,
.coach-results {
    padding: 0;
}


.dark-content {
    background: var(--navy);
    color: var(--white);

    padding: 65px 70px;


    border-radius: 12px;
}


.section-label.light {
    background: var(--orange);
    color: var(--navy);
}


.dark-content h2 {
    max-width: 700px;

    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.25;
}


.dark-content .title-line {
    margin-left: 0;
}


.dark-content p {
    max-width: 800px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;

    margin-bottom: 17px;
}


.dark-content .highlight-text {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;

    border-left: 3px solid var(--orange);

    padding-left: 18px;

    margin-top: 25px;
}


/* ==========================================================
   COMPARISON
========================================================== */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.comparison-card {
    background: var(--white);

    border: 1px solid var(--border);

    padding: 35px;

    border-radius: 10px;
}


.comparison-card.featured {
    background: var(--navy);
    color: var(--white);

    border: none;
}


.comparison-label {
    display: inline-block;

    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;

    margin-bottom: 15px;
}


.comparison-card h3 {
    font-size: 22px;
    line-height: 1.35;

    margin-bottom: 22px;
}


.comparison-card ul {
    list-style: none;
}


.comparison-card li {
    position: relative;

    padding-left: 22px;
    margin-bottom: 11px;

    font-size: 14px;
}


.comparison-card li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--orange);

    font-weight: 800;
}


/* ==========================================================
   STUDENT
========================================================== */

.student-intro {
    max-width: 700px;
    margin: 0 auto 35px;

    text-align: center;

    color: var(--text-light);

    font-size: 16px;
}


.student-intro strong {
    color: var(--text);
}


.student-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}


.student-item {
    background: var(--white);

    border: 1px solid var(--border);

    padding: 17px 20px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    border-radius: 7px;
}


.student-item span {
    color: var(--orange);
    font-weight: 800;
}


.student-item p {
    color: var(--text-light);
    font-size: 14px;
}


/* ==========================================================
   METHOD
========================================================== */

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}


.method-card {
    background: var(--white);

    border: 1px solid var(--border);

    padding: 28px 23px;

    border-radius: 9px;
}


.method-number {
    display: block;

    color: var(--orange);

    font-size: 12px;
    font-weight: 800;

    margin-bottom: 13px;
}


.method-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}


.method-card p {
    color: var(--text-light);
    font-size: 13px;
}


/* ==========================================================
   RESULTS
========================================================== */

.results-grid {
    margin-top: 35px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}


.result-card {
    background: var(--navy-light);

    border: 1px solid rgba(255, 255, 255, 0.08);

    padding: 20px;

    border-radius: 7px;
}


.result-card span {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
}


.result-card p {
    color: var(--white);

    font-size: 14px;

    margin: 7px 0 0;
}


/* ==========================================================
   CTA
========================================================== */

.coach-cta {
    padding-top: 85px;
    padding-bottom: 90px;
}


.cta-box {
    background: var(--white);

    border: 1px solid var(--border);

    padding: 60px 40px;

    text-align: center;

    box-shadow: var(--shadow);

    border-radius: 10px;
}


.cta-box h2 {
    max-width: 700px;

    margin: auto;

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
}


.cta-box p {
    color: var(--text-light);

    margin: 15px auto 28px;

    font-size: 15px;
}


.coach-cta-button {
    display: inline-block;

    background: var(--orange);
    color: var(--navy);

    padding: 13px 25px;

    font-size: 13px;
    font-weight: 800;

    border-radius: 5px;

    transition: 0.2s ease;
}


.coach-cta-button:hover {
    transform: translateY(-2px);
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    background: var(--navy);

    color: rgba(255, 255, 255, 0.75);

    text-align: center;

    padding: 25px 15px;

    font-size: 12px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 800px) {

    .header-container {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 17px;
    }

    .main-nav a {
        font-size: 11px;
    }


    .coach-intro {
        padding: 60px 0;
    }


    .problem-grid,
    .comparison-grid,
    .student-grid {
        grid-template-columns: 1fr;
    }


    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .dark-content {
        padding: 45px 28px;
    }

}


@media (max-width: 500px) {

    .coach-problem,
    .coach-difference,
    .coach-student,
    .coach-method,
    .coach-cta {
        padding: 55px 0;
    }


    .method-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }


    .dark-content {
        padding: 40px 22px;
        border-radius: 8px;
    }


    .problem-card,
    .comparison-card {
        padding: 25px;
    }


    .cta-box {
        padding: 45px 22px;
    }

}
/* ==========================================================
           INTRODUCTION
           ========================================================== */
        .intro {
            padding: 80px 0 55px;
            text-align: center;
            background: white;
        }

        .section-label {
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #e67e22;
            margin-bottom: 10px;
        }

        .intro h1 {
            font-size: 42px;
            margin: 15px 0 25px;
            line-height: 1.2;
            color: #1a1a2e;
        }

        .intro h1 span {
            color: #e67e22;
        }

        .intro p {
            max-width: 760px;
            margin: 0 auto 12px;
            font-size: 17px;
            color: #4a4a5a;
        }

        .intro .highlight {
            margin-top: 28px;
            font-weight: 700;
            font-size: 18px;
            color: #1a1a2e;
        }

        /* ==========================================================
           CATÉGORIES
           ========================================================== */
        .categories {
            padding: 20px 0 70px;
            background: #f5f5f5;
        }

        .category {
            margin-bottom: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            background: #ffffff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
            transition: box-shadow 0.3s ease;
            border-left: 5px solid #F57C00;
        }

        .category:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .category-header {
            width: 100%;
            min-height: 68px;
            padding: 15px 22px;
            display: flex;
            align-items: center;
            gap: 15px;
            border: none;
            background: #ffffff;
            cursor: pointer;
            text-align: left;
            font-family: inherit;
            transition: background 0.2s ease;
        }

        .category-header:hover {
            background: #fdf6ed;
        }

        .category-number {
            font-size: 13px;
            font-weight: 700;
            min-width: 30px;
            color: #e67e22;
        }

        .category-icon {
            font-size: 24px;
        }

        .category-title {
            flex: 1;
            font-size: 16px;
            font-weight: 700;
            color: #1a1a2e;
        }

        .category-arrow {
            font-size: 26px;
            font-weight: 300;
            color: #e67e22;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .category.is-open .category-arrow {
            transform: rotate(45deg);
        }

        .category-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .category.is-open .category-content {
            max-height: 5000px;
        }

        /* ==========================================================
           QUESTIONS
           ========================================================== */
        .question-item {
            border-top: 1px solid #e8e8e8;
        }

        .question-item:first-child {
            border-top: none;
        }

        .question-header {
            width: 100%;
            min-height: 56px;
            padding: 15px 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            border: none;
            background: #fafafa;
            cursor: pointer;
            text-align: left;
            font-family: inherit;
            font-size: 15px;
            font-weight: 600;
            color: #1a1a2e;
            transition: background 0.2s ease;
        }

        .question-header:hover {
            background: #fdf6ed;
        }

        .question-arrow {
            flex-shrink: 0;
            font-size: 20px;
            color: #e67e22;
            transition: transform 0.3s ease;
        }

        .question-item.is-open .question-arrow {
            transform: rotate(45deg);
        }

        .question-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 25px;
            background: #ffffff;
            transition: max-height 0.4s ease, padding 0.4s ease;
        }

        .question-item.is-open .question-answer {
            max-height: 1200px;
            padding: 20px 25px 25px;
        }

        .question-answer p {
            margin-bottom: 14px;
            font-size: 15px;
            color: #333;
            line-height: 1.8;
        }

        .question-answer p:last-child {
            margin-bottom: 0;
        }

        .question-answer strong {
            color: #1a1a2e;
        }

        .question-answer ul, .question-answer ol {
            margin: 10px 0 14px 25px;
            color: #333;
            font-size: 15px;
            line-height: 1.8;
        }

        .question-answer li {
            margin-bottom: 8px;
        }

        .answer-link {
            display: inline-block;
            margin-top: 8px;
            padding: 8px 18px;
            background: #e67e22;
            color: white;
            border-radius: 5px;
            font-weight: 700;
            text-decoration: none;
            font-size: 14px;
            transition: background 0.2s ease, transform 0.1s ease;
        }

        .answer-link:hover {
            background: #d35400;
            transform: scale(1.02);
        }

        /* ==========================================================
           BLOCS FINAUX
           ========================================================== */
        .block-cta {
            padding: 70px 0;
            text-align: center;
        }

        .block-cta.gray {
            background: #f5f5f5;
        }

        .block-cta.dark {
            background: #1a1a2e;
            color: white;
        }

        .block-cta.dark h2 {
            color: white;
        }

        .block-cta.dark p {
            color: rgba(255, 255, 255, 0.85);
        }

        .block-cta h2 {
            font-size: 32px;
            margin: 15px 0 20px;
            color: #1a1a2e;
        }

        .block-cta p {
            max-width: 700px;
            margin: 0 auto 15px;
            font-size: 17px;
            color: #4a4a5a;
        }

        .btn {
            display: inline-block;
            margin-top: 15px;
            padding: 14px 35px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 700;
            font-size: 16px;
            transition: all 0.2s ease;
        }

        .btn-primary {
            background: #e67e22;
            color: white;
        }

        .btn-primary:hover {
            background: #d35400;
            transform: scale(1.02);
        }

        .btn-secondary {
            background: #e67e22;
            color: white;
        }

        .btn-secondary:hover {
            background: #d35400;
            transform: scale(1.02);
        }

        /* ==========================================================
           FOOTER
           ========================================================== */
        footer {
            background: #1a1a2e;
            color: rgba(255, 255, 255, 0.6);
            padding: 40px 0;
            text-align: center;
            border-top: 3px solid #e67e22;
        }

        footer p {
            font-size: 14px;
        }

        /* ==========================================================
           RESPONSIVE
           ========================================================== */
        @media (max-width: 700px) {
            .intro {
                padding: 55px 0 40px;
            }

            .intro h1 {
                font-size: 30px;
            }

            .intro p {
                font-size: 15px;
            }

            .category-header {
                padding: 14px 15px;
                gap: 10px;
            }

            .category-title {
                font-size: 14px;
            }

            .question-header {
                padding: 14px 16px;
                font-size: 14px;
            }

            .question-answer {
                padding: 0 16px;
            }

            .question-item.is-open .question-answer {
                padding: 16px 16px 20px;
            }

            .question-answer p {
                font-size: 14px;
            }

            .question-answer ul, .question-answer ol {
                font-size: 14px;
                margin-left: 20px;
            }

            .block-cta {
                padding: 50px 0;
            }

            .block-cta h2 {
                font-size: 25px;
            }

            header .container {
                flex-direction: column;
                gap: 15px;
            }

            nav {
                gap: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }

            nav a {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .container {
                width: 95%;
            }

            .category-header {
                padding: 12px 12px;
                gap: 8px;
                flex-wrap: wrap;
            }

            .category-number {
                font-size: 11px;
                min-width: 22px;
            }

            .category-icon {
                font-size: 20px;
            }

            .category-title {
                font-size: 13px;
                min-width: 100%;
                order: 3;
            }

            .category-arrow {
                font-size: 22px;
            }

            .question-header {
                padding: 12px 14px;
                font-size: 13px;
            }

            .answer-link {
                padding: 6px 14px;
                font-size: 13px;
            }

            nav {
                gap: 12px;
            }

            nav a {
                font-size: 13px;
            }
        }
        /* Lien actif "MATHÉMATIQUES" */
.nav-menu li a.active {
    background: #F57C00;
    color: #ffffff;
}

.nav-menu li a.active:hover {
    background: #e06b00;
}

/* Indicateur de page active */
.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #F57C00;
    border-radius: 2px;
}

/* ==========================================================
   RESPONSIVE POUR LA NAVIGATION
   ========================================================== */

@media (max-width: 1024px) {
    .nav-menu li a {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        height: 60px;
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #19182f;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 2px solid #F57C00;
        display: none;
        width: 100%;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
        white-space: normal;
    }

    .nav-menu li a.active::after {
        display: none;
    }

    /* Ajouter le bouton hamburger avec CSS pur */
    .navbar::after {
        content: '\f0c9';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar.open::after {
        content: '\f00d';
    }
}

@media (max-width: 600px) {
    .top-bar {
        display: none;
    }

    .logo a {
        font-size: 16px;
    }

    .nav-container {
        height: 55px;
    }

    .nav-menu {
        top: 55px;
    }
}
/* ==========================================================
   PAGE VIDÉOS — MÉTHODE PRÉPA
========================================================== */

:root {
    --videos-orange: #f28c00;
    --videos-black: #111111;
    --videos-text: #333333;
    --videos-muted: #666666;
    --videos-light: #f7f7f7;
    --videos-border: #e5e5e5;
    --videos-white: #ffffff;
}


/* ==========================================================
   STRUCTURE GÉNÉRALE
========================================================== */

.videos-page {
    width: 100%;
    background: var(--videos-white);
}

.videos-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* ==========================================================
   INTRODUCTION
========================================================== */

.videos-intro {
    padding: 85px 20px 75px;
    text-align: center;
    background: #fafafa;
}

.videos-label {
    margin: 0 0 18px;
    color: var(--videos-orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.videos-intro h1 {
    margin: 0;
    color: var(--videos-black);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
}

.videos-intro h1 span {
    color: var(--videos-orange);
}

.videos-line {
    width: 65px;
    height: 4px;
    margin: 25px auto 28px;
    background: var(--videos-orange);
}

.videos-intro-text {
    max-width: 760px;
    margin: 0 auto 12px;
    color: var(--videos-text);
    font-size: 17px;
    line-height: 1.7;
}

.videos-intro-question {
    margin: 28px auto 0;
    color: var(--videos-black);
    font-size: 17px;
}


/* ==========================================================
   SECTIONS
========================================================== */

.videos-section {
    padding: 80px 20px;
    
}

.videos-understand {
    background: var(--videos-white);
}

.videos-foundations {
    background: var(--videos-light);
}

.videos-final {
    background: var(--videos-white);
}


/* ==========================================================
   TITRES DE SECTIONS
========================================================== */

.videos-section-heading {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.videos-section-label {
    margin: 0 0 12px;
    color: var(--videos-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.videos-section-heading h2 {
    margin: 0;
    color: var(--videos-black);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.videos-small-line {
    width: 50px;
    height: 3px;
    margin: 18px auto 20px;
    background: var(--videos-orange);
}

.videos-section-heading > p:last-child {
    max-width: 680px;
    margin: 0 auto;
    color: var(--videos-muted);
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   GRILLES VIDÉOS
========================================================== */

.videos-grid {
    display: grid;
    gap: 32px;
}

.videos-grid-large {
    grid-template-columns: repeat(2, 1fr);
}


/*
   DISCIPLINE + RÉGULARITÉ
   EXACTEMENT LA MÊME LOGIQUE QUE LA PREMIÈRE GRILLE
*/

.videos-grid-three {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* ==========================================================
   CARTES VIDÉO
========================================================== */

.video-card {
    overflow: hidden;
    background: var(--videos-white);
    border: 1px solid var(--videos-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    border-left: 5px solid #F57C00;
}



.video-card-small {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
}


/*
   DISCIPLINE + RÉGULARITÉ :
   mêmes dimensions et même apparence qu'une carte standard
*/

.videos-grid-three .video-card {
    width: 100%;
    max-width: none;
    margin: 0;
}


/* ==========================================================
   ZONE YOUTUBE
========================================================== */

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111111;
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================
   CONTENU DES CARTES
========================================================== */

.video-card-content {
    padding: 28px 30px 32px;
}

.video-card-label {
    margin: 0 0 8px;
    color: var(--videos-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.video-card-content h3 {
    margin: 0 0 15px;
    color: var(--videos-black);
    font-size: 25px;
    line-height: 1.2;
}

.video-card-content p:not(.video-card-label) {
    margin: 0 0 13px;
    color: var(--videos-text);
    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   VIDÉOS À INTÉGRER PLUS TARD
========================================================== */

.video-frame-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: #ffffff;
}

.video-placeholder span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--videos-orange);
    font-size: 22px;
}

.video-placeholder p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}


/* ==========================================================
   SECTION CONSTAT FINAL
========================================================== */

.videos-final-card {
    width: min(360px, 100%);
    margin: 0 auto;
    overflow: hidden;
    background: var(--videos-white);
    border: 1px solid var(--videos-border);
    border-radius: 14px;
    border-left: 5px solid #F57C00;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.videos-final-card .video-card-content {
    padding: 24px 25px 27px;
}


/* ==========================================================
   SECTION MÉTHODE
========================================================== */

.videos-method {
    background: var(--videos-white);
}

.videos-method-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 55px 50px;
    text-align: center;
    background: #fafafa;
    border: 1px solid var(--videos-border);
    border-radius: 14px;
}

.videos-method-box h2 {
    margin: 0;
    color: var(--videos-black);
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.videos-method-box .videos-small-line {
    margin-bottom: 22px;
}

.videos-method-box p:not(.videos-section-label) {
    max-width: 700px;
    margin: 0 auto 15px;
    color: var(--videos-text);
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   SECTION YOUTUBE
========================================================== */

.videos-youtube {
    padding: 80px 20px 90px;
    text-align: center;
    background: var(--videos-black);
}

.videos-youtube .videos-section-label {
    color: var(--videos-orange);
}

.videos-youtube h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.videos-youtube p {
    max-width: 700px;
    margin: 0 auto 10px;
    color: #dddddd;
    font-size: 16px;
    line-height: 1.7;
}

.videos-youtube-button {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 28px;
    color: #ffffff;
    background: var(--videos-orange);
    border: 2px solid var(--videos-orange);
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: 0.25s ease;
}

.videos-youtube-button:hover {
    color: var(--videos-orange);
    background: transparent;
}


/* ==========================================================
   FOOTER
========================================================== */

.videos-footer {
    padding: 25px 20px;
    text-align: center;
    background: #080808;
}

.videos-footer p {
    margin: 0;
    color: #999999;
    font-size: 13px;
}


/* ==========================================================
   TABLETTE
========================================================== */

@media (max-width: 900px) {

    .videos-grid-large {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .videos-grid-three {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .videos-intro {
        padding: 55px 18px 50px;
    }

    .videos-intro h1 {
        font-size: 2.35rem;
    }

    .videos-intro-text {
        font-size: 15px;
    }

    .videos-section {
        padding: 55px 17px;
    }

    .videos-section-heading {
        margin-bottom: 35px;
    }

    .videos-section-heading h2 {
        font-size: 2rem;
    }

    .videos-grid-large,
    .videos-grid-three {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .video-card-content {
        padding: 23px 22px 26px;
    }

    .video-card-content h3 {
        font-size: 22px;
    }

    .video-card-content p:not(.video-card-label) {
        font-size: 15px;
    }

    .videos-method-box {
        padding: 38px 22px;
    }

    .videos-youtube {
        padding: 55px 18px 65px;
    }

    .videos-youtube h2 {
        font-size: 2rem;
    }

    .videos-youtube-button {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
}



        /* =========================================
   HERO
========================================= */

.plan-hero {
    background: #f7f7f7;
    border-bottom: 1px solid #eeeeee;
}

.plan-hero-inner {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;

    padding: 75px 25px 70px;
}

.page-number {
    color: #ff7900;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.plan-hero h1 {
    margin: 0;

    font-size: 42px;
    font-weight: 800;
}

.orange-line {
    width: 55px;
    height: 3px;

    background: #ff7900;

    margin: 22px auto;
}

.hero-baseline {
    font-size: 20px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-text {
    max-width: 650px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   STRUCTURE GENERALE
========================================= */

.content-container {
    max-width: 900px;
    margin: 0 auto;

    padding-left: 25px;
    padding-right: 25px;
}

.content-section {
    padding: 65px 0;
}

.introduction {
    text-align: center;
}

.introduction h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.introduction p {
    max-width: 700px;
    margin: 10px auto;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   ANNEES
========================================= */

.year-section {
    padding: 70px 0;

    background: #ffffff;
}

.year-two {
    background: #f7f7f7;
}

.year-heading {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 45px;
}

.year-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border: 2px solid #ff7900;

    color: #ff7900;

    font-size: 17px;
    font-weight: 800;
}

.year-label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    color: #ff7900;

    margin-bottom: 5px;
}

.year-heading h2 {
    margin: 0;

    font-size: 32px;
}


/* =========================================
   PERIODES
========================================= */

.period-card {
    border-left: 3px solid #ff7900;

    padding: 25px 30px;

    margin-bottom: 25px;

    background: #ffffff;
}

.period-date {
    color: #ff7900;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.5px;

    margin-bottom: 8px;
}

.period-card h3 {
    margin: 0 0 15px;

    font-size: 22px;
}

.period-card p {
    line-height: 1.7;
}

.period-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.period-card li {
    margin-bottom: 10px;

    line-height: 1.6;
}

.period-card strong {
    color: #171717;
}


/* =========================================
   PASSERELLE
========================================= */

.bridge-section {
    padding: 75px 0;

    background: #171717;

    color: #ffffff;
}

.bridge-number {
    color: #ff7900;

    font-size: 12px;
    font-weight: 800;

    margin-bottom: 10px;
}

.bridge-section h2 {
    margin: 0 0 15px;

    font-size: 32px;
}

.bridge-intro {
    max-width: 650px;

    line-height: 1.7;

    margin-bottom: 35px;
}

.bridge-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.bridge-card {
    border: 1px solid #444444;

    padding: 25px;
}

.bridge-card span {
    color: #ff7900;

    font-size: 11px;
    font-weight: 800;
}

.bridge-card h3 {
    margin: 12px 0;

    font-size: 19px;
}

.bridge-card p {
    margin: 0;

    line-height: 1.6;
}


/* =========================================
   CONCOURS
========================================= */

.concours-card {
    border-left-width: 5px;
}


/* =========================================
   MESSAGE FINAL
========================================= */

.final-message {
    padding: 80px 0;

    text-align: center;
}

.final-line {
    width: 45px;
    height: 3px;

    background: #ff7900;

    margin: 0 auto 25px;
}

.final-message h2 {
    margin: 0 0 8px;

    font-size: 29px;
}

.final-message strong {
    display: block;

    color: #ff7900;

    font-size: 29px;
}

.final-message p {
    max-width: 650px;

    margin: 22px auto 0;

    line-height: 1.7;
}


/* =========================================
   NAVIGATION
========================================= */

.page-navigation {
    border-top: 1px solid #eeeeee;

    padding: 30px 0;
}

.page-navigation .content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link,
.next-link {
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.back-link {
    color: #222;
}

.next-link {
    color: #ff7900;
}

.back-link:hover,
.next-link:hover {
    text-decoration: underline;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .plan-hero h1 {
        font-size: 34px;
    }

    .bridge-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .plan-hero-inner {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .plan-hero h1 {
        font-size: 30px;
    }

    .hero-baseline {
        font-size: 17px;
    }

    .year-heading h2 {
        font-size: 26px;
    }

    .period-card {
        padding: 20px;
    }

    .page-navigation .content-container {
        flex-direction: column;
        gap: 20px;
    }

}
/* =========================================
   HERO
========================================= */

.plan-hero {
    background: #f7f7f7;
    border-bottom: 1px solid #eeeeee;
}

.plan-hero-inner {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;

    padding: 75px 25px 70px;
}

.page-number {
    color: #ff7900;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.plan-hero h1 {
    margin: 0;

    font-size: 42px;
    font-weight: 800;
}

.orange-line {
    width: 55px;
    height: 3px;

    background: #ff7900;

    margin: 22px auto;
}

.hero-baseline {
    font-size: 20px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-text {
    max-width: 650px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   STRUCTURE GENERALE
========================================= */

.content-container {
    max-width: 900px;
    margin: 0 auto;

    padding-left: 25px;
    padding-right: 25px;
}

.content-section {
    padding: 65px 0;
}

.introduction {
    text-align: center;
}

.introduction h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.introduction p {
    max-width: 700px;
    margin: 10px auto;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   ANNEES
========================================= */

.year-section {
    padding: 70px 0;

    background: #ffffff;
}

.year-two {
    background: #f7f7f7;
}

.year-heading {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 45px;
}

.year-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border: 2px solid #ff7900;

    color: #ff7900;

    font-size: 17px;
    font-weight: 800;
}

.year-label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    color: #ff7900;

    margin-bottom: 5px;
}

.year-heading h2 {
    margin: 0;

    font-size: 32px;
}


/* =========================================
   PERIODES
========================================= */

.period-card {
    border-left: 3px solid #ff7900;

    padding: 25px 30px;

    margin-bottom: 25px;

    background: #ffffff;
}

.period-date {
    color: #ff7900;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.5px;

    margin-bottom: 8px;
}

.period-card h3 {
    margin: 0 0 15px;

    font-size: 22px;
}

.period-card p {
    line-height: 1.7;
}

.period-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.period-card li {
    margin-bottom: 10px;

    line-height: 1.6;
}

.period-card strong {
    color: #171717;
}


/* =========================================
   PASSERELLE
========================================= */

.bridge-section {
    padding: 75px 0;

    background: #171717;

    color: #ffffff;
}

.bridge-number {
    color: #ff7900;

    font-size: 12px;
    font-weight: 800;

    margin-bottom: 10px;
}

.bridge-section h2 {
    margin: 0 0 15px;

    font-size: 32px;
}

.bridge-intro {
    max-width: 650px;

    line-height: 1.7;

    margin-bottom: 35px;
}

.bridge-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.bridge-card {
    border: 1px solid #444444;

    padding: 25px;
}

.bridge-card span {
    color: #ff7900;

    font-size: 11px;
    font-weight: 800;
}

.bridge-card h3 {
    margin: 12px 0;

    font-size: 19px;
}

.bridge-card p {
    margin: 0;

    line-height: 1.6;
}


/* =========================================
   CONCOURS
========================================= */

.concours-card {
    border-left-width: 5px;
}


/* =========================================
   MESSAGE FINAL
========================================= */

.final-message {
    padding: 80px 0;

    text-align: center;
}

.final-line {
    width: 45px;
    height: 3px;

    background: #ff7900;

    margin: 0 auto 25px;
}

.final-message h2 {
    margin: 0 0 8px;

    font-size: 29px;
}

.final-message strong {
    display: block;

    color: #ff7900;

    font-size: 29px;
}

.final-message p {
    max-width: 650px;

    margin: 22px auto 0;

    line-height: 1.7;
}


/* =========================================
   NAVIGATION
========================================= */

.page-navigation {
    border-top: 1px solid #eeeeee;

    padding: 30px 0;
}

.page-navigation .content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link,
.next-link {
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.back-link {
    color: #222;
}

.next-link {
    color: #ff7900;
}

.back-link:hover,
.next-link:hover {
    text-decoration: underline;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .plan-hero h1 {
        font-size: 34px;
    }

    .bridge-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .plan-hero-inner {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .plan-hero h1 {
        font-size: 30px;
    }

    .hero-baseline {
        font-size: 17px;
    }

    .year-heading h2 {
        font-size: 26px;
    }

    .period-card {
        padding: 20px;
    }

    .page-navigation .content-container {
        flex-direction: column;
        gap: 20px;
    }

}
.main-nav a.active {
  color: #ff7a00;
  border-bottom: 3px solid #ff7a00;
  font-weight: 600;
}