/* ============================= */
/* RESET GLOBAL */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0B0F1A;
    color: #ffffff;
    overflow-x: hidden;
}

/* ============================= */
/* CONTAINER */
/* ============================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s ease;
}



/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero {
    position: relative;
    height: 100vh;
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75),
        rgba(0, 245, 255, 0.2)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.hero h1 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #00F5FF;
}

.description {
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-btn {
    display: inline-block;
    background: #00F5FF;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #1E90FF;
    color: white;
}

/* ============================= */
/* CHATBOT FLOTTANT */
/* ============================= */

.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #00F5FF;
    color: black;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.8);
    transition: transform 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-window {
    display: none;
    width: 300px;
    background: #111827;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.chat-header {
    background: #00F5FF;
    padding: 10px;
    color: black;
    font-weight: bold;
}

.chat-body {
    padding: 15px;
    font-size: 14px;
    color: #ffffff;
}





/* ============================= */
/* ESPACE ACADEMIQUE PREMIUM */
/* ============================= */

.academic-hero {
    padding: 170px 20px 70px 20px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.2)
    );
}

.academic-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.academic-hero p {
    max-width: 700px;
    margin: 0 auto 25px auto;
    color: #bbbbbb;
}

.academic-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(0,245,255,0.15);
    border: 1px solid rgba(0,245,255,0.5);
    color: #00F5FF;
    font-size: 13px;
}

/* GRID PROPRE */
.academic-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto 120px auto;
    padding: 0 20px;
}

.academic-card {
    background: rgba(20, 28, 45, 0.9);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    transition: 0.3s ease;
}

.academic-card:hover {
    border-color: rgba(0,245,255,0.4);
    transform: translateY(-5px);
}

.academic-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.academic-card p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #bbbbbb;
}

/* Boutons institutionnels */
.academic-card .hero-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    padding: 12px 18px;
    font-size: 14px;
}


/* ============================= */
/* NIVEAUX ACADEMIQUES */
/* ============================= */

.academic-levels {
    max-width: 1200px;
    margin: 0 auto 120px auto;
    padding: 0 20px;
}

.academic-level {
    margin-bottom: 90px;
}

.academic-level h2 {
    font-size: 26px;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #00F5FF;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.academic-card {
    background: rgba(20, 28, 45, 0.9);
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
    text-align: center;
}

.academic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,245,255,0.4);
}

.academic-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.academic-card .hero-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.academic-card p {
    font-size: 14px;
    margin-bottom: 18px;
    color: #bbbbbb;
    line-height: 1.6;
}





/* ============================= */
/* FORMULAIRE PRESENCE - THEME CHASE IA */
/* ============================= */

.presence-body {
    min-height: 100vh;
    background: #0B0F1A;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.presence-wrapper-wide {
    width: 100%;
    max-width: 900px;
}

.presence-card-wide {
    background: rgba(17, 24, 39, 0.95);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.05);
}

.presence-header {
    text-align: center;
    margin-bottom: 30px;
}

.presence-header h1 {
    margin-bottom: 10px;
    font-size: 26px;
}

.presence-header p {
    font-size: 14px;
    color: #cccccc;
}

.back-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #00F5FF;
    text-decoration: none;
    transition: 0.3s;
}

.back-link:hover {
    color: #1E90FF;
}

/* GRID 2 COLONNES */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-column label,
.form-full label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #cccccc;
}

.form-column input,
.form-full textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    background: #0f172a;
    color: white;
    outline: none;
    transition: 0.3s;
}

.form-column input:focus,
.form-full textarea:focus {
    border-color: #00F5FF;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
}

.form-column input[readonly] {
    background: #111827;
    color: #aaa;
}

.form-full {
    margin-top: 15px;
}

/* BOUTON PRINCIPAL */
.presence-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    background: #00F5FF;
    color: #000;
    margin-top: 20px;
    transition: 0.3s;
}

.presence-btn:hover {
    background: #1E90FF;
    color: #fff;
}

/* MESSAGE */
#formMessage {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #00F5FF;
}

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





/* ================================= */
/* INTERROGATION – VERSION PREMIUM AJUSTÉE */
/* ================================= */

.presence-body {
    height: 100vh;
    background: #0B0F1A;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.presence-wrapper-wide {
    width: 96%;
    max-width: 1150px; /* élargi */
}

.presence-card-wide {
    background: rgba(17, 24, 39, 0.96);
    padding: 35px 50px;
    border-radius: 18px;
    border: 1px solid rgba(0, 245, 255, 0.25);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.07);
}

/* HEADER */
.presence-header {
    text-align: center;
    margin-bottom: 20px;
}

