/* --- VARIABLES & BASE --- */
:root {
    --primary-blue: #004AAD;
    --accent-red: #ED1C24;
    --pure-white: #FFFFFF;
    --deep-black: #121212;
    --text-dark: #2D3436;
    --text-light: #636e72;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 2. S'assurer que le body ne déborde jamais */
body {
    font-family: 'Poppins', sans-serif;
    width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* 3. Ajustement spécifique pour mobile */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
    /* Réduit l'espacement des lettres si Poppins est trop large */
    body {
        letter-spacing: -0.02em;
    }
}

/* Force la réinitialisation du box-sizing */
*, *:before, *:after {
    box-sizing: border-box;
}

/* html, body {
    max-width: 100%;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
} */

/* Correction spécifique pour les éléments qui causent souvent l'espace blanc
.container, .row, section, div {
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 15px;
    padding-left: 15px;
} */

/* --- NAVIGATION FLOTTANTE --- */
.main-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    height: 75px;
}

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

/* Logo */
.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-box {
    background: var(--accent-red);
    color: white;
    font-weight: 800;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.brand-name {
    display: block;
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.1rem;
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-dark);
}

/* Menu Bureau */
.nav-menu-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu-desktop a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-menu-desktop a:hover,
.nav-menu-desktop a.active {
    color: var(--accent-red);
}

/* Actions & Profile */
.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
}

.badge-dot {
    position: absolute;
    top: 2px;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    border: 2px solid white;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
    cursor: pointer;
    transition: 0.3s;
}

/* Dropdown Profile */
.profile-container {
    position: relative;
}

.profile-menu {
    position: absolute;
    top: 65px;
    right: 0;
    width: 220px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.profile-container:hover .profile-menu {
    display: flex;
}

.profile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- MOBILE & OFFCANVAS --- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--pure-white);
    z-index: 2000;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.offcanvas-links {
    list-style: none;
}

.offcanvas-links li {
    margin-bottom: 20px;
}

.offcanvas-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.mobile-burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-burger span {
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .nav-menu-desktop {
        display: none;
    }

    .mobile-burger {
        display: flex;
    }

    .main-header {
        width: 95%;
        padding: 0 15px;
    }

    .brand-sub {
        display: none;
    }
}

/* --- FOOTER --- */
.main-footer {
    background: var(--deep-black);
    color: var(--pure-white);
    padding: 60px 0 20px;
    text-align: center;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 0% 0%, rgba(0, 74, 173, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(237, 28, 36, 0.05) 0%, transparent 50%);
    padding-top: 100px;
    /* Espace pour la navbar flottante */
    overflow: hidden;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--deep-black);
    margin-bottom: 25px;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 550px;
    margin-bottom: 40px;
}

/* Boutons */
.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-main {
    background: var(--accent-red);
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.2);
}

.btn-main:hover {
    transform: translateY(-5px);
    background: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #eee;
}

/* Visuel Hero */
.image-wrapper {
    position: relative;
}

.floating-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
    animation: floating 6s ease-in-out infinite;
}

.experience-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.experience-card i {
    color: #27ae60;
    font-size: 1.5rem;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    /* Image en haut sur mobile */
}

/* --- AMÉLIORATIONS DU DESIGN --- */

/* On permet au contenu de passer au-dessus de l'image sur Desktop */
.hero-content {
    z-index: 5;
    position: relative;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

/* Effet de chevauchement des stats sur l'image (Desktop) */
@media (min-width: 993px) {
    .overlap-card {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        padding: 25px;
        border-radius: 20px;
        box-shadow: var(--shadow);
        width: fit-content;
        margin-right: -100px;
        /* Pousse les stats sur l'image */
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* --- CORRECTIF RESPONSIVE (MOBILE) --- */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        /* Force le texte EN PREMIER */
        gap: 40px;
    }

    .hero-visual {
        order: 2;
        /* L'image passe en DEUXIÈME */
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-content {
        order: 1;
        /* Le texte passe en PREMIER */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-main,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* Sur mobile, on enlève le chevauchement pour la lisibilité */
    .overlap-card {
        justify-content: center;
        margin-right: 0;
        background: transparent;
        box-shadow: none;
    }
}

/* --- HERO IMMERSIVE --- */
.hero-immersive {
    height: 100vh;
    background: #050a18;
    /* Bleu très profond quasi noir */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Effets de lumière en arrière-plan */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    filter: blur(80px);
    animation: moveGlow 15s infinite alternate;
}

@keyframes moveGlow {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(200px, 300px);
    }
}

.immersive-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

/* Titre Effet Verre / Métal */
.main-title-glass {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.line-one {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.line-two {
    display: block;
    background: linear-gradient(135deg, #fff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dynamic-slogan {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.8;
}

.type-effect {
    color: var(--accent-red);
    font-weight: 700;
    border-bottom: 3px solid var(--accent-red);
}

/* Boutons Lumineux */
.glow-btn-primary {
    background: var(--accent-red);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 30px rgba(237, 28, 36, 0.5);
    transition: 0.4s;
}

.glow-btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 50px rgba(237, 28, 36, 0.8);
}

/* Cartes Flottantes */
.floating-cards-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.f-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: floatAnim 4s infinite ease-in-out;
}

.f-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.f-2 {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.f-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .f-card {
        display: none;
    }

    /* On épure sur mobile */
    .main-title-glass {
        font-size: 3.5rem;
    }
}

/* --- HERO 3D EXPERIENTIAL --- */
.hero-3d {
    height: 100vh;
    background: radial-gradient(circle at center, #0a192f 0%, #02060c 100%);
    perspective: 2000px;
    /* Profondeur de champ */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
}

.main-content-3d {
    transform-style: preserve-3d;
    z-index: 10;
}

.tilt-box {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Titre avec couches de profondeur */
.title-3d {
    font-size: 8vw;
    font-weight: 900;
    line-height: 0.8;
    text-align: center;
}

.title-3d .layer {
    display: block;
    transform: translateZ(50px);
    /* Fait sortir le texte de l'écran */
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.title-3d .highlight {
    color: var(--accent-red);
    transform: translateZ(120px);
    /* Plus proche de l'utilisateur */
    filter: drop-shadow(0 0 15px rgba(237, 28, 36, 0.4));
}

/* Anneaux Lumineux 3D */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}

.ring-blue {
    width: 600px;
    height: 600px;
    box-shadow: 0 0 50px var(--primary-blue);
    animation: rotateRing 20s linear infinite;
}

.ring-red {
    width: 800px;
    height: 800px;
    box-shadow: 0 0 40px var(--accent-red);
    animation: rotateRing 30s linear infinite reverse;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg);
    }
}

/* Boutons 3D avec reflet */
.btn-3d-primary {
    background: var(--accent-red);
    padding: 20px 45px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    color: white;
    transform: translateZ(80px);
    display: inline-block;
    box-shadow: 0 15px 0 #9b1217;
    /* Épaisseur du bouton */
    transition: 0.2s;
}

.btn-3d-primary:active {
    transform: translateZ(80px) translateY(10px);
    box-shadow: 0 5px 0 #9b1217;
}

/* --- HERO CLEAN CORPORATE --- */
.hero-clean {
    position: relative;
    padding: 180px 0 100px 0;
    background: #ffffff;
    overflow: hidden;
    min-height: 100vh;
}

.clean-container {
    width: 85%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Formes de fond */
.shape-blob {
    position: absolute;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.15;
}

.blob-blue {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -100px;
    left: -100px;
}

.blob-red {
    width: 300px;
    height: 300px;
    background: var(--accent-red);
    bottom: -50px;
    right: 50px;
}

/* Tag expertise */
.expertise-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.expertise-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
}

.main-title {
    font-size: 4.8rem;
    line-height: 1.05;
    font-weight: 800;
    color: var(--deep-black);
    margin-bottom: 30px;
}

.text-blue {
    color: var(--primary-blue);
}

.text-red {
    color: var(--accent-red);
}

.sub-text {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 45px;
}

/* Boutons */
.hero-action-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-primary {
    background: var(--deep-black);
    color: white;
    padding: 20px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.cta-primary:hover {
    background: var(--accent-red);
    transform: scale(1.05);
}

.cta-link {
    text-decoration: none;
    color: var(--deep-black);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Image et Badge */
.main-card-wrapper {
    position: relative;
    z-index: 2;
}

.img-hero-clean {
    width: 100%;
    border-radius: 40px 100px 40px 40px;
    /* Coupe asymétrique pro */
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.trust-badge {
    position: absolute;
    top: 50px;
    right: -30px;
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .clean-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main-title {
        font-size: 3rem;
    }

    .sub-text {
        margin: 0 auto 40px;
    }

    .hero-action-row {
        flex-direction: column;
    }

    .trust-badge {
        display: none;
    }
}

/* --- HERO SLIDER TECHNOLOGIQUE --- */
.hero-premium {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 1s ease-in-out;
    transform: scale(1.1);
    /* Effet de zoom arrière */
}

.item.active {
    opacity: 1;
    transform: scale(1);
}

.glass-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(2px);
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 20px;
}

/* Texte Glitch & Tech */
.glitch-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.glitch-text span {
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(237, 28, 36, 0.5);
}

.slogan-center {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Statistiques en Glassmorphism */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 20px;
    min-width: 180px;
}

.stat-card .num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-card .lab {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Boutons Modernes */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-neon {
    background: var(--accent-red);
    color: white;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 0 30px rgba(237, 28, 36, 0.6);
    transition: 0.4s;
}

.btn-neon:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(237, 28, 36, 0.9);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.4s;
}

.btn-glass:hover {
    background: white;
    color: var(--deep-black);
}

/* Navigation */
.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}

#prev {
    left: 40px;
}

#next {
    right: 40px;
}

.slider-controls button:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* --- SECTION SERVICES TECHNOLOGIQUE --- */
.services-modern {
    padding: 120px 0;
    background: #0a0e17;
    /* Fond sombre profond */
    position: relative;
    overflow: hidden;
    color: white;
}

.circle-blur {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.2) 0%, transparent 70%);
    filter: blur(80px);
}

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

.badge-tech {
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-light {
    font-size: 3rem;
    margin-top: 20px;
    font-weight: 800;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Carte Style Glassmorphism */
.card-tech {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px;
    /* Espace pour l'effet de bordure lumineuse */
    border-radius: 25px;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.card-inner {
    background: #0f172a;
    padding: 50px 40px;
    border-radius: 22px;
    height: 100%;
}

.card-inner i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.card-inner h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.card-inner p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Effet au survol (Glow) */
.card-tech:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
}

.card-tech:hover .card-inner {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
}

.card-tech::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 40%);
    z-index: 3;
    pointer-events: none;
}

/* --- SECTION BENTO SERVICES --- */
.services-advanced {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title .line {
    width: 50px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 10px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.service-bento {
    background: white;
    height: 200px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* Bordure latérale gauche */
.service-bento::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    z-index: 5;
}

.color-blue::before {
    background: var(--primary-blue);
}

.color-red::before {
    background: var(--accent-red);
}

/* Contenu Principal */
.bento-main {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    transition: transform 0.4s;
}

.bento-main i {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.color-blue i {
    color: var(--primary-blue);
}

.color-red i {
    color: var(--accent-red);
}

.bento-main h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-black);
}

/* Détails masqués qui apparaissent au survol */
.bento-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-black);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.bento-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.bento-details a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Hover Effects */
.service-bento:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-bento:hover .bento-details {
    transform: translateY(0);
}

