/* =========================================================
   ELPIS GROUP INTERNATIONAL
   CSS OPTIMISÉ — VERSION UNIFIÉE
========================================================= */


/* =========================================================
   RESET & VARIABLES
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    /* Couleurs */
    --primary: #003366;
    --primary-dark: #001b44;
    --secondary: #d71920;
    --secondary-dark: #b51218;

    --white: #ffffff;
    --black: #111111;

    --light: #f8fafc;
    --text: #4b5563;
    --text-light: #555555;
    --border: #e5e7eb;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 25px;
    --radius-xl: 50px;

    /* Ombres */
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, .12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .15);

    /* Transitions */
    --transition: .35s ease;

    /* Z-index */
    --z-bg: 1;
    --z-content: 10;
    --z-overlay: 1100;
    --z-nav: 1000;
    --z-dropdown: 1200;
    --z-popup: 9000;
    --z-chat: 9999;
    --z-rdv: 10000;
}


/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
}

section {
    position: relative;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    inset: 0 0 auto;

    z-index: var(--z-nav);

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 80px;

    padding: 0 5%;

    font-family: 'Urbanist', sans-serif;

    background: rgba(255, 255, 255, .96);

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);

    transition:
        background-color .3s ease,
        box-shadow .3s ease,
        height .3s ease;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;

    width: auto;
    height: 130px;

    object-fit: contain;
}


/* =========================================================
   MENU DESKTOP
========================================================= */

.menu {
    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;

    margin: 0;
    padding: 0;

    white-space: nowrap;
}

.menu > li {
    position: relative;
}

.menu a {
    position: relative;

    display: inline-flex;
    align-items: center;

    color: var(--primary);

    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    transition: color .3s ease;
}


/* Soulignement */

.menu > li > a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 3px;

    background: var(--secondary);

    border-radius: 10px;

    transition: width .35s ease;
}

.menu > li > a:hover::after,
.menu > li > a.active::after {
    width: 100%;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: static;
}

.dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown > a i {
    font-size: 13px;

    transition:
        transform .3s ease,
        color .3s ease;
}

.dropdown:hover > a i,
.dropdown:focus-within > a i,
.dropdown.open > a i {
    transform: rotate(180deg);
}


/* Zone de transition souris */

.dropdown::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    height: 20px;

    background: transparent;

    pointer-events: none;
}


/* =========================================================
   SUBMENU DESKTOP
========================================================= */

.submenu {
    position: fixed;

    top: 80px;
    left: 0;

    width: 100vw;
    min-width: 100vw;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 70px;
    row-gap: 0;

    list-style: none;

    margin: 0;
    padding: 25px 8%;

    background: rgba(255, 255, 255, .98);

    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;

    z-index: var(--z-dropdown);
}


/* Ouverture */

.dropdown:hover > .submenu,
.dropdown:focus-within > .submenu,
.dropdown.open > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   ITEMS SUBMENU
========================================================= */

.submenu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.submenu li a {
    position: relative;

    display: flex;
    align-items: flex-start;

    width: 100%;
    min-height: 38px;

    padding: 6px 10px 6px 0;

    color: #444;

    background: transparent;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}


/* Flèche */

.submenu li a::before {
    content: "»";

    display: inline-block;

    flex: 0 0 20px;

    width: 20px;

    color: var(--secondary);

    font-size: 21px;
    font-weight: 900;

    line-height: 1.1;

    transition: transform .2s ease;
}


/* Hover */

.submenu li a:hover,
.submenu li a:focus-visible {
    color: var(--secondary);
    transform: translateX(3px);
}

.submenu li a:hover::before,
.submenu li a:focus-visible::before {
    transform: translateX(3px);
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    display: none;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.hamburger span {
    display: block;

    width: 26px;
    height: 3px;

    background: var(--primary);

    border-radius: 5px;

    transition:
        transform .3s ease,
        opacity .3s ease,
        background-color .3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;

    width: 100%;
    height: 100vh;

    overflow: hidden;
}

.slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}


/* Overlay slider */

.hero-slider::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: var(--z-bg);

    background:
        linear-gradient(
            90deg,
            rgba(0, 27, 68, .78),
            rgba(0, 51, 102, .40),
            rgba(0, 0, 0, .15)
        );

    pointer-events: none;
}


/* =========================================================
   HERO SLIDER CONTAINER
========================================================= */