.presence-header h1 {
    font-size: 24px;
    margin-bottom: 6px;
}

.presence-header p {
    font-size: 13px;
    color: #cccccc;
}

.back-link {
    font-size: 12px;
    color: #00F5FF;
    text-decoration: none;
    transition: 0.3s;
}

.back-link:hover {
    color: #1E90FF;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 15px;
}

/* LABELS */
.form-column label,
.form-full label {
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
    color: #bbbbbb;
}

/* INPUTS */
.form-column input,
.form-full textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.25);
    background: #0f172a;
    color: white;
    font-size: 13px;
    transition: 0.3s;
}

.form-column input:focus,
.form-full textarea:focus {
    border-color: #00F5FF;
    box-shadow: 0 0 8px rgba(0,245,255,0.35);
}

.form-column input[readonly] {
    background: #111827;
    color: #aaa;
}

/* QUESTIONS */
.form-full {
    margin-top: 8px;
}

.form-full textarea {
    height: 60px;
    resize: none;
}

/* BOUTON */
.presence-btn {
    width: 100%;
    padding: 12px;
    margin-top: 18px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    background: #00F5FF;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0,245,255,0.5);
}

.presence-btn:hover {
    background: #1E90FF;
    color: white;
    box-shadow: 0 0 25px rgba(30,144,255,0.6);
}

/* MESSAGE */
#formMessage {
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
    color: #00F5FF;
}




/* ============================= */
/* DOCUMENTS E-LEARNING – VERSION PROPRE */
/* ============================= */

.documents-hero {
    padding-top: 210px;   /* corrige espace sous navbar fixe */
    padding-bottom: 50px;
    text-align: center;
}

.documents-hero h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.documents-hero p {
    color: #bbbbbb;
    font-size: 14px;
}

.documents-section {
    max-width: 1200px;
    margin: 60px auto 120px auto;
    padding: 0 20px;
}

.subject-block {
    margin-bottom: 80px;
}

.subject-block h2 {
    margin-bottom: 35px;
    padding-left: 15px;
    border-left: 4px solid #00F5FF;
    font-size: 22px;
}

/* GRID EQUILIBRÉ */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 35px;
}

/* Si une seule carte dans la ligne */
.documents-grid .document-card:only-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
}

/* CARTE */
.document-card {
    background: rgba(17, 24, 39, 0.97);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,245,255,0.18);
    transition: 0.3s ease;
    box-shadow: 0 0 20px rgba(0,245,255,0.05);
}

.document-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,245,255,0.4);
    box-shadow: 0 0 25px rgba(0,245,255,0.1);
}

.document-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.document-card p {
    font-size: 13px;
    color: #bbbbbb;
    margin-bottom: 18px;
}

.doc-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00F5FF;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.doc-btn:hover {
    background: #1E90FF;
    color: white;
}

.badge {
    background: #00F5FF;
    color: black;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

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

    .documents-grid .document-card:only-child {
        grid-column: auto;
        max-width: 100%;
    }
}



/* ============================= */
/* COURS EN LIGNE */
/* ============================= */

.live-hero {
    padding-top: 210px;
    padding-bottom: 40px;
    text-align: center;
}

.live-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.live-hero p {
    color: #bbbbbb;
}

.live-section {
    max-width: 900px;
    margin: 60px auto 120px auto;
    padding: 0 20px;
}

.live-card {
    background: rgba(17, 24, 39, 0.97);
    padding: 40px;
    border-radius: 18px;
    border: 1px solid rgba(0,245,255,0.2);
    text-align: center;
    position: relative;
}

.live-card h2 {
    margin-bottom: 10px;
}

.live-card p {
    color: #bbbbbb;
    margin-bottom: 25px;
}

.live-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ff3b3b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.live-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.meet-btn {
    background: #00F5FF;
    color: black;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.meet-btn:hover {
    background: #1E90FF;
    color: white;
}

.youtube-btn {
    background: #ff3b3b;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.youtube-btn:hover {
    opacity: 0.85;
}



/* ============================= */
/* PAGE TD */
/* ============================= */

.td-hero {
    padding-top: 210px;
    padding-bottom: 40px;
    text-align: center;
}

.td-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.td-hero p {
    color: #bbbbbb;
}

.td-section {
    max-width: 1100px;
    margin: 60px auto 120px auto;
    padding: 0 20px;
}

.td-subject {
    margin-bottom: 80px;
}

.td-subject h2 {
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #00F5FF;
}

.td-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.td-card {
    background: rgba(17, 24, 39, 0.97);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,245,255,0.18);
    transition: 0.3s;
}

.td-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,245,255,0.4);
}

