/* --- VARIABLES & RESET --- */
:root {
    /* Palette définie dans la DA */
    --bg-color: #f6f6f6;        /* Off-White */
    --text-color: #3D4C53;      /* Dark Slate */
    --secondary-color: #95a7b6; /* Blue Grey */
    --accent-color: #D64545;    /* Faded Red */
    --white: #ffffff;
    
    /* Typographie */
    --font-main: 'Poppins', sans-serif;
}

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

/* --- RESET & GLOBAL --- */
html, body {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important; /* Interdiction formelle de dépasser */
    margin: 0;
    padding: 0;
    position: relative;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    width: 100%;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 700; margin-bottom: 1rem; }
h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; color: var(--text-color); }
p { font-weight: 400; margin-bottom: 1.5rem; font-size: 1.1rem; }

.highlight { color: var(--accent-color); }

/* --- UTILITIES --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px; /* Rond comme demandé */
    font-weight: 500;
    cursor: pointer;
}
.btn-primary { background-color: var(--accent-color); color: var(--white); }
.btn-primary:hover { background-color: #b53838; transform: translateY(-2px); }
.btn-secondary { color: var(--text-color); margin-right: 15px; }
.btn-outline { border: 2px solid var(--text-color); margin-left: 10px; }
.btn-small { font-size: 0.9rem; padding: 8px 20px; text-decoration: underline; color: var(--secondary-color); transition: color 0.3s; }
.btn-small:hover { color: var(--accent-color); }

/* --- NAVBAR --- */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(246, 246, 246, 0.95);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; font-weight: 700; font-size: 1.2rem; }
.logo img { height: 40px; margin-right: 10px; }
.nav-links { display: flex; align-items: center; flex: 1; justify-content: center; gap: 30px; margin: 0 20px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-color); }

/* --- HERO SECTION --- */
.hero { padding: 100px 0; overflow: hidden; }
.hero-content { display: flex; align-items: center; justify-content: space-between; }
.hero-text { flex: 1; padding-right: 50px; }
.hero-image { flex: 1; position: relative; }

.badge {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Scrapbook Effect: Polaroid */
.polaroid {
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    transform: rotate(3deg); /* Rotation "posé sur la table" */
    position: relative;
    max-width: 650px;
}
.tape {
    width: 120px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* --- CARDS & GRIDS --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
}
.card:hover { transform: translateY(-5px); }
.card-img { margin-bottom: 20px; overflow: hidden; border-radius: 15px; height: 200px; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 15px; }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.3); font-weight: bold; }
.link-arrow { color: var(--accent-color); font-weight: 700; }

/* --- TEAM SECTION (COLLAGE) --- */
.team-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 50px; }
.team-member {
    text-align: center;
    position: relative;
    width: 250px;
}
.team-member img {
    width: 100%;
    border-radius: 10px; /* Pas complètement rond pour effet photo découpée */
    border: 5px solid white;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
}
.rotate-left { transform: rotate(-3deg); margin-top: 20px; }
.rotate-right { transform: rotate(3deg); margin-top: 20px; }
.tape-top {
    width: 80px;
    height: 25px;
    background: rgba(255,255,255,0.5);
    position: absolute;
    top: -10px;
    left: 35%;
    transform: rotate(1deg);
    z-index: 2;
}

/* --- BLOG & EVENTS --- */
.section-header-center {
    text-align: left; 
    margin-bottom: 40px;
}
.header-links {
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap; 
}
.header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.post {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    height: 100%;
}
.event-card { border-left: 5px solid var(--accent-color); }
.post-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.event-tag { color: var(--accent-color); }
.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.post:hover h3 { color: var(--accent-color); transition: 0.3s; }  