.service-bento:hover .bento-main {
    transform: translateY(-20px);
}

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

/* --- SERVICES 10 ADVANCED --- */
.services-advanced {
    padding: 100px 5%;
    /* Ne colle pas aux bords de la page */
    background: #f8fafc;
}

.services-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

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

.tech-tag {
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 5px;
}

.title-bold {
    font-size: 3rem;
    color: var(--deep-black);
    margin-top: 20px;
}

/* Grille des 10 services */
.services-grid-10 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* La Tuile Individuelle */
.service-tile {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Bordure d'un seul côté */
.border-red {
    border-left: 5px solid var(--accent-red);
}

.border-blue {
    border-left: 5px solid var(--primary-blue);
}

.tile-icon {
    font-size: 2rem;
    color: var(--deep-black);
    transition: 0.3s;
}

.service-tile h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Zone des détails cachée par défaut */
.tile-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.tile-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.detail-link {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-red);
    text-transform: uppercase;
}

/* EFFETS AU SURVOL */
.service-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--deep-black);
}

.service-tile:hover h3,
.service-tile:hover .tile-icon {
    color: white;
}

.service-tile:hover .tile-details {
    max-height: 200px;
    /* Révèle les détails */
    opacity: 1;
    margin-top: 10px;
}

.service-tile:hover .border-red,
.service-tile:hover .border-blue {
    border-left-width: 10px;
    /* La bordure s'épaissit */
}