.td-card h3 {
    margin-bottom: 8px;
}

.td-card p {
    color: #bbbbbb;
    margin-bottom: 18px;
    font-size: 13px;
}

.td-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00F5FF;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.td-btn:hover {
    background: #1E90FF;
    color: white;
}

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



/* ============================= */
/* PAGE TP */
/* ============================= */

.tp-hero {
    padding-top: 210px;
    padding-bottom: 40px;
    text-align: center;
}

.tp-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.tp-hero p {
    color: #bbbbbb;
}

.tp-section {
    max-width: 1100px;
    margin: 60px auto 120px auto;
    padding: 0 20px;
}

.tp-subject {
    margin-bottom: 80px;
}

.tp-subject h2 {
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #00F5FF;
}

.tp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tp-card {
    background: rgba(17, 24, 39, 0.97);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,245,255,0.18);
    transition: 0.3s;
}

.tp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,245,255,0.4);
}

.tp-card h3 {
    margin-bottom: 8px;
}

.tp-card p {
    color: #bbbbbb;
    margin-bottom: 18px;
    font-size: 13px;
}

.tp-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00F5FF;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.tp-btn:hover {
    background: #1E90FF;
    color: white;
}

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



/* ============================= */
/* PAGE PASSERELLE À PROPOS */
/* ============================= */

.about-landing-body {
    margin: 0;
    padding: 0;
}

.about-landing {
    position: relative;
    height: 100vh;
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,245,255,0.2));
}

.about-landing-content {
    position: relative;
    z-index: 2;
}

.animated-title {
    font-size: 60px;
    margin-bottom: 40px;
    transition: transform 1s ease, opacity 1s ease;
}

.about-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.landing-btn {
    padding: 15px 35px;
    background: #00F5FF;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.landing-btn:hover {
    background: #1E90FF;
    color: white;
}

.landing-btn.outline {
    background: transparent;
    border: 2px solid #00F5FF;
    color: #00F5FF;
}

.landing-btn.outline:hover {
    background: #00F5FF;
    color: black;
}




/* ============================= */
/* PAGE PRÉSENTATION CHASE IA */
/* ============================= */

.about-hero {
    padding-top: 200px;
    padding-bottom: 40px;
    text-align: center;
}

.about-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-hero p {
    max-width: 750px;
    margin: 0 auto;
    color: #bbbbbb;
    font-size: 18px;
    line-height: 1.8;
}

/* SECTION PRINCIPALE */

.about-section {
    max-width: 1100px;
    margin: 50px auto 80px auto;
    padding: 60px 20px 0 20px;
    border-top: 1px solid rgba(0,245,255,0.08);
}

.about-block {
    margin-bottom: 70px;
}

.about-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid #00F5FF;
}

.about-block p {
    color: #bbbbbb;
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 18px;
}

/* VALEURS */

.about-values {
    list-style: none;
    padding-left: 0;
}

.about-values li {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.8;
    color: #bbbbbb;
}

/* ============================= */
/* FONDATEUR */
/* ============================= */

.founder-section {
    max-width: 1150px;
    margin: 100px auto 140px auto;
    padding: 0 20px;
}

.founder-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-photo {
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0,245,255,0.08), rgba(30,144,255,0.05));
    border: 1px solid rgba(0,245,255,0.3);
    box-shadow: 
        0 0 30px rgba(0,245,255,0.15),
        0 0 60px rgba(0,245,255,0.05);
    transition: 0.4s ease;
}

.founder-photo:hover {
    transform: scale(1.03);
    box-shadow: 
        0 0 40px rgba(0,245,255,0.25),
        0 0 80px rgba(0,245,255,0.1);
}

.founder-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.founder-content h3 {
    margin-bottom: 20px;
    color: #00F5FF;
    font-size: 22px;
}

.founder-content p {
    color: #bbbbbb;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 17px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.site-footer {
    text-align: center;
    padding: 35px 0;
    border-top: 1px solid rgba(0,245,255,0.2);
    margin-top: 80px;
    color: #888;
    font-size: 15px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

    .about-hero h1 {
        font-size: 40px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-block h2 {
        font-size: 22px;
    }

    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .placeholder-photo {
        height: 260px;
    }
}


/* ============================= */
/* PAGE CONTACT */
/* ============================= */

.contact-section {
    padding-top: 200px;
    padding-bottom: 100px;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #bbbbbb;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-email {
    background: rgba(0,245,255,0.08);
    border: 1px solid rgba(0,245,255,0.3);
    padding: 20px;
    border-radius: 14px;
    font-size: 16px;
}

.contact-form-card {
    background: rgba(17, 24, 39, 0.95);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,245,255,0.15);
}