.hero-slider .container {
    position: relative;

    z-index: var(--z-content);

    height: 100%;

    display: flex;

    align-items: flex-start;
    justify-content: flex-start;

    text-align: left;
}


/* =========================================================
   SLIDE CONTENT
========================================================= */

.slide-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 900px;

    padding-top: 200px;

    color: var(--white);

    opacity: 0;

    transform: translateY(40px);
}

.slide.active .slide-content {
    animation: contentReveal 1s ease forwards;
}

@keyframes contentReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   BADGE
========================================================= */

.badge,
.badge1 {
    position: relative;

    z-index: 10;

    display: inline-block;

    padding: 12px 24px;

    margin-bottom: 25px;

    color: var(--white);

    background: rgba(0, 0, 0, .53);

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: var(--radius-xl);

    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 1px;
}


/* =========================================================
   SLIDER TITLE
========================================================= */

.slide-content h1 {
    color: var(--white);

    font-size: clamp(42px, 6vw, 78px);

    line-height: 1.1;

    font-weight: 800;

    margin: 20px 0 25px;

    opacity: 0;
}

.slide.active .slide-content h1 {
    animation: fadeUp .8s .5s forwards;
}



/* =========================================================
   HERO PRINCIPAL
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;

    padding: 120px 0 80px;

    margin-bottom: 0;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary),
            #0b5ea8
        );
}


/* Animation arrière-plan */

.hero::before {
    content: "";

    position: absolute;

    width: 200%;
    height: 200%;

    background:
        radial-gradient(
            circle,
            rgba(215, 25, 32, .15),
            transparent 60%
        );

    animation: moveGlowBackground 12s linear infinite;

    z-index: 0;

    pointer-events: none;
}

@keyframes moveGlowBackground {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, -50px);
    }

    100% {
        transform: translate(0, 0);
    }
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(215, 25, 32, .25),
            transparent 35%
        );

    z-index: var(--z-bg);

    pointer-events: none;
}



/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 16px 32px;

    border: 0;

    border-radius: var(--radius-xl);

    text-decoration: none;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-4px);
}


/* Primary */

.btn-primary {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    overflow: hidden;

    background: var(--secondary);

    color: var(--black);

    border-radius: var(--radius-xl);

    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);

    opacity: 1;
}

.btn-primary::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .5),
            transparent
        );

    transition: .8s;
}

.btn-primary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(215, 25, 32, .35);
}

.btn-primary:hover::before {
    left: 120%;
}


/* Secondary */

.btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    color: var(--white);

    background: transparent;

    border: 2px solid var(--secondary);

    border-radius: var(--radius-xl);

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);

    transform: translateY(-4px);
}




/* =========================================================
   FADE UP
========================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =========================================================
   SLIDER CONTROLS
========================================================= */

.controls {
    position: absolute;

    bottom: 40px;

    left: 0;

    width: 100%;

    display: flex;

    justify-content: space-between;

    padding: 0 30px;

    z-index: 5;
}

.controls span {
    cursor: pointer;

    font-size: 40px;

    color: var(--white);

    transition: var(--transition);
}

.controls span:hover {
    color: var(--secondary);
}


/*Premiere Presentation*/

.about-modern {
    position: relative;
    padding: 60px 0%;
    background: #f7f9fc;
    overflow: hidden;
}


/* CONTENEUR */

.about-modern .container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}


/* ======================================================
   CONTENU — 100% LARGEUR
======================================================= */

.about-modern-content {
    width: 90%;
    max-width: none;
    margin: 0 auto;
    
}


/* ======================================================
   BADGE
======================================================= */

.about-modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border-radius: 30px;
    background: #eaf2fa;
    color: #0756a5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 22px;
}


/* ======================================================
   TITRE
======================================================= */

.about-modern-content h2 {
    margin: 0 0 25px;
    color: #063b78;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    max-width: 900px;
}


.about-modern-content h2 span {
    color: #d71920;
}


/* ======================================================
   TEXTES
======================================================= */

.about-modern-lead p .about-modern-content p {
    color: #5e6875;
    font-size: 16px !important;
    line-height: 1.8;
    margin: 0 0 18px;
    max-width: 1050px;
}


.about-modern-content .about-modern-lead {
    color: #374151;
    font-size: 17px;
    line-height: 1.75;
    max-width: 1050px;
}


.about-modern-content strong {
    color: #063b78;
}


/* ======================================================
   DESTINATIONS
======================================================= */

