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

:root {
    --primary-color: #4B0082;
    --secondary-color: #9370DB;
    --accent-color: #6A5ACD;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-strong: 0 8px 30px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #F02DDA 0%, #9370DB 50%, #BA55D3 100%);
    --gradient-secondary: linear-gradient(135deg, #4B0082 0%, #6A5ACD 100%);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 120px;
}

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

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Police Poppins pour tous les titres */
h1, h2, h3, h4, h5, h6,
.section-title,
.banner-title,
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   ANIMATIONS KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Classes d'animation */
.animate-fade-in { animation: fadeInUp 1s ease-out; }
.animate-fade-in-delay { animation: fadeInUp 1s ease-out 0.3s both; }
.animate-fade-in-delay-2 { animation: fadeInUp 1s ease-out 0.6s both; }

/* ============================================
   HEADER STRUCTURE
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.contact-info a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    transition: var(--transition-base);
}

.top-bar-links a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   MAIN NAV
   ============================================ */
.main-nav {
    background: var(--white);
    transition: var(--transition-base);
}

.main-nav.scrolled {
    box-shadow: var(--shadow-strong);
}

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

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

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

.logo-text {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-base);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link,
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.nav-link i:not(.fa-chevron-down) {
    font-size: 14px;
}

.fa-chevron-down {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(75, 0, 130, 0.05);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Forum In'Tech */
.nav-link-tech {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
}

.nav-link-tech::before {
    display: none;
}

.nav-link-tech:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    padding: 10px;
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 5px 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition-base);
}

.dropdown-menu a i {
    width: 20px;
    color: var(--secondary-color);
}

.dropdown-menu a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateX(5px);
}

.dropdown-menu a:hover i {
    color: var(--white);
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.88) 0%, rgba(147, 112, 219, 0.78) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
}

.banner-title {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 300;
}

.btn-banner {
    display: inline-block;
    padding: 18px 45px;
    background: var(--white);
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.btn-banner:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.15);
}

.slider-indicators {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.indicator.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 46px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-divider {
    width: 90px;
    height: 5px;
    background: var(--gradient-primary);
    margin: 0 auto 25px;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text p {
    margin-bottom: 22px;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: justify;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 35px;
    margin-top: 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}


    


/* ============================================
   EXPERTS SECTION
   ============================================ */
.experts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

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

.expert-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.expert-card:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-strong);
}

.expert-image {
    position: relative;
    height: 420px;
    overflow: hidden;
}

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

.expert-card:hover .expert-image img {
    transform: scale(1.1);
}

.expert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.95) 0%, rgba(147, 112, 219, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 2;
}

.expert-card:hover .expert-overlay {
    opacity: 1;
}

.expert-social {
    display: flex;
    gap: 20px;
}

.expert-social a {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-light);
}

.expert-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.15);
}

.expert-info {
    padding: 35px 30px;
    text-align: center;
}

.expert-info h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.expert-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
}

.expert-mobile-social {
    display: none;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.testimonial-icon {
    font-size: 45px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    opacity: 0.25;
}

.testimonial-text {
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 25px;
    border-top: 2px solid var(--background-light);
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.author-info h4 {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 700;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-section {
    padding: 100px 0;
    overflow: hidden;
}

.portfolio-grid {
    position: relative;
    overflow: hidden;
}

.portfolio-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 30s linear infinite;
}

.portfolio-grid:hover .portfolio-track {
    animation-play-state: paused;
}

.portfolio-item {
    background: var(--white);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    min-width: 280px;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.portfolio-item img {
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition-base);
}

.portfolio-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   FORMATION
   ============================================ */
.formation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.formation-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.formation-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
}

.formation-image {
    height: 240px;
    overflow: hidden;
}

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

.formation-card:hover .formation-image img {
    transform: scale(1.15);
}

.formation-content {
    padding: 30px 25px;
}

.formation-content h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    min-height: 85px;
}

.formation-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

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

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* ============================================
   SECTORS
   ============================================ */
.sectors-section {
    padding: 100px 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.sector-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.sector-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
}

.sector-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.sector-card:hover .sector-image img {
    transform: scale(1.15);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.85) 0%, rgba(147, 112, 219, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.sector-card:hover .sector-overlay {
    opacity: 1;
}

.sector-overlay i {
    font-size: 60px;
    color: var(--white);
}

.sector-content {
    padding: 30px 25px;
    text-align: center;
}

.sector-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.sector-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--gradient-secondary);
    color: var(--white);
}