.contact-form-card label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #bbbbbb;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
}

.contact-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #00F5FF;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #1E90FF;
    color: white;
}

/* Responsive */

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}



/* ============================= */
/* LANDING À PROPOS */
/* ============================= */

.about-landing-body {
    overflow: hidden;
}

.about-landing {
    height: 100vh;
    background: url('../assets/images/about-hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.about-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.8),
        rgba(0,245,255,0.15)
    );
    top: 0;
    left: 0;
}

.about-landing-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.about-landing-content h1 {
    font-size: 54px;
    margin-bottom: 20px;
}

.about-subtitle {
    color: #cccccc;
    margin-bottom: 35px;
    font-size: 16px;
}

.about-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.landing-btn {
    padding: 14px 30px;
    background: #00F5FF;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0,245,255,0.4);
}

.landing-btn:hover {
    background: #1E90FF;
    color: white;
}

.landing-btn.outline {
    background: transparent;
    border: 2px solid #00F5FF;
    color: #00F5FF;
}

.landing-btn.outline:hover {
    background: #00F5FF;
    color: black;
}

/* Responsive */
@media (max-width: 768px) {
    .about-buttons {
        flex-direction: column;
        gap: 15px;
    }
}





/* ================================= */
/* EXPERTISE HERO */
/* ================================= */

.expertise-hero {
    position: relative;
    height: 85vh;
    background: url("../assets/images/exp-systeme.jpg") center center no-repeat;
    background-size: contain; /* IMPORTANT : image entière visible */
    background-color: #0B0F1A; /* fond si espace vide */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.expertise-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75),
        rgba(0,245,255,0.15)
    );
}

.expertise-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.expertise-hero-content h1 {
    font-size: 58px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.expertise-hero-content p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.8;
}


/* ================================= */
/* EXPERTISE GRID SECTION */
/* ================================= */

.expertise-section {
    max-width: 1200px;
    margin: 140px auto;
    padding: 0 20px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.expertise-card {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 22px;
    padding: 28px;
    border: 1px solid rgba(0,245,255,0.15);
    transition: 0.4s ease;
    text-align: left;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,245,255,0.5);
    box-shadow: 0 0 45px rgba(0,245,255,0.2);
}

/* IMAGE PROPRE ET BIEN CADRÉE */

.expertise-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    margin-bottom: 22px;
}

.expertise-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #00F5FF;
}

.expertise-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #bbbbbb;
}


/* ================================= */
/* RESPONSIVE */
/* ================================= */

@media (max-width: 900px) {

    .expertise-hero {
        height: 70vh;
        background-size: cover; /* mobile mieux en cover */
    }

    .expertise-hero-content h1 {
        font-size: 42px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-card img {
        height: 220px;
    }
}




html {
    scroll-behavior: smooth;
}

/* Scroll Indicator */

.scroll-indicator {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid rgba(0,245,255,0.4);
    color: #00F5FF;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s ease;
}

.scroll-indicator:hover {
    background: rgba(0,245,255,0.15);
    box-shadow: 0 0 20px rgba(0,245,255,0.3);
}




/* ================================= */
/* NAVIGATION - STYLE GLOBAL */
/* ================================= */

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

.navbar nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hover */
.navbar nav ul li a:hover {
    background: rgba(0, 245, 255, 0.12);
    color: #00F5FF;
}

/* ================================= */
/* LIEN ACTIF (PAGE COURANTE) */
/* ================================= */

.navbar nav ul li a.active {
    background: linear-gradient(135deg, #00F5FF, #00bcd4);
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.35);
}

/* ================================= */
/* BOUTON CTA (ACCÉDER) */
/* ================================= */

.navbar nav ul li a.cta-nav {
    background: #00F5FF;
    color: #000;
    font-weight: 600;
}

.navbar nav ul li a.cta-nav:hover {
    background: #00c8d6;
}



/* ================================= */
/* PAGE SOLUTIONS – STRUCTURE PROPRE */
/* ================================= */

body.solutions-page {

    background-color: #0B0F1A;
}

/* HERO */

body.solutions-page .solutions-hero {
    position: relative;
    height: 75vh;
    background: url("../assets/images/solutions-hero.png") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

body.solutions-page .solutions-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.88),
        rgba(0, 245, 255, 0.12)
    );
}

body.solutions-page .solutions-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

body.solutions-page .solutions-hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 25px rgba(0,245,255,0.2);
}

body.solutions-page .solutions-hero-content p {
    font-size: 18px;
    color: #bbbbbb;
    line-height: 1.8;
}


/* SECTION */

body.solutions-page .solutions-section {
    padding: 120px 20px;
}