.about-modern-destinations {
    margin-top: 40px;
    width: 100%;
}


.about-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}


.about-section-title > span {
    width: 30px;
    height: 3px;
    border-radius: 5px;
    background: #d71920;
}


.about-section-title h3 {
    margin: 0;
    color: #063b78;
    font-size: 18px;
}



/* ======================================================
   BOUTONS
======================================================= */

.about-modern-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 38px;
}


.about-btn-primary,
.about-btn-secondary {
    font-family:'Urbanist',sans-serif;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: .25s ease;
}

/* Flèche à droite */
.about-btn-primary::after,
.about-btn-secondary::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 1000;
    margin-left: 6px;
    font-size: 23px;
    transition: transform .25s ease;
}

/* Déplacement de la flèche au survol */
.about-btn-primary:hover::after,
.about-btn-secondary:hover::after {
    transform: translateX(4px);
}


.about-btn-primary {
    border: 0;
    background: #063b78;
    color: #fff;
    box-shadow: 0 10px 25px rgba(6,59,120,.18);
}


.about-btn-primary:hover {
    background: #0756a5;
    transform: translateY(-2px);
}


.about-btn-secondary {
    border: 1px solid #ad010f;
    background: #fff;
    color: #ad010f;
}


.about-btn-secondary:hover {
    border-color: #063b78;
    transform: translateY(-2px);
}


.about-btn-secondary i {
    font-size: 12px;
}


/* ======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 1000px) {

    .modern-destination-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}


@media (max-width: 700px) {

    .about-modern {
        padding: 60px 0%;
    }

    .modern-destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-modern-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-btn-primary,
    .about-btn-secondary {
        width: 100%;
    }

}


@media (max-width: 420px) {

    .modern-destination-grid {
        grid-template-columns: 1fr;
    }

}




/* =========================================================
   STATS
========================================================= */

.stats {
    position: relative;

    z-index: 50;

    padding: 60px 0%;

    background: #e63946;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}

.stat-card {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 18px;

    padding: 28px 22px;

    background: var(--white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);

    text-align: left;

    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}

.stat-icon {
    flex-shrink: 0;

    width: 62px;

    font-size: 64px;

    color: #e63946;

    text-align: center;

    transition:
        transform .3s ease,
        color .3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.12);

    color: #c1121f;
}

.stat-info {
    min-width: 0;
}

.stat-card h2 {
    margin: 0 0 6px;

    color: var(--primary);

    font-size: 36px;

    font-weight: 800;

    line-height: 1.2;
}

.stat-card p {
    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    padding: 60px 0%;
}

.section-title {
    text-align: center;

    margin-bottom: 50px;
}

.section-title span {
    color: var(--secondary);

    font-weight: 700;
}

.section-title h2 {
    margin-top: 10px;

    color: var(--primary);

    font-size: 48px;

    line-height: 1.2;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    max-width: 1400px;

    margin: 0 auto;
}

.feature-card {
    padding: 30px;

    background: var(--white);

    border-radius: var(--radius-lg);

    text-align: center;

    box-shadow: var(--shadow-md);

    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}

.feature-card i {
    margin-bottom: 25px;

    color: var(--secondary);

    font-size: 70px;
}

.feature-card h3 {
    margin-bottom: 15px;

    color: var(--primary);
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    padding: 60px 0%;
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;

    margin-top: 50px;
}

.process-card {
    position: relative;

    overflow: hidden;

    padding: 30px;

    background: var(--white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}

.step {
    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 28px;

    font-weight: 800;
}

.process-card h3 {
    margin-bottom: 10px;

    color: var(--primary);

    font-size: 20px;
}

.process-card p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.6;
}

.process-card small {
    display: block;

    margin-top: 10px;

    color: var(--primary);

    font-weight: 600;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding: 60px 0%;

    margin: 0;

    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 60px;

    align-items: center;
}

.mini-title {
    color: var(--secondary);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-size: 15px;
}

.about-text h2 {
    margin: 15px 0 25px;

    color: var(--primary);

    font-size: 48px;

    line-height: 1.2;
}

.about-text h2 span {
    color: var(--secondary);
}

.about-text p {
    margin-bottom: 18px;

    color: var(--text-light);

    font-size: 17px;

    line-height: 1.8;
}

.about-image {
    position: relative;
}

.image-card {
    position: relative;

    overflow: hidden;
}

