/* ==================== MLK GLOBAL STRATEGIES - STYLESHEET ==================== */

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

:root {
    --paris-m: #0e046b;
    --japanese-laurel: #1a7909;
    --apple: #539832;
    --primary-blue: #0e046b;
    --primary-teal: #1a7909;
    --dark-blue: #0a033d;
    --light-gray: #F5F7FA;
    --text-dark: #2C3E50;
    --text-light: #5a6c7d;
    --white: #FFFFFF;
    --gold: #539832;
    --accent-green: #1a7909;
    --light-green: #539832;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

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

/* SCROLL PROGRESS BAR */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    width: 0%;
    z-index: 10000;
    transition: width 0.1s;
}

/* HEADER & NAVIGATION */
header {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem 0;
    transition: all 0.3s ease;
    width: 100%;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px);
}

/* Header transparent sur toutes les pages avec hero */
body:not(.home-page) header {
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.home-page) header.scrolled {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px);
}

body:not(.home-page) header .nav-links a {
    color: var(--white);
}

body:not(.home-page) header.scrolled .nav-links a {
    color: var(--white);
}

body:not(.home-page) header .mobile-menu-btn {
    color: var(--white);
}

body:not(.home-page) header.scrolled .mobile-menu-btn {
    color: var(--white);
}

/* Header transparent sur la page d'accueil, même après scroll */
.home-page header {
    background: transparent !important;
    box-shadow: none !important;
}

.home-page header.scrolled {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo img {
    height: 100px;
    width: auto;
    transition: height 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--primary-teal);
}

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

/* Language Toggle Button */
#langToggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 1rem;
}

#langToggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Masquer le bouton de fermeture sur desktop */
.close-menu-btn {
    display: none !important;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled .nav-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.home-page header.scrolled .nav-links a {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
    transition: width 0.3s;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

header:not(.scrolled) .nav-links a:hover,
header:not(.scrolled) .nav-links a.active {
    color: var(--gold);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--primary-blue));
    transition: left 0.3s;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.mobile-menu-btn {
    display: none !important;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s;
    z-index: 1001;
    position: relative;
    width: 45px;
    height: 45px;
    padding: 0;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary-blue);
}

.home-page header.scrolled .mobile-menu-btn {
    color: var(--white);
}

/* HERO SECTIONS */
/* Image de fond par défaut pour les pages (services) - Position ajustée pour éviter de couper les mains */
.hero {
    background: linear-gradient(135deg, rgba(14, 4, 107, 0.6) 0%, rgba(10, 3, 61, 0.6) 100%),
                url('../imgs/Mlk main.jpg');
    background-position: center 95%;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 8rem 2rem;
    padding-top: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: scroll; /* Optimisé pour meilleures performances */
    margin-top: 0;
}