/* GRID */

body.solutions-page .solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}


/* CARD */

body.solutions-page .solution-card {
    background: rgba(17, 24, 39, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,245,255,0.15);
    transition: 0.4s ease;
    text-align: left;
}

body.solutions-page .solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,245,255,0.45);
    box-shadow: 0 0 40px rgba(0,245,255,0.15);
}

body.solutions-page .solution-card h2 {
    margin-bottom: 20px;
    color: #00F5FF;
    font-size: 22px;
}

body.solutions-page .solution-card p {
    color: #bbbbbb;
    line-height: 1.8;
    margin-bottom: 25px;
}


/* BOUTON */

body.solutions-page .solution-btn {
    display: inline-block;
    padding: 12px 22px;
    background: linear-gradient(90deg, #00F5FF, #00bcd4);
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

body.solutions-page .solution-btn:hover {
    box-shadow: 0 0 25px rgba(0,245,255,0.4);
    transform: translateY(-2px);
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    body.solutions-page .solutions-grid {
        grid-template-columns: 1fr;
    }

    body.solutions-page .solutions-hero-content h1 {
        font-size: 38px;
    }

}


/* =============================== */
/* PAGE ACADÉMIQUE */
/* =============================== */

.academic-hero {
    position: relative;
    height: 80vh;
    background: url("../assets/images/exp-bureau.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.academic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.92), rgba(0,245,245,0.15));
}

.academic-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.academic-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.academic-content p {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.8;
}

/* SECTION */

.academic-section {
    padding: 140px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 36px;
    color: #00F5FF;
}

.section-header p {
    color: #bbbbbb;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}

.academic-card {
    background: rgba(17, 24, 39, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,245,255,0.15);
    text-align: center;
    transition: 0.4s ease;
}

.academic-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,245,255,0.4);
    box-shadow: 0 0 40px rgba(0,245,255,0.15);
}

.academic-card img {
    width: 80px;
    margin-bottom: 20px;
}

/* FORMULAIRE */

.academic-demo-section {
    padding: 120px 20px;
    background: rgba(17, 24, 39, 0.95);
    text-align: center;
}

.demo-container {
    max-width: 700px;
    margin: auto;
}

.academic-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}

.academic-form input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
}

.academic-form button {
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #00F5FF, #00bcd4);
    color: black;
    font-weight: 600;
    cursor: pointer;
}

/* RESPONSIVE */

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

    .academic-content h1 {
        font-size: 36px;
    }
}

/* =============================== */
/* ANIMATIONS STABLE */
/* =============================== */

/* Par défaut tout est visible */
.reveal {
    opacity: 1;
    transform: none;
}

/* On active animation seulement si JS est chargé */
html.js .reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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



/* ================================= */
/* PAGE AGENT ADMINISTRATIF */
/* ================================= */

body.agent-page {
    background: #0b0f1a;
}

/* HERO */

.agent-hero {
    position: relative;
    height: 75vh;
    background: url("../assets/images/agent-hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.agent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.9),
        rgba(0,245,255,0.15)
    );
}

.agent-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

.agent-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.agent-content p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.8;
}


/* INTRO */

.agent-intro {
    padding: 120px 20px;
}

.agent-container {
    max-width: 1200px;
    margin: auto;
}

.agent-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.agent-intro-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #00F5FF;
}

.agent-intro-text p {
    color: #bbbbbb;
    line-height: 1.8;
}

.agent-intro-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0,245,255,0.15);
}


/* MODULES */

.agent-modules {
    padding: 120px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    color: #00F5FF;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.agent-card {
    background: rgba(17, 24, 39, 0.95);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,245,255,0.15);
    transition: 0.4s ease;
}

.agent-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,245,255,0.4);
    box-shadow: 0 0 40px rgba(0,245,255,0.15);
}

.agent-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

.agent-card h3 {
    color: #00F5FF;
    margin-bottom: 15px;
}

.agent-card p {
    color: #bbbbbb;
    line-height: 1.8;
}


/* FORMULAIRE */

.agent-demo-section {
    padding: 120px 20px;
    background: rgba(17, 24, 39, 0.95);
    text-align: center;
}

.agent-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agent-form input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
}

.agent-form input:focus {
    outline: none;
    border-color: #00F5FF;
}

.agent-form button {
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #00F5FF, #00bcd4);
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.agent-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0,245,255,0.4);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .agent-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .agent-grid {
        grid-template-columns: 1fr;
    }

    .agent-content h1 {
        font-size: 36px;
    }

}




/* ========================= */
/* AUTOMATISATION PROPRE */
/* ========================= */