/* --- FOOTER --- */
footer { background-color: var(--text-color); color: #f6f6f6; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { filter: brightness(0) invert(1); height: 50px; margin-bottom: 20px; }
.footer-col h4 { margin-bottom: 20px; color: var(--secondary-color); }
.footer-col ul li { margin-bottom: 10px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; color: var(--secondary-color); }
.socials {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { padding-right: 0; margin-bottom: 40px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-links { position:fixed; right: 0; height:100vh; top: 0 ; background-color: var(--white);}
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

/* --- RESPONSIVE MOBILE (Écrans < 768px) --- */
@media screen and (max-width: 768px) {

    /* 1. TYPOGRAPHIE : On réduit les gros titres */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    /* 2. NAVIGATION : Transformation en Menu Burger */
    .hamburger {
        display: block; /* On affiche l'icône burger */
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--text-color);
        transition: all 0.3s ease;
    }

    /* --- DANS LA PARTIE MOBILE (en bas du fichier) --- */

.nav-links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 70%; /* On ne prend pas tout l'écran pour laisser voir le fond */
    background-color: var(--bg-color);
    
    /* 1. État Fermé : On le pousse ET on le cache complètement */
    transform: translateX(100%);
    visibility: hidden; /* C'est LA clé : l'élément n'existe plus pour le scroll */
    
    /* 2. L'astuce de transition */
    /* On attend 0.5s avant de mettre visibility:hidden pour laisser le temps au menu de glisser */
    transition: transform 0.5s ease-in-out, visibility 0s linear 0.5s;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); /* Ombre légère à gauche */
}

.nav-links-active {
    /* 3. État Ouvert */
    transform: translateX(0%);
    visibility: visible; /* Il réapparaît immédiatement */
    
    /* Pas de délai pour l'apparition */
    transition: transform 0.5s ease-in-out, visibility 0s linear 0s;
}
    
    /* Cette classe sera ajoutée par Javascript quand on clique */
    .nav-links-active {
        transform: translateX(0%); /* Le menu glisse vers le visible */
    }

    .nav-links li {
        margin-bottom: 30px;
        opacity: 0; /* Petit effet d'apparition sympa */
    }

    /* 3. HERO SECTION : On empile le texte et l'image */
    .hero-content {
        flex-direction: column-reverse; /* L'image en haut, le texte en bas */
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-top: 30px;
    }

    .cta-group {
        display: flex;
        flex-direction: column; /* Boutons l'un sous l'autre sur mobile */
        gap: 15px;
    }
    .btn-outline { margin-left: 0; } /* Reset de la marge */

    /* 4. GRILLES : Tout passe sur 1 seule colonne */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr; /* Une seule colonne qui prend 100% */
    }

    /* 5. TEAM : Ajustement marge */
    .team-grid {
        gap: 30px;
    }
    
    .nav-buttons {
        display: none; /* Optionnel : On cache les boutons header sur mobile pour simplifier */
    }
}

/* --- ANIMATION DU MENU (CSS KEYFRAMES) --- */
@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}
/* --- BANDEAU COOKIES --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 2000; /* Doit être au-dessus de tout */
    display: none; /* Caché par défaut, le JS l'affichera si besoin */
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Version Mobile du bandeau */
@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
        /* Carte mise en avant avec un ruban */
.pricing-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}
.featured-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    transform: rotate(45deg);
    background-color: var(--accent-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.pricing-header h3 {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.price-large {
    font-size: 3.5rem;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1;
}
.price-currency {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.transparency-visual-container {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.total-bar-label {
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}
.transparency-bar {
    display: flex;
    height: 55px;
    border-radius: 30px;
    overflow: hidden;
    background: #e0e0e0;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}
.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    position: relative;
}
.student-share { background-color: var(--secondary-color); width: 72%; }
.lkdm-share { background-color: var(--accent-color); width: 28%; }
.lkdm-share::before {
    content: '';
    position: absolute; left: -10px; top:0; height: 100%; width: 20px;
    background: inherit; transform: skewX(-20deg); opacity: 0.5;
}
.segment-label { z-index: 2; font-size: 0.9rem; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

.legal-note-styled {
    background-color: #edf2f7; /* Un gris-bleu très léger */
    border-left: 6px solid var(--secondary-color);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 40px;
}
.legal-note-styled i { font-size: 1.8rem; color: var(--secondary-color); }
.legal-note-styled p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-color); }
.legal-note-styled a { color: var(--accent-color); text-decoration: underline; font-weight: 500; }

@media screen and (max-width: 768px) {
    .transparency-bar { height: auto; flex-direction: column; border-radius: 15px; }
    .bar-segment { width: 100% !important; padding: 15px 0; }
    .student-share { border-radius: 15px 15px 0 0; }
    .lkdm-share { border-radius: 0 0 15px 15px; }
    .lkdm-share::before { display: none; }
}

/* =========================================
   STYLES SPÉCIFIQUES À LA PAGE CONSEILS (BLOG)
   À ajouter à la fin du fichier CSS principal
   ========================================= */

/* --- NOUVELLE VARIABLE LOCALE (Optionnel) --- */
/* J'ajoute une variable pour le bleu marine spécifique au "polo LKDM" 
   pour le bandeau du blog, pour donner une identité forte à cette section. 
   Si vous préférez utiliser le gris foncé existant, remplacez par var(--text-color) plus bas. */
:root {
    --brand-navy: var(--text-color); /* Remplacez par #2C3E50 si vous voulez un bleu marine plus prononcé */
}

/* --- SECTION HÉRO DU BLOG --- */
.blog-hero {
    background-color: var(--brand-navy); /* Utilise le bleu marine LKDM */
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    /* On retire la marge inférieure car le container qui suit a déjà du padding */
    margin-bottom: 0; 
}

.blog-hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    /* Ajustement de la taille pour un titre de section */
    font-size: 3rem;
}

.blog-hero p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9); /* Blanc légèrement transparent */
}