/* Image de fond pour la page d'accueil - Position ajustée pour éviter de couper les têtes */
.home-page .hero {
    background: linear-gradient(135deg, rgba(14, 4, 107, 0.6) 0%, rgba(10, 3, 61, 0.6) 100%),
                url('../imgs/Image back mlk.jpg');
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Image de fond pour la page À propos */
.about-page .hero {
    background: linear-gradient(135deg, rgba(14, 4, 107, 0.6) 0%, rgba(10, 3, 61, 0.6) 100%),
                url('../imgs/image back 2 mlk.jpg');
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Image de fond pour la page Publications */
.articles-page .hero {
    background: linear-gradient(135deg, rgba(14, 4, 107, 0.6) 0%, rgba(10, 3, 61, 0.6) 100%),
                url('../imgs/vue-aerienne-de-homme-affaires-utilisation-ordinateur-portable.jpg');
    background-position: center 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Image de fond pour la page Contact */
.contact-page .hero {
    background: linear-gradient(135deg, rgba(14, 4, 107, 0.6) 0%, rgba(10, 3, 61, 0.6) 100%),
                url('../imgs/gros-plan-de-homme-affaires-utilisation-telephone-portable.jpg');
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Optimisation des images de fond pour toutes les tailles d'écran */
@media (prefers-reduced-motion: reduce) {
    .hero {
        background-attachment: scroll;
    }
}

/* Optimisation pour les écrans tactiles (mobile/tablette) */
@media (hover: none) and (pointer: coarse) {
    .hero {
        background-attachment: scroll;
    }
}

/* Animation pour les notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero.fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    color: var(--white);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--primary-blue));
    transition: left 0.3s;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    border-color: var(--gold);
}

/* SECTIONS */
section {
    padding: 5rem 2rem;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    line-height: 1.8;
}

/* GRIDS */
.services-grid,
.articles-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 968px) {
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }
}

.leadership-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.leadership-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

@media (max-width: 968px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .leadership-grid > div:first-child {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
    }
    
    .leadership-grid img {
        width: 100%;
        max-width: 400px;
        height: auto;
        max-height: none;
        object-fit: cover;
        object-position: center 30%;
        margin: 0 auto;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .leadership-grid img {
        max-width: 100%;
        width: 100%;
    }
    
    .leadership-grid > div:first-child {
        padding: 0;
    }
}

/* SERVICE CARDS */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

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

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

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

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--japanese-laurel), var(--apple));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ARTICLE CARDS */
.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-content {
    padding: 2.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
}

.article-link {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.article-link:hover {
    gap: 1rem;
}

/* STATS */
.stats {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

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

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.stat-item h3 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.map-container {
    height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CONTACT FORM */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

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

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 1.5rem;
}

.footer-logo img {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    opacity: 0.9;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--gold);
    transform: translateX(5px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.8;
}

/* SCROLL TO TOP */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--gold), var(--primary-blue));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .services-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .section-title h2 {
        font-size: 3rem;
    }

    /* Contact page responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .map-container {
        height: 400px;
    }

    /* Contact page titles responsive */
    .contact-grid h2 {
        font-size: 2rem !important;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(14, 4, 107, 0.98) 0%, rgba(10, 3, 61, 0.98) 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        z-index: 10000;
        overflow-y: auto;
        margin: 0;
        transform: translateZ(0);
        -webkit-overflow-scrolling: touch;
    }
    
    /* Masquer le bouton de fermeture sur desktop - dans le media query mobile */
    @media (max-width: 768px) {
        .close-menu-btn {
            position: fixed;
            top: 1.5rem;
            right: 2rem;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: var(--white);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 2rem;
            font-weight: 300;
            line-height: 1;
            transition: all 0.3s;
            z-index: 10001;
            padding: 0;
            margin: 0;
        }
    }
    
    @media (max-width: 768px) {
        .close-menu-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: var(--gold);
            transform: rotate(90deg);
        }
    }
    
    .nav-links a {
        color: var(--white) !important;
        font-size: 1.3rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--gold) !important;
    }

    .nav-links.active {
        display: flex !important;
    }
    
    @media (max-width: 768px) {
        .nav-links.active .close-menu-btn {
            display: flex !important;
        }
    }
    
    /* S'assurer que le menu est toujours au-dessus de tout */
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }
    
    body.menu-open .nav-links {
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        z-index: 10002;
        position: relative;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--gold);
    }
    
    .logo img {
        height: 80px;
    }
    
    .cta-button {
        display: none;
    }
    
    header {
        padding: 0.8rem 0;
    }

    .services-grid,
    .articles-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-buttons a {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    /* Contact page mobile */
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-grid h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .map-container {
        height: 300px;
    }

    /* Contact info cards mobile */
    .contact-grid > div > div[style*="background"] {
        padding: 1.5rem !important;
    }

    .contact-grid > div > div[style*="background"] > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    .contact-grid > div > div[style*="background"] > div[style*="display: flex"] > div[style*="width: 50px"] {
        margin: 0 auto !important;
    }

    /* Formulaire responsive */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Évite le zoom sur iOS */
    }
}

/* Support pour tablettes */
@media (min-width: 481px) and (max-width: 768px) {
    .contact-grid {
        gap: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .map-container {
        height: 400px;
    }
}

/* Responsive pour les éléments inline de la page contact */
@media (max-width: 768px) {
    /* Titres responsive */
    .contact-grid h2[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }

    /* Cartes de contact responsive */
    .contact-grid > div > div[style*="background: var(--light-gray)"] {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Items de contact responsive */
    .contact-grid > div > div[style*="background: var(--light-gray)"] > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .contact-grid > div > div[style*="background: var(--light-gray)"] > div[style*="display: flex"] > div[style*="width: 50px"] {
        margin: 0 auto !important;
    }

    .contact-grid > div > div[style*="background: var(--light-gray)"] > div[style*="display: flex"] > div:last-child {
        width: 100% !important;
    }

    /* Carte rendez-vous responsive */
    .contact-grid > div > div[style*="background: var(--primary-blue)"] {
        padding: 1.5rem !important;
    }

    .contact-grid > div > div[style*="background: var(--primary-blue)"] h4 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .contact-grid h2[style*="font-size: 2.5rem"] {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }

    .contact-grid > div > div[style*="background: var(--light-gray)"] {
        padding: 1rem !important;
    }

    .contact-grid > div > div[style*="background: var(--light-gray)"] > div[style*="display: flex"] > div > h4 {
        font-size: 1rem !important;
    }

    .contact-grid > div > div[style*="background: var(--primary-blue)"] {
        padding: 1.25rem !important;
    }

    .contact-grid > div > div[style*="background: var(--primary-blue)"] h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .contact-grid > div > div[style*="background: var(--primary-blue)"] p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
}


/* Support pour les très petits écrans */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    section {
        padding: 1.5rem 0.75rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

/* Support pour l'orientation paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    section {
        padding: 2rem 1.5rem;
    }
}

/* Support pour les tablettes en mode portrait */
@media (min-width: 481px) and (max-width: 768px) {
    .services-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

/* Support pour les tablettes en mode paysage et petits écrans desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 2rem;
    }
}