.institution-hero {
    position: relative;
    height: 70vh;
    background: url("../assets/images/automatisation-institutionnelle.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.institution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,245,255,0.15));
}

.institution-content {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #00F5FF;
}

.institution-section,
.institution-simulator,
.institution-form-section {
    padding: 80px 20px;
}

/* GRID */

.institution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.institution-card {
    background: rgba(17,24,39,0.95);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: 0.4s ease;
}

.institution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0,245,255,0.2);
}

.institution-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: 0.4s ease;
}

.institution-card:hover img {
    transform: scale(1.05);
}

/* SIMULATEUR */

.simulator-box {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.simulator-box input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
}

.simulator-box button {
    padding: 12px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    font-weight: 600;
    cursor: pointer;
}

.estimate-result {
    margin-top: 15px;
    font-size: 18px;
    color: #00F5FF;
}

/* FORMULAIRE */

.institution-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.institution-form input,
.institution-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
}

.institution-form textarea {
    min-height: 120px;
    resize: none;
}

.institution-form button {
    padding: 14px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    font-weight: 600;
    cursor: pointer;
}

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




/* ================================================= */
/* ============ PAGE ACADÉMIQUE ==================== */
/* ================================================= */

body.academic-page {
    background: #0b0f1a;
    color: white;
}

/* ================= HERO ================= */

body.academic-page .academic-hero {
    position: relative;
    height: 80vh;
    background: 
        linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.40)),
        url("../assets/images/academic-bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


body.academic-page .academic-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

body.academic-page .academic-content h1 {
    font-size: 52px;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

body.academic-page .academic-content p {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.9;
}

/* ================= INTRO ================= */

body.academic-page .academic-intro {
    padding: 120px 20px;
}

body.academic-page .academic-container {
    max-width: 1200px;
    margin: auto;
}

body.academic-page .academic-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

body.academic-page .academic-intro-text h2 {
    font-size: 38px;
    margin-bottom: 25px;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

body.academic-page .academic-intro-text p {
    color: #d1d5db;
    font-size: 17px;
    line-height: 1.9;
}

body.academic-page .academic-intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0,245,255,0.15);
}

/* ================= MODULES ================= */

body.academic-page .academic-modules {
    padding: 120px 20px;
}

body.academic-page .section-title {
    text-align: center;
    font-size: 36px;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 70px;
}

body.academic-page .academic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

body.academic-page .academic-card {
    background: rgba(17,24,39,0.95);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,245,255,0.15);
    transition: 0.4s ease;
}

body.academic-page .academic-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,245,255,0.4);
    box-shadow: 0 0 40px rgba(0,245,255,0.15);
}

body.academic-page .academic-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

body.academic-page .academic-card h3 {
    color: #00F5FF;
    margin-bottom: 15px;
    font-size: 22px;
}

body.academic-page .academic-card p {
    color: #bbbbbb;
    line-height: 1.8;
}

/* ================= FORMULAIRE ================= */

body.academic-page .academic-demo-section {
    padding: 120px 20px;
    background: #111827;
    text-align: center;
}

body.academic-page .academic-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.academic-page .academic-form input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
    transition: 0.3s ease;
}

body.academic-page .academic-form input:focus {
    outline: none;
    border-color: #00F5FF;
}

body.academic-page .academic-form button {
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

body.academic-page .academic-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0,245,255,0.4);
}

/* ================= ANIMATION SCROLL ================= */

html.js .reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    body.academic-page .academic-intro-grid,
    body.academic-page .academic-grid {
        grid-template-columns: 1fr;
    }

    body.academic-page .academic-content h1 {
        font-size: 36px;
    }

}




/* ================================= */
/* PAGE FORMATION */
/* ================================= */

body.formation-page {
    background: #0b0f1a;
    color: white;
}

/* HERO */

body.formation-page .formation-hero {
    position: relative;
    height: 75vh;
    background: url("../assets/images/formation-bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.formation-page .formation-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
}

body.formation-page .formation-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

body.formation-page .formation-content h1 {
    font-size: 48px;
    color: #00F5FF;
    margin-bottom: 20px;
}

/* PROGRAMMES */

body.formation-page .formation-programs {
    padding: 100px 20px;
}

body.formation-page .formation-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
}

body.formation-page .formation-card {
    background: #111827;
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s ease;
}

body.formation-page .formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0,245,255,0.2);
}

body.formation-page .formation-card h3 {
    color: #00F5FF;
    margin-bottom: 15px;
}

/* FORMULAIRE */

body.formation-page .formation-register {
    padding: 100px 20px;
    background: #111827;
    text-align: center;
}

body.formation-page .formation-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.formation-page .formation-form input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.2);
    background: #0f172a;
    color: white;
}