/* --- GRILLE DES ARTICLES --- */
/* Utilisation de CSS Grid pour une mise en page responsive automatique */
.blog-grid {
    display: grid;
    /* Crée des colonnes qui font au minimum 300px de large, 
       et remplit l'espace disponible */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px; /* Espace entre le héro et la grille */
}

/* --- CARTE ARTICLE --- */
/* Hérite des styles de base de vos .card existantes, avec des ajustements */
.article-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s all, box-shadow 0.3s all;
    overflow: hidden; /* Important pour que l'image suive les coins arrondis */
    display: flex;
    flex-direction: column; /* Permet d'aligner le contenu verticalement */
    height: 100%; /* Assure que toutes les cartes d'une rangée ont la même hauteur */
    border: 1px solid rgba(0,0,0,0.03); /* Légère bordure subtile */
}

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

/* Conteneur de l'image */
.card-image {
    height: 220px;
    width: 100%;
    position: relative;
    background-color: var(--secondary-color); /* Couleur de fond si l'image ne charge pas */
}

/* Style temporaire pour les placeholders dégradés dans le HTML */
.card-image div {
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Vrai style pour les futures images */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom subtil sur l'image au survol de la carte */
.article-card:hover .card-image img {
    transform: scale(1.05);
}

/* Contenu textuel de la carte */
.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Le contenu prend tout l'espace restant */
}

/* Catégorie au-dessus du titre */
.article-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color); /* Utilise le gris-bleu de votre palette */
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

/* Titre de l'article */
.article-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.article-title a {
    color: var(--text-color);
    transition: color 0.3s;
}

/* Au survol de toute la carte, le titre change de couleur */
.article-card:hover .article-title a {
    color: var(--accent-color); /* Utilise le rouge délavé */
}

/* Extrait de l'article */
.article-excerpt {
    color: #666; /* Un gris un peu plus clair que le texte principal */
    font-size: 1rem;
    margin-bottom: 25px;
    flex-grow: 1; /* Pousse le bouton "Lire la suite" vers le bas */
}

/* Bouton "Lire la suite" */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color); /* Utilise le rouge délavé */
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto; /* S'assure qu'il est collé en bas si le texte est court */
}

/* Ajout d'une petite flèche animée */
.read-more-btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

/* --- RESPONSIVE SPÉCIFIQUE AU BLOG --- */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 20px;
    }
    .blog-hero h1 {
        font-size: 2.2rem; /* Ajustement de la taille du titre sur mobile */
    }
    .blog-grid {
        gap: 30px; /* Réduction de l'espace entre les cartes sur mobile */
        margin-top: 40px;
    }
    .card-content {
        padding: 25px; /* Un peu moins de padding interne sur mobile */
    }
}

/* --- AJOUTS POUR LA PAGE EVENTS --- */

/* Rotation inverse pour varier de l'accueil */
.rotate-left {
    transform: rotate(-3deg);
}

/* Effet "Note Manuscrite" sur la photo */
.handwritten-date {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background-color: #ffe066; /* Jaune post-it */
    color: var(--text-color);
    padding: 10px 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif; /* Idéalement une police "Handwritten" ici */
    transform: rotate(-5deg);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    border-radius: 2px;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Petit effet "punaise" ou "scotch" sur la note */
.handwritten-date::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 30px;
    height: 15px;
    background: rgba(255,255,255,0.5); /* Effet scotch */
    transform: translateX(-50%);
}