.image-card img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    transition: transform .5s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;

    bottom: 20px;
    left: 20px;

    padding: 12px 18px;

    background: rgba(215, 25, 32, .95);

    color: var(--black);

    border-radius: var(--radius-xl);

    font-weight: 700;

    box-shadow: var(--shadow-sm);
}

.about-text .btn-primary {
    display: inline-flex;

    margin-top: 20px;
}


/* =========================================================
   SCHOLARSHIP
========================================================= */

.scholarship {
    padding: 60px 0%;

    margin: 0;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #ffffff
        );
}

.scholarship-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 60px;

    align-items: center;
}

.tag {
    display: inline-block;

    padding: 8px 18px;

    margin-bottom: 20px;

    background: var(--primary);

    color: var(--white);

    border-radius: var(--radius-xl);

    font-size: 13px;

    font-weight: 600;
}

.scholarship-text h2 {
    margin-bottom: 25px;

    color: var(--primary);

    font-size: 46px;

    line-height: 1.2;
}

.scholarship-text h2 span {
    color: var(--secondary);
}

.highlight {
    margin-bottom: 20px;

    color: #444;

    font-size: 18px;

    font-weight: 600;
}

.scholarship-text p {
    margin-bottom: 15px;

    color: var(--text-light);

    line-height: 1.8;
}

.scholarship-card {
    position: relative;

    overflow: hidden;

    padding: 50px;

    background: var(--primary);

    color: var(--white);

    border-radius: 30px;

    text-align: center;

    box-shadow: 0 25px 60px rgba(0, 0, 0, .20);
}

.scholarship-card::before {
    content: "";

    position: absolute;

    top: -50%;
    left: -50%;

    width: 200%;
    height: 200%;

    background:
        radial-gradient(
            circle,
            rgba(215, 25, 32, .25),
            transparent 60%
        );

    animation: moveGlow 6s linear infinite;
}

@keyframes moveGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.big-number {
    position: relative;

    z-index: 2;

    color: var(--white);

    font-size: 150px;

    font-weight: 900;

    line-height: 1;
}

.scholarship-card p {
    position: relative;

    z-index: 2;

    margin-bottom: 20px;

    font-size: 23px;
}

.scholarship-card ul {
    position: relative;

    z-index: 2;

    list-style: none;
}

.scholarship-card ul li {
    margin: 10px 0;

    font-weight: 600;
}


/* =========================================================
   ADVISOR
========================================================= */

.advisor {
    padding: 60px 0%;

    background: var(--light);
}

.advisor-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 60px;

    align-items: center;
}

.advisor .tag {
    display: inline-block;

    padding: 8px 18px;

    margin-bottom: 20px;

    background: var(--primary);

    color: var(--white);

    border-radius: var(--radius-xl);

    font-size: 13px;

    font-weight: 600;
}

.advisor-text h2 {
    margin-bottom: 20px;

    color: var(--primary);

    font-size: 46px;

    line-height: 1.2;
}

.advisor-text h2 span {
    color: var(--secondary);
}

.advisor-text p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 17px;

    line-height: 1.8;
}

.advisor-list {
    list-style: none;

    margin-bottom: 30px;
}

.advisor-list li {
    margin: 10px 0;

    color: #333;

    font-weight: 500;
}

.advisor-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.advisor-card {
    position: relative;

    padding: 40px;

    background: var(--white);

    border-radius: var(--radius-lg);

    text-align: center;

    box-shadow: var(--shadow-md);

    animation: fadeUp 1s ease;
}

.advisor-avatar img {
    width: 260px;
    height: 260px;

    margin-bottom: 15px;

    object-fit: cover;

    border: 4px solid var(--secondary);

    border-radius: 50%;
}

.status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 15px;

    margin-top: 15px;

    background: #eafff1;

    color: #25d366;

    border-radius: var(--radius-xl);

    font-size: 14px;

    font-weight: 600;
}

