/* ==========================================================================
   LIFDY - Style.css
   Version: 6.0 - Corrections finales prioritaires
   ========================================================================== */

/* ==========================================================================
   1. RESET GLOBAL & COULEUR DE FOND BLANC PUR
   ========================================================================== */
* {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0px !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

/* ==========================================================================
   2. EN-TETE FIXE PERSISTANT
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 300;
    background: transparent;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 21, 177, 0.85) 0%, rgba(0, 21, 177, 0.4) 70%, transparent 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.header-container {
    width: 100%;
    padding: 0 10px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header.hide-header {
    transform: translateY(-100%);
}

.header.sticky-white {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.header.sticky-white::before {
    opacity: 0;
}

.header.sticky-white .brand-name {
    color: #333333;
}

.header.sticky-white .hamburger-line {
    background-color: #333333;
}

.logo-and-name {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-container .logo {
    height: 32px;
    width: auto;
    display: block;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.right-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    width: 24px;
    height: 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    z-index: 310;
    transition: opacity 0.15s ease;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.close-menu-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 320;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.close-icon-circle {
    width: 32px;
    height: 32px;
    border: 2px solid #333333;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.header.menu-open-header .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
}

.header.menu-open-header .close-menu-btn {
    opacity: 1;
    pointer-events: auto;
}

.header.menu-open-header {
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(0) !important;
}

.header.menu-open-header::before {
    opacity: 0 !important;
}

/* ==========================================================================
   3. RIDEAU DE NAVIGATION
   ========================================================================== */
.mobile-nav-link.active-link {
    color: #0015b1 !important;
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        z-index: 150;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav.active {
        transform: translateY(0);
    }

    .mobile-nav-links {
        list-style: none;
        text-align: center;
    }

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

    .mobile-nav-link {
        font-family: 'Playfair Display', serif;
        color: #333333;
        font-size: 1.8rem;
        text-decoration: none;
        font-weight: bold;
    }
}

@media (min-width: 768px) {
    .mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 60px;
        background-color: #ffffff;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
        z-index: 150;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav-links {
        list-style: none;
        display: flex;
        flex-direction: row;
    }

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

    .mobile-nav-link {
        font-family: 'Playfair Display', serif;
        color: #333333;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        line-height: 60px;
    }
}

/* ==========================================================================
   4. HERO SECTION - INDEX.HTML (avec animation d'entrée)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('../images/hero-9x16.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-bottom: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 21, 177, 0.75) 0%,
        rgba(0, 21, 177, 0.3) 30%,
        rgba(33, 173, 35, 0.25) 60%,
        rgba(33, 173, 35, 0.7) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-section {
        background-image: url('../images/hero-4x5.jpg');
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 70px 1rem 1.5rem;
    position: relative;
    z-index: 2;
    flex: 1;
    height: 100%;
    animation: heroContentFadeInUp 0.8s ease-out forwards;
}

@keyframes heroContentFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-height: 700px) {
    .hero-content {
        padding: 60px 1rem 1rem;
    }
}

@media (max-height: 600px) {
    .hero-content {
        padding: 50px 1rem 0.5rem;
    }
}

/* BANNIERE DEFILANTE */
.rentree-info {
    margin-top: 20px;
    margin-bottom: 1rem;
    width: 100%;
}

.rentree-title {
    margin-bottom: 0.6rem;
    text-align: center;
}

.rentree-year {
    display: inline-block;
    background: #cc0000;
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.rentree-details {
    background: #0015b1;
    padding: 0.6rem;
    overflow: hidden;
    border: none;
}

.scrolling-info {
    width: 100%;
    overflow: hidden;
}

.scrolling-text {
    display: flex;
    animation: scroll-left 20s linear infinite;
    white-space: nowrap;
}

.scrolling-text span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.separator {
    color: #21ad23;
    font-weight: bold;
    margin: 0 0.5rem;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ANNONCE URGENTE */
.urgent-announcement {
    margin: 1rem 0 1.5rem;
    animation: pulse-glow 2.5s infinite;
    width: 100%;
}

.announcement-link {
    display: block;
    text-decoration: none;
}

.announcement-content {
    position: relative;
    background-image: url('../images/eleve.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

@media (min-width: 650px) {
    .announcement-content {
        background-image: url('../images/eleve2.png');
    }
}

.announcement-content .hero-fume-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(0, 21, 177, 0.7) 0%,
        rgba(0, 21, 177, 0.2) 30%,
        rgba(33, 173, 35, 0.3) 60%,
        rgba(33, 173, 35, 0.75) 100%);
}

.announcement-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .announcement-inner {
        flex-direction: row;
        text-align: left;
    }
}

.announcement-icon {
    font-size: 2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.announcement-text {
    flex: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.announcement-text h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.announcement-text p {
    font-size: 0.88rem;
    opacity: 0.95;
    color: #ffffff;
}

.announcement-cta {
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #0015b1;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.cta-button.pulse {
    animation: pulse-button 1.8s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* TEXTE HERO */
.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.15;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-title { font-size: 3rem; }
}

@media (max-height: 700px) {
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
}

@media (max-height: 600px) {
    .hero-title { font-size: 1.5rem; }
}

.hero-description {
    max-width: 580px;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-description p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-height: 700px) {
    .hero-description p { font-size: 0.8rem; }
}

/* STATISTIQUES */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
    width: 100%;
}

@media (max-height: 700px) {
    .stats-container {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

.stat-item {
    text-align: center;
    background: linear-gradient(to bottom,
        rgba(0, 21, 177, 0.8) 20%,
        rgba(0, 21, 177, 0.4) 70%,
        rgba(0, 21, 177, 0.2) 90%,
        rgba(0, 21, 177, 0.1) 100%);
    padding: 1rem 0.5rem;
    border: none;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #21ad23;
    display: block;
    margin-bottom: 0.2rem;
    -webkit-text-stroke: 0.05px rgba(255, 255, 255, 1);
    paint-order: stroke fill;
}

@media (max-height: 700px) {
    .stat-number { font-size: 1.4rem; }
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@media (max-height: 700px) {
    .stat-label { font-size: 0.7rem; }
}

/* ==========================================================================
   5. HERO SECTIONS TYPE B (autres pages)
   ========================================================================== */
.about-hero-section,
.offers-hero-section,
.inscription-hero-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/eleve3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 10px 3rem;
    overflow: hidden;
}

.about-hero-section .hero-fume-overlay,
.offers-hero-section .hero-fume-overlay,
.inscription-hero-section .hero-fume-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(0, 21, 177, 0.75) 0%,
        rgba(0, 21, 177, 0.25) 30%,
        rgba(33, 173, 35, 0.3) 60%,
        rgba(33, 173, 35, 0.7) 100%);
}

.about-hero-content,
.offers-hero-content,
.inscription-hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.6rem;
    color: #ffffff;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .page-title { font-size: 2.5rem; }
    .page-subtitle { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .page-title { font-size: 1.6rem; }
    .page-subtitle { font-size: 1rem; }
}

/* ==========================================================================
   6. SECTION HEADER (commun) - TITRES RÉDUITS
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.section-subtitle {
    color: #666666;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ==========================================================================
   7. SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 0.7px solid rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    background: #ffffff;
    padding: 1.8rem 1rem;
    text-align: center;
    border: 0.4px solid rgba(0, 0, 0, 0.2);
    cursor: default;
}

.service-card:hover { background: #ffffff; }

.service-icon {
    width: 56px;
    height: 56px;
    background: #0015b1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.service-description {
    color: #4a4a4a;
    line-height: 1.5;
    font-size: 0.88rem;
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.btn-outline {
    color: #0015b1;
    border-color: #0015b1;
    background: transparent;
}

.btn-outline:hover {
    background: #0015b1;
    color: #ffffff;
}

/* ==========================================================================
   8. PROGRAMMES SECTION
   ========================================================================== */
.programs-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 0.7px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .programs-grid { grid-template-columns: repeat(3, 1fr); }
}

.program-card {
    background: #ffffff;
    border: 0.3px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.program-card:hover { background: #ffffff; }

.program-card.featured { border: 1px solid #21ad23; }

.program-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: #21ad23;
    color: #ffffff;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.program-header {
    padding: 1.8rem 1.5rem 1.2rem;
    text-align: center;
    background: linear-gradient(135deg, #0015b1 0%, #21ad23 100%);
    color: #ffffff;
}

.program-icon {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: block;
}

.program-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.program-subtitle {
    opacity: 0.9;
    font-size: 0.88rem;
    color: #ffffff;
}

.program-content { padding: 1.5rem; }

.program-features { margin-bottom: 1.5rem; }

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: #4a4a4a;
    font-size: 0.88rem;
}

.feature-item i {
    color: #21ad23;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.program-pricing {
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border: none;
}

.price-range { margin-bottom: 0.3rem; }

.price-line { padding: 0.1rem 0; }

.price-from,
.price-to {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0015b1;
}

.price-separator {
    color: #4a4a4a;
    font-size: 0.9rem;
}

.currency {
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 600;
    margin-left: 0.2rem;
}

.price-note {
    font-size: 0.8rem;
    color: #4a4a4a;
    margin-top: 0.3rem;
}

/* ==========================================================================
   9. OFFRES INTRO
   ========================================================================== */
.offers-intro-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

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

.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .intro-highlights { flex-direction: row; justify-content: center; }
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.highlight-icon {
    color: #21ad23;
    font-size: 1.1rem;
}

/* ==========================================================================
   10. DOCUMENTS SECTION
   ========================================================================== */
.documents-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.documents-content {
    max-width: 600px;
    margin: 0 auto;
}

.documents-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.documents-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #0015b1 0%, #21ad23 100%);
    color: #ffffff;
}

.documents-icon {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: block;
}

.documents-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.documents-body {
    padding: 0 0 2rem;
}


.documents-pricing {
    text-align: center;
    margin: 1.5rem 0;
}

.price-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0015b1;
}

.features-inner-card {
    background: #ffffff;
    border: none;
    padding: 1.2rem;
    margin: 0;
    
    
}

/* ==========================================================================
   11. PAGE A PROPOS - BORDURES SUPPRIMÉES, TEXTE SUR IMAGE
   ========================================================================== */
.history-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
}

.history-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.history-item {
    padding-left: 1.2rem;
    border-left: 3px solid #0015b1;
}

.history-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.6rem;
}