/* --- AJOUTS PAGE TÉMOIGNAGES --- */

/* Bulle de citation collée sur la photo */
.quote-bubble {
    position: absolute;
    bottom: -15px;
    left: -20px;
    background-color: var(--white);
    color: var(--text-color);
    padding: 15px 25px;
    border-radius: 20px 20px 0 20px; /* Forme de bulle */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transform: rotate(2deg);
    border: 2px solid var(--accent-color); /* Bordure rouge LKDM */
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-bubble i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Animation douce au survol de la photo */
.polaroid:hover .quote-bubble {
    transform: rotate(0deg) scale(1.05);
    transition: 0.3s ease;
}

/* --- AJOUTS PAGE CONSEILS --- */

/* Style Post-it jaune */
.post-it-deco {
    position: absolute;
    top: -10px;
    right: -25px;
    background-color: #fff9c4; /* Jaune pâle type Post-it */
    color: var(--text-color);
    padding: 15px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 2px 4px 8px rgba(0,0,0,0.2);
    transform: rotate(5deg); /* Légèrement penché */
    z-index: 10;
    border-bottom-right-radius: 20px; /* Petit effet de coin relevé (optionnel) */
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-it-deco i {
    color: #fbc02d; /* Jaune plus foncé pour l'ampoule */
    font-size: 1.1rem;
}

/* Petit effet de zoom au survol */
.polaroid:hover .post-it-deco {
    transform: rotate(0deg) scale(1.1);
    transition: 0.3s ease;
}

/* =========================================
   STYLES SPÉCIFIQUES À LA PAGE INSCRIPTION (HUB)
   À ajouter à la fin du fichier CSS principal
   ========================================= */

/* Section Héro spécifique, plus centrée sur l'action */
.signup-hub-hero {
    background-color: var(--brand-navy); /* Fond bleu foncé pour faire ressortir les cartes blanches */
    color: var(--white);
    text-align: center;
    padding: 60px 20px 120px 20px; /* Grand padding en bas pour que les cartes chevauchent */
    position: relative;
}

.signup-hub-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.signup-hub-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Conteneur qui fait chevaucher les cartes sur le héro */
.signup-cards-container {
    margin-top: -80px; /* Remonte sur le héro bleu */
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

/* La grille pour les deux choix */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* --- CARTE DE CHOIX (CHOICE CARD) --- */
/* C'est un lien <a> qui contient toute la carte */
.choice-card-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: block;
}

.choice-card {
    background: var(--white);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet rebond subtil */
    border: 3px solid transparent; /* Prépare la bordure au survol */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Effet au survol de la carte entière */
.choice-card-link:hover .choice-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Spécifique Étudiant au survol */
.choice-card-link.student:hover .choice-card {
    border-color: var(--accent-color); /* Bordure rouge au survol */
}

/* Spécifique Aide/Senior au survol */
.choice-card-link.senior:hover .choice-card {
    border-color: var(--brand-navy); /* Bordure bleue au survol */
}

/* L'icône en haut de la carte */
.choice-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    display: inline-block;
    /* Petit background circulaire subtil derrière l'icône */
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background-color: var(--bg-color);
    transition: 0.3s;
}

.student .choice-icon { color: var(--accent-color); }
.senior .choice-icon { color: var(--brand-navy); }

.choice-card-link:hover .choice-icon {
    background-color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.choice-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--brand-navy);
}

.choice-card p {
    color: #666;
    margin-bottom: 35px;
    flex-grow: 1; /* Pour aligner les boutons en bas */
}

/* Faux bouton (visuel uniquement car tout est cliquable) */
.fake-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.student .fake-btn {
    background-color: var(--accent-color);
    color: white;
}

.senior .fake-btn {
    background-color: var(--brand-navy);
    color: white;
}

/* Lien de connexion existant */
.login-link-container {
    text-align: center;
    margin-top: 30px;
    font-weight: 500;
}
.login-link-container a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .signup-hub-hero {
        padding: 40px 20px 60px 20px;
    }
    .signup-cards-container {
        margin-top: -30px;
        padding-bottom: 40px;
    }
    .choice-card {
        padding: 40px 25px;
    }
}