.online-dot {
    width: 10px;
    height: 10px;

    background: #25d366;

    border-radius: 50%;

    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: .5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* =========================================================
   PARTNERS
========================================================= */

.partners {
    padding: 60px 0%;

    background: var(--white);

    text-align: center;
}

.partners h2 {
    margin-bottom: 10px;

    color: var(--primary);

    font-size: 32px;
}

.partners-slider {
    position: relative;

    overflow: hidden;

    width: 100%;

    margin-top: 40px;

    white-space: nowrap;
}

.partners-track {
    display: flex;

    align-items: center;

    gap: 60px;

    width: max-content;

    animation: scrollPartners 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partners-track img {
    flex-shrink: 0;

    height: 70px;

    width: auto;

    object-fit: contain;

    filter: none !important;

    -webkit-filter: none !important;

    opacity: 1 !important;

    transition: transform .3s ease;
}

.partners-track img:hover {
    transform: scale(1.1);
}

@keyframes scrollPartners {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   ENROLL
========================================================= */

.enroll {
    padding: 60px 0%;

    background: var(--light);
}

.enroll-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: start;
}

.enroll h2 {
    margin: 15px 0;

    color: var(--primary);

    font-size: 42px;

    line-height: 1.2;
}

.enroll h2 span {
    color: var(--secondary);
}

.enroll-form form {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 20px;
}

.enroll-form input,
.enroll-form select,
.enroll-form textarea {
    width: 100%;

    padding: 14px;

    border: 1px solid #ddd;

    border-radius: var(--radius-sm);

    outline: none;

    background: var(--white);

    font-size: 15px;

    transition: .3s ease;
}

.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 10px rgba(1, 102, 202, .15);
}

.programs-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px 60px;

    margin: 40px 0;
}

.programs-list ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.programs-list li {
    margin-bottom: 12px;

    color: var(--black);

    font-size: 20px;

    line-height: 1.5;

    font-weight: 400;
}

.programs-list li::before {
    content: "›";

    margin-right: 10px;

    color: var(--primary);

    font-weight: 700;
}


/* =========================================================
   DESTINATIONS
========================================================= */

.destinations {
    padding: 60px 0%;

    margin: 0;

    background: var(--light);
}

.destinations-slider {
    position: relative;

    overflow: hidden;

    width: 100%;

    margin-top: 40px;
}

.destinations-track {
    display: flex;

    gap: 30px;

    width: max-content;

    animation: scrollFlags 30s linear infinite;
}

.destinations-track:hover {
    animation-play-state: paused;
}

.country-card {
    min-width: 220px;

    padding: 25px;

    background: var(--white);

    text-align: center;

    text-decoration: none;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.country-card:hover {
    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}

.country-card img {
    width: 150px;
    height: 100px;

    margin-bottom: 15px;

    object-fit: cover;

    border-radius: var(--radius-sm);
}

.country-card span {
    display: block;

    color: var(--primary);

    font-size: 18px;

    font-weight: 700;
}

.plus-icon {
    color: #0a1f44;

    font-size: .8em;

    margin-right: 5px;
}

@keyframes scrollFlags {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 60px 0%;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);

    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;

    font-size: 48px;
}

.cta p {
    max-width: 700px;

    margin: 0 auto 30px;
}


/* =========================================================
   ONLINE COURSE
========================================================= */

.online_course {
    width: 200px;

    padding: 5px 15px;

    background: rgb(0, 8, 80);

    border-radius: var(--radius-xl);

    text-align: center;

    font-size: 17px;

    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease;
}

.btn-secondary1 {
    display: block;

    color: var(--white);

    text-decoration: none;
}

@media (hover: hover) {
    .online_course:hover {
        background: rgb(155, 3, 3);

        transform: scale(1.05);

        cursor: pointer;
    }
}

.online_course:active,
.online_course.tap {
    transform: scale(.95);

    background: var(--secondary);
}

.pulse {
    animation: pulse3 .9s ease;
}

@keyframes pulse3 {
    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30%,
    50% {
        transform: scale(1.08);
    }

    20%,
    40%,
    60% {
        transform: scale(1);
    }
}


/* =========================================================
   YOUTUBE VIDEOS
========================================================= */

.youtube-videos {
    padding: 60px 0%;

    background: #f8f9fb;
}

.youtube-videos .section-title {
    color: #222;

    font-size: 28px;

    font-weight: 700;

    margin-bottom: 40px;
}

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}

.video-card {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000;

    border-radius: 12px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .20);
}

.video-card iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   ANIMATIONS GLOBAL
========================================================= */

.animate {
    opacity: 0;

    transform: translateY(40px);

    transition: .6s ease;
}

.animate.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RDV POPUP
========================================================= */

.rdv-popup {
    position: fixed;

    left: -420px;
    bottom: 40px;

    width: 330px;
    max-width: 92vw;

    margin-bottom: 100px;

    padding: 20px;

    background: var(--white);

    border-radius: 18px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .35);

    z-index: var(--z-chat);

    transition:
        left .6s ease,
        transform .3s ease;
}