body.formation-page .formation-form button {
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg,#00F5FF,#00bcd4);
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 900px) {
    body.formation-page .formation-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   PAGE INTERMEDIAIRE ACADEMIQUE
========================================= */

.academic-entry-page {
    background: #0b0f1a;
    color: white;
    margin: 0;
}

/* HEADER */

.main-header {
    background: rgba(5,10,20,0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
}

.logo img {
    height: 35px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00f5ff;
}

/* HERO */

.entry-hero {
    position: relative;
    height: 100vh;
    background: url("../assets/images/exp-bureau.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.entry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,0.85),
        rgba(0,80,120,0.6)
    );
}

.entry-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.entry-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.entry-content p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* BUTTONS */

.entry-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    background: linear-gradient(90deg, #00f5ff, #00c3ff);
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
}

.secondary-btn {
    background: transparent;
    border: 2px solid #00f5ff;
    color: #00f5ff;
}

.secondary-btn:hover {
    background: #00f5ff;
    color: black;
}

/* FOOTER */

.main-footer {
    background: #050a14;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #aaa;
}









/* ============================= */
/* RESET */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0B0F1A;
    color: #ffffff;
    overflow-x: hidden;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

nav a:hover {
    opacity: 1;
}

nav a.active {
    background: #00F5FF;
    color: black;
    opacity: 1;
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px; /* espace pour navbar */
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85),
        rgba(0, 245, 255, 0.15)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #00F5FF;
}

.description {
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    background: #00F5FF;
    color: black;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.btn-primary:hover {
    background: #1E90FF;
    color: white;
}

.btn-outline {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #00F5FF;
    color: #00F5FF;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: #00F5FF;
    color: black;
}







/* ================================================= */
/* MENU RESPONSIVE GLOBAL STABLE */
/* ================================================= */

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 900px) {

    #mainMenu {
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background: #111827;
        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    #mainMenu.active {
        max-height: 400px;
        padding: 20px 0;
    }

    #mainMenu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
    }

}






/* ============================= */
/* MENU ACTIF */
/* ============================= */

#mainMenu ul li a.active-link {
    background: #00F5FF;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}






html, body {
    overflow-x: hidden;
    overflow-y: auto;
}

section {
    position: relative;
    overflow: hidden;
}

.about-section,
.founder-section {
    transform: none;
}













/* ================= PUBLICATION ================= */

.publication-hero {
    position: relative;
    height: 60vh;
    background: url('../assets/images/academic-office.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.publication-container {
    padding: 100px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* ===== TITRE ===== */

.publication-container h2 {
    margin-bottom: 40px;
}

/* ===== FILTRES CENTRÉS ===== */

.publication-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.publication-filters select,
.publication-filters input {
    width: 100%;
    max-width: 350px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0,245,255,0.3);
    background: #0f172a;
    color: white;
    outline: none;
    transition: 0.3s ease;
}

.publication-filters select:focus,
.publication-filters input:focus {
    border-color: #00F5FF;
    box-shadow: 0 0 10px rgba(0,245,255,0.4);
}

/* ===== TABLE ===== */

.table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

#publicationTable {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    border-radius: 8px;
    overflow: hidden;
}

#publicationTable th {
    background: #00F5FF;
    color: black;
    padding: 14px;
    font-weight: bold;
}

#publicationTable td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#publicationTable tr:hover {
    background: rgba(0,245,255,0.05);
}

/* ===== MODAL ===== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #111827;
    padding: 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: left;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: #00F5FF;
}


/* ===== BOUTON RETOUR ===== */

.publication-return {
    text-align: center;
    margin-top: 40px;
    margin-bottom: -40px; /* rapproche du contenu */
}

.btn-return {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(0,245,255,0.4);
    color: #00F5FF;
    background: transparent;
    transition: 0.3s ease;
}

.btn-return:hover {
    background: #00F5FF;
    color: black;
    box-shadow: 0 0 12px rgba(0,245,255,0.6);
}







/* ===== BOUTON RETOUR ESPACE ACADÉMIQUE ===== */

.back-academic {
    margin-top: 30px;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #00F5FF;
    border-radius: 6px;
    color: #00F5FF;
    text-decoration: none;
    transition: 0.3s ease;
}

.back-btn:hover {
    background: #00F5FF;
    color: #000;
    box-shadow: 0 0 15px rgba(0,245,255,0.6);
}








/* =========================
   CARTES RÉSULTATS – MOBILE PROPRE
========================= */

