/* ========================================
   INNOVTEK INC. - MAIN STYLESHEET
   Innovation en Mouvement
   ======================================== */

/* CSS Variables - Couleurs du logo Innovtek */
:root {
    --primary: #0A2540;
    --secondary: #E74C3C;
    --accent: #00A3E0;
    --accent-bright: #3498DB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F0F9FF;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--accent-bright);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-bright);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(10px);
    min-width: 250px;
    border-radius: 8px;
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(52, 152, 219, 0.1);
    padding-left: 2rem;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(52,152,219,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-badge {
    display: inline-block;
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent-bright);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(52, 152, 219, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.1s backwards;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-bright), #E74C3C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.hero-button {
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
}

.hero-button.primary {
    background: linear-gradient(135deg, var(--accent-bright), var(--secondary));
    color: var(--white);
}

.hero-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-bright);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.7s backwards;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-mini strong {
    font-size: 2rem;
    color: var(--accent-bright);
}

.stat-mini span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   POLES GRID
   ======================================== */
.poles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pole-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: block;
}

.pole-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.pole-card:hover::before {
    transform: scaleX(1);
}

.pole-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.pole-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.pole-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pole-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.pole-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.pole-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-bright);
    font-weight: bold;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.pole-card:hover .card-link {
    color: var(--accent-bright);
    transform: translateX(5px);
}

/* ========================================
   INDUSTRIES
   ======================================== */
.industries {
    background: var(--bg-light);
}

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

.industry-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.industry-card:hover {
    border-color: var(--accent-bright);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-bright);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   GLOBAL PRESENCE
   ======================================== */
.global-presence {
    text-align: center;
}

.map-container {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1), rgba(52, 152, 219, 0.1));
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
}