.rdv-popup.show {
    left: 30px;
}

.rdv-popup .icon,
.icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    background: #eef6ff;

    color: #2563eb;

    border-radius: 50%;
}

.rdv-popup h3 {
    margin-bottom: 8px;

    font-size: 20px;
}

.rdv-popup p {
    margin-bottom: 15px;

    color: #666;

    font-size: 14px;
}

.rdv-popup input,
.rdv-popup textarea {
    width: 100%;

    padding: 10px;

    margin-bottom: 10px;

    border: 1px solid #ddd;

    border-radius: var(--radius-sm);

    outline: none;
}

.rdv-popup textarea {
    height: 70px;

    resize: none;
}

.rdv-popup button[type="submit"] {
    width: 50%;

    padding: 12px;

    border: 0;

    background: #ff0000;

    color: var(--white);

    border-radius: var(--radius-sm);

    font-weight: 600;

    cursor: pointer;

    transition: .3s ease;
}

.rdv-popup button[type="submit"]:hover {
    background: var(--primary);
}

.rdv-popup .close {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: #7c0404;

    border: 0;

    color: var(--white);

    font-size: 16px;

    border-radius: 6px;

    cursor: pointer;
}


/* =========================================================
   MESSAGES
========================================================= */

.success-box,
.error-box {
    padding: 10px;

    margin-bottom: 10px;

    border-radius: var(--radius-sm);

    font-size: 14px;
}

.success-box {
    background: #dcfce7;

    color: #166534;
}

.error-box {
    background: #fee2e2;

    color: #991b1b;
}


/* =========================================================
   POPUP GÉNÉRAL
========================================================= */

.popup {
    position: fixed;

    inset: 0;

    z-index: var(--z-popup);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background: rgba(0, 0, 0, .70);
}

.popup.active {
    display: flex;
}

.popup-content {
    position: relative;

    display: flex;

    flex-direction: column;

    width: 100%;
    max-width: 380px;

    min-height: 560px;
    max-height: 85vh;

    overflow: hidden;

    background: var(--white);

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .25);

    animation: popupIn .25s ease-out;
}

@keyframes popupIn {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-content img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}

.popup-content .close {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(0, 0, 0, .60);

    color: var(--white);

    border: 0;

    border-radius: 50%;

    font-size: 18px;

    cursor: pointer;

    transition: .2s ease;

    z-index: 2;
}

.popup-content .close:hover {
    background: rgba(0, 0, 0, .85);
}

.popup-text {
    flex: 1;

    padding: 18px;

    text-align: center;
}

.popup-text h3 {
    margin-bottom: 8px;

    font-size: 20px;
}

.popup-text h1 {
    margin-bottom: 8px;

    color: #ad010f;

    font-size: 22px;

    text-decoration: underline dotted;
}

.popup-text p {
    margin-bottom: 12px;

    color: var(--black);

    font-size: 15px;

    line-height: 1.4;
}

.popup-btn {
    display: inline-block;

    width: 100%;

    padding: 12px;

    background:
        linear-gradient(
            135deg,
            #f30900,
            #ec0101
        );

    color: var(--white);

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    animation: fastBlink .6s infinite;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

@keyframes fastBlink {
    0%,
    100% {
        transform: scale(1);

        box-shadow:
            0 0 0 rgba(255, 0, 0, 0);
    }

    25%,
    75% {
        transform: scale(1.05);

        box-shadow:
            0 0 18px rgba(255, 0, 0, .60);
    }

    50% {
        transform: scale(1);

        box-shadow:
            0 0 8px rgba(255, 0, 0, .40);
    }
}

.popup-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(22, 0, 71, .25);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;
}


/* =========================================================
   TABLETTE — ≤ 1200px
========================================================= */

@media (max-width: 1200px) {

    .submenu {
        column-gap: 40px;

        padding-left: 5%;
        padding-right: 5%;
    }

    .submenu li a {
        font-size: 15px;
    }

    .menu {
        gap: 18px;
    }

    .menu a {
        font-size: 15px;
    }
}


/* =========================================================
   TABLETTE / ZONE INTERMÉDIAIRE
   991px → 1125px
========================================================= */

@media (max-width: 1125px) and (min-width: 991px) {

    .logo img {
        height: 92px;
    }

    .menu {
        gap: 12px;
    }

    .menu a {
        font-size: 13.8px;
    }

    .submenu {
        min-width: 190px;
    }

    .submenu li a {
        font-size: 13px;
    }
}