@media (max-width: 768px) {

    #publicationTable thead {
        display: none;
    }

    #publicationTable,
    #publicationTable tbody,
    #publicationTable tr,
    #publicationTable td {
        display: block;
        width: 100%;
    }

    #publicationTable tr {
        background: linear-gradient(145deg, #111827, #0f172a);
        margin-bottom: 25px;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0,245,255,0.08);
        transition: 0.3s ease;
    }

    #publicationTable tr:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0,245,255,0.15);
    }

    #publicationTable td {
        border: none;
        padding: 8px 0;
        font-size: 15px;
    }

    #publicationTable td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #00F5FF;
        font-size: 13px;
        margin-bottom: 3px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    /* Bouton œil amélioré */
    .eye-btn {
        margin-top: 10px;
        padding: 8px 12px;
        border-radius: 10px;
        border: none;
        background: rgba(0,245,255,0.15);
        color: #00F5FF;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .eye-btn:hover {
        background: #00F5FF;
        color: black;
    }

}




/* ================= LOADER ================= */

.loader-cell {
  text-align: center;
  padding: 40px;
}

.loader {
  width: 35px;
  height: 35px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top: 4px solid #00F5FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================= MODAL PREMIUM ================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal.modal-active {
  opacity: 1;
}

.modal-content {
  background: linear-gradient(145deg,#0f172a,#111827);
  padding: 35px;
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.modal.modal-active .modal-content {
  transform: scale(1);
}

.note-cell {
  font-weight: bold;
  color: #00F5FF;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #00F5FF;
}







/* ================= NOTE BADGE UNIVERSITÉ ================= */

.special-note {
  align-items: center;
}

.note-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00F5FF, #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  box-shadow:
    0 0 15px rgba(0,245,255,0.6),
    0 0 30px rgba(0,245,255,0.4),
    inset 0 0 10px rgba(255,255,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet hover premium */
.note-badge:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 25px rgba(0,245,255,0.9),
    0 0 45px rgba(0,245,255,0.6);
}

/* Animation douce apparition */
.modal-active .note-badge {
  animation: pulseNote 1.2s ease;
}

@keyframes pulseNote {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive mobile */
@media (max-width: 768px) {
  .note-badge {
    width: 70px;
    height: 70px;
    font-size: 1rem;
  }
}











/* ================= BADGE NOTE PREMIUM ================= */

.note-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: 700;
    color: #ffffff;

    background: radial-gradient(circle at 30% 30%, #3ddfff, #0ea5e9 70%);
    
    box-shadow:
        0 0 25px rgba(0, 245, 255, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.15);

    text-shadow: 0 0 8px rgba(0,0,0,0.6);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover subtil */
.note-badge:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 35px rgba(0, 245, 255, 0.9),
        inset 0 0 25px rgba(255, 255, 255, 0.25);
}







* ================= MODAL STRUCTURE PREMIUM ================= */

.modal-title {
  text-align: center;
  margin-bottom: 25px;
  color: white;
}

.modal-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 25px;
}

.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

.modal-label {
  font-weight: 600;
  color: #00F5FF;
  letter-spacing: 0.5px;
}

.modal-value {
  color: white;
  text-align: right;
  max-width: 60%;
}

.note-highlight {
  font-weight: bold;
  font-size: 1.1rem;
  color: #00F5FF;
}

.modal-observation {
  margin-top: 15px;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
}

.modal-observation p {
  color: white;
  line-height: 1.6;
  margin-top: 8px;
}

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

  .modal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .modal-value {
    text-align: left;
    max-width: 100%;
  }
}



/* ================= BADGE NOTE DYNAMIQUE ================= */

.note-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
    margin: 15px 0;
}

/* 🔴 ROUGE */
.note-danger {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #b91c1c);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
}

/* 🟡 JAUNE */
.note-warning {
    background: radial-gradient(circle at 30% 30%, #ffe066, #eab308);
    box-shadow: 0 0 30px rgba(255, 200, 0, 0.6);
    color: #111;
}

/* 🟢 VERT */
.note-success {
    background: radial-gradient(circle at 30% 30%, #4ade80, #16a34a);
    box-shadow: 0 0 30px rgba(0, 255, 120, 0.6);
}







/* ============================= */
/* MODAL STRUCTURE FIX PRO */
/* ============================= */

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;   /* 👈 Empêche le débordement */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

/* ============================= */
/* OBSERVATION SCROLL INTERNE */
/* ============================= */

.modal-observation {
    margin-top: 20px;
    max-height: 200px;   /* 👈 limite hauteur */
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar premium */
.modal-observation::-webkit-scrollbar {
    width: 6px;
}

.modal-observation::-webkit-scrollbar-thumb {
    background: #00f5ff;
    border-radius: 10px;
}