.regions {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.region {
    text-align: center;
    max-width: 300px;
}

.region h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.region p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients {
    background: var(--bg-light);
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.client-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.client-logo:hover {
    color: var(--accent);
    transform: scale(1.1);
    border-color: var(--accent-bright);
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    background: var(--bg-light);
}

/* ========================================
   CERTIFICATIONS
   ======================================== */
.certifications {
    background: var(--white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-item {
    background: var(--bg-light);
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    border: 2px solid transparent;
}

.cert-item:hover {
    background: var(--white);
    border-color: var(--accent-bright);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: var(--white);
    text-align: center;
    border-radius: 20px;
    padding: 5rem 2rem;
    margin: 4rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-bright);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-bright);
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .poles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 6rem 2rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .regions {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
        margin: 2rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .clients-logos {
        gap: 1rem;
    }

    .client-logo {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}
/* ========================================
   CORRECTIONS MENU MOBILE - AJOUTÉES
   ======================================== */

/* Overlay pour menu mobile */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Amélioration du menu mobile */
@media (max-width: 968px) {
    .mobile-menu-btn {
        font-size: 1.8rem;
        z-index: 1001;
    }

    header .cta-button {
        display: none;
    }

    .nav-links {
        position: fixed !important;
        display: flex !important;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 5rem 0 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 2px 0 15px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links > li > a {
        display: block;
        padding: 1.2rem 1.5rem;
        font-size: 1.05rem;
        color: white;
        width: 100%;
    }

    .dropdown > a::after {
        content: ' ▾';
        float: right;
    }

    .dropdown-menu {
        position: static !important;
        display: none !important;
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu a {
        padding: 1rem 1rem 1rem 2.5rem;
        font-size: 0.95rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Formulaire contact responsive */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 90%;
    }
}

/* ========================================
   BOUTON TRADUCTION FIXE EN-TÊTE MOBILE
   ======================================== */

@media (max-width: 968px) {
    /* Conteneur du header mobile */
    header nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    /* Le bouton de traduction doit rester visible dans le header */
    .nav-links > li:last-child {
        position: fixed;
        top: 1.2rem;
        right: 4.5rem;
        margin: 0;
        border: none;
        background: rgba(52, 152, 219, 0.15);
        border-radius: 8px;
        padding: 0.3rem 0.8rem;
        backdrop-filter: blur(10px);
        z-index: 1002;
    }

    .nav-links > li:last-child > a {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.95rem !important;
        color: #3498DB !important;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    /* Style amélioré du bouton traduction */
    .nav-links > li:last-child > a:hover {
        background: rgba(52, 152, 219, 0.25);
        border-radius: 6px;
    }

    /* Bouton menu à droite */
    .mobile-menu-btn {
        position: fixed;
        top: 1.2rem;
        right: 1rem;
        z-index: 1002;
    }

    /* Logo à gauche */
    .logo {
        position: relative;
        z-index: 1002;
    }

    /* Ajuster l'ordre visuel: Logo | Traduction | Menu */
    header nav .logo {
        order: 1;
    }

    .nav-links > li:last-child {
        order: 2;
    }

    .mobile-menu-btn {
        order: 3;
    }
}

@media (max-width: 480px) {
    /* Ajuster pour petits écrans */
    .nav-links > li:last-child {
        right: 3.8rem;
        padding: 0.25rem 0.6rem;
    }

    .nav-links > li:last-child > a {
        font-size: 0.85rem !important;
    }
}

/* ========================================
   BOUTON TRADUCTION MOBILE - VERSION SIMPLIFIÉE
   ======================================== */

/* Cacher le bouton de traduction original sur mobile */
@media (max-width: 968px) {
    .nav-links > li:last-child {
        display: none !important;
    }
    
    /* Le bouton mobile sera créé par JavaScript */
    .mobile-lang-btn {
        /* Styles déjà appliqués en inline via JS */
    }
}

/* Sur desktop, s'assurer que le bouton original est visible */
@media (min-width: 969px) {
    .mobile-lang-btn {
        display: none !important;
    }
}

/* ========================================
   CORRECTIONS POSITIONNEMENT MOBILE - V2
   ======================================== */

@media (max-width: 968px) {
    /* Header plus compact */
    header {
        padding: 0.5rem 0;
        height: 60px;
    }

    header nav {
        padding: 0 1rem;
        height: 100%;
        display: flex;
        align-items: center;
    }

    /* Logo plus petit et bien aligné */
    .logo {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .logo-img {
        height: 35px;
        width: auto;
    }

    /* Bouton menu mieux positionné */
    .mobile-menu-btn {
        position: fixed !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        z-index: 1002 !important;
        font-size: 1.6rem !important;
        padding: 0.3rem 0.5rem !important;
        background: rgba(52, 152, 219, 0.1) !important;
        border-radius: 6px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Ajuster le hero pour compenser le header plus petit */
    .hero {
        padding-top: 5rem;
    }

    /* Cache le bouton original de traduction dans le menu */
    .nav-links > li:last-child {
        display: none !important;
    }

    /* S'assurer que le bouton CTA du header est caché */
    header .cta-button {
        display: none !important;
    }
}

/* Pour les très petits écrans */
@media (max-width: 400px) {
    .mobile-menu-btn {
        right: 0.5rem !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1.5rem !important;
    }

    /* Ajuster aussi le bouton traduction pour petits écrans */
    .mobile-lang-btn {
        right: 3.3rem !important;
        padding: 0.35rem 0.65rem !important;
        font-size: 0.85rem !important;
    }
}

/* Pour écrans moyens (phones en landscape) */
@media (min-width: 600px) and (max-width: 968px) {
    .mobile-menu-btn {
        right: 1rem !important;
    }
}

/* ========================================
   FORCE MOBILE BUTTONS POSITION - V3
   ======================================== */

@media (max-width: 968px) {
    /* Force le bouton menu à rester visible et bien positionné */
    .mobile-menu-btn {
        position: fixed !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        z-index: 1002 !important;
        font-size: 1.6rem !important;
        padding: 0.3rem 0.5rem !important;
        background: rgba(52, 152, 219, 0.1) !important;
        border-radius: 6px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        transition: background 0.3s ease !important;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:active {
        background: rgba(52, 152, 219, 0.2) !important;
    }

    /* Force le bouton de traduction mobile */
    .mobile-lang-btn {
        position: fixed !important;
        top: 0.75rem !important;
        right: 3.8rem !important;
        z-index: 1002 !important;
        display: flex !important;
        max-width: 60px !important;
    }

    /* S'assurer que rien ne pousse les boutons hors écran */
    header nav {
        position: relative !important;
        overflow: visible !important;
    }

    header .container {
        padding-right: 120px !important; /* Espace pour les 2 boutons */
    }
}

/* Ajustements pour petits écrans */
@media (max-width: 400px) {
    .mobile-menu-btn {
        right: 0.5rem !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1.5rem !important;
    }

    .mobile-lang-btn {
        right: 3.3rem !important;
        font-size: 0.85rem !important;
        padding: 0.35rem 0.65rem !important;
        max-width: 55px !important;
    }

    header .container {
        padding-right: 100px !important;
    }
}

/* Pour écrans entre 400px et 600px */
@media (min-width: 401px) and (max-width: 600px) {
    .mobile-lang-btn {
        right: 3.8rem !important;
    }
}

/* Pour écrans moyens (landscape phones, petites tablettes) */
@media (min-width: 600px) and (max-width: 968px) {
    .mobile-menu-btn {
        right: 1rem !important;
    }
    
    .mobile-lang-btn {
        right: 4rem !important;
    }
}