.history-description {
    color: #4a4a4a;
    line-height: 1.7;
}

/* Suppression de toutes les bordures du fondateur */
.founder-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Grid sans bordures */
.founder-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    border: none;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr 1fr;
    }
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    background: #ffffff;
}

/* Image avec position relative pour le texte superposé */
.founder-image {
    width: 100%;
    position: relative;
    line-height: 0;
}

.founder-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Texte superposé sur l'image (partie inférieure) */
.founder-name-role {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.founder-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.founder-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.7rem;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Citation - sans bordure */
.founder-info {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border: none;
}

.founder-quote { width: 100%; }

.founder-quote blockquote { position: relative; }

.founder-quote .quote-icon {
    font-size: 1.3rem;
    color: #0015b1;
    opacity: 0.4;
    margin-bottom: 0.5rem;
    display: block;
}

.founder-quote blockquote p {
    font-style: italic;
    color: #000000;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.founder-quote cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #4a4a4a;
    font-size: 0.88rem;
}

/* Public cible */
.target-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.target-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .target-content { grid-template-columns: repeat(3, 1fr); }
}

.target-item {
    text-align: center;
    padding: 1.8rem 1rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.target-icon {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: #0015b1;
    display: inline-block;
    line-height: 1;
}

.target-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.3rem;
}

