/* Styles de includes/vie-etudiante-styles.php (extraits de la page, même ordre) */

    .ve-page {
        --ve-dark: var(--dark-color, #2c3e50);
        --ve-dark-2: #34495e;
        --ve-gold: var(--secondary-color, #E4B271);
        --ve-gold-text: #8a6230;
        --ve-gold-soft: rgba(228, 178, 113, 0.14);
        --ve-red: var(--red-color, #ff3e00);
        --ve-muted: #6c757d;
        color: var(--ve-dark);
    }

    /* ---------- Hero (photo + voile, comme le slider d'accueil) ---------- */
    .ve-hero {
        position: relative;
        overflow: hidden;
        color: #fff;
        min-height: 640px;
        display: flex;
        align-items: center;
        padding: 7rem 0 6rem;
        background: #2c3e50 var(--ve-hero-img, url('../images/campus-unah.webp')) center / cover no-repeat;
    }

    .ve-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(44, 62, 80, 0.92) 0%, rgba(44, 62, 80, 0.72) 50%, rgba(44, 62, 80, 0.4) 100%),
            linear-gradient(135deg, rgba(44, 62, 80, 0.57), rgba(231, 181, 115, 0.27));
    }

    .ve-hero .container { position: relative; z-index: 1; width: 100%; }

    .ve-breadcrumb {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
        padding: 0.5rem 0.9rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(4px);
        font-size: 0.88rem;
        margin-bottom: 1.75rem;
    }

    .ve-breadcrumb a { color: #fff; text-decoration: none; opacity: 0.85; }
    .ve-breadcrumb a:hover { opacity: 1; color: var(--ve-gold); }

    .ve-eyebrow {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: var(--ve-gold);
        font-weight: 700;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .ve-eyebrow::before {
        content: '';
        width: 32px;
        height: 3px;
        border-radius: 2px;
        background: var(--ve-gold);
    }

    .ve-hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
        font-weight: bold;
        line-height: 1.15;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .ve-hero .lead {
        font-size: 1.2rem;
        max-width: 620px;
        line-height: 1.7;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        opacity: 0.95;
    }

    .ve-hero-icon {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 6rem;
        color: var(--ve-gold);
        background: rgba(228, 178, 113, 0.12);
        border: 1px solid rgba(228, 178, 113, 0.35);
    }

    /* Portrait du responsable (président, aumônier, infirmière chef) */
    .ve-hero-portrait { position: relative; width: min(330px, 100%); margin: 0 auto; }

    .ve-hero-portrait-frame {
        position: relative;
        aspect-ratio: 4 / 5;
        border-radius: 200px 200px 20px 20px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.08);
        border: 5px solid var(--ve-gold);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    }

    .ve-hero-portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

    .ve-hero-portrait-frame .ve-portrait-initials {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 5.5rem;
        font-weight: 800;
        color: var(--ve-gold);
        background: linear-gradient(160deg, var(--ve-dark-2), var(--ve-dark));
    }

    .ve-hero-portrait-badge {
        position: absolute;
        left: 50%;
        bottom: -1.6rem;
        transform: translateX(-50%);
        width: max-content;
        max-width: 110%;
        background: #fff;
        color: var(--ve-dark);
        border-radius: 12px;
        border-bottom: 3px solid var(--ve-gold);
        padding: 0.75rem 1.25rem;
        text-align: center;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    }

    .ve-hero-portrait-badge strong { display: block; font-size: 1.02rem; line-height: 1.3; }
    .ve-hero-portrait-badge span { display: block; font-size: 0.82rem; color: var(--ve-gold-text); font-weight: 600; }

    /* Badge rouge, comme le badge « New » du slider d'accueil */
    .ve-hero-portrait-tag {
        position: absolute;
        top: 1.25rem;
        right: -0.75rem;
        z-index: 1;
        background: var(--ve-red);
        color: #fff;
        font-weight: 700;
        font-size: 0.78rem;
        padding: 0.35rem 0.8rem;
        border-radius: 6px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    }

    @media (max-width: 991.98px) {
        .ve-hero { min-height: 0; padding: 6rem 0 5rem; }
        .ve-hero::before { background: linear-gradient(180deg, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.75)); }
        .ve-hero-portrait { width: min(260px, 80%); margin-top: 3rem; margin-bottom: 1.5rem; }
    }

    /* ---------- Boutons (comme .btn-primary-custom / .btn-login de l'accueil) ---------- */
    .ve-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

    .ve-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.8rem;
        border-radius: 50px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s;
    }

    .ve-btn:hover { transform: translateY(-2px); }
    .ve-btn-light { background: var(--ve-gold); color: var(--ve-dark); box-shadow: 0 10px 25px rgba(228, 178, 113, 0.3); }
    .ve-btn-light:hover { background: #fff; color: var(--ve-dark); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2); }
    .ve-btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, 0.35); }
    .ve-btn-ghost:hover { color: var(--ve-dark); background: #fff; border-color: #fff; }

    /* ---------- Bande de chiffres (comme .quick-stats) ---------- */
    .ve-stats {
        background-color: var(--ve-dark);
        position: relative;
        z-index: 10;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 0.5rem 0;
    }

    .ve-stat { text-align: center; padding: 1.5rem 0.75rem; color: #fff; }
    .ve-stat-value { font-size: 2rem; font-weight: bold; line-height: 1.1; color: var(--ve-gold); text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); }
    .ve-stat-label { font-size: 1rem; opacity: 0.95; margin-top: 0.4rem; }

    /* ---------- Sections et titres (comme .section-title) ---------- */
    .ve-section { padding: 5rem 0; background: #fff; }
    .ve-section-alt { background: #f4f4f4; }

    .ve-title { max-width: 760px; margin: 0 0 3rem; }
    .ve-title .ve-kicker {
        display: inline-block;
        color: var(--ve-gold-text);
        font-weight: 700;
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin-bottom: 0.4rem;
    }
    .ve-title h2 {
        position: relative;
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
        font-weight: bold;
        color: var(--ve-dark);
        margin: 0 0 1rem;
        padding-bottom: 1rem;
    }
    .ve-title h2::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100px;
        height: 4px;
        border-radius: 2px;
        background: var(--ve-gold);
    }
    .ve-title p { color: var(--ve-muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }

    /* ---------- Cartes (comme .link-card de l'accueil) ---------- */
    .ve-card {
        position: relative;
        background: #fff;
        border: 1px solid rgba(44, 62, 80, 0.06);
        border-radius: 16px;
        padding: 28px;
        height: 100%;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(44, 62, 80, 0.05);
        transition: all 0.3s ease;
    }

    .ve-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--ve-gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .ve-card:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 20px 40px rgba(44, 62, 80, 0.14); }
    .ve-card:hover::before { transform: scaleX(1); }

    .ve-card-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--ve-gold);
        background: var(--ve-dark);
        margin-bottom: 1.25rem;
        transition: transform 0.3s ease;
    }
    .ve-card:hover .ve-card-icon { transform: scale(1.06) rotate(-4deg); }

    .ve-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--ve-dark); margin-bottom: 0.6rem; }
    .ve-card p { color: var(--ve-muted); line-height: 1.6; margin: 0; }

    .ve-mission {
        border-radius: 16px;
        padding: 2.25rem;
        height: 100%;
        background: #fff;
        border-left: 5px solid var(--ve-gold);
        box-shadow: 0 4px 16px rgba(44, 62, 80, 0.06);
    }
    .ve-mission h3 { color: var(--ve-dark); font-weight: 700; display: flex; gap: 0.6rem; align-items: center; }
    .ve-mission h3 i { color: var(--ve-gold); }
    .ve-mission p { color: var(--ve-muted); line-height: 1.8; margin: 1rem 0 0; }

    /* Citation : même traitement sombre que la carte « MyUNAH » de l'accueil */
    .ve-quote {
        position: relative;
        overflow: hidden;
        height: 100%;
        border-radius: 20px;
        padding: 2.5rem;
        color: #fff;
        background: linear-gradient(135deg, var(--ve-dark), var(--ve-dark-2));
        box-shadow: 0 20px 50px rgba(44, 62, 80, 0.25);
    }
    .ve-quote::before {
        content: '';
        position: absolute;
        top: -70px;
        right: -70px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(228, 178, 113, 0.18), transparent 70%);
    }
    .ve-quote .bi-quote { font-size: 3.5rem; color: var(--ve-gold); opacity: 0.6; position: absolute; top: 0.75rem; right: 1.5rem; }
    .ve-quote blockquote { position: relative; font-size: 1.25rem; line-height: 1.7; font-style: italic; margin: 0 0 1rem; }
    .ve-quote cite { position: relative; color: var(--ve-gold); font-style: normal; font-weight: 700; }

    /* ---------- Membres ---------- */
    .ve-avatar {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        object-fit: cover;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 4px solid #fff;
        box-shadow: 0 0 0 3px var(--ve-gold), 0 10px 22px rgba(44, 62, 80, 0.15);
    }

    .ve-avatar-initials { background: linear-gradient(160deg, var(--ve-dark-2), var(--ve-dark)); color: var(--ve-gold); font-weight: 800; font-size: 2rem; }

    .ve-member { text-align: center; }
    .ve-member .ve-avatar { margin-bottom: 1.1rem; }
    .ve-member h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
    .ve-role {
        display: inline-block;
        color: var(--ve-gold-text);
        background: var(--ve-gold-soft);
        font-weight: 600;
        font-size: 0.8rem;
        padding: 0.3rem 0.85rem;
        border-radius: 50px;
        margin-bottom: 0.75rem;
    }

    /* Carte vedette (mot du responsable), style « focus-card » de l'accueil */
    .ve-featured {
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        color: #fff;
        background: linear-gradient(135deg, var(--ve-dark), var(--ve-dark-2));
        box-shadow: 0 20px 50px rgba(44, 62, 80, 0.25);
    }
    .ve-featured::before {
        content: '';
        position: absolute;
        top: -90px;
        right: -90px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(228, 178, 113, 0.18), transparent 70%);
        pointer-events: none;
    }

    .ve-featured-photo {
        position: relative;
        height: 100%;
        padding: 3rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.04);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ve-featured-photo .ve-avatar-lg {
        width: 180px;
        height: 180px;
        font-size: 3.2rem;
        border-radius: 50%;
        object-fit: cover;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 5px solid var(--ve-gold);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
        margin-bottom: 1.25rem;
    }
    .ve-featured-photo .ve-avatar-initials { background: rgba(228, 178, 113, 0.12); }
    .ve-featured-photo h3 { font-weight: 700; font-size: 1.4rem; margin-bottom: 0.25rem; }
    .ve-featured-photo .ve-featured-role { color: var(--ve-gold); font-weight: 600; font-size: 0.92rem; }

    .ve-featured-body { position: relative; padding: 3rem; }
    .ve-featured-body h4 { font-weight: 700; font-size: 1.6rem; margin-bottom: 1rem; }
    .ve-featured-body p { color: rgba(255, 255, 255, 0.85); line-height: 1.8; }
    .ve-featured-body .bi-quote { font-size: 3rem; color: var(--ve-gold); line-height: 1; }

    .ve-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
    .ve-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
        border-radius: 50px;
        background: rgba(228, 178, 113, 0.15);
        border: 1px solid rgba(228, 178, 113, 0.3);
        color: #fff;
    }
    .ve-meta i { color: var(--ve-gold); }
    .ve-meta a { color: inherit; text-decoration: none; }

    /* ---------- Frise de réalisations ---------- */
    .ve-timeline { position: relative; max-width: 900px; }
    .ve-timeline::before {
        content: '';
        position: absolute;
        left: 27px;
        top: 0;
        bottom: 0;
        width: 3px;
        border-radius: 3px;
        background: linear-gradient(var(--ve-gold), rgba(228, 178, 113, 0.2));
    }
    .ve-timeline-item { position: relative; padding-left: 80px; margin-bottom: 1.5rem; }
    .ve-timeline-item:last-child { margin-bottom: 0; }
    .ve-timeline-dot {
        position: absolute;
        left: 0;
        top: 0.25rem;
        z-index: 1;
        width: 57px;
        height: 57px;
        border-radius: 50%;
        background: var(--ve-dark);
        color: var(--ve-gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        border: 3px solid var(--ve-gold);
        box-shadow: 0 0 0 6px #fff;
    }
    .ve-section-alt .ve-timeline-dot { box-shadow: 0 0 0 6px #f4f4f4; }
    .ve-timeline-date { color: var(--ve-gold-text); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }

    /* ---------- Horaires / listes ---------- */
    .ve-schedule { list-style: none; padding: 0; margin: 0; }
    .ve-schedule li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px dashed rgba(44, 62, 80, 0.15); }
    .ve-schedule li:last-child { border-bottom: 0; }
    .ve-schedule strong { color: var(--ve-dark); font-weight: 600; }
    .ve-schedule strong i { color: var(--ve-gold); }
    .ve-schedule span { color: var(--ve-gold-text); font-weight: 600; text-align: right; }
    .ve-schedule a { color: inherit; text-decoration: none; }

    /* ---------- Bandeau d'urgence (rouge de la charte) ---------- */
    .ve-alert {
        display: flex;
        gap: 1.25rem;
        align-items: center;
        border-radius: 16px;
        padding: 1.5rem 1.75rem;
        background: #fff;
        border: 1px solid rgba(255, 62, 0, 0.18);
        border-left: 5px solid var(--ve-red);
        box-shadow: 0 4px 16px rgba(44, 62, 80, 0.06);
    }
    .ve-alert i { font-size: 2.1rem; color: var(--ve-red); }
    .ve-alert h3 { font-size: 1.1rem; font-weight: 700; color: var(--ve-dark); margin: 0 0 0.25rem; }
    .ve-alert p { margin: 0; color: var(--ve-muted); }
    .ve-alert a { color: var(--ve-red); font-weight: 700; text-decoration: none; }

    /* ---------- CTA final (comme .cta-section de l'accueil : photo floutée + carte) ---------- */
    .ve-cta { position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0; }
    .ve-cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('../images/slider-image-apropos.png') center / cover no-repeat;
        filter: blur(6px) brightness(0.6) saturate(0.95);
        transform: scale(1.03);
    }
    .ve-cta .container { position: relative; z-index: 1; }
    .ve-cta-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1.5rem;
        border-radius: 12px;
        padding: 28px 32px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    }
    .ve-cta h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
    .ve-cta p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 640px; font-size: 1.05rem; }
    .ve-cta .ve-hero-actions { margin-top: 0; }

    /* ---------- Autres entités ---------- */
    .ve-sibling {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        border-radius: 16px;
        background: #fff;
        border: 1px solid rgba(44, 62, 80, 0.06);
        text-decoration: none;
        color: var(--ve-dark);
        box-shadow: 0 4px 16px rgba(44, 62, 80, 0.05);
        transition: all 0.3s ease;
        height: 100%;
    }
    .ve-sibling:hover { color: var(--ve-dark); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(44, 62, 80, 0.14); }
    .ve-sibling i { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: var(--ve-dark); color: var(--ve-gold); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
    .ve-sibling small { display: block; color: var(--ve-muted); }

    @media (max-width: 991.98px) {
        .ve-featured-body { padding: 2rem; }
        .ve-featured-photo { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    }

    @media (max-width: 575.98px) {
        .ve-section { padding: 3.5rem 0; }
        .ve-mission, .ve-quote, .ve-card { padding: 1.5rem; }
        .ve-alert { flex-direction: column; text-align: center; }
        .ve-schedule li { flex-direction: column; gap: 0.2rem; }
        .ve-schedule span { text-align: left; }
        .ve-cta-card { padding: 1.5rem; }
    }

    @media (prefers-reduced-motion: reduce) {
        .ve-card, .ve-btn, .ve-sibling, .ve-card-icon { transition: none; }
        .ve-card:hover, .ve-btn:hover, .ve-sibling:hover { transform: none; }
    }