/* =========================================
   STYLES SPÉCIFIQUES À LA PAGE FAQ (ACCORDÉON)
   À ajouter à la fin du fichier style.css
   ========================================= */

/* Style du conteneur de chaque question/réponse */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden; /* Important pour cacher la réponse quand elle est repliée */
}

/* Le bouton qui sert de titre à la question */
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-main); /* Utilise la police globale Poppins */
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9; /* Légèrement plus gris au survol */
}

/* L'icône +/- à droite */
.faq-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Style quand la question est active (ouverte) */
.faq-question.active {
    background-color: #f9f9f9;
}

/* Rotation et changement de couleur de l'icône quand actif */
.faq-question.active .faq-icon {
    transform: rotate(45deg); /* Le + devient un x */
    color: var(--accent-color); /* Devient rouge */
}

/* Le conteneur de la réponse (caché par défaut) */
.faq-answer {
    max-height: 0; /* Hauteur 0 = caché */
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* Animation fluide de la hauteur */
    padding: 0 25px;
}

/* Le texte à l'intérieur de la réponse */
.faq-answer p {
    padding-bottom: 25px;
    margin-top: 10px;
    color: #666; /* Un gris un peu plus doux pour le texte long */
    line-height: 1.7;
    font-size: 1rem;
}

/* Style pour les titres de section intermédiaires (ex: Pour les Seniors) */
.faq-section-title {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

/* Petite ligne décorative sous les titres de section */
.faq-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* =========================================
   STYLES POUR LES PAGES D'ARTICLES (Événements, Conseils, Témoignages)
   ========================================= */

/* --- Bannières Héro des Articles --- */
/* L'image de fond spécifique doit être définie en inline style dans le HTML de chaque page */
.article-hero {
    background-size: cover;
    background-position: center;
    /* Couleur de fond par défaut si l'image ne charge pas */
    background-color: var(--brand-navy, #0A2342); 
    color: var(--white);
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    /* Assure que le dégradé couvre bien tout */
    overflow: hidden;
}

/* Ajout automatique d'un calque sombre (overlay) sur l'image pour la lisibilité du texte */
.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dégradé bleu marine caractéristique de la marque */
    background: linear-gradient(to bottom, rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.9));
    z-index: 1;
}

/* Important : place le contenu (texte, titre) au-dessus du calque sombre */
.article-hero .container {
    position: relative;
    z-index: 2;
}

.article-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.article-hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    color: rgba(255,255,255,0.95);
}

/* --- Méta-données (Date, Lieu, Auteur...) --- */
.article-meta {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 35px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.15); /* Fond blanc transparent */
    padding: 10px 25px;
    border-radius: 30px;
    backdrop-filter: blur(5px); /* Effet de flou moderne */
    font-weight: 500;
    font-size: 0.95rem;
}

.article-meta-item i {
    color: var(--accent-color); /* Icônes en rouge pour le contraste */
}

/* --- Fil d'Ariane (Breadcrumb) --- */
.breadcrumb {
    padding: 25px 0;
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.breadcrumb a {
    color: var(--text-color);
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--accent-color);
}

