@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --primary-blue: #2563EB;
    --logo-gradient-start: #60A5FA;
    --logo-gradient-end: #1D4ED8;

    /* Navigation Colors */
    --text-nav-desktop: #ffffff;
    --text-nav-active: #2563EB;
    --text-nav-hover: #1D4ED8;
    --text-nav-mobile: #1E293B;

    --radius-header: 12px;
    --transition-normal: 300ms ease-in-out;

    /* Footer Colors */
    --footer-bg: #05080F;
    --footer-text: #F1F5F9;
    --footer-text-muted: #94A3B8;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #0F172A;
    overflow-x: hidden;
    padding-top: 0;
    /* CORRECTION: Plus d'espace blanc en haut */
}

/* ============================================
   HEADER STYLES
   ============================================ */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    height: 70px;
    background: rgba(75, 151, 213, 0.26);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-header);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.116);
    transition: all var(--transition-normal);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    display: inline-block;
    background: linear-gradient(90deg, var(--logo-gradient-start), var(--logo-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- MOBILE FIRST : Styles par défaut (Mobile) --- */

.nav-desktop {
    display: none;
    /* Masqué sur mobile par défaut */
}

/* Hamburger Styles (Affiche sur mobile) */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    z-index: 1001;
    /* Au dessus du menu mobile */
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    /* Blanc sur le header transparent */
    border-radius: 3px;
    transition: all var(--transition-normal);
    transform-origin: center;
    /* Important pour la rotation */
}

/* Hamburger Animation (Croix) */
.hamburger.active .hamburger-line {
    background-color: #2563EB;
    /* Bleu quand actif (sur fond blanc menu) */
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav Mobile Styles */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.267);
    /* Vraie transparence */
    backdrop-filter: blur(25px);
    /* Flou plus prononcé */
    -webkit-backdrop-filter: blur(25px);
    padding: 6rem 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1005;
    /* Au dessus de tout */
}

/* Close Button Reset & Style */
.close-menu-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    padding: 10px;
    color: #1E293B;
    /* Couleur sombre pour contraste */
    transition: transform 0.2s;
    z-index: 1010;
}

.close-menu-btn:hover {
    transform: scale(1.1);
    color: #2563EB;
}

.close-menu-btn svg {
    width: 36px;
    height: 36px;
    stroke-width: 2.5;
}

.nav-mobile.active {
    right: 0;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    /* Mobile direction */
    gap: 2rem;
    list-style: none;
    align-items: center;
    height: auto;
}

.nav-link {
    font-size: 1.25rem;
    /* Mobile font size */
    font-weight: 300;
    color: var(--text-nav-mobile);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-nav-hover);
}

.nav-link.active {
    color: var(--text-nav-active);
    font-weight: 600;
}

/* Overlay pour fermer le menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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


/* --- DESKTOP : Styles Override (@media) --- */
@media (min-width: 1024px) {
    .nav-desktop {
        display: block;
    }

    .hamburger {
        display: none !important;
        /* Force hide on desktop */
    }

    .nav-mobile {
        display: none;
    }

    /* Reset Nav properties for Desktop */
    .nav-menu {
        flex-direction: row;
        gap: 2.5rem;
        height: 100%;
    }

    .nav-link {
        font-size: 0.95rem;
        color: var(--text-nav-desktop);
    }
}


/* ============================================
   FOOTER STYLES (COMPACT HEIGHT & IMAGE FIX)
   ============================================ */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 1024px) {
    .footer-global-wrapper {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 450px;
    }
}

/* IMAGE GAUCHE (Absolue pour ne pas pousser la hauteur) */
.footer-left-image {
    display: none;
}

@media (min-width: 1024px) {
    .footer-left-image {
        display: block;
        width: 32%;
        position: relative;
        flex-shrink: 0;
    }

    .footer-face-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }
}

/* CONTENU DROITE */
.footer-right-content {
    flex: 1;
    padding: 50px 40px 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-columns-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .footer-columns-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
    }
}

/* Footer Typo & Elements */
.footer-info {
    max-width: 400px;
}

.footer-brand {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
}