.footer-content {
    padding: 70px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

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

.footer-logo img {
    width: 55px;
    height: 55px;
}

.footer-logo h3 {
    font-size: 22px;
    font-weight: 700;
}

.footer-description {
    margin-bottom: 30px;
    line-height: 1.9;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55px;
    height: 3px;
    background: var(--white);
}

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

.footer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.9;
    transition: var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 10px;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--white);
    margin-top: 4px;
}

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

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

.footer-bottom-links {
    display: flex;
    gap: 30px;
    font-size: 13px;
}

.footer-bottom-links a {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

.footer-bottom .footer-bottom-content a{
    color :#01b001;
}

.footer-bottom .footer-bottom-content a:hover{
    color :#ffffff;
    transition: 0.3s;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-medium);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

/* ============================================
   RESPONSIVE - TABLETTE (1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --header-height: 110px;
    }

    .section-title {
        font-size: 38px;
    }

    .banner-title {
        font-size: 48px;
    }

    .about-content {
        gap: 50px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 140px;
    }

    body {
        padding-top: var(--header-height);
    }

    /* Top Bar Mobile */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    .top-bar-right {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .top-bar-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-bar-links a {
        font-size: 12px;
        padding: 4px 10px;
    }

    .social-links {
        justify-content: center;
    }

    /* Logo Mobile */
    .logo-img {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 16px;
    }

    /* Menu Toggle Visible */
    .menu-toggle {
        display: flex;
    }

    /* Nav Menu Mobile */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-strong);
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(75, 0, 130, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link,
    .dropdown-toggle {
        width: 100%;
        justify-content: left;
        padding: 15px 10px;
        border-radius: 0;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link-tech {
        margin: 15px 10px;
        width: calc(100% - 20px);
        justify-content: center;
    }

    /* Dropdown Mobile */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0 0 10px 20px;
        background: rgba(75, 0, 130, 0.03);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item.dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 12px 10px;
        border-radius: 8px;
    }

    .dropdown-menu a:hover {
        transform: translateX(3px);
    }

    /* Banner Mobile */
    .banner-section {
        height: 500px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .btn-banner {
        padding: 14px 30px;
        font-size: 16px;
    }

    .slider-nav {
        padding: 0 20px;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    /* Sections */
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

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

    /* Experts Mobile */
    .experts-grid {
        grid-template-columns: 1fr;
    }

    .expert-overlay {
        display: none;
    }

    .expert-mobile-social {
        display: flex !important;
        justify-content: center;
        gap: 15px;
        padding: 20px;
        background: var(--background-light);
        border-top: 2px solid rgba(147, 112, 219, 0.1);
    }

    .expert-mobile-social a {
        width: 45px;
        height: 45px;
        background: var(--white);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 18px;
        box-shadow: var(--shadow-light);
        transition: var(--transition-base);
    }

    .expert-mobile-social a:hover {
        background: var(--gradient-primary);
        color: var(--white);
        transform: translateY(-3px);
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio Mobile */
    .portfolio-track {
        animation-duration: 20s;
        gap: 25px;
    }

    .portfolio-item {
        padding: 30px 40px;
        min-width: 220px;
    }

    .portfolio-item img {
        max-height: 60px;
    }

    /* Formation */
    .formation-grid {
        grid-template-columns: 1fr;
    }

    .formation-content h3 {
        font-size: 17px;
        min-height: auto;
    }

    /* Sectors */
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }

    /* Scroll Top */
    .scroll-top {
        bottom: 25px;
        right: 25px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE - PETIT MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --header-height: 160px;
    }

    .nav-menu {
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
    }

    /* Banner */
    .banner-section {
        height: 450px;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    /* Sections */
    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Logo */
    .logo-text {
        font-size: 14px;
    }

    /* Portfolio */
    .portfolio-track {
        animation-duration: 18s;
        gap: 20px;
    }

    .portfolio-item {
        padding: 25px 35px;
        min-width: 200px;
    }

    .portfolio-item img {
        max-height: 50px;
    }

    /* Expert Card */
    .expert-image {
        height: 350px;
    }

    .expert-info h3 {
        font-size: 20px;
    }

    .expert-title {
        font-size: 14px;
    }
}

/* ============================================
   ANIMATIONS AU SCROLL
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
.nav-link:focus-visible,
.dropdown-menu a:focus-visible,
.btn-primary:focus-visible,
.btn-banner:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Réduction des animations si demandé */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .main-header,
    .banner-section,
    .scroll-top,
    .footer-social,
    .slider-nav,
    .slider-indicators {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
}