/* --- Contenu Principal de l'article (Colonne Gauche) --- */
.article-content-box {
    background: var(--white);
    padding: 45px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Style des titres dans le contenu de l'article */
.article-content-box h2 {
     color: var(--brand-navy, #2C3E50);
     margin-top: 10px;
     margin-bottom: 25px;
     font-size: 1.8rem;
}

.article-content-box h3 {
     color: var(--brand-navy, #2C3E50);
     margin-top: 40px;
     margin-bottom: 15px;
     font-size: 1.4rem;
}

/* Style des listes à puces dans l'article */
.article-content-box ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

/* --- Sidebar (Colonne Droite - Infos pratiques) --- */
/* Permet à la sidebar de rester collée en haut lors du scroll sur grands écrans */
.sidebar-sticky {
    position: sticky;
    top: 100px; /* Marge depuis le haut de l'écran */
}

.article-sidebar-box {
    background-color: #f8fafc; /* Gris très très léger, presque blanc */
    border-radius: 25px;
    padding: 35px;
    border-left: 5px solid var(--accent-color); /* Bordure rouge caractéristique */
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sidebar-title {
    color: var(--brand-navy, #2C3E50);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

/* Blocs d'info dans la sidebar */
.sidebar-info-block {
    margin-bottom: 25px;
}

.sidebar-label {
    display: block;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-label i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.sidebar-value {
    font-size: 1.1rem;
    color: #555;
    padding-left: 28px; /* Alignement sous le texte du label */
}

.sidebar-value.highlight {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.3rem;
}


/* --- RESPONSIVE POUR CE TEMPLATE --- */
@media (max-width: 992px) {
    /* Sur tablette et mobile : on passe en une seule colonne */
    .grid-2.article-layout {
         grid-template-columns: 1fr;
         gap: 50px;
    }
    
    /* On désactive l'effet "sticky" de la sidebar sur mobile car ça peut gêner */
    .sidebar-sticky {
        position: static !important;
    }
    
    .article-hero {
        padding: 80px 0 60px 0;
    }
    
    .article-hero h1 {
        font-size: 2.2rem;
    }
    
    .article-content-box, .article-sidebar-box {
        padding: 30px;
    }
}

/* =========================================
   STYLE DU RUBAN "ÉVÉNEMENT PASSÉ" SUR LE HÉRO
   À ajouter à la fin de style.css
   ========================================= */

.hero-ribbon-past {
    position: absolute; /* Se positionne par rapport à la section hero */
    top: 30px;          /* Distance du haut */
    left: 0;            /* Collé au bord gauche */
    
    /* Style visuel */
    background-color: var(--accent-color); /* Un gris-bleu sérieux pour "passé" */
    color: var(--white);       /* Texte blanc */
    padding: 10px 25px 10px 20px; /* Un peu plus d'espace à droite pour l'effet */
    
    /* Typographie */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    
    /* Forme du ruban */
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3); /* Ombre pour le relief */
    
    /* S'assure qu'il est bien visible au-dessus de l'image de fond */
    z-index: 10; 
}

/* =========================================
   AMÉLIORATIONS VISUELLES DES ARTICLES (BLOG)
   À ajouter à la fin de css/style.css
   ========================================= */

/* --- 1. Listes "Checklist" plus visuelles --- */
.article-content-box ul.visual-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.article-content-box ul.visual-list li {
    background-color: #f8fafc; /* Fond très léger */
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

/* Petit effet au survol */
.article-content-box ul.visual-list li:hover {
    transform: translateX(5px);
    border-color: var(--accent-color);
}

/* L'icône dans la liste */
.article-content-box ul.visual-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 2px; /* Alignement optique avec le texte */
    flex-shrink: 0; /* Empêche l'icône de s'écraser */
}

/* --- 2. Boîte "Conseil Pro / Astuce" --- */
.pro-tip-box {
    background-color: #e3f2fd; /* Bleu très clair */
    border-left: 5px solid var(--brand-navy, #2C3E50); /* Bordure bleue foncée */
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 35px 0;
    position: relative;
}

.pro-tip-box h3 {
    color: var(--brand-navy, #2C3E50);
    margin-top: 0 !important; /* Annule la marge par défaut des h3 dans l'article */
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- 3. Appel à l'action (CTA) Sidebar percutant --- */
.sidebar-cta-card {
    background: var(--accent-color); /* Fond rouge */
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(214, 69, 69, 0.3); /* Ombre rouge diffuse */
}

.sidebar-cta-card h3 {
    color: var(--white) !important;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.sidebar-cta-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Bouton blanc dans le CTA rouge */
.btn-white-cta {
    background-color: var(--white);
    color: var(--accent-color);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    width: 100%;
    transition: 0.3s;
}

.btn-white-cta:hover {
    background-color: var(--brand-navy, #2C3E50);
    color: var(--white);
    transform: translateY(-3px);
}

/* =========================================
   AJUSTEMENT DES LISTES VISUELLES (TITRES AU-DESSUS)
   À ajouter à la fin de css/style.css
   ========================================= */

/* Le conteneur du texte à droite de l'icône */
.visual-list-content {
    flex: 1; /* Prend tout l'espace restant */
}

/* Le titre (anciennement strong) */
.visual-list-content h4 {
    margin: 0 0 5px 0; /* Pas de marge au-dessus, petite marge en dessous */
    color: var(--brand-navy, #2C3E50);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Le paragraphe de description */
.visual-list-content p {
    margin: 0; /* Annule la marge par défaut des paragraphes */
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}