.brand-line:first-child {
    background: linear-gradient(90deg, #4F46E5, #60A5FA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-line:nth-child(2) {
    background: linear-gradient(90deg, #60A5FA, #E2E8F0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-bio {
    color: var(--footer-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials img {
    height: 30px;
    width: auto;
    transition: opacity 0.2s;
}

.footer-socials img:hover {
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #CBD5E1;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    position: relative;
    min-width: 250px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #CBD5E1;
    font-size: 0.95rem;
}

.contact-list img {
    width: 18px;
    height: 18px;
}

.contact-list a {
    color: #CBD5E1;
    text-decoration: none;
}

.smiley-container {
    position: absolute;
    bottom: -20px;
    right: 0;
}

@media (max-width: 1023px) {
    .smiley-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
        text-align: right;
    }
}

.smiley-img {
    width: 36px;
    height: auto;
}

.footer-copyright {
    margin-top: 3rem;
    text-align: center;
    color: #64748B;
    font-size: 0.8rem;
}

@media (max-width: 1023px) {
    .footer-right-content {
        padding: 40px 20px;
    }

    .footer-face-img {
        display: none;
    }
}

/* ============================================
   HERO SECTION STYLES (PIXEL PERFECT)
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Pleine hauteur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 0;
    /* Tech stack incluse */
    background-color: #05080F;
    padding-top: 90px;
    /* Alignement parfait avec le header (margin-top zero) */
    margin-top: 0;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    height: 100%;
    flex: 1;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

/* --- COLONNE GAUCHE (TEXTE) --- */
.hero-content-left {
    flex: 1;
    max-width: 580px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0.0rem;
    padding-bottom: 2rem;
    align-items: flex-start;
    /* Empêche l'étirement des enfants (bouton) */
    /* Espacement plus serré entre les titres */
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    /* Agrandissement significatif pour match design */
    font-weight: 800;
    /* Plus gras */
    color: #ffffff;
    line-height: 1.1;
    margin: 0.5rem 0 1.5rem 0;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    /* Optionnel selon design */
}

.hero-role {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2775e3;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
    /* Bleu plus profond */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    /* Force le retour à la ligne si besoin */
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #94A3B8;
    /* Gris plus doux */
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
}

.dynamic-text-wrapper {
    color: #60A5FA;
    font-weight: 600;
    /* Min-height pour éviter le saut pendant l'animation */
    display: inline-block;
    min-width: 200px;
}

.btn-primary {
    display: inline-block;
    width: fit-content;
    /* Force la largeur au contenu */
    background-color: #2563EB;
    color: #ffffff;
    padding: 1.2rem 2rem;
    /* Bouton beaucoup plus large */
    border-radius: 12px;
    /* Arrondi plus prononcé */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    /* Glow bleu */
}

.btn-primary:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

@media (max-width: 1023px) {
    .hero-container {
        padding-top: 2rem;
        padding-bottom: 0.5rem;
        gap: 3rem;
    }

    .hero-content-left {
        align-items: center;
        text-align: center;
    }

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

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

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

/* --- COLONNE DROITE (VISUEL) --- */
.hero-content-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Pousse vers la droite */
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-visual-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centrage vertical dans la colonne */
    top: 50%;
    transform: translateY(-50%);
}

/* picture n'altère pas le positionnement des img (classes sur <img>) */
.hero-visual-wrapper picture,
.cta-portrait-col picture,
.reco-card picture,
.footer-face picture,
.competences-hero-portrait-wrapper picture {
    display: contents;
}

.hero-bg-circle {
    position: absolute;
    width: 550px;
    /* Cercle agrandi */
    height: 550px;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 1;
    /* Fallback et Effet Glow Fluorescent */
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.5);
    /* Bordure subtile */
    box-shadow: 0 0 100px rgba(37, 99, 235, 0.6), inset 0 0 60px rgba(37, 99, 235, 0.4);
    /* Double Glow */
    background: radial-gradient(circle, rgba(15, 23, 42, 0) 30%, rgba(37, 99, 235, 0.1) 70%);
    opacity: 1;
    /* Animation fluide et douce */
    animation: fluorescent-pulse 6s ease-in-out infinite;
}

/* Animation de pulsation fluorescente */
@keyframes fluorescent-pulse {

    0%,
    100% {
        box-shadow: 0 0 100px rgba(37, 99, 235, 0.6), inset 0 0 60px rgba(37, 99, 235, 0.4);
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        box-shadow: 0 0 140px rgba(37, 99, 235, 0.8), inset 0 0 80px rgba(37, 99, 235, 0.5);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Note: si l'image existe, le CSS ci-dessus servira de fallback ou background */

.hero-portrait {
    position: absolute;
    bottom: -50px;
    /* Déborde légèrement en bas */
    left: 50%;
    transform: translateX(-50%);
    height: 115%;
    /* Légèrement plus grand */
    width: auto;
    object-fit: contain;
    object-position: bottom;
    /* Coller l'image au bas */
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
}

/* Icons Animation */
.hero-deco-circuit {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 70px;
    z-index: 6;
    opacity: 0.6;
}

.hero-deco-chip {
    position: absolute;
    top: 80px;
    left: -20px;
    width: 50px;
    z-index: 6;
    opacity: 0.6;
}

/* Quote Card Overlay */
.hero-quote-card {
    position: absolute;
    bottom: 100px;
    left: -80px;
    /* Sort à gauche de l'image */
    background: rgba(15, 23, 42, 0.7);
    /* Plus sombre */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 280px;
    z-index: 10;
    color: #E2E8F0;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
    .hero-quote-card {
        left: -20px;
    }
}

@media (max-width: 1023px) {
    .hero-content-right {
        height: auto;
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-visual-wrapper {
        width: 350px;
        height: 350px;
        top: 0;
        transform: none;
    }

    .hero-bg-circle {
        width: 320px;
        height: 320px;
    }

    .hero-portrait {
        height: 110%;
        bottom: -10px;
    }

    .hero-quote-card {
        display: none;
        /* Masquer citation sur mobile si trop chargé */
    }
}

/* --- TECH STACK BAR --- */
.tech-stack-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    /* Semi-transparent */
    backdrop-filter: blur(5px);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.tech-stack-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.3rem 2rem;
    display: flex;
    align-items: center;
    gap: 5.5rem;
    /* Espace large */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    /* Masquer la scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tech-stack-container::-webkit-scrollbar {
    display: none;
}

.tech-stack-container img {
    height: 35px;
    /* Taille icones calibrée */
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(1.2);
    /* Blanc/Gris par default */
    flex-shrink: 0;
    /* Empêcher le rétrécissement */
}

.tech-stack-container img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1) translateY(-3px);
}

@media (max-width: 768px) {
    .tech-stack-container {
        gap: 1.5rem;
        padding: 1rem;
    }

    .tech-stack-container img {
        height: 24px;
    }

    .hero-section {
        height: auto;
        padding-bottom: 0;
    }

    .tech-stack-bar {
        position: relative;
    }
}

/* ============================================
   ABOUT SECTION STYLES
   ============================================ */
.about-section {
    padding: 8rem 0;
    background-color: #ffffff;
    color: #334155;
    position: relative;
    z-index: 5;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
}

.section-title-dark {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563EB;
    /* Primary blue */
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Text Expansion */
.about-text-wrapper {
    position: relative;
    max-height: 250px;
    /* Limit height initially */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.about-text-wrapper.expanded {
    max-height: 2000px;
    /* Large enough to show all */
}

.about-text-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
    color: #334155;
}

.about-closing {
    color: #2563EB !important;
    font-weight: 700;
    margin-top: 1rem;
}

/* Gradient Overlay */
.text-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.about-text-wrapper.expanded .text-gradient-overlay {
    opacity: 0;
    pointer-events: none;
}

.btn-read-more {
    margin-top: 1rem;
    background: none;
    border: none;
    color: #2563EB;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    color: #1D4ED8;
    transform: translateY(-2px);
}

.btn-read-more .arrow-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.about-text-wrapper.expanded+.btn-read-more .arrow-icon {
    transform: rotate(180deg);
}

/* Right Column (Carousel) */
.about-content-left {
    flex: 1;
}

.about-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle-blue {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    /* Lighter blue like design */
    margin-bottom: 1.5rem;
    text-align: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-image:hover {
    transform: scale(1.03);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(37, 99, 235, 0.9);
    /* Primary Blue transparent */
    color: white;
    padding: 0.8rem;
    text-align: center;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    z-index: 5;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* Let clicks pass through */
    padding: 0 1rem;
    z-index: 10;
}

.carousel-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #2563EB;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 60px;
    /* Juste au dessus de la caption */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 15;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: #2563EB;
}

#lightboxCaption {
    color: white;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 1023px) {
    .about-container {
        flex-direction: column;
        gap: 3rem;
    }

    .about-content-left,
    .about-content-right {
        width: 100%;
    }

    .section-title-dark {
        text-align: center;
        font-size: 2.5rem;
    }

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

    .carousel-container {
        margin: 0 auto;
    }

    /* Disable text expander on Desktop if wanted, but user wanted expander generally?
       Actually user asked for "partially displayed" which implies expander is ON. 
       We keep it active on all screens as requested. */
}

@keyframes fadeIn {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   PARCOURS SECTION STYLES
   ============================================ */
.parcours-section {
    padding: 6rem 0;
    position: relative;
    /* Fond fixe avec effet parallaxe */
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(37, 100, 235, 0.043) 100%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 35px,
            rgba(59, 130, 246, 0.02) 35px,
            rgba(59, 130, 246, 0.02) 70px),
        #F8FAFC;
    background-attachment: fixed;
    background-size: cover;
}

/* Overlay subtil pour plus de profondeur */
.parcours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.parcours-container {
    position: relative;
    z-index: 1;
}

.parcours-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.section-subtitle-dynamic {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #64748B;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
}

/* Tabs */
.parcours-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 4rem;
    border: 1px solid #3B82F6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #3B82F6;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.tab-btn:hover {
    background-color: #EFF6FF;
}

.tab-btn.active {
    background-color: #3B82F6;
    color: #ffffff;
}

/* Timeline Container */
.parcours-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.parcours-content.active {
    display: block;
}

.timeline {
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

/* Central Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #BFDBFE;
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    width: 50%;
    padding-bottom: 3rem;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

/* Dot on the line */
.timeline-dot {
    position: absolute;
    top: 20px;
    width: 12px;
    height: 12px;
    background-color: #3B82F6;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -6px;
}

.timeline-item.right .timeline-dot {
    left: -6px;
}

/* Card */
.timeline-card {
    background: rgba(255, 255, 255, 0.516);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance */
.timeline-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(59, 130, 246, 0.1) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.timeline-card:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 0 30px rgba(59, 130, 246, 0.2);
    background: rgb(255, 255, 255);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.card-logo-placeholder {
    width: 50px;
    height: 50px;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 8px;
}

.card-title-group h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2563EB;
    font-size: 1.1rem;
    margin: 0.2rem 0;
}

.badge-blue {
    display: inline-block;
    background-color: #2563EB;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

/* Meta Data */
.card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #3B82F6;
    font-weight: 500;
}

/* Card Body */
.card-body ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    margin: 0;
}

.card-body li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.card-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3.5rem;
        padding-right: 0;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 14px;
        right: auto;
    }

    .parcours-tabs {
        width: 100%;
    }

    .tab-btn {
        flex: 1;
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   PRESTATIONS SECTION STYLES
   ============================================ */
.prestations-section {
    padding: 8rem 0;
    position: relative;
    /* Parallax background — WebP prioritaire */
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
        url('../images/prestations.jpeg');
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
        image-set(
            url('../images/prestations.webp') type('image/webp'),
            url('../images/prestations.jpeg') type('image/jpeg')
        );
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Overlay pattern pour plus de profondeur */
.prestations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.03) 2px,
            rgba(59, 130, 246, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

.prestations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.section-title-white {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 2rem 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Prestations Cards Grid */
.prestations-cards {
    counter-reset: prestation-counter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.prestation-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem 2rem 1.5rem 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Numéro de prestation */
.prestation-card::before {
    content: counter(prestation-counter);
    counter-increment: prestation-counter;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    border: 2px solid rgba(59, 130, 246, 0.5);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Effet de brillance animé */
.prestation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.prestation-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.prestation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.prestation-card:hover::before {
    background: rgba(59, 130, 246, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
}

.prestation-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1023px) {
    .prestations-section {
        background-attachment: scroll;
        min-height: auto;
    }

    .prestations-cards {
        grid-template-columns: 1fr;
    }

    .section-title-white {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .prestations-section {
        padding: 6rem 0;
    }

    .section-title-white {
        font-size: 2rem;
    }

    .prestation-card {
        padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    }

    .prestation-card h3 {
        font-size: 1rem;
    }
}

/* ============================================
   RECOMMANDATIONS SECTION STYLES
   ============================================ */
.recommandations-section {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    padding: 10rem 0 6rem 0;
    position: relative;
}

.recommandations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.section-title-white {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
    flex-shrink: 0;
}

/* Carousel Wrapper */
.recommandations-carousel-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.reco-carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Recommendation Card */
.reco-card {
    display: none;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease;
}

.reco-card.active {
    display: block;
}

.reco-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.reco-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reco-info {
    flex: 1;
}

.reco-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.5rem 0;
}

.reco-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3B82F6;
    margin: 0 0 0.3rem 0;
}

.reco-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748B;
    margin: 0 0 1rem 0;
}

.reco-contact {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #0F172A;
    margin: 0.3rem 0;
}

/* Carousel Dots */
.reco-carousel-dots {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.reco-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reco-dot.active {
    background-color: #FFFFFF;
    transform: scale(1.2);
}

.reco-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Partner Logos */
.reco-partners {
    padding: 3rem 0;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.reco-partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    /* Masquer la scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reco-partners-container::-webkit-scrollbar {
    display: none;
}

.partner-logo-box {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* Empêcher le rétrécissement */
}

.partner-logo-box:hover {
    transform: translateY(-5px);
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 1023px) {
    .recommandations-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .section-title-white {
        text-align: center;
        font-size: 2.5rem;
    }

    .reco-carousel-container {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .section-title-white {
        font-size: 2rem;
    }

    .reco-card {
        padding: 1.5rem;
    }

    .reco-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reco-photo {
        width: 100px;
        height: 100px;
    }

    .partner-logo-box {
        min-width: 120px;
        height: 70px;
    }
}

/* ============================================
   CTA SECTION STYLES
   ============================================ */
.cta-section {
    margin-top: 8rem;
    margin-bottom: 8rem;
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.cta-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-container {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

/* Portrait Column */
.cta-portrait-col {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.cta-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Content Column */
.cta-content-col {
    flex: 1;
    padding: 3rem 3rem 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0;
}

/* Social Buttons */
.cta-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.cta-social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: #0F172A;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cta-social-btn svg {
    flex-shrink: 0;
}

/* WhatsApp CTA Button */
.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    margin-top: 1rem;
    width: fit-content;
}

.cta-whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.cta-whatsapp-btn svg {
    flex-shrink: 0;
}

.wave-emoji {
    font-size: 1.3rem;
    display: inline-block;
    animation: wave 1s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-20deg);
    }
}

/* Responsive */
@media (max-width: 1023px) {
    .cta-container {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .cta-portrait-col {
        flex: 0 0 auto;
        height: 400px;
    }

    .cta-content-col {
        padding: 2.5rem 2rem;
    }

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

@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-card {
        border-radius: 12px;
    }

    .cta-portrait-col {
        height: 350px;
    }

    .cta-content-col {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-social-buttons {
        gap: 0.8rem;
    }

    .cta-social-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .cta-whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   COMPETENCES PAGE - HERO SECTION
   ============================================ */
.competences-hero-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #05080F 0%, #0F172A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.competences-hero-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.competences-hero-card {
    border: 2px solid #3B82F6;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 5;
    width: 100%;
    max-width: 700px;
    margin-top: 2rem;
    margin-bottom: 29rem;
}

.competences-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.competences-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #CBD5E1;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.competences-hero-subtitle .text-blue {
    color: #3B82F6;
    font-weight: 600;
}

/* Portrait Section - Devant la carte, collé au bas */
.competences-hero-portrait-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
}

.competences-hero-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: competences-glow-pulse 4s ease-in-out infinite;
}

@keyframes competences-glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

.competences-hero-portrait {
    position: relative;
    z-index: 2;
    height: 500px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Responsive */
@media (max-width: 1023px) {
    .competences-hero-title {
        font-size: 3rem;
    }

    .competences-hero-subtitle {
        font-size: 1rem;
    }

    .competences-hero-card {
        margin-bottom: 16rem;
    }

    .competences-hero-portrait-wrapper {
        height: 350px;
    }

    .competences-hero-portrait {
        height: 350px;
    }

    .competences-hero-glow {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .competences-hero-section {
        padding: 6rem 1rem 2rem 1rem;
    }

    .competences-hero-card {
        padding: 2rem 1.5rem 0 1.5rem;
    }

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

    .competences-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .competences-hero-portrait-wrapper {
        height: 300px;
    }


    .competences-hero-portrait {
        height: 300px;
    }

    .competences-hero-glow {
        width: 250px;
        height: 250px;
    }
}


/* ============================================
   COMPETENCES PAGE - SKILLS GRID SECTION
   ============================================ */
.competences-skills-section {
    background: #F8FAFC;
    padding: 8rem 2rem;
}

.competences-skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Skill Card */
.skill-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Card Header */
.skill-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-icon {
    width: 32px;
    height: 32px;
    color: #3B82F6;
    flex-shrink: 0;
}

.skill-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

/* Divider */
.skill-divider {
    border: none;
    border-top: 1px solid #334155;
    margin: 1rem 0 1.5rem 0;
}

/* Skill List */
.skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.skill-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.4;
}

.skill-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1023px) {
    .competences-skills-section {
        padding: 6rem 2rem;
    }

    .competences-skills-container {
        gap: 1.25rem;
    }

    .skill-card {
        padding: 1.75rem;
    }

    .skill-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .competences-skills-section {
        padding: 5rem 1.5rem;
    }

    .competences-skills-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-title {
        font-size: 1.1rem;
    }

    .skill-icon {
        width: 28px;
        height: 28px;
    }

    .skill-name {
        font-size: 0.9rem;
    }

    .skill-desc {
        font-size: 0.8rem;
    }
}

/* ============================================
   COMPETENCES PAGE - SENSORS & EXPERTISE SECTION
   ============================================ */
.competences-sensors-section {
    background-color: #F1F5F9;
    background-image: radial-gradient(circle, #94A3B8 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 15rem 2rem;
    animation: dots-move 2s linear infinite;
}

@keyframes dots-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

.competences-sensors-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

/* Colonnes */
.sensors-column,
.expertise-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Headers */
.sensors-header,
.expertise-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sensors-icon,
.expertise-icon {
    width: 48px;
    height: 48px;
    color: #3B82F6;
    flex-shrink: 0;
}

.sensors-title,
.expertise-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.2;
}

/* Sensors Tags */
.sensors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sensor-tag {
    background: #3B82F6;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sensor-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Expertise List */
.expertise-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.expertise-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1F2937;
    line-height: 2;
    margin-bottom: 0.5rem;
}

.expertise-list li::marker {
    color: #1F2937;
}

/* Responsive */
@media (max-width: 1023px) {
    .competences-sensors-section {
        padding: 6rem 2rem;
    }

    .competences-sensors-container {
        gap: 3rem;
    }

    .sensors-title,
    .expertise-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .competences-sensors-section {
        padding: 5rem 1.5rem;
    }

    .competences-sensors-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sensors-title,
    .expertise-title {
        font-size: 1.5rem;
    }

    .sensors-icon,
    .expertise-icon {
        width: 40px;
        height: 40px;
    }

    .sensor-tag {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .expertise-list li {
        font-size: 0.95rem;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    min-height: 100vh;
    background: #F8FAFC;
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Contact Card */
.contact-card {
    background: #FFFFFF;
    border: 2px solid #6279a7;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Info Column */
.contact-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #3B82F6;
    margin: 0;
    line-height: 1.2;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #3B82F6;
    text-decoration: none;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #3B82F6;
    flex-shrink: 0;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

.smiley {
    font-size: 1.2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #3B82F6;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Portrait Column */
.contact-portrait {
    background: linear-gradient(180deg, #6B7FBF 0%, #5A6FB5 100%);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.contact-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

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

    .contact-portrait {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .contact-section {
        padding: 6rem 1.5rem;
    }

    .contact-info {
        padding: 2rem;
        gap: 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-item {
        font-size: 1rem;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .whatsapp-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-portrait {
        height: 350px;
    }
}

/* ============================================
   ADMIN LOGIN PAGE
   ============================================ */
.login-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #05080F 0%, #0F172A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    max-width: 450px;
    width: 100%;
}

/* Login Card */
.login-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid #3B82F6;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 64px;
    height: 64px;
    color: #3B82F6;
    margin: 0 auto 1rem;
    display: block;
}

.login-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
}

.login-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #94A3B8;
    margin: 0;
}

/* Messages */
.login-error,
.login-success,
.login-warning {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    animation: shake 0.5s ease;
}

.login-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86EFAC;
}

.login-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #FDE047;
}

@keyframes shake {

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

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.login-error svg,
.login-success svg,
.login-warning svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #CBD5E1;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #64748B;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
    color: #64748B;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #3B82F6;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-wrapper input:focus+.input-icon {
    color: #3B82F6;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.login-footer {
    margin-top: 2rem;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #3B82F6;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .login-icon {
        width: 56px;
        height: 56px;
    }
}

/* ========================================
   PROJETS RÉCENTS SECTION
   ======================================== */

.projets-recents-section {
    padding: 6rem 0rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.projets-recents-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-subtitle-center {
    text-align: center;
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Wrapper */
.projets-carousel-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.projets-carousel-container {
    overflow: hidden;
    padding: 1rem 0;
}

.projets-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Projet Card */
.projet-card {
    min-width: 100%;
    padding: 0 1rem;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.projet-card.active {
    opacity: 1;
    transform: scale(1);
}

.projet-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.projet-card-inner:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Image */
.projet-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.projet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.projet-card-inner:hover .projet-image img {
    transform: scale(1.05);
}

.projet-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projet-image-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.5);
}

/* Badge */
.projet-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.projet-badge-success {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.projet-badge-warning {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.projet-badge-info {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

/* Content */
.projet-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projet-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.projet-company {
    font-size: 1rem;
    color: #3B82F6;
    font-weight: 600;
    margin-bottom: 1rem;
}

.projet-description {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.projet-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.projet-tech .tech-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.projet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.projet-link:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.projet-link svg {
    width: 18px;
    height: 18px;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -30px;
}

.carousel-next {
    right: -30px;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator-dot:hover {
    background: #94a3b8;
}

.indicator-dot.active {
    width: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

/* CTA Button */
.projets-cta {
    text-align: center;
}

.btn-voir-projets {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #4b59a2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 5rem;
}

.btn-voir-projets:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-voir-projets svg {
    width: 20px;
    height: 20px;
}

/* Empty State */
.projets-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .carousel-prev {
        left: 0;
    }

    .carousel-next {
        right: 0;
    }

    .projet-card-inner {
        grid-template-columns: 1fr;
    }

    .projet-image {
        min-height: 300px;
    }

    .projet-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .projets-recents-section {
        padding: 4rem 0;
    }

    .projets-recents-container {
        padding: 0 1rem;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
    }

    .carousel-nav svg {
        width: 20px;
        height: 20px;
    }

    .projet-title {
        font-size: 1.5rem;
    }

    .projet-content {
        padding: 1.5rem;
    }

    .btn-voir-projets {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }

    .projet-image {
        min-height: 250px;
    }
}