.target-description {
    color: #4a4a4a;
    font-size: 0.88rem;
}

/* ==========================================================================
   12. FORMULAIRES D'INSCRIPTION
   ========================================================================== */
.exam-choice-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .exam-grid { grid-template-columns: repeat(4, 1fr); }
}

.exam-card {
    background: #ffffff;
    padding: 1.8rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.exam-card.featured { border: 2px solid #21ad23; }

.exam-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: #21ad23;
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
}

@media (max-width: 500px) {
    .exam-badge { font-size: 0.5rem; }
}

.exam-icon {
    font-size: 1.8rem;
    color: #0015b1;
    margin-bottom: 0.8rem;
    display: block;
}

.exam-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.2rem;
}

.exam-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #0015b1;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.exam-select-btn:hover { background: #21ad23; }

.registration-form-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.back-button {
    align-items: center;
    margin-top: 1.3rem;
    margin-bottom: 1rem;
    gap: 0.4rem;
    background: #ffffff;
    color: #0015b1;
    border: 1px solid #0015b1;
    padding: 0.2rem 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #0015b1;
    color: #ffffff;
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
}

.form-subtitle {
    color: #4a4a4a;
    font-size: 0.9rem;
}

.inscription-form {
    background: #ffffff;
    border: 0.8px solid #e5e7eb;
    padding: 1.5rem;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }

.form-section {
    padding: 1.2rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child { border-bottom: none; }

.form-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #0015b1;
    text-decoration: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

@media (min-width: 768px) {
    .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group { margin-bottom: 0.8rem; }

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #000000;
    font-size: 0.9rem;
}

.form-label i { color: #0015b1; }

.required { color: #e74c3c; }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 0.8px solid #cccccc;
    background: #ffffff;
    color: #111111;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0015b1;
    box-shadow: 0 0 0 2px rgba(0, 21, 177, 0.08);
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    min-height: 1rem;
}

.radio-group { display: flex; gap: 1.2rem; }

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.radio-label {
    color: #000000;
    cursor: pointer;
    font-size: 0.9rem;
}

.cepe-details {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 21, 177, 0.04);
    border: 1px solid #e5e7eb;
}

.form-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.checkbox-label {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0015b1;
    color: #ffffff;
    border: none;
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-button:hover { background: #21ad23; }

.submit-note {
    margin-top: 0.8rem;
    color: #4a4a4a;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.submit-note i { color: #0015b1; }

/* ==========================================================================
   13. CTA SECTION (index, offres, a-propos)
   ========================================================================== */
.cta-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #0015b1 0%, #21ad23 100%);
    color: #ffffff;
    text-align: center;
    border: none;
}

.cta-content {
    max-width: 780px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .cta-title { font-size: 2.2rem; }
}

.cta-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    opacity: 0.95;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-buttons { flex-direction: row; }
}

.cta-button.primary {
    background: #ffffff;
    color: #0015b1;
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.cta-note {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
}

.cta-note p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    opacity: 0.9;
    color: #ffffff;
}

/* ==========================================================================
   14. CONFIRMATION PAGE
   ========================================================================== */
.confirmation-section {
    padding: 4rem 0;
    background-color: #ffffff;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
}

.confirmation-content {
    text-align: center;
    padding: 0 10px;
}

.confirmation-icon {
    font-size: 3.5rem;
    color: #21ad23;
    margin-top: 1rem;
    margin-bottom: 0.01rem;
}

.confirmation-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.8rem;
}

.confirmation-message {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-actions { margin-bottom: 1.5rem; }

.confirmation-actions .section-title { margin-bottom: 1rem; }

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-buttons { grid-template-columns: repeat(2, 1fr); }
}

.contact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
    border: none;
    background: linear-gradient(135deg, #0015b1 0%, #21ad23 100%);
    color: #ffffff;
}

.contact-button:hover { opacity: 0.88; }

.contact-button i {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.contact-button span {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.contact-button small {
    opacity: 0.9;
    font-size: 0.85rem;
    color: #ffffff;
}

.return-home { margin-top: 1.5rem; }

.return-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0015b1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.return-button:hover { color: #21ad23; }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer {
    background: #ffffff;
    border-top: 1px solid #d0d0d0;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

.contact-section,
.links-section,
.company-section { padding: 0.8rem; }

.contact-title,
.links-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.contact-title::after,
.links-title::after {
    content: '';
    position: absolute;
    bottom: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #0015b1;
}

@media (min-width: 768px) {
    .contact-title::after,
    .links-title::after {
        left: 0;
        transform: none;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-item { justify-content: flex-start; }
}

.contact-icon {
    color: #0015b1;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-text {
    color: #4a4a4a;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-links { align-items: flex-start; }
}

.footer-link {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover { color: #0015b1; }

.company-logos {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .company-logos { justify-content: flex-start; }
}

.company-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.company-text {
    color: #4a4a4a;
    font-size: 0.85rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #d0d0d0;
    text-align: center;
}

.footer-bottom p {
    color: #4a4a4a;
    font-size: 0.85rem;
}

/* ==========================================================================
   16. NOTIFICATIONS
   ========================================================================== */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.notification-success { background-color: #21ad23; color: #ffffff; }
.notification-error { background-color: #e74c3c; color: #ffffff; }
.notification-info { background-color: #0015b1; color: #ffffff; }

/* ==========================================================================
   17. RESPONSIVE SUPPLEMENTAIRE
   ========================================================================== */
@media (max-height: 550px) {
    .hero-content {
        padding: 60px 1rem 0.8rem;
        justify-content: space-between;
    }
    .rentree-info {
        margin-top: 5px;
        margin-bottom: 0.2rem;
    }
    .rentree-year {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    .scrolling-text span { font-size: 0.65rem; }
    .urgent-announcement { margin: 0.2rem 0 0.3rem; }
    .announcement-content { padding: 0.4rem 0.8rem; }
    .announcement-text h2 { font-size: 0.85rem; }
    .announcement-text p { font-size: 0.6rem; }
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.1rem;
    }
    .hero-description p { font-size: 0.65rem; }
    .stats-container {
        gap: 0.3rem;
        margin-bottom: 0.2rem;
    }
    .stat-item { padding: 0.3rem 0.2rem; }
    .stat-number { font-size: 1rem; }
    .stat-label { font-size: 0.55rem; }
}

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

/* Classes utilitaires */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