/* =========================================================
   TABLETTE — ≤ 992px
========================================================= */

@media (max-width: 992px) {

    /* Navbar */

    .navbar {
        height: 80px;

        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .online_course {
        display: none;
    }

    .menu {
        position: fixed;

        top: 80px;
        right: -100%;

        width: 320px;
        max-width: 88vw;

        height: calc(100vh - 80px);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 25px;

        overflow-y: auto;

        white-space: normal;

        background: var(--white);

        box-shadow:
            -10px 0 30px rgba(0, 0, 0, .10);

        transition: right .4s ease;
    }

    .menu.active {
        right: 0;
    }

    .menu > li {
        width: 100%;
    }

    .menu > li > a {
        display: flex;

        align-items: center;

        width: 100%;

        padding: 15px 0;

        border-bottom: 1px solid #eee;

        font-size: 15px;
    }

    /* Dropdown mobile */

    .dropdown {
        position: relative;
    }

    .dropdown::after {
        display: none;
    }

    .dropdown > a {
        width: 100%;

        justify-content: space-between;
    }

    .submenu {
        position: static;

        display: none;

        grid-template-columns: 1fr;

        width: 100%;
        min-width: 100%;

        padding: 8px 0 8px 15px;

        background: transparent;

        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;
    }

    .dropdown.open > .submenu {
        display: grid;
    }

    .submenu li a {
        min-height: 42px;

        padding: 9px 12px;

        font-size: 14px;
    }

    .submenu li a::before {
        width: 18px;

        font-size: 18px;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding: 120px 20px 80px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .description {
        font-size: 18px;
    }

    .hero-right-overlay {
        display: none;
    }


    /* Slider */

    .slide-content {
        padding-top: 180px;
    }


    /* Grilles */

    .stats-grid,
    .services-grid,
    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .scholarship-grid,
    .advisor-grid,
    .enroll-grid {
        grid-template-columns: 1fr;
    }


    /* Images */

    .image-card img {
        max-width: 100%;
        height: auto;
    }


    /* Scholarship */

    .big-number {
        font-size: 90px;
    }


    /* Advisor */

    .advisor-avatar img {
        width: 220px;
        height: 220px;
    }


    /* RDV */

    .rdv-popup {
        width: 320px;

        left: -360px;

        margin-bottom: 70px;
    }

    .rdv-popup.show {
        left: 20px;
    }

    .rdv-popup h3 {
        font-size: 18px;
    }


    /* Popup */

    .popup-content {
        max-width: 340px;

        min-height: 520px;

        border-radius: 10px;
    }

    .popup-text h1 {
        font-size: 20px;
    }

    .popup-text h3 {
        font-size: 18px;
    }

    .popup-text p {
        font-size: 14px;
    }

    .popup-btn {
        padding: 11px;

        font-size: 15px;
    }
}


/* =========================================================
   MOBILE — ≤ 768px
========================================================= */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }


    /* Navbar */

    .navbar {
        height: 70px;
    }

    .logo img {
        height: 85px;
    }

    .menu {
        top: 70px;

        height: calc(100vh - 70px);

        width: 300px;
    }


    /* Sections */

    .services,
    .process,
    .about,
    .scholarship,
    .advisor,
    .partners,
    .enroll,
    .destinations,
    .youtube-videos,
    .cta,
    .stats {
        padding: 60px 0%;
    }


    /* Hero */

    .hero {
        min-height: 100vh;

        padding:
            130px 20px
            70px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .description {
        font-size: 16px;

        line-height: 1.7;
    }

    .badge,
    .badge1 {
        padding: 10px 18px;

        font-size: 12px;
    }


    /* Hero buttons */

    .hero-buttons {
        flex-direction: column;

        align-items: center;

        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;

        max-width: 350px;

        text-align: center;
    }


    /* Slider */

    .hero-slider {
        height: 90vh;
    }

    .slide-content {
        padding-top: 130px;

        text-align: center;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 14px;

        margin-bottom: 20px;
    }

    .controls {
        display: none;
    }


    /* Section titles */

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2,
    .about-text h2,
    .scholarship-text h2,
    .advisor-text h2,
    .cta h2,
    .enroll h2 {
        font-size: 28px;
    }


    /* Stats */

    .stats-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .stat-card {
        padding: 22px;

        gap: 16px;

        border-radius: 16px;
    }

    .stat-icon {
        width: 38px;

        font-size: 30px;
    }

    .stat-card h2 {
        font-size: 30px;
    }

    .stat-card p {
        font-size: 14px;
    }


    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
    }


    /* Process */

    .process-grid {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 40px;
    }


    /* About */

    .about-grid {
        gap: 35px;
    }

    .image-card img {
        width: 100% !important;

        height: auto !important;
    }


    /* Scholarship */

    .scholarship-grid {
        gap: 35px;
    }

    .scholarship-card {
        padding: 35px 25px;
    }

    .big-number {
        font-size: 70px;
    }

    .scholarship-card p {
        font-size: 20px;
    }


    /* Advisor */

    .advisor-grid {
        gap: 35px;
    }

    .advisor-card {
        padding: 30px 20px;
    }

    .advisor-avatar img {
        width: 180px;
        height: 180px;
    }

    .advisor-buttons {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-call {
        width: 100%;
    }


    /* Partners */

    .partners-track {
        gap: 40px;

        animation-duration: 15s;
    }

    .partners-track img {
        height: 50px;
    }


    /* Enrollment */

    .enroll-grid {
        gap: 35px;
    }

    .programs-list {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .programs-list li {
        font-size: 16px;
    }


    /* Destinations */

    .destinations-track {
        gap: 20px;
    }

    .country-card {
        min-width: 180px;
    }

    .country-card img {
        width: 120px;
        height: 80px;
    }


    /* CTA */

    .cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }


    /* RDV */

    .rdv-popup {
        left: 50%;

        bottom: 15px;

        width: 92%;

        margin-bottom: 0;

        transform:
            translateX(-50%)
            translateY(120%);

        transition: transform .6s ease;
    }

    .rdv-popup.show {
        left: 50%;

        transform:
            translateX(-50%)
            translateY(0);
    }


    /* Popup */

    .popup {
        padding: 10px;
    }

    .popup-content {
        width: 95%;

        max-width: 95%;

        min-height: 75vh;

        border-radius: 10px;
    }

    .popup-content img {
        max-height: 100%;

        object-fit: contain;
    }

    .popup-text {
        padding: 14px;
    }

    .popup-text h1 {
        font-size: 20px;
    }

    .popup-text h3 {
        font-size: 16px;
    }

    .popup-text p {
        font-size: 14px;
    }

    .popup-btn {
        padding: 10px;

        font-size: 14px;
    }


    /* Footer */

    footer {
        text-align: center;
    }
}


/* =========================================================
   PETITS MOBILES — ≤ 480px
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }


    /* Navbar */

    .navbar {
        padding: 0 15px;
    }

    .logo img {
        height: 78px;
    }

    .menu {
        width: 285px;

        padding: 20px;
    }


    /* Sections */

    .services,
    .process,
    .about,
    .scholarship,
    .advisor,
    .partners,
    .enroll,
    .destinations,
    .youtube-videos,
    .cta,
    .stats {
        padding: 60px 0%;
    }


    /* Hero */

    .hero h1 {
        font-size: 30px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 24px;
    }


    /* Buttons */

    .btn-primary,
    .btn-secondary,
    .btn-whatsapp,
    .btn-call {
        width: 100%;
    }


    /* Cards */

    .stat-card,
    .feature-card,
    .process-card,
    .advisor-card,
    .scholarship-card {
        padding: 20px;
    }


    /* Scholarship */

    .big-number {
        font-size: 55px;
    }


    /* Popup */

    .popup-content {
        min-height: 78vh;
    }

    .popup-text h1 {
        font-size: 18px;
    }

    .popup-text p {
        font-size: 14px;
    }

    .popup-btn {
        font-size: 13px;
    }

    .popup-content .close {
        width: 28px;
        height: 28px;

        font-size: 16px;

        background: #ad010f;
    }


    /* RDV */

    .rdv-popup {
        width: 95%;

        padding: 15px;
    }

    .rdv-popup h3 {
        font-size: 16px;
    }

    .rdv-popup p {
        font-size: 14px;
    }

    .rdv-popup input,
    .rdv-popup textarea {
        padding: 9px;

        font-size: 14px;
    }

    .rdv-popup button {
        padding: 11px;

        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITÉ
========================================================= */

:focus-visible {
    outline: 2px solid var(--secondary);

    outline-offset: 3px;
}


/* Réduction des animations pour utilisateurs concernés */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}