/* --- SECTION SERVICES DARK PREMIUM --- */
.services-premium-dark {
    padding: 120px 5%;
    background: #0f172a;
    /* Fond bleu nuit pro pour casser le blanc */
    position: relative;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.section-intro-light {
    text-align: center;
    margin-bottom: 70px;
}

.badge-red {
    color: var(--accent-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
}

.title-white {
    font-size: 3.2rem;
    color: white;
    margin: 20px 0;
}

.desc-gray {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille de 10 */
.services-grid-10 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Carte Style Premier Design mais Améliorée */
.card-pills {
    background: rgba(255, 255, 255, 0.03);
    /* Translucide sur fond noir */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Bordures latérales */
.border-left-red {
    border-left: 4px solid var(--accent-red);
}

.border-left-blue {
    border-left: 4px solid var(--primary-blue);
}

.card-top i {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    transition: 0.3s;
}

.card-top h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.mini-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    transition: 0.3s;
}

.mini-list li {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-list i {
    color: #22c55e;
    font-size: 0.8rem;
}

/* Détails cachés (Effet au survol) */
.hidden-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0;
    transition: all 0.4s ease;
}

/* HOVER EFFECTS */
.card-pills:hover {
    background: white;
    /* La carte devient blanche au survol */
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-pills:hover .card-top h3,
.card-pills:hover .card-top i {
    color: var(--deep-black);
    /* Le texte devient noir quand la carte est blanche */
}

.card-pills:hover .mini-list li {
    color: var(--text-light);
}

.card-pills:hover .hidden-text {
    max-height: 100px;
    opacity: 1;
    margin-top: 15px;
    color: var(--text-light);
}

.card-pills:hover.border-left-red {
    border-left-width: 12px;
}

.card-pills:hover.border-left-blue {
    border-left-width: 12px;
}

/* --- SERVICES GRID PREMIUM --- */
.services-premium-grid {
    padding: 120px 0;
    background: #f4f7fa;
    /* Fond gris très clair pour casser le blanc */
    position: relative;
}

.services-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
}

.badge-red {
    background: rgba(237, 28, 36, 0.1);
    color: var(--accent-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.title-dark {
    font-size: 3rem;
    color: var(--deep-black);
    margin: 20px 0;
    font-weight: 800;
}

.grid-15 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.s-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.s-icon {
    width: 55px;
    height: 55px;
    background: #f8f9fa;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: 0.3s;
}

.s-info h3 {
    font-size: 1.2rem;
    color: var(--deep-black);
    margin-bottom: 8px;
    font-weight: 700;
}

.s-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* EFFETS AU SURVOL - Identique au premier design */
.s-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.08);
}

.s-card:hover .s-icon {
    background: var(--primary-blue);
    color: white;
    transform: rotateY(360deg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .title-dark {
        font-size: 2rem;
    }

    .s-card {
        padding: 25px;
    }
}

/* --- SECTION EXPERTISES SOMBRE --- */
.expertises-section {
    background: #0f172a;
    /* Fond bleu nuit très sombre */
    padding: 100px 8%;
    color: white;
}

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

.top-tag {
    color: var(--accent-red);
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 0.9rem;
}

.main-title {
    font-size: 3rem;
    margin-top: 15px;
    font-weight: 800;
}

.highlight {
    color: var(--primary-blue);
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Carte Style Premium */
.exp-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Bordures latérales demandées */
.border-red {
    border-left: 5px solid var(--accent-red);
}

.border-blue {
    border-left: 5px solid var(--primary-blue);
}

.exp-card i {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
}

.exp-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.exp-card p {
    color: #94a3b8;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Effets Hover */
.exp-card:hover {
    background: white;
    transform: translateY(-10px);
}

.exp-card:hover h3,
.exp-card:hover p,
.exp-card:hover i {
    color: var(--deep-black);
}

/* Gestion du Voir Plus */

.hide {
    display: none !important;
}

.show {
    display: block !important;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#btnIcon {
    transition: transform 0.3s ease;
}

/* Bouton Toggle */
.btn-container {
    text-align: center;
    margin-top: 50px;
}

.btn-toggle {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-toggle:hover {
    background: var(--primary-blue);
}

/* --- SECTION CONFIANCE (FOND CLAIR) --- */
.trust-section {
    padding: 80px 8%;
    background: #f4f7fa;
    /* Gris très clair pour contraster avec le noir */
    color: var(--deep-black);
}

.container-trust {
    max-width: 1100px;
    margin: 0 auto;
}

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

/* Titre réduit */
.title-compact {
    font-size: 2.2rem;
    /* Taille réduite */
    font-weight: 800;
    margin: 15px 0;
    color: #1a1a1a;
}

.badge-red-outline {
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.desc-muted {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Items gauche */
.feat-item-light {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feat-icon {
    font-size: 1.4rem;
    color: var(--primary-blue);
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feat-item-light h4 {
    font-size: 1.1rem;
    color: #333;
}

.feat-item-light p {
    font-size: 0.9rem;
    color: #777;
}

/* Grille des stats (Cartes blanches sur fond gris) */
.trust-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-box-white {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
}

.stat-box-white h3 {
    display: inline-block;
    font-size: 2.2rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.stat-box-white .suffix {
    font-size: 1.2rem;
    color: var(--accent-red);
    font-weight: 700;
}

.stat-box-white p {
    color: #888;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Mobile */
@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .feat-item-light {
        text-align: left;
    }
}

/* --- PORTFOLIO HUB --- */
.portfolio-hub {
    padding: 80px 8%;
    background: #f8fafc;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Style de la carte */
.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
}

.card-img {
    position: relative;
    height: 220px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Status Tags */
.status-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-tag.completed {
    background: #27ae60;
    color: white;
}

.status-tag.progress {
    background: #f39c12;
    color: white;
}

.card-body {
    padding: 25px;
}

.category {
    color: var(--accent-red);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1e293b;
}

.card-body p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Liens et boutons */
.project-link,
.view-assets {
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.portfolio-footer {
    text-align: center;
    margin-top: 60px;
}

.btn-main-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-main-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- SECTION BLOG BENTO --- */
.blog-bento {
    padding: 100px 8%;
    background: #fcfcfc;
}

.blog-top-center {
    text-align: center;
    margin-bottom: 60px;
}

.tech-badge {
    background: rgba(0, 74, 173, 0.05);
    color: var(--primary-blue);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-premium {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 15px 0;
    color: var(--deep-black);
}

.accent-bar {
    width: 50px;
    height: 4px;
    background: var(--accent-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* Bento Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Featured Card */
.bento-featured {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bento-img {
    height: 100%;
    position: relative;
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 24, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.tag-red {
    background: var(--accent-red);
    color: white;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.bento-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.bento-overlay p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
}

.btn-read {
    color: white;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

/* Side Items */
.bento-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #eee;
    transition: 0.3s;
    cursor: pointer;
}

.side-date {
    background: #f8fafc;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    min-width: 65px;
}

.side-date span {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.side-content .cat {
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.side-content h4 {
    font-size: 1.1rem;
    margin: 5px 0 10px;
    color: var(--deep-black);
}

.simple-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Animation */
.side-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.bento-featured:hover img {
    transform: scale(1.05);
}

.bento-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-minimal {
    text-decoration: none;
    color: var(--deep-black);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 5px;
}

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

    .bento-featured {
        height: 400px;
    }
}

/* --- SECTION BLOG BENTO DARK --- */
.blog-bento-dark {
    padding: 100px 8%;
    background: radial-gradient(circle at top right, #0f172a, #050a18);
    /* Dégradé profond */
    position: relative;
    overflow: hidden;
}

/* Effet de grille en arrière-plan */
.blog-bento-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.tech-badge-light {
    border: 1px solid rgba(0, 74, 173, 0.5);
    color: #38bdf8;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.title-premium-white {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 15px 0;
    color: white;
}

.text-blue-light {
    color: #38bdf8;
}

/* Side Items Dark */
.side-item-dark {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
    cursor: pointer;
}

.side-item-dark:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-blue);
    transform: translateX(10px);
}

.side-date-dark {
    background: rgba(0, 74, 173, 0.2);
    color: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    min-width: 65px;
}

.side-date-dark span {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
}

.cat-red {
    color: var(--accent-red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.side-content h4 {
    color: white;
    margin: 5px 0 10px;
    font-size: 1.1rem;
}

.simple-link-white {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Bouton Final Glow */
.btn-glow-blue {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border: 1px solid #38bdf8;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    background: rgba(56, 189, 248, 0.05);
}

.btn-glow-blue:hover {
    background: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    color: #050a18;
}

/* --- SECTION CONTACT ALTERNÉE (FOND CLAIR) --- */
.contact-alternate {
    padding: 100px 8%;
    background: #ffffff;
    /* Fond blanc pur pour couper avec le noir du blog */
    position: relative;
}

.contact-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.badge-blue-soft {
    background: #edf2ff;
    color: var(--primary-blue);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.title-modern-dark {
    font-size: 2.3rem;
    color: #1e293b;
    margin: 15px 0;
    font-weight: 900;
}

.subtitle-gray {
    color: #64748b;
    font-size: 1rem;
}

/* Mise en page du formulaire */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.form-glass {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    /* Ombre très douce */
    border: 1px solid #f1f5f9;
}

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

.form-input {
    margin-bottom: 20px;
}

.form-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #334155;
}

.form-input input,
.form-input select,
.form-input textarea {
    width: 100%;
    padding: 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fcfdfe;
    transition: 0.3s;
}

.form-input input:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.btn-send {
    width: 100%;
    padding: 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: var(--deep-black);
    transform: translateY(-3px);
}

/* Sidebar d'info */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card-light {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 18px;
    transition: 0.3s;
}

.info-card-light:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-circle {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.3rem;
    color: white;
}

.icon-circle.red {
    background: var(--accent-red);
}

.icon-circle.blue {
    background: var(--primary-blue);
}

.icon-circle.dark {
    background: #1e293b;
}

.info-card-light .label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
}

.info-card-light .value {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 800;
}

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- FOOTER FINAL --- */
.main-footer {
    background: #020617;
    /* Noir très profond */
    color: #ffffff;
    padding: 80px 8% 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Style */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary-blue);
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

/* Links Style */
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: var(--accent-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Newsletter */
.newsletter-text {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-newsletter {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 12px;
}

.footer-newsletter input {
    background: transparent;
    border: none;
    padding: 10px;
    color: white;
    width: 100%;
    outline: none;
}

.footer-newsletter button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: var(--accent-red);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-content p {
    color: #64748b;
    font-size: 0.85rem;
}

.bottom-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
}

.bottom-links a:hover {
    color: white;
}

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

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

    .bottom-content {
        justify-content: center;
        text-align: center;
    }
}

/* --- SECTION MAP --- */
.location-map {
    padding: 60px 0 0 0;
    /* Pas de padding en bas car le footer suit */
    background: #f8fafc;
    position: relative;
}

.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-header i {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.map-header h3 {
    font-size: 1.8rem;
    color: var(--deep-black);
    font-weight: 800;
}

.map-header h3 span {
    color: var(--primary-blue);
}

.google-map-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
    /* Enlever l'espace sous l'iframe */
}

/* On peut garder l'effet de couleur ou laisser naturel pour plus de clarté */
.google-map-wrapper iframe {
    filter: saturate(1.2) contrast(1.1);
}

.map-floating-card {
    position: absolute;
    top: 50px;
    left: 8%;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    width: 300px;
    z-index: 10;
}

.map-floating-card h5 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.map-floating-card p {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-route {
    display: inline-block;
    margin-top: 15px;
    color: white;
    background: var(--deep-black);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s;
}

.btn-route:hover {
    background: var(--accent-red);
}

@media (max-width: 768px) {
    .map-floating-card {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

/* --- SECTION FORMATIONS --- */
/* --- SECTION FORMATIONS - VIBRANT MESH GRADIENT --- */
.formations-section {
    padding: 100px 8%;
    background-color: #ffffff;
    /* Gradients Radiaux avec opacité augmentée (0.3 au lieu de 0.1) */
    background-image:
        radial-gradient(at 0% 0%, rgba(0, 74, 173, 0.3) 0px, transparent 55%),
        radial-gradient(at 100% 0%, rgba(237, 28, 36, 0.25) 0px, transparent 55%),
        radial-gradient(at 50% 100%, rgba(255, 120, 0, 0.3) 0px, transparent 60%);
    position: relative;
    overflow: hidden;
}

/* Optionnel : Animation de flottement du fond */
.formations-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Texture légère pour le grain tech */
    opacity: 0.05;
    pointer-events: none;
}

/* --- CARTES DE FORMATION (Plus contrastées) --- */
.formation-card {
    background: rgba(255, 255, 255, 0.95);
    /* Plus opaque pour la lisibilité */
    backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.08);
    /* Ombre teintée bleu */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.formation-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(237, 28, 36, 0.15);
    /* Ombre qui passe au rouge au survol */
    border-color: var(--accent-red);
}

/* --- SECTION STAGES (Effet Verre Intense) --- */
.internship-box {
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.4);
    /* Très transparent pour voir les couleurs vives */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 40px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.internship-text h3 {
    font-size: 2.5rem;
    color: #050a18;
    background: linear-gradient(90deg, #004aad, #ed1c24);
    /* Titre en dégradé */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Bouton S'inscrire (btn-enroll) plus dynamique */
.btn-enroll {
    color: var(--primary-blue);
    padding: 8px 20px;
    border: 1px solid var(--primary-blue);
    border-radius: 50px;
    transition: 0.3s;
}

.btn-enroll:hover {
    background: var(--primary-blue);
    color: white;
}

.formations-header {
    text-align: center;
    margin-bottom: 60px;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.formation-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
}

.formation-card::before {
    content: attr(data-level);
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 2;
    color: #1e293b;
}

.card-top {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.color-blue {
    background: linear-gradient(135deg, #004aad, #00c6ff);
}

.color-red {
    background: linear-gradient(135deg, #ed1c24, #ff5f6d);
}

.color-dark {
    background: linear-gradient(135deg, #050a18, #1e293b);
}

.card-info {
    padding: 30px;
}

.card-info h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0f172a;
}

.card-info p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feat-list {
    list-style: none;
    margin-bottom: 25px;
}

.feat-list li {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-list i {
    color: #22c55e;
    font-size: 0.9rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.duration {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
}

.btn-enroll {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.9rem;
    transition: 0.3s;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
}

/* Nouvelles couleurs de gradients */
.color-blue-alt {
    background: linear-gradient(135deg, #2563eb, #7dd3fc);
}

.color-purple {
    background: linear-gradient(135deg, #6d28d9, #db2777);
}

/* Bouton Voir Plus */
.formations-more {
    text-align: center;
    margin: 50px 0 80px;
}

.btn-view-all {
    padding: 15px 35px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    transition: 0.3s;
}

.btn-view-all:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- SECTION STAGES PREMIUM --- */


/* Petit effet décoratif en arrière-plan */
.internship-box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.internship-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.internship-text h3 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.internship-text p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Liste des avantages du stage */
.internship-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.internship-tags span {
    background: white;
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.internship-tags span::before {
    content: '•';
    color: var(--accent-red);
    font-size: 1.2rem;
}

/* Bouton d'action stylisé */
.internship-action {
    display: flex;
    justify-content: flex-end;
}

.btn-apply {
    background: var(--primary-blue);
    color: white;
    padding: 20px 45px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.2);
}

.btn-apply i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-apply:hover {
    background: var(--deep-black);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-apply:hover i {
    transform: translateX(5px) rotate(-10deg);
}

/* Adaptabilité Mobile */
@media (max-width: 992px) {
    .internship-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .internship-text h3 {
        font-size: 1.8rem;
    }

    .internship-tags {
        justify-content: center;
    }

    .internship-action {
        justify-content: center;
    }

    .internship-box {
        padding: 40px 20px;
    }
}


/* --- SECTION BOUTIQUE BENTO --- */
.shop-preview {
    padding: 100px 8%;
    background: #0a0f1d;
    /* Fond sombre profond */
    position: relative;
}

.shop-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-badge-gold {
    color: #fbbf24;
    border: 1px solid #fbbf24;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
}

.shop-bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 25px;
}

.shop-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #1e293b;
}

.shop-item.large {
    grid-row: span 2;
}

.shop-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
    opacity: 0.6;
}

.shop-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10, 15, 29, 0.9), transparent);
}

.shop-overlay.mini {
    padding: 25px;
}

.category-tag {
    background: var(--primary-blue);
    color: white;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.shop-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.shop-overlay h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.shop-overlay p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.btn-shop,
.shop-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover Effects */
.shop-item:hover img {
    transform: scale(1.1);
    opacity: 0.4;
}

/* Bouton Central */
.shop-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-main-shop {
    background: #fbbf24;
    /* Couleur Or/Jaune pour la vente */
    color: #050a18;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.btn-main-shop:hover {
    background: white;
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .shop-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .shop-item.large {
        height: 400px;
    }

    .shop-item.small {
        height: 250px;
    }
}

/* --- SECTION PROMO FLASH --- */
.promo-banner {
    padding: 60px 8%;
    background: linear-gradient(135deg, #ed1c24, #004aad);
    /* Mix Rouge/Bleu Informatic Solutions */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-badge {
    background: #fbbf24;
    /* Or */
    color: #000;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.promo-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.countdown {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 20px 0;
    font-family: monospace;
}

.btn-promo {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.btn-promo:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- SECTION PRICING --- */
.pricing-section {
    padding: 100px 8%;
    background: #ffffff;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header span {
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pricing-header h2 span {
    color: var(--accent-red);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: white;
    padding: 50px 30px;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
}

.popular-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin: 20px 0;
}

.amount span {
    font-size: 1rem;
    color: #64748b;
}

.price-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.price-features li {
    margin-bottom: 15px;
    color: #475569;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features i {
    color: #22c55e;
}

.btn-price-outline {
    display: block;
    padding: 15px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
}

.btn-price-full {
    display: block;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .price-card.popular {
        transform: scale(1);
        margin: 20px 0;
    }
}

/* --- MODALE D'AUTHENTIFICATION --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    /* Caché par défaut */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 850px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    animation: modalSlideUp 0.5s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
    z-index: 10;
}

.modal-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 500px;
}

/* Côté gauche (Style Informatic Solutions) */
.modal-side-brand {
    background: linear-gradient(135deg, #004aad, #ed1c24);
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
}

.brand-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.brand-content h3 span {
    color: #fbbf24;
}

/* Côté droit (Formulaires) */
.modal-side-form {
    padding: 50px;
    background: white;
}

.form-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
}

.tab-btn {
    background: none;
    border: none;
    padding-bottom: 10px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.btn-auth:hover {
    background: var(--accent-red);
}

.auth-form-content {
    display: none;
}

.auth-form-content.active {
    display: block;
}

.guest-link {
    text-align: center;
    margin-top: 20px;
}

.guest-link a {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal-side-brand {
        display: none;
    }

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

/* --- BOTTOM NAV MOBILE --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    /* Effet verre blanc */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none;
    /* Caché par défaut (Desktop) */
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 10000;
    padding-bottom: env(safe-area-inset-bottom);
    /* Pour les iPhones récents */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    gap: 4px;
    transition: 0.3s;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item span {
    font-size: 0.65rem;
    font-weight: 700;
}

.nav-item.active {
    color: var(--primary-blue);
}

/* Élément Central (Boutique) */
.center-item {
    position: relative;
    top: -15px;
}

.center-circle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #004aad, #ed1c24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 8px 15px rgba(0, 74, 173, 0.3);
    border: 4px solid white;
}

/* Affichage uniquement sur Mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
    }

    /* On ajoute un padding au bas du body pour ne pas cacher le contenu du footer */
    body {
        padding-bottom: 80px;
    }
}

/* --- BOUTONS FLOTTANTS --- */
.floating-container {
    position: fixed;
    bottom: 90px;
    /* Au-dessus de la bottom nav mobile */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.whatsapp {
    background: #25d366;
    text-decoration: none;
}

.chatbot-trigger {
    background: var(--primary-blue);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

/* --- FENÊTRE CHAT --- */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-header {
    background: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.admin-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
}

.admin-info h4 {
    font-size: 0.9rem;
}

.admin-info span {
    font-size: 0.7rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    max-width: 85%;
}

.bot {
    background: #e2e8f0;
    color: #1e293b;
    align-self: flex-start;
}

.user {
    background: var(--primary-blue);
    color: white;
    margin-left: auto;
}

.faq-suggestions {
    margin-top: 15px;
}

.faq-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.faq-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.chat-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
}

.chat-footer input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

/* --- HERO DASHBOARD REVISITÉ --- */
.hero-dashboard {
    padding: 30px 5%;
    background: #f8fafc;
    height: 85vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 20px;
    height: 100%;
}

/* Style commun "Modale-like" */
.hero-card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* En-têtes des cartes */
.card-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.card-header i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.card-header span {
    font-weight: 800;
    font-size: 0.85rem;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.side-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Articles & Liens */
.mini-post h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin: 8px 0;
    line-height: 1.4;
}

.link-styled {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: 0.3s;
}

.link-styled:hover {
    border-bottom-color: var(--primary-blue);
    padding-left: 5px;
}

/* Tags discrets */
.tag-blue,
.tag-red,
.tag-dark {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
}

.tag-blue {
    background: #e0f2fe;
    color: #0369a1;
}

.tag-red {
    background: #fee2e2;
    color: #b91c1c;
}

/* Carousel Central */
.main-carousel {
    position: relative;
    border: none;
}

.slide {
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: 0;
    transition: 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 50px;
}

.slide.active {
    opacity: 1;
}

.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.btn-glass {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Académie Item */
.academy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
}

.academy-item h6 {
    font-size: 0.85rem;
    color: #1e293b;
}

.academy-item p {
    font-size: 0.7rem;
    color: #64748b;
}

.mini-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.btn-full-blue {
    margin-top: auto;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Navigation Carousel */
.carousel-nav-group {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.carousel-nav-group button {
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    color: #1e293b;
}

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

    .left-news,
    .right-academy {
        display: none;
    }
}

/* AJUSTEMENT NAVBAR */
.shop-page {
    padding: 120px 5% 50px;
    /* 120px pour passer sous la navbar fixe */
    background: #f1f5f9;
}

.shop-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* SIDEBAR & FILTRES */
.shop-sidebar {
    background: white;
    padding: 25px;
    border-radius: 20px;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.filter-group h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #1e293b;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
}

/* STYLE DOUBLE SLIDER PRIX */
.price-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.price-field {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.price-field span {
    font-size: 0.7rem;
    color: #94a3b8;
}

.price-field input {
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.8rem;
}

.slider-container {
    height: 5px;
    background: #e2e8f0;
    position: relative;
    border-radius: 5px;
    margin: 15px 0;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -20px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: var(--primary-blue);
    pointer-events: auto;
    -webkit-appearance: none;
    border: 3px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* GRILLE PRODUITS */
.shop-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.shop-header-info h2 {
    font-size: 1.5rem;
    color: #0f172a;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 18px;
    padding: 12px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.p-img {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-info {
    padding: 12px 5px;
}

.p-cat {
    font-size: 0.7rem;
    color: var(--accent-red);
    font-weight: 800;
    text-transform: uppercase;
}

.p-info h3 {
    font-size: 0.9rem;
    margin: 5px 0;
    color: #1e293b;
    height: 40px;
}

.p-price {
    font-weight: 900;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin: 10px 0;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    color: #1e293b;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.add-to-cart:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- STYLE BOUTIQUE AVANCÉ --- */
.shop-page {
    padding: 120px 5% 50px;
    background: #f8fafc;
}

/* Filtres Spéciaux (Promo/Flash) */
.special-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.check-container.promo {
    background: #fff1f2;
    color: #e11d48;
}

.check-container.flash {
    background: #fffbeb;
    color: #d97706;
}

.check-container:hover {
    transform: scale(1.02);
}

/* Style du Select (Tri) */
.sort-wrapper {
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1.5px solid var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.styled-sort {
    border: none;
    font-weight: 700;
    color: var(--primary-blue);
    outline: none;
    cursor: pointer;
}

/* Carte Produit & Badges */
.product-card {
    background: white;
    border-radius: 22px;
    padding: 10px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 900;
}

.badge.promo {
    background: #e11d48;
    color: white;
}

.badge.flash {
    background: #f59e0b;
    color: white;
}

/* Image & Overlay */
.p-img {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.p-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 74, 173, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.product-card:hover .p-overlay {
    opacity: 1;
}

.product-card:hover .p-img img {
    transform: scale(1.1);
}

.view-btn {
    padding: 10px 20px;
    background: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Actions (Boutons) */
.p-info {
    padding: 15px 5px;
}

.p-price {
    font-weight: 900;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.p-price small {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

.p-actions {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
}

.btn-cart {
    height: 45px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: white;
    color: #1e293b;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cart:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-buy {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.btn-buy:hover {
    background: var(--accent-red);
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

/* --- FIXER LA SIDEBAR SUR DESKTOP --- */
@media (min-width: 993px) {
    .shop-sidebar {
        position: sticky;
        top: 100px;
        /* Aligné sous ta navbar fixe */
        height: calc(100vh - 120px);
        /* Hauteur max de l'écran moins la navbar */
        overflow-y: auto;
        /* Permet de scroller dans les filtres si la liste est longue */
    }
}

/* --- RESPONSIVE MOBILE (Filtre coulissant) --- */
.mobile-filter-trigger {
    display: none;
    /* Caché sur PC */
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    margin-bottom: 20px;
    cursor: pointer;
}

.sidebar-header-mobile {
    display: none;
}

/* Caché sur PC */

@media (max-width: 992px) {
    .mobile-filter-trigger {
        display: block;
    }

    .shop-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        /* Caché à gauche */
        width: 85%;
        height: 100%;
        z-index: 10001;
        /* Au-dessus de tout */
        transition: 0.4s ease;
        border-radius: 0 30px 30px 0;
        /* Coins arrondis seulement à droite */
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
    }

    .shop-sidebar.active {
        left: 0;
    }

    /* On l'affiche */

    .sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    #closeFilters {
        font-size: 2rem;
        background: none;
        border: none;
        color: var(--accent-red);
    }

    /* Overlay pour assombrir le reste de l'écran quand le filtre est ouvert */
    .filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 10000;
    }

    .filter-overlay.active {
        display: block;
    }
}

.product-page {
    padding: 120px 5% 50px;
    background: #fff;
}

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

/* Grid Principale */
.product-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Galerie */
.main-display {
    background: #f9fafb;
    border-radius: 20px;
    padding: 20px;
    position: relative;
}

.main-display img {
    width: 100%;
    border-radius: 15px;
}

.thumb-track {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.t-item {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.t-item.active {
    border-color: var(--primary-blue);
}

/* Infos */
.p-title {
    font-size: 1.8rem;
    color: #111827;
    margin-bottom: 15px;
}

.p-pricing {
    margin-bottom: 25px;
}

.p-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.p-old {
    text-decoration: line-through;
    color: #9ca3af;
    margin-left: 10px;
}

/* Sélections */
.sel-group {
    margin-bottom: 20px;
}

.sel-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.color-chips {
    display: flex;
    gap: 10px;
}

.chip {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    outline: 1px solid #e5e7eb;
    cursor: pointer;
}

.chip.active {
    outline: 2px solid var(--primary-blue);
}

.qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    width: fit-content;
    border-radius: 8px;
}

.qty-btn {
    padding: 10px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

#qtyInput {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 700;
    outline: none;
}

/* Boutons */
.action-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-cart-big,
.btn-wa-big {
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-cart-big {
    background: var(--primary-blue);
    color: white;
}

.btn-wa-big {
    background: #25d366;
    color: white;
}

/* Onglets */
.tabs-header {
    display: flex;
    border-bottom: 2px solid #f3f4f6;
    gap: 30px;
    margin-bottom: 30px;
}

.tab-trigger {
    background: none;
    border: none;
    padding: 15px 0;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    position: relative;
}

.tab-trigger.active {
    color: var(--primary-blue);
}

.tab-trigger.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

.tab-pane {
    display: none;
    line-height: 1.6;
}

.tab-pane.active {
    display: block;
}

/* Tableau Specs */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.specs-table td:first-child {
    font-weight: 700;
    color: #374151;
    width: 30%;
}

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

    .p-title {
        font-size: 1.4rem;
    }
}

/* TAILLE DES IMAGES UNIFIÉE */
.main-display {
    height: 400px;
    /* Hauteur fixe */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
}

.main-display img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.thumb-track img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    /* Carré parfait pour les vignettes */
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

/* MINI DESCRIPTION */
.p-category {
    font-size: 0.75rem;
    color: var(--accent-red);
    font-weight: 700;
}

.p-mini-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin: 15px 0;
    line-height: 1.5;
}

/* STYLE DES AVIS */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #edf2f7;
}

.rev-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.rev-user img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.rev-date {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.rev-stars {
    margin-left: auto;
    color: #fbbf24;
    font-size: 0.8rem;
}

.rev-text {
    font-size: 0.9rem;
    color: #475569;
}

/* FORMULAIRE D'AVIS */
.review-form {
    background: white;
    padding: 25px;
    border: 1px dashed var(--primary-blue);
    border-radius: 20px;
}

.star-rating-input {
    margin: 15px 0;
    font-size: 1.5rem;
    color: #cbd5e1;
    cursor: pointer;
}

.star-rating-input i.active {
    color: #fbbf24;
}

.review-form textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    resize: none;
    margin-bottom: 15px;
}

.btn-submit-review {
    padding: 12px 25px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* SECTION PRODUITS SIMILAIRES */
.related-products {
    padding: 80px 5%;
    background: #fdfdfd;
    border-top: 1px solid #f1f5f9;
}

.section-header {
    margin-bottom: 40px;
    text-align: left;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #0f172a;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-header p {
    color: #64748b;
    margin-top: 10px;
    font-size: 1rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* On réutilise les styles des cartes produits de la boutique pour la cohérence */
.related-grid .product-card {
    background: white;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.related-grid .p-img {
    height: 200px;
    /* Taille uniforme pour ces images */
}

/* --- PAGE PANIER --- */
.cart-page {
    padding: 120px 5% 50px;
    background: #f8fafc;
    min-height: 90vh;
}

.cart-title {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 30px;
    font-weight: 800;
}

.cart-title span {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 400;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

/* Liste articles */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    border: 1px solid #edf2f7;
    transition: 0.3s;
}

.cart-card:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.cart-img {
    width: 120px;
    height: 120px;
    background: #f1f5f9;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-details {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
}

.cart-info h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.cart-variant {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.cart-unit-price {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1rem;
}

.cart-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.remove-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.continue-shopping {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
}

/* Récapitulatif Sticky */
.cart-summary {
    position: sticky;
    top: 120px;
}

.summary-box {
    background: white;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #edf2f7;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}

.summary-box h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #1e293b;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #64748b;
}

.free-text {
    color: #10b981;
    font-weight: 700;
}

.summary-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 20px 0;
}

.total {
    color: #1e293b;
    font-weight: 900;
    font-size: 1.2rem;
}

.total-price {
    color: var(--primary-blue);
}

.promo-code {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.promo-code input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
}

.promo-code button {
    padding: 10px 15px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

.secure-text {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 15px;
}

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

    .cart-summary {
        position: relative;
        top: 0;
    }

    .cart-card {
        flex-direction: column;
    }

    .cart-details {
        flex-direction: column;
        gap: 15px;
    }

    .cart-controls {
        align-items: flex-start;
    }
}

/* DESIGN PRÉCIS DES BOUTONS DE QUANTITÉ DANS LE PANIER */
.qty-box-cart {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 5px;
    width: fit-content;
    border: 1px solid #e2e8f0;
}

.qty-btn-cart {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: white;
    color: var(--primary-blue);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qty-btn-cart:hover {
    background: var(--primary-blue);
    color: white;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    outline: none;
    -moz-appearance: textfield;
    /* Cache les flèches par défaut */
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Style du bouton retirer */
.remove-item {
    margin-top: 10px;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-item:hover {
    text-decoration: underline;
}

/* --- SECTION CONTINUER LES ACHATS --- */
.continue-shopping-section {
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 50px;
}

.shopping-header {
    margin-bottom: 30px;
}

.shopping-header h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.shopping-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.upsell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.upsell-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.upsell-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.upsell-img {
    width: 100%;
    height: 140px;
    margin-bottom: 15px;
}

.upsell-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upsell-info {
    text-align: center;
    width: 100%;
}

.upsell-info h4 {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upsell-price {
    display: block;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.btn-quick-add {
    width: 100%;
    padding: 10px;
    border: 1.5px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-quick-add:hover {
    background: var(--primary-blue);
    color: white;
}


/* --- PAGE CHECKOUT --- */
.checkout-page {
    padding: 120px 5% 60px;
    background: #f1f5f9;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-num {
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Formulaire */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group.full {
    grid-column: span 2;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-blue);
}

/* Cartes de paiement */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.payment-card input {
    display: none;
}

.pay-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.pay-info img {
    height: 30px;
    width: auto;
}

.pay-info i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.check-mark {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.payment-card:has(input:checked) {
    border-color: var(--primary-blue);
    background: #f0f7ff;
}

.payment-card:has(input:checked) .check-mark {
    color: var(--primary-blue);
}

/* Résumé */
.summary-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 120px;
}

.s-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
}

.s-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.s-row.total {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-top: 15px;
}

.free {
    color: #10b981;
    font-weight: 700;
}

.btn-confirm-order {
    width: 100%;
    padding: 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
}

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

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

    .input-group.full {
        grid-column: span 1;
    }
}

/* --- STYLE BLACK FRIDAY --- */
.bf-page {
    background: #0a0a0a;
    color: white;
    padding-bottom: 80px;
}

.bf-hero {
    height: 70vh;
    background: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1200') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.bf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), #0a0a0a);
}

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

.bf-tag {
    background: #ed1c24;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
}

.bf-title {
    font-size: 5rem;
    font-weight: 900;
    margin: 20px 0;
    letter-spacing: -2px;
}

.bf-title span {
    color: #ed1c24;
    text-shadow: 0 0 20px rgba(237, 28, 36, 0.6);
}

/* Compte à rebours */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.timer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer span {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #ed1c24;
}

.timer small {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #ccc;
}

/* Filtres BF */
.bf-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.bf-filter {
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
}

.bf-filter.active,
.bf-filter:hover {
    background: #ed1c24;
    border-color: #ed1c24;
}

/* Cartes Produits BF */
.bf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.bf-card {
    background: #151515;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
    transition: 0.3s;
}

.bf-card:hover {
    transform: translateY(-10px);
    border-color: #ed1c24;
}

.bf-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ed1c24;
    color: white;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 900;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.4);
}

.bf-img {
    height: 220px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bf-img img {
    max-height: 100%;
    width: auto;
    transition: 0.5s;
}

.bf-card:hover .bf-img img {
    transform: scale(1.1);
}

.bf-info {
    padding: 20px;
}

.bf-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.bf-pricing {
    margin-bottom: 15px;
}

.old {
    text-decoration: line-through;
    color: #666;
    font-size: 0.9rem;
    margin-right: 10px;
}

.new {
    color: #ed1c24;
    font-size: 1.5rem;
    font-weight: 900;
}

/* Barre de stock */
.stock-bar {
    margin-bottom: 20px;
}

.stock-bar .fill {
    height: 6px;
    background: #333;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
}

.stock-bar .fill::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ed1c24;
    width: 30%;
    /* Dynamique */
}

.stock-bar span {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
}

.bf-btn-buy {
    width: 100%;
    padding: 15px;
    background: #ed1c24;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.bf-btn-buy:hover {
    background: white;
    color: #ed1c24;
}

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

    .countdown-container {
        gap: 10px;
    }

    .timer {
        min-width: 60px;
        padding: 10px;
    }
}

/* --- PAGE MES COMMANDES --- */
.orders-page {
    padding: 120px 5% 60px;
    background: #f8fafc;
    min-height: 100vh;
}

.orders-header {
    margin-bottom: 40px;
}

.orders-header h1 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.orders-header p {
    color: #64748b;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.order-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.order-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.order-main-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.order-main-info .label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.order-main-info strong {
    font-size: 1rem;
    color: #1e293b;
}

/* Status Badges */
.status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-badge.processing {
    background: #fff7ed;
    color: #ea580c;
}

.status-badge.delivered {
    background: #f0fdf4;
    color: #16a34a;
}

.status-badge.cancelled {
    background: #fef2f2;
    color: #dc2626;
}

/* Preview images */
.order-items-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.item-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.more-items {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Actions */
.order-actions {
    display: flex;
    gap: 15px;
}

.btn-order-detail,
.btn-invoice,
.btn-order-support {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-order-detail {
    background: #f1f5f9;
    color: #475569;
}

.btn-order-detail:hover {
    background: #e2e8f0;
}

.btn-invoice {
    background: white;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
}

.btn-order-support {
    background: #25d366;
    color: white;
}

@media (max-width: 768px) {
    .order-main-info {
        grid-template-columns: 1fr 1fr;
    }

    .order-actions {
        flex-direction: column;
    }

    .btn-order-detail,
    .btn-invoice,
    .btn-order-support {
        width: 100%;
        justify-content: center;
    }
}

/* --- DÉTAILS DE COMMANDE --- */
.order-detail-page {
    padding: 120px 5% 60px;
    background: #f8fafc;
}

.back-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-flex h1 {
    font-size: 1.8rem;
    color: #1e293b;
}

.btn-print {
    background: white;
    border: 1.5px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.tracking-card,
.items-card,
.side-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #edf2f7;
    margin-bottom: 25px;
}

.tracking-card h3,
.items-card h3,
.side-card h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #1e293b;
}

/* Timeline */
.tracking-timeline {
    position: relative;
    padding-left: 45px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 5px;
    width: 2px;
    height: 90%;
    background: #e2e8f0;
}

.step {
    position: relative;
    margin-bottom: 30px;
}

.step .icon {
    position: absolute;
    left: -45px;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 0.8rem;
    color: #94a3b8;
}

.step.completed .icon {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step.current .icon {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 15px rgba(0, 74, 173, 0.3);
}

.step .info strong {
    display: block;
    font-size: 0.95rem;
    color: #1e293b;
}

.step .info small {
    color: #94a3b8;
}

/* Liste articles */
.item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.item-row:last-child {
    border: none;
}

.item-row img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 10px;
}

.item-name {
    flex-grow: 1;
}

.item-name strong {
    display: block;
    font-size: 0.95rem;
}

.item-name span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.item-qty {
    font-weight: 700;
    color: #64748b;
}

.item-price {
    font-weight: 800;
    color: var(--primary-blue);
}

/* Side cards */
.payment-tag {
    background: #f0f7ff;
    color: var(--primary-blue);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 20px;
}

.address-text {
    line-height: 1.6;
    color: #475569;
    font-size: 0.9rem;
}

.btn-wa-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PAGE FACTURE --- */
/* --- CORRECTION AFFICHAGE FACTURE --- */
.invoice-wrapper {
    padding-top: 120px;
    /* Espace suffisant pour passer sous la navbar fixed */
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* On s'assure que les boutons ne sont pas cachés */
.invoice-actions {
    width: 100%;
    max-width: 800px;
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
    /* Pour passer au-dessus de tout sauf la navbar */
}

.btn-print-action,
.btn-download-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-print-action {
    background: var(--primary-blue);
    color: white;
}

.btn-download-action {
    background: white;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-print-action:hover {
    background: var(--accent-red);
}

/* --- AJUSTEMENT POUR L'IMPRESSION --- */
@media print {
    .invoice-wrapper {
        padding-top: 0 !important;
        /* Supprime la marge de la navbar sur le papier */
    }

    .no-print {
        display: none !important;
    }
}

.invoice-actions {
    width: 100%;
    max-width: 800px;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-print-action {
    padding: 12px 25px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn-download-action {
    padding: 12px 25px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.invoice-container {
    width: 100%;
    max-width: 800px;
    background: white;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    color: #1e293b;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-text span {
    color: var(--primary-blue);
}

.invoice-status {
    text-align: right;
}

.badge-paid {
    background: #dcfce7;
    color: #166534;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.invoice-status h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: #64748b;
}

.invoice-divider {
    margin: 40px 0;
    border: 0;
    border-top: 2px solid #f1f5f9;
}

.invoice-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.invoice-addresses h3 {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.invoice-addresses p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
}

/* Table */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.invoice-table th {
    background: #f8fafc;
    padding: 15px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
}

.invoice-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

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

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

/* Footer Facture */
.invoice-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.note h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.note p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.totals-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
}

.t-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.grand-total {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-blue);
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.payment-method {
    font-size: 0.8rem;
    margin-top: 20px;
    color: #64748b;
    text-align: right;
}

.signature {
    margin-top: 40px;
}

.sig-placeholder {
    height: 60px;
    border-bottom: 1px dashed #cbd5e1;
    width: 180px;
    margin-top: 10px;
}

/* --- CSS POUR L'IMPRESSION --- */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
    }

    .invoice-wrapper {
        padding: 0;
        background: white;
    }

    .invoice-container {
        box-shadow: none;
        max-width: 100%;
        padding: 0;
    }
}

/* --- PAGE GAGNANTS BLACK FRIDAY --- */
.winners-page {
    padding-top: 100px;
    padding-bottom: 80px;
    background: #fafafa;
}

.bf-winners-hero {
    background: #0a0a0a;
    color: white;
    padding: 60px 5%;
    text-align: center;
    border-bottom: 5px solid #ed1c24;
    margin-bottom: 60px;
}

.bf-winners-hero h1 {
    font-size: 2.5rem;
    margin: 15px 0;
    font-weight: 900;
}

.bf-winners-hero h1 span {
    color: #ed1c24;
}

.event-tag {
    background: #ed1c24;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Podium Design */
.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 80px;
}

.winner-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    border-bottom: 6px solid #e2e8f0;
}

.winner-card.gold {
    transform: scale(1.1);
    border-color: #fbbf24;
    z-index: 2;
}

.winner-card.silver {
    border-color: #cbd5e1;
}

.winner-card.bronze {
    border-color: #d97706;
}

.rank {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    background: #334155;
}

.gold .rank {
    background: #fbbf24;
    font-size: 1.2rem;
}

.winner-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #f8fafc;
}

.winner-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.city {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.prize-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.gold-prize {
    background: #fef3c7;
    color: #92400e;
}

/* Tableau */
.other-winners h2 {
    margin-bottom: 30px;
    text-align: center;
}

.winners-table-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.winners-table {
    width: 100%;
    border-collapse: collapse;
}

.winners-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #f1f5f9;
    color: #64748b;
    font-size: 0.85rem;
}

.winners-table td {
    padding: 15px;
    border-bottom: 1px solid #f8fafc;
}

.claim-info {
    text-align: center;
    margin-top: 50px;
}

.claim-info p {
    color: #64748b;
    margin-bottom: 20px;
}

.btn-back-home {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .podium-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .winner-card.gold {
        transform: scale(1);
    }
}

/* --- PAGE FORMATIONS --- */
.formations-page {
    padding-top: 80px;
    background: #f8fafc;
}

.formations-hero {
    background: linear-gradient(135deg, #001a3d 0%, var(--primary-blue) 100%);
    color: white;
    padding: 100px 5%;
    text-align: center;
}

.formations-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.formations-hero h1 span {
    color: var(--accent-red);
}

.feat-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.stat i {
    color: var(--accent-red);
}

/* Filtres */
.filter-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.pill {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    background: white;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.pill.active,
.pill:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Cartes Formations */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.course-banner {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.course-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.course-card:hover .course-banner img {
    scale: 1.1;
}

.level-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
}

.level-tag.beginner {
    background: #10b981;
}

.level-tag.intermediate {
    background: #f59e0b;
}

.level-tag.advanced {
    background: #ef4444;
}

.course-body {
    padding: 25px;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
    font-weight: 600;
}

.course-meta i {
    color: var(--primary-blue);
}

.course-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1e293b;
    line-height: 1.4;
}

.course-body p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.course-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.btn-enroll {
    text-decoration: none;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #1e293b;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-enroll:hover {
    background: var(--primary-blue);
    color: white;
}

@media (max-width: 768px) {
    .formations-hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- NOUVEAU STYLE FORMATION --- */
.course-detail-page {
    padding: 120px 5% 80px;
    background: #fff;
}

.course-header-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Style Prérequis Magnifique */
.prerequisites-box {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 18px;
    margin: 30px 0;
    border-left: 5px solid var(--primary-blue);
}

.prerequisites-box h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prereq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.prereq-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.prereq-item i {
    color: #10b981;
}

/* Accordéon Correction & Style */
.custom-accordion {
    margin-top: 30px;
}

.acc-item {
    border-bottom: 1px solid #e2e8f0;
}

.acc-trigger {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    transition: 0.3s;
}

.acc-trigger:hover {
    color: var(--primary-blue);
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    color: #64748b;
    line-height: 1.6;
}

.acc-item.active .acc-content {
    max-height: 500px;
    padding-bottom: 20px;
    transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

.acc-item.active .acc-trigger i {
    transform: rotate(45deg);
    color: var(--accent-red);
}

/* Sidebar */
.sticky-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 120px;
    text-align: center;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.btn-main-enroll {
    width: 100%;
    padding: 18px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    margin: 20px 0;
}

.fast-info {
    margin-top: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.fi-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #64748b;
    font-weight: 600;
}

/* --- STYLE MÉDIAS FORMATION --- */

/* Vidéo */
.course-video-wrapper {
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.course-video-wrapper iframe {
    display: block;
}

.video-caption {
    padding: 15px;
    background: #f8fafc;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}

/* Galerie d'images */
.course-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #f1f5f9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

    .course-video-wrapper iframe {
        height: 250px;
    }
}

/* --- MODAL D'INSCRIPTION --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: white;
    width: 95%;
    max-width: 550px;
    padding: 40px;
    border-radius: 30px;
    position: relative;
    transform: translateY(50px);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: #f1f5f9;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    background: #ef4444;
    color: white;
}

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

.header-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Formulaire interne */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-blue);
}

.btn-submit-enroll {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.form-footer {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .input-row {
        grid-template-columns: 1fr;
    }

    .modal-card {
        padding: 30px 20px;
    }
}

/* --- PAGE STAGE --- */
.internship-page {
    padding: 120px 0 80px;
    background: #fdfdfd;
}

.internship-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 5%;
}

.badge-new {
    background: #e0f2fe;
    color: var(--primary-blue);
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
}

.internship-hero h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin: 20px 0;
}

.internship-hero h1 span {
    color: var(--primary-blue);
}

.internship-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: start;
}

/* Infos */
.internship-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: #f1f5f9;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Formulaire */
.application-form-container {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.application-form-container h3 {
    margin-bottom: 25px;
    text-align: center;
}

.file-upload {
    border: 2px dashed #e2e8f0;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0;
    cursor: pointer;
    transition: 0.3s;
}

.file-upload:hover {
    border-color: var(--primary-blue);
    background: #f0f7ff;
}

.file-label {
    cursor: pointer;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
}

.file-label i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.btn-send-app {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send-app:hover {
    background: #003a8a;
    transform: translateY(-2px);
}

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

/* --- PAGE TUTORIELS & RESSOURCES --- */
.tuto-page {
    background: #fff;
    height: 100vh;
    overflow: hidden;
    padding-top: 70px;
}

.tuto-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 70px);
}

/* Sidebar */
.tuto-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.progress-container {
    margin-top: 15px;
}

.progress-bar {
    height: 6px;
    background: var(--primary-blue);
    border-radius: 10px;
    margin-bottom: 5px;
}

.progress-container span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
}

.tuto-menu {
    padding: 10px;
}

.theme-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid #edf2f7;
}

.theme-num {
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.5;
}

.resource-list {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.resource-item {
    padding: 12px 15px;
    font-size: 0.9rem;
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.resource-item:hover {
    background: #f1f5f9;
    color: var(--primary-blue);
}

.resource-item.active {
    background: #e0f2fe;
    color: var(--primary-blue);
    font-weight: 700;
}

.resource-item.completed i {
    color: #10b981;
}

/* Main Content */
.tuto-main {
    overflow-y: auto;
    padding: 40px;
    background: white;
}

.tuto-article {
    max-width: 800px;
    margin: 0 auto;
}

.tuto-article h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.rich-content {
    margin-top: 30px;
    line-height: 1.8;
    color: #334155;
}

.rich-content img {
    border-radius: 15px;
    margin: 25px 0;
    width: 100%;
}

.tuto-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.btn-prev,
.btn-next {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-next {
    background: var(--primary-blue);
    color: white;
}

/* --- ARCHIVE DES TUTOS --- */
.tutos-archive {
    padding-bottom: 80px;
    background: #f8fafc;
}

.archive-hero {
    background: #001a3d;
    color: white;
    padding: 100px 5% 60px;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.archive-hero h1 span {
    color: var(--primary-blue);
}

.search-tuto {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
    display: flex;
}

.search-tuto input {
    width: 100%;
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    outline: none;
    font-size: 1rem;
}

.search-tuto button {
    position: absolute;
    right: 8px;
    top: 7px;
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
}

.tuto-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background: white;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Grid & Cards */
.tutos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tuto-theme-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.tuto-theme-card:hover {
    transform: translateY(-10px);
}

.theme-image {
    height: 200px;
    position: relative;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.res-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.theme-content {
    padding: 25px;
}

.theme-tags span {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 5px;
}

.tag-hw {
    background: #fee2e2;
    color: #dc2626;
}

.tag-sw {
    background: #dcfce7;
    color: #16a34a;
}

.tag-app {
    background: #e0f2fe;
    color: var(--primary-blue);
}

.theme-content h3 {
    margin: 15px 0 10px;
    font-size: 1.3rem;
}

.theme-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.theme-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.icons-group {
    display: flex;
    gap: 12px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.btn-start {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* --- PAGE DÉTAIL TUTORIEL --- */
.tuto-view {
    padding-top: 100px;
    padding-bottom: 80px;
    background: #fff;
}

.tuto-view-header {
    background: #f8fafc;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 50px;
}

.tuto-breadcrumb {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.tuto-breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
}

.tuto-view-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.tuto-meta-top {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.tuto-view-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}

/* Blocs de contenu */
.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    margin-bottom: 20px;
    color: #1e293b;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 20px;
}

.video-container {
    aspect-ratio: 16/9;
    width: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.caption {
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 10px;
    font-style: italic;
}

.pro-tip {
    background: #f0fdf4;
    border-left: 5px solid #22c55e;
    padding: 25px;
    border-radius: 0 15px 15px 0;
    margin: 30px 0;
}

.pro-tip i {
    color: #22c55e;
    font-size: 1.2rem;
    margin-right: 10px;
}

.zoomable-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.zoomable-image img {
    width: 100%;
    display: block;
}

.btn-zoom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Download Card */
.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

.download-card i {
    font-size: 2.5rem;
    color: #ef4444;
}

.dl-info {
    flex-grow: 1;
}

.dl-info strong {
    display: block;
    color: #1e293b;
}

.btn-dl {
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

/* Sidebar Progression */
.sticky-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 20px;
}

.steps-list {
    margin: 25px 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #94a3b8;
    z-index: 2;
    background: white;
}

.step-item.active .step-circle {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.step-item.done .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.step-item.active .step-label {
    color: #1e293b;
    font-weight: 700;
}

.btn-finish {
    width: 100%;
    padding: 15px;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #475569;
    transition: 0.3s;
}

.btn-finish:hover {
    background: #10b981;
    color: white;
}

@media (max-width: 992px) {
    .tuto-view-grid {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* --- BOUTONS DE NAVIGATION TUTO --- */
.tuto-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 5px;
}

.nav-text strong {
    font-size: 1.1rem;
    color: #1e293b;
    transition: 0.3s;
}

.nav-icon {
    width: 45px;
    height: 45px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: 0.3s;
}

/* --- EFFETS AU SURVOL --- */

/* Bouton Précédent */
.nav-prev:hover {
    border-color: #cbd5e1;
    transform: translateX(-5px);
}

/* Bouton Suivant (Couleur de la marque) */
.nav-next {
    text-align: right;
    justify-content: flex-end;
    border-color: #e0f2fe;
    /* Bleu très clair */
}

.nav-next:hover {
    border-color: var(--primary-blue);
    background: #f0f7ff;
    transform: translateX(5px);
}

.nav-next:hover .nav-icon {
    background: var(--primary-blue);
    color: white;
}

.nav-next:hover strong {
    color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 600px) {
    .tuto-footer-nav {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
}

/* --- PAGE RESSOURCES --- */
.resources-page {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #f4f7fa;
}

.resources-hero {
    background: #001a3d;
    color: white;
    padding: 80px 5%;
    text-align: center;
    margin-bottom: 50px;
}

.resources-hero h1 span {
    color: var(--primary-blue);
}

/* Filtres */
.resource-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    background: white;
    color: #475569;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Cartes Ressources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.res-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.res-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.res-type {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Couleurs par type */
.res-type.software {
    background: #eff6ff;
    color: #3b82f6;
}

.res-type.key {
    background: #fff7ed;
    color: #f97316;
}

.res-type.design {
    background: #f5f3ff;
    color: #8b5cf6;
}

.res-type.game {
    background: #f0fdf4;
    color: #22c55e;
}

.res-info {
    flex-grow: 1;
}

.res-info h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.res-info p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 10px;
}

.res-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
}

.btn-download-res {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn-download-res:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-buy-res {
    background: var(--accent-red);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

@media (max-width: 500px) {
    .res-card {
        flex-direction: column;
        text-align: center;
    }
}

.res-type.doc {
    background: #fee2e2;
    color: #dc2626;
}

/* Rouge pour PDF/Docs */
.stock-status {
    color: #10b981;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 4px;
}

/* --- NOUVEAU STYLE PAGE NOS APPLICATIONS --- */
.apps-page {
    padding-bottom: 100px;
    background: #f8fafc;
}

/* Hero Section */
.apps-hero {
    background: linear-gradient(135deg, #001a3d 0%, var(--primary-blue) 100%);
    color: white;
    padding: 100px 5% 60px;
    text-align: center;
    margin-bottom: 80px;
    clip-path: ellipse(150% 100% at 50% 0%);
    /* Forme ovale */
}

.app-tag-line {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.apps-hero h1 {
    font-size: 3.2rem;
    margin: 25px 0;
    color: white;
    line-height: 1.2;
}

.apps-hero h1 span {
    color: var(--accent-red);
}

/* Utilisation de la couleur accent */
.apps-hero p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Grid des applications */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.app-card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    /* Les icônes seront blanches */
    margin: 0 auto 25px;
}

/* Couleurs des icônes (Fond) */
.bg-primary-blue {
    background: var(--primary-blue);
}

.bg-success {
    background: #10b981;
}

/* Vert */
.bg-danger {
    background: #ef4444;
}

/* Rouge */
.bg-info {
    background: #3b82f6;
}

/* Bleu clair */
.bg-warning {
    background: #f59e0b;
}

/* Jaune/Orange */
.bg-dark {
    background: #1f2937;
}

/* Gris foncé */
.bg-secondary {
    background: #6b7280;
}

/* Gris moyen */
.bg-leaf {
    background: #65a30d;
}

/* Vert feuille */
.bg-gold {
    background: #eab308;
}

/* Or */
.bg-blue-grey {
    background: #64748b;
}

/* Bleu-gris */


.app-card h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.app-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
    /* Permet aux cartes d'avoir la même hauteur */
    margin-bottom: 25px;
}

.app-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.meta-item i {
    color: var(--primary-blue);
}

.app-card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.btn-app-detail,
.btn-app-demo {
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-app-detail {
    background: #f1f5f9;
    color: #475569;
}

.btn-app-detail:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-app-demo {
    background: #e0f2fe;
    color: var(--primary-blue);
    border: 1px solid #99d6ff;
}

.btn-app-demo:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

@media (max-width: 768px) {
    .apps-hero h1 {
        font-size: 2.2rem;
    }

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

    .app-card-actions {
        flex-direction: column;
    }
}

/* --- STYLE GAMING & UTILS --- */
.gaming-page {
    background: #0f172a;
    color: white;
    padding-bottom: 80px;
}

.gaming-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1200');
    background-size: cover;
    padding: 120px 0 80px;
    border-bottom: 2px solid #1e293b;
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.game-badge {
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.8rem;
}

.gaming-hero h1 {
    font-size: 3.5rem;
    margin-top: 20px;
}

.gaming-hero h1 span {
    color: var(--primary-blue);
}

.hero-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Grille de Jeux */
.section-title {
    margin: 60px 0 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.game-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.game-img {
    position: relative;
    height: 200px;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 800;
}

.btn-play {
    width: 50px;
    height: 50px;
    background: white;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.game-info {
    padding: 20px;
}

.game-specs {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Section Utilitaires */
.utility-section {
    margin-top: 80px;
    background: white;
    border-radius: 30px;
    padding: 40px;
    color: #1e293b;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all-apps {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.view-all-apps:hover {
    border-bottom-color: var(--primary-blue);
}

.utility-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.utility-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #f1f5f9;
    border-radius: 15px;
    transition: 0.3s;
}

.utility-item:hover {
    border-color: var(--primary-blue);
    background: #f0f7ff;
}

.u-icon {
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.u-text h4 {
    margin-bottom: 5px;
}

.u-text p {
    font-size: 0.85rem;
    color: #64748b;
}

.u-btn {
    margin-left: auto;
    background: #f1f5f9;
    color: #1e293b;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.u-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- LE CORRECTEUR DE BORDURES --- */

.container {
    width: 100%;
    max-width: 1280px;
    /* Largeur maximale sur grand écran */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    /* Espace de sécurité à gauche */
    padding-right: 20px;
    /* Espace de sécurité à droite */
}

/* Sur mobile, on peut réduire un peu le padding si nécessaire */
@media (max-width: 640px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ajoute une marge automatique à toutes les sections pour qu'elles ne collent pas au Header */
section {
    padding: 60px 0;
    /* Espace en haut et en bas de chaque section */
}

.app-card,
.game-card,
.res-card {
    box-sizing: border-box;
    /* Très important pour le calcul des largeurs */
    padding: 25px;
    /* Espace interne de la carte */
}

/* Force les images à ne pas déborder */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.apps-hero,
.gaming-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 0;
    /* Padding vertical uniquement */
}

.apps-hero .container {
    /* Le texte à l'intérieur sera limité par le container */
    text-align: center;
}

/* --- CORRECTIF RESPONSIVE HERO GAMING --- */

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    /* S'assure de prendre toute la largeur du container */
}

/* Ajustements pour Tablettes et Mobiles (Moins de 992px) */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        /* Empile le texte et les stats verticalement */
        text-align: center;
        /* Centre le texte pour un meilleur look mobile */
        gap: 30px;
    }

    .gaming-hero h1 {
        font-size: 2.5rem;
        /* Réduit la taille du titre sur mobile */
    }

    .hero-stats {
        width: 100%;
        justify-content: center;
        /* Centre les boîtes de stats */
    }
}

/* Ajustements pour petits téléphones (Moins de 480px) */
@media (max-width: 480px) {
    .gaming-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        /* Empile les deux boîtes de stats l'une sur l'autre */
        align-items: center;
    }

    .stat-box {
        width: 100%;
        /* Les boîtes prennent toute la largeur disponible */
        max-width: 250px;
    }
}

/* --- DASHBOARD MES FORMATIONS --- */
.my-learning {
    padding: 100px 0;
    background: #f4f7fa;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.user-welcome h1 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.user-welcome h1 span {
    color: var(--primary-blue);
}

.user-welcome p {
    color: #64748b;
    font-weight: 500;
}

.stat-circle {
    width: 80px;
    height: 80px;
    border: 6px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-circle strong {
    font-size: 1.2rem;
    color: #1e293b;
}

.stat-circle span {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 800;
}

/* Grid & Cards */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    position: relative;
}

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

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
}

.course-badge.current {
    background: #e0f2fe;
    color: var(--primary-blue);
}

.course-badge.done {
    background: #dcfce7;
    color: #10b981;
}

.course-body {
    padding: 30px;
    flex-grow: 1;
}

.course-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.course-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.course-body p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Progress Bar */
.progress-wrapper {
    margin-top: auto;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.progress-track {
    height: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-blue);
    border-radius: 10px;
}

.progress-fill.done {
    background: #10b981;
}

/* Footer & Buttons */
.course-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.btn-resume,
.btn-certif {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
}

.btn-resume {
    background: var(--primary-blue);
    color: white;
}

.btn-certif {
    background: white;
    border: 2px solid #10b981;
    color: #10b981;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

/* --- APP LAUNCHER STYLE --- */
.apps-launcher-container {
    position: relative;
}

.apps-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 20px;
    display: none;
    /* Masqué par défaut */
    z-index: 1100;
    transform-origin: top right;
    animation: appFadeIn 0.25s ease-out;
}

.apps-dropdown.show {
    display: block;
}

.apps-dropdown-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.apps-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 12px 5px;
    border-radius: 12px;
    transition: 0.2s;
}

.mini-app-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.app-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mini-app-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
}

/* Couleurs Icones */
.bg-blue {
    background: #3b82f6;
}

.bg-green {
    background: #10b981;
}

.bg-red {
    background: #ef4444;
}

.bg-orange {
    background: #f59e0b;
}

.bg-dark {
    background: #1e293b;
}

.all-apps-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

/* Animation */
@keyframes appFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* RESPONSIVE : Éviter que le menu sorte de l'écran sur mobile */
@media (max-width: 480px) {
    .apps-dropdown {
        position: fixed;
        /* Fixé par rapport au viewport sur mobile */
        top: 80px;
        left: 15px;
        right: 15px;
        width: auto;
    }
}

/* --- SECTION TÉLÉCHARGEMENT --- */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    background: var(--primary-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.download-content h2 {
    font-size: 2.8rem;
    margin: 20px 0;
    color: #1e293b;
    line-height: 1.2;
}

.download-content h2 span {
    color: var(--primary-blue);
}

.download-features {
    list-style: none;
    margin: 30px 0;
}

.download-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #475569;
}

.download-features i {
    color: #10b981;
}

/* Grille des boutons de téléchargement */
.download-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 500px;
}

.store-btn {
    background: #1e293b;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.store-btn:hover {
    background: #000;
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 1.8rem;
}

.btn-label {
    display: flex;
    flex-direction: column;
}

.btn-label span {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.btn-label strong {
    font-size: 1rem;
}

/* Visuel Mockup */
.download-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    width: 100%;
    max-width: 350px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: floating 3s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-features li {
        justify-content: center;
    }

    .download-btns {
        margin: 0 auto;
    }

    .download-visual {
        order: -1;
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .download-btns {
        grid-template-columns: 1fr;
    }

    .download-content h2 {
        font-size: 2rem;
    }
}

/* --- PAGE ACTUALITÉS --- */
.news-page {
    padding-bottom: 80px;
    background: #f8fafc;
}

.news-hero {
    background: #001a3d;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.news-hero h1 span {
    color: var(--primary-blue);
}

/* Article à la une (Featured) */
.featured-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-body {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category {
    background: #e0f2fe;
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    width: fit-content;
    margin-bottom: 20px;
}

.featured-body h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.featured-body p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Grille d'actus */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-card-img {
    position: relative;
    height: 220px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-img .news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
}

.news-card-body {
    padding: 25px;
}

.news-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1e293b;
}

.news-card-body p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-num {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #475569;
    transition: 0.3s;
}

.page-num.active,
.page-num:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

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

    .featured-body {
        padding: 30px;
    }

    .featured-body h2 {
        font-size: 1.8rem;
    }
}

/* --- BOUTON LIRE L'ARTICLE --- */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Effet au survol : la flèche se déplace vers la droite */
.read-more:hover {
    color: var(--accent-red);
}

.read-more:hover i {
    transform: translateX(8px);
}

/* Optionnel : Ajout d'une petite ligne soulignée qui s'anime */
.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.page-num {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page active */
.page-num.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 26, 61, 0.2);
}

/* Boutons Suivant / Précédent (plus larges) */
.page-btn {
    padding: 0 20px;
    width: auto;
    gap: 10px;
}

/* Hover effect */
.page-num:not(.active):hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f0f7ff;
    transform: translateY(-3px);
}

/* Désactivé (si besoin) */
.page-num.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- PAGE DÉTAILS ARTICLE --- */
.article-page {
    padding: 40px 0 100px;
    background: #fff;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.article-header h1 {
    font-size: 2.8rem;
    color: #1e293b;
    margin: 15px 0;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.article-meta i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.article-featured-image img {
    width: 100%;
    border-radius: 25px;
    margin-bottom: 40px;
}

/* Typographie du contenu */
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
}

.article-content h2 {
    margin: 40px 0 20px;
    color: #1e293b;
}

blockquote {
    border-left: 5px solid var(--primary-blue);
    background: #f8fafc;
    padding: 30px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: #475569;
    border-radius: 0 15px 15px 0;
}

/* Sidebar */
.sidebar-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.sidebar-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.recent-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.recent-item a {
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.recent-item a:hover {
    color: var(--primary-blue);
}

.btn-sidebar {
    display: block;
    text-align: center;
    background: var(--primary-blue);
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

/* Share Links */
.article-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.sh-fb {
    background: #1877f2;
}

.sh-wa {
    background: #25d366;
}

.sh-li {
    background: #0077b5;
}

.share-links a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

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

    .article-header h1 {
        font-size: 2rem;
    }

    .article-sidebar {
        order: 1;
    }
}

/* --- STYLE BARRE DE RECHERCHE --- */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 26, 61, 0.05);
}

.search-wrapper input {
    border: none;
    outline: none;
    padding: 10px;
    width: 100%;
    font-size: 0.95rem;
    color: #1e293b;
    background: transparent;
}

.search-wrapper button {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper button:hover {
    background: var(--accent-red);
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        /* On passe sur une seule colonne */
    }

    .article-sidebar {
        margin-top: 40px;
        /* Espace pour ne pas coller à la fin de l'article */
    }

    body {
        padding-top: 70px;
        /* On réduit un peu l'espace sur mobile si la navbar est plus fine */
    }
}

body {
    /* Ajuste la valeur (80px) selon la hauteur réelle de ta navbar */
    padding-top: 80px;
}

/* Si tu veux que le scroll s'arrête pile au bon endroit quand tu cliques sur un lien ancré (#) */
html {
    scroll-padding-top: 80px;
}

/* --- PAGE FORUM --- */
.forum-page {
    background: #f1f5f9;
    padding-bottom: 80px;
}

.forum-hero {
    background: #001a3d;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.forum-hero h1 span {
    color: var(--primary-blue);
}

.forum-search {
    max-width: 600px;
    margin: 30px auto 0;
}

.forum-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Forum */
.btn-new-topic {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 30px;
    transition: 0.3s;
}

.btn-new-topic:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
}

.forum-categories h3 {
    font-size: 1rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.forum-categories ul {
    list-style: none;
}

.forum-categories li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.3s;
}

.forum-categories li a:hover,
.forum-categories li a.active {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Liste des Topics */
.forum-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.forum-filters a {
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
}

.forum-filters a.active {
    background: #cbd5e1;
    color: #1e293b;
}

.topic-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.topic-card:hover {
    border-color: var(--primary-blue);
}

.topic-votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
    font-weight: 800;
    min-width: 40px;
}

.topic-votes i {
    cursor: pointer;
    transition: 0.2s;
}

.topic-votes i:hover {
    color: var(--primary-blue);
}

.topic-content {
    flex-grow: 1;
}

.topic-tag {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-block;
}

.topic-tag.software {
    background: #e0f2fe;
    color: #0369a1;
}

.topic-tag.hardware {
    background: #fef2f2;
    color: #b91c1c;
}

.topic-content h3 a {
    text-decoration: none;
    color: #1e293b;
    font-size: 1.2rem;
}

.topic-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 8px 0;
}

.topic-footer {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.topic-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

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

    .forum-sidebar {
        order: 2;
    }
}

/* --- STYLE DÉTAIL FORUM & RÉPONSES --- */
.forum-detail {
    padding: 40px 0 100px;
    background: #f8fafc;
}

.forum-nav {
    margin-bottom: 30px;
}

.forum-nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
}

.topic-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
}

.topic-title-area h1 {
    font-size: 2.2rem;
    color: #1e293b;
    margin: 10px 0;
}

.topic-meta {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Structure du Post */
.forum-post {
    display: flex;
    background: white;
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.post-sidebar {
    width: 150px;
    background: #f1f5f9;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.post-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid white;
}

.author-name {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.9rem;
}

.author-rank {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.author-rank.pro {
    color: var(--accent-red);
}

.post-content {
    padding: 30px;
    flex-grow: 1;
    position: relative;
}

.post-content p {
    line-height: 1.7;
    color: #334155;
    margin-bottom: 15px;
}

/* Badge Meilleure Réponse */
.best-answer {
    border: 2px solid #10b981;
}

.best-badge {
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
}

/* Éditeur de réponse */
.reply-editor {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-top: 50px;
}

.editor-toolbar {
    background: #f8fafc;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    border: 1px solid #e2e8f0;
    border-bottom: none;
}

.editor-toolbar button {
    background: none;
    border: none;
    padding: 8px 12px;
    color: #64748b;
    cursor: pointer;
}

.editor-toolbar button:hover {
    color: var(--primary-blue);
}

textarea {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 10px 10px;
    outline: none;
    font-family: inherit;
    resize: vertical;
}

.editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.editor-footer p {
    font-size: 0.8rem;
    color: #94a3b8;
}

.btn-send {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: var(--accent-red);
}

/* Responsive */
@media (max-width: 768px) {
    .forum-post {
        flex-direction: column;
    }

    .post-sidebar {
        width: 100%;
        flex-direction: row;
        padding: 15px;
        gap: 15px;
        text-align: left;
    }

    .post-avatar {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }

    .topic-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- BOUTONS D'INTERACTION FORUM --- */

/* Conteneur des boutons en bas de chaque post */
.post-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

/* Style de base pour Utile et Partager */
.post-actions button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Bouton "Utile" au survol (Bleu Informatic Solutions) */
.post-actions button:first-child:hover {
    background: #e0f2fe;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Bouton "Partager" au survol */
.post-actions button:last-child:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* Bouton "Répondre" (Le gros bouton en haut à droite) */
.btn-reply-top {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.btn-reply-top:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 28, 36, 0.3);
}

/* Icônes dans les boutons */
.post-actions button i {
    font-size: 1rem;
}


/* --- PAGE CRÉATION SUJET --- */
.forum-create {
    padding: 40px 0 100px;
    background: #f8fafc;
}

.create-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.create-header {
    margin-bottom: 30px;
}

.create-header h1 {
    font-size: 2rem;
    color: #1e293b;
}

.create-header h1 span {
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Éditeur spécial */
.editor-container {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.editor-container textarea {
    border: none;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
    min-height: 200px;
}

/* Boutons */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.btn-cancel {
    background: #f1f5f9;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
}

.btn-submit {
    background: var(--primary-blue);
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .create-wrapper {
        padding: 25px;
    }
}

/* --- PAGE CONTACT --- */
.contact-page {
    background: #f8fafc;
    padding-bottom: 100px;
}

.contact-hero {
    background: #001a3d;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 span {
    color: var(--primary-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

/* Infos Cards */
.info-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.info-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-blue);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-text h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.info-text p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Formulaire */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.main-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.main-form .form-group {
    margin-bottom: 20px;
}

.main-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
}

.main-form input,
.main-form select,
.main-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f1f5f9;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.main-form textarea {
    min-height: 150px;
}

.main-form input:focus {
    border-color: var(--primary-blue);
}

.btn-send-contact {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send-contact:hover {
    background: var(--accent-red);
    transform: scale(1.02);
}

/* Carte */
.map-section {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

    .contact-info {
        order: 2;
    }

    .main-form .form-row {
        grid-template-columns: 1fr;
    }
}

.front-page-wrapper {
    background-color: #f1f5f9;
    /* Même fond que l'admin */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
}

.bf-hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.badge-promo {
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.bf-hero-section h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.highlight {
    color: #ef4444;
}

/* Compte à rebours épuré */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.time-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    min-width: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.time-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
}

.time-separator {
    font-size: 1.5rem;
    font-weight: bold;
    color: #cbd5e1;
}

/* La Carte */
.participation-box {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.box-header-accent {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ef4444;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.amount-selector {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
}

.price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input-wrapper input {
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    background: transparent;
    width: 100px;
}

.btn-confirm-pay {
    width: 100%;
    background: #1e293b;
    /* Bleu très foncé comme ton admin */
    color: white;
    padding: 18px;
    border-radius: 12px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-confirm-pay:hover {
    background: #ef4444;
}

.secure-payment {
    text-align: center;
    margin-top: 20px;
}

.secure-payment p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.logos img {
    height: 25px;
    filter: grayscale(1);
    opacity: 0.5;
}

.prizes-section {
    width: 100%;
    max-width: 900px;
    margin-top: 60px;
    padding-bottom: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #64748b;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.prize-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.prize-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.prize-image {
    position: relative;
    height: 180px;
}

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prize-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f59e0b;
    /* Ambre/Or */
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
}

.prize-details {
    padding: 20px;
}

.prize-details h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.prize-details p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.profile-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.profile-info-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.badge-city {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-item p {
    font-weight: 600;
    color: #1e293b;
}

/* Responsivité Mobile */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-info-main {
        flex-direction: column;
    }

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

/* Bouton Modifier le profil */
.btn-edit-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #4f46e5;
    /* Bleu Indigo IS PRO */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.btn-edit-profile:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
}

.btn-edit-profile i {
    font-size: 0.85rem;
}

/* Version mobile du bouton */
@media (max-width: 768px) {
    .btn-edit-profile {
        width: 100%;
        justify-content: center;
    }
}

/* Container de la carte activité */
.profile-card h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grille des statistiques */
.stats-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-mini {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.stat-mini:hover {
    border-color: #4f46e5;
    background: #f5f3ff;
}

.stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4f46e5;
    line-height: 1;
}

.stat-lab {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Ligne de séparation discrète */
hr {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 15px 0;
}

/* Date d'inscription */
.profile-card strong {
    color: #1e293b;
}

.profile-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Style de base de la carte */
.profile-card {
    background: white;
    padding: 25px;
    /* Assure un espace constant entre le bord et le texte */
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    /* Bordure très discrète par défaut */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* Empêche les éléments de déborder lors du survol */
    display: flex;
    flex-direction: column;
}

/* Correction du survol (Hover) */
.profile-card:hover {
    transform: translateY(-5px);
    /* On utilise une ombre douce plutôt qu'un contour rigide */
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.15);
    border-color: #e0e7ff;
    /* Optionnel : change légèrement la couleur du bord */
}

/* On s'assure que les éléments internes respectent le padding */
.info-item,
.stats-mini-grid,
.profile-card h3 {
    width: 100%;
    box-sizing: border-box;
    /* Crucial pour que le padding ne soit pas ignoré */
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    /* Espace entre les deux carrés */
    margin: 10px 0;
    /* Espace en haut et en bas de la grille */
}

.stat-mini {
    background: #f8fafc;
    padding: 20px 10px;
    /* Plus d'espace vertical à l'intérieur des carrés */
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    /* On évite que le contenu touche les bords du carré */
}

/* Overlay (Fond sombre) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    /* Changé en 'flex' par le JS */
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* Fenêtre modale principale */
.modal-content {
    background: white;
    width: 95%;
    max-width: 500px;
    max-height: 85vh;
    /* Hauteur max pour éviter de sortir de l'écran */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    animation: modalFadeUp 0.3s ease-out;
}

/* Zone de contenu défilante */
.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    /* Prend tout l'espace restant entre le header et le footer */
}

/* Footer fixé en bas */
.modal-footer {
    padding: 15px 25px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    /* Important : empêche le footer de se compresser */
}

/* Personnalisation de la barre de défilement (Scrollbar) */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

/* Animation */
@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Boutons de la modale */
.btn-cancel {
    background: #e2e8f0;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-save {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
