/* 
RM&LC CONSULTING - CHARTE GRAPHIQUE
Couleur dominante : Rouge (#c1272d) - identique au site de référence
Couleurs secondaires : Blanc (#ffffff) / Gris foncé (#333333) / Noir (#000000)
Style : Sobre, Professionnel, Haut de gamme, Adapté hôtellerie & tourisme
*/

/* ========== VARIABLES COULEURS ========== */
:root {
    --primary-red: #A41720;
    --dark-red: #a02025;
    --light-red: rgba(195, 23, 28, 0.1);
    --pure-white: #ffffff;
    --off-white: #f9f9f9;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --pure-black: #000000;
    --gold-accent: #d4af37;
    --shadow: rgba(0, 0, 0, 0.08);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    font-weight: 300;
    overflow-x: hidden;
    min-width: 320px;
}

/* Hiérarchie typographique responsive */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

/* ========== LAYOUT CONTAINER RESPONSIVE ========== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ========== HEADER RESPONSIVE ========== */
header {
    background-color: var(--pure-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem clamp(1rem, 2vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
  
    display: flex;
    align-items: center;
    gap: 0.75rem;

 

}

.logo img {
    height: clamp(40px, 8vw, 60px);
    width: auto;
    transition: all 0.3s ease;
   
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--primary-red);
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    color: var(--medium-gray);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ========== NAVIGATION RESPONSIVE ========== */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 1000;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-red);
}

.main-nav a.active {
    color: var(--primary-red);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-red);
}

/* Assurer la visibilité du bouton menu sur tous les fonds */
.mobile-menu-btn {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========== HERO SECTION RESPONSIVE ========== */
.hero {
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/img3.jpg') center/cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    color: var(--pure-white);
    position: relative;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(193, 39, 45, 0.15), transparent);
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: 800;
    color: var(--pure-white);
    
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* ========== BOUTONS RESPONSIVE ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    background-color: var(--primary-red);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(193, 39, 45, 0.3);
}

.btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--pure-white);
}

.btn-secondary:hover {
    background-color: var(--pure-white);
    color: var(--primary-red);
    border-color: var(--pure-white);
}

/* ========== SECTIONS RESPONSIVE ========== */
.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-title h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.section-title p {
    color: var(--medium-gray);
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    padding: 0 1rem;
    font-weight: 600;
}

/* ========== PRESENTATION RESPONSIVE ========== */
.presentation-content {
    background: var(--pure-white);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 4px solid var(--primary-red);
    margin: 0 clamp(0.5rem, 2vw, 2rem);
}

.presentation-content h3 {
    color: var(--primary-red);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.presentation-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* ========== SERVICES GRID RESPONSIVE ========== */
.services-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: 3rem;
    padding: 0 0.5rem;
}

.service-card, .value-card {
    background: rgb(231, 231, 231);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.service-card:hover, .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--light-red);
}

.service-icon, .value-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    height: clamp(60px, 10vw, 80px);
    width: clamp(60px, 10vw, 80px);
    line-height: clamp(60px, 10vw, 80px);
    background: var(--light-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card h3, .value-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-weight: 700;
}

.service-card p, .value-card p {
    color: var(--medium-gray);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
    font-weight: 500;
}

/* ========== STATISTIQUES RESPONSIVE ========== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    text-align: center;
    padding: 0 0.5rem;
}

.stat-item {
    padding: clamp(1rem, 3vw, 2rem);
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: clamp(1rem, 2vw, 1.1rem);
    opacity: 0.9;
    font-weight: 500;
}

/* ========== PARTENAIRES RESPONSIVE AMÉLIORÉ ========== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
    justify-content: center;
    margin-top: 3rem;
    padding: 0 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logo {
    width: 100%;
    max-width: 280px;
    height: 160px;
    background: linear-gradient(135deg, var(--pure-white) 0%, #fafafa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(164, 23, 32, 0.05), transparent);
    transition: left 0.6s ease;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
    background: linear-gradient(135deg, var(--pure-white) 0%, #f8f8f8 100%);
}

/* Pour les écrans moyens (tablettes) - 3 par ligne */
@media (max-width: 1200px) and (min-width: 769px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1000px;
    }
    
    .partner-logo {
        max-width: 250px;
        height: 150px;
        padding: 1.5rem;
    }
}

/* RESET COMPLET POUR MOBILE - SUPPRIME TOUS LES CONFLITS */
@media (max-width: 768px) {
    .partners-grid {
        all: unset !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .partner-logo {
        all: unset !important;
        flex: 0 0 calc(50% - 0.5rem) !important;
        width: calc(50% - 0.5rem) !important;
        max-width: 150px !important;
        height: 120px !important;
        padding: 1rem !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, var(--pure-white) 0%, #fafafa 100%) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
        border: 2px solid transparent !important;
        transition: all 0.4s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }
}

.partner-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: block;
    margin: auto;
    /* Alignement parfait */
    vertical-align: middle;
    align-self: center;
    justify-self: center;
}

/* Styles spéciaux pour les images PNG avec fond transparent */
.partner-logo img[src*=".png"] {
    filter: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,248,248,0.95) 100%);
    border-radius: 8px;
    padding: 0.3rem;
    max-height: 105px;
}

.partner-logo:hover img {
    filter: brightness(1.05) saturate(1.1);
    opacity: 1;
    transform: scale(1.08);
}

/* Amélioration spéciale pour les PNG au survol */
.partner-logo:hover img[src*=".png"] {
    filter: brightness(1.05) saturate(1.1);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(245,245,245,1) 100%);
    transform: scale(1.1);
}

/* Optimisations spécifiques pour mobile */
@media (max-width: 768px) {
    .partner-logo img {
        /* Amélioration de la netteté sur mobile */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        filter: none;
    }
    
    .partner-logo img[src*=".png"] {
        background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,250,250,0.98) 100%);
        border-radius: 6px;
        padding: 0.2rem;
        filter: none;
    }
}

@media (max-width: 480px) {
    .partner-logo img {
        /* Optimisation pour très petits écrans */
        transform: translateZ(0);
        will-change: transform;
        filter: none;
    }
    
    .partner-logo img[src*=".png"] {
        padding: 0.1rem;
        border-radius: 4px;
        filter: none;
    }
}
}

/* Pour les écrans plus grands */
@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
    
    .partner-logo {
        height: 150px;
        padding: 2rem;
    }
    
    .partner-logo img {
        max-height: 110px;
    }
}

/* Pour les écrans très larges */
@media (min-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1200px;
        margin: 3rem auto;
        gap: 2.5rem;
    }
    
    .partner-logo {
        height: 160px;
        padding: 2.5rem;
    }
    
    .partner-logo img {
        max-height: 115px;
    }
}
}
/* ========== CONTACT RESPONSIVE ========== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-info {
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.contact-info h3 {
    color: var(--primary-red);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    padding: clamp(1rem, 2vw, 1.5rem);
    background: var(--off-white);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-form {
    background: var(--pure-white);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    margin: 0 clamp(0.5rem, 2vw, 2rem);
}

.contact-form h3 {
    color: var(--dark-gray);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2vw, 1.2rem);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: all 0.3s ease;
    background: var(--pure-white);
}

/* ========== FOOTER RESPONSIVE ========== */
footer {
    background-color: var(--dark-gray);
    color: var(--pure-white);
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(1.5rem, 4vw, 2rem);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: clamp(50px, 8vw, 70px);
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
    font-weight: 400;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--pure-white);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 10px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 6px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-red);
    margin-right: 0.8rem;
    width: 20px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-contact a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}
/* Ajouter dans la section FOOTER */
.footer-social {
    margin-top: 2rem;
}

.footer-social h4 {
    color: var(--pure-white) !important;
    margin: 0 0 1.5rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600;
}

.footer-social .social-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    padding: 0.8rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    min-width: 140px !important;
    height: auto !important;
    width: auto !important;
}

.footer-social a:hover {
    background: var(--primary-red) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(164, 23, 32, 0.4) !important;
    border-color: var(--primary-red) !important;
}

.footer-social i {
    transition: all 0.3s ease !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
}

.footer-social a:hover i {
    transform: scale(1.1) !important;
}
.copyright {
    text-align: center;
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 300;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN AMÉLIORÉ ========== */

/* Tablettes en mode portrait et petits écrans */
@media (max-width: 992px) {
    .hero {
        background-attachment: scroll;
        min-height: 500px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--pure-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.4s ease;
        gap: 0;
        z-index: 1000;
        /* Assurer la visibilité sur tous les appareils */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .main-nav ul.active {
        left: 0;
    }
    
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
    }
    
    .main-nav a.active::after {
        display: none;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .btn {
        white-space: normal;
        text-align: center;
    }
}

/* Téléphones en mode paysage et petits tablettes */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .hero {
        min-height: 400px;
        padding: 2rem 0;
    }
    
    .hero h1 {
        margin-bottom: 1rem;
    }
    
    .presentation-content {
        margin: 0 0.5rem;
    }
    
    .services-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo p {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Téléphones en mode portrait */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text span {
        font-size: 0.65rem;
    }
    
    .hero {
        min-height: 350px;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
        display: block;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .presentation-content {
        padding: 1.5rem;
        margin: 0 0.25rem;
    }
    
    .service-card, .value-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.25rem;
    }
}

/* Très petits téléphones */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text span {
        font-size: 0.6rem;
    }
    
    .service-icon, .value-icon {
        height: 50px;
        width: 50px;
        line-height: 50px;
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Grands écrans (Desktop HD+) */
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
    
    .hero {
        min-height: 900px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* Très grands écrans (4K et +) */
@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }
    
    body {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 5.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 3.5rem;
    }
}

/* Support de l'orientation paysage sur mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .main-nav ul {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Prévention du zoom sur iOS */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Force tous les textes à être blancs pour une meilleure visibilité */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212 !important;
        color: #ffffff !important;
    }
    
    .presentation-content,
    .service-card,
    .value-card,
    .contact-form {
        background-color: #1e1e1e !important;
        color: #ffffff !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #ffffff !important;
    }
    
    /* Force tous les paragraphes et textes à être blancs */
    p, span, div, li, a, label {
        color: #ffffff !important;
    }
    
    /* Textes spécifiques */
    .hero-subtitle,
    .section-title p,
    .presentation-content p,
    .service-card p,
    .value-card p,
    .contact-item p,
    .contact-item h4,
    .footer-links a,
    .footer-contact p,
    .footer-logo p,
    .timeline-description,
    .stat-label {
        color: #ffffff !important;
    }
    
    /* Navigation */
    .main-nav a {
        color: #ffffff !important;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        color: var(--primary-red) !important;
    }
    
    /* Logo text */
    .logo-text span {
        color: #ffffff !important;
    }
    
    /* Formulaires */
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2a2a2a !important;
        color: #ffffff !important;
        border-color: #444 !important;
    }
    
    .form-group label {
        color: #ffffff !important;
    }
    
    /* Header en mode sombre */
    header {
        background-color: #1a1a1a !important;
    }
    
    /* Bouton menu mobile */
    .mobile-menu-btn {
        color: #ffffff !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(0, 0, 0, 0.9) !important;
        color: var(--primary-red) !important;
    }
    
    /* Menu mobile en mode sombre */
    .main-nav ul {
        background-color: #1a1a1a !important;
    }
    
    .main-nav a {
        color: #ffffff !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        color: var(--primary-red) !important;
    }
    
    /* Styles spécifiques pour la page expérience en mode sombre */
    .timeline-content {
        background: #2a2a2a !important;
        color: #ffffff !important;
    }
    
    .timeline-year {
        color: var(--primary-red) !important;
    }
    
    .timeline-title {
        color: #ffffff !important;
    }
    
    .timeline-description {
        color: #ffffff !important;
    }
    
    /* Partenaires en mode sombre - images colorées */
    .partner-logo {
        background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .partner-logo:hover {
        background: linear-gradient(135deg, #333333 0%, #2a2a2a 100%) !important;
        border-color: var(--primary-red) !important;
    }
    
    .partner-logo img {
        filter: brightness(1.1) saturate(1.1) !important;
        opacity: 1 !important;
    }
    
    .partner-logo:hover img {
        filter: brightness(1.15) saturate(1.15) !important;
        transform: scale(1.08) !important;
    }
    
    /* Optimisations mode sombre pour mobile */
    @media (max-width: 768px) {
        .partner-logo {
            background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
        }
        
        .partner-logo img {
            filter: brightness(1.15) saturate(1.1) !important;
        }
        
        .partner-logo img[src*=".png"] {
            background: linear-gradient(135deg, rgba(42,42,42,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
            filter: brightness(1.2) saturate(1.15) !important;
        }
    }
    
    @media (max-width: 480px) {
        .partner-logo img {
            filter: brightness(1.2) saturate(1.15) !important;
        }
        
        .partner-logo img[src*=".png"] {
            background: linear-gradient(135deg, rgba(50,50,50,0.98) 0%, rgba(40,40,40,0.98) 100%) !important;
            filter: brightness(1.25) saturate(1.2) !important;
        }
    }
    
    /* Styles inline overrides pour mode sombre */
    .service-card h4,
    .service-card ul li {
        color: #ffffff !important;
    }
    
    /* Styles spécifiques pour la page services en mode sombre */
    .service-detail .service-content {
        background: #2a2a2a !important;
        color: #ffffff !important;
    }
    
    .service-detail h3 {
        color: var(--primary-red) !important;
    }
    
    .service-detail h4 {
        color: #ffffff !important;
    }
    
    .service-detail p {
        color: #ffffff !important;
    }
    
    .service-detail ul li {
        color: #ffffff !important;
    }
    
    /* Forcer tous les éléments avec styles inline */
    div[style*="background: var(--off-white)"] {
        background: #2a2a2a !important;
    }
    
    div[style*="color: var(--medium-gray)"] {
        color: #ffffff !important;
    }
    
    div[style*="color: var(--dark-gray)"] {
        color: #ffffff !important;
    }
    
    p[style*="color: var(--medium-gray)"] {
        color: #ffffff !important;
    }
    
    h4[style*="color: var(--dark-gray)"] {
        color: #ffffff !important;
    }
    
    li[style*="color: var(--medium-gray)"] {
        color: #ffffff !important;
    }
    
    /* Zone géographique tags */
    div[style*="background: var(--light-red)"] {
        background: rgba(164, 23, 32, 0.2) !important;
        color: #ffffff !important;
    }
    
    /* Section Zone Géographique sur page experience */
    .section[style*="background-color: var(--off-white)"] {
        background-color: #2a2a2a !important;
    }
    
    .section[style*="background-color: var(--off-white)"] .service-card {
        background: #1e1e1e !important;
        color: #ffffff !important;
    }
    
    .section[style*="background-color: var(--off-white)"] .service-card h3 {
        color: var(--primary-red) !important;
    }
    
    .section[style*="background-color: var(--off-white)"] .service-card p {
        color: #ffffff !important;
    }
    
    /* Tags géographiques spécifiques */
    div[style*="padding: 1rem 2rem; background: var(--light-red)"] {
        background: rgba(164, 23, 32, 0.3) !important;
        color: #ffffff !important;
        border: 1px solid rgba(164, 23, 32, 0.5) !important;
    }
    
    /* Texte italique dans zone géographique */
    p[style*="font-style: italic"] {
        color: #ffffff !important;
    }
    
    /* Page contact - styles inline overrides */
    .contact-item a {
        color: #ffffff !important;
    }
    
    /* Section "Nos Coordonnées" - forcer tous les textes en blanc */
    .contact-info h3 {
        color: var(--primary-red) !important;
    }
    
    .contact-info .contact-item {
        background: #2a2a2a !important;
    }
    
    .contact-info .contact-item h4 {
        color: #ffffff !important;
    }
    
    .contact-info .contact-item p {
        color: #ffffff !important;
    }
    
    .contact-info .contact-item a {
        color: #ffffff !important;
    }
    
    /* Forcer les éléments avec data-attributes */
    [data-address],
    [data-phone],
    [data-email] {
        color: #ffffff !important;
    }
    
    /* FAQ et autres sections avec styles inline */
    .service-card h4 {
        color: #ffffff !important;
    }
    
    /* Carte et localisation */
    div[style*="background: var(--off-white)"] {
        background: #2a2a2a !important;
    }
    
    div[style*="background: var(--off-white)"] h3 {
        color: #ffffff !important;
    }
    
    div[style*="background: var(--off-white)"] p {
        color: #ffffff !important;
    }
    
    /* Liens avec styles inline dans contact */
    a[style*="color: var(--medium-gray)"] {
        color: #ffffff !important;
    }
    
    /* ========== PAGE MERCI - MODE SOMBRE ========== */
    /* Carte principale de remerciement */
    div[style*="background: var(--pure-white)"] {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
    }
    
    /* Icône de succès */
    .fas.fa-check-circle {
        color: var(--primary-red) !important;
        filter: drop-shadow(0 0 10px rgba(164, 23, 32, 0.3)) !important;
    }
    
    /* Titre principal */
    h1[style*="color: var(--dark-gray)"] {
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    }
    
    /* Texte de description */
    p[style*="color: var(--medium-gray)"] {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Boutons de la page merci */
    .btn {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
        border-color: var(--primary-red) !important;
        box-shadow: 0 6px 20px rgba(164, 23, 32, 0.3) !important;
    }
    
    .btn:hover {
        background: linear-gradient(135deg, var(--dark-red) 0%, #7a1a1e 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(164, 23, 32, 0.4) !important;
    }
    
    .btn-secondary {
        background: #2a2a2a !important;
        color: var(--primary-red) !important;
        border-color: var(--primary-red) !important;
        box-shadow: 0 6px 20px rgba(164, 23, 32, 0.2) !important;
    }
    
    .btn-secondary:hover {
        background: var(--primary-red) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 30px rgba(164, 23, 32, 0.4) !important;
    }
    
    /* Section hero de la page merci */
    .hero {
        background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%) !important;
    }
    
    /* Footer social links pour page merci */
    .footer-social h4 {
        color: var(--pure-white) !important;
    }
    
    .footer-social a {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .footer-social a:hover {
        color: var(--primary-red) !important;
    }
}
/* ========== EXPERIENCE PAGE STYLES ========== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.03"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 2rem 0;
}

.stat-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: var(--pure-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Timeline d'expérience */
.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-red), var(--dark-red));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-content {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: var(--pure-white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: var(--pure-white);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border: 4px solid var(--pure-white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(164, 23, 32, 0.2);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Responsive pour timeline */
@media (max-width: 768px) {
    .experience-timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -20px;
        right: auto;
        border-right-color: var(--pure-white);
        border-left-color: transparent;
    }
    
    .timeline-marker {
        left: 20px;
    }
}



/* ========== SOLUTION MOBILE SIMPLE - 2x2 GARANTI ========== */
@media (max-width: 768px) {
    .partners-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 0 1rem !important;
        margin: 1.5rem auto 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .partner-logo {
        width: 48% !important;
        max-width: none !important;
        height: 120px !important;
        margin: 0 0 1rem 0 !important;
        padding: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, var(--pure-white) 0%, #fafafa 100%) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
        border: 2px solid transparent !important;
        box-sizing: border-box !important;
    }
    
    .partner-logo img {
        max-height: 70px !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: auto !important;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        padding: 0 0.5rem !important;
    }
    
    .partner-logo {
        width: 48% !important;
        height: 110px !important;
        padding: 0.8rem !important;
        margin: 0 0 0.8rem 0 !important;
    }
    
    .partner-logo img {
        max-height: 60px !important;
    }
    
    .partner-logo img[src*=".png"] {
        max-height: 65px !important;
        padding: 0.2rem !important;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        padding: 0 0.3rem !important;
    }
    
    .partner-logo {
        width: 48% !important;
        height: 100px !important;
        padding: 0.6rem !important;
        margin: 0 0 0.6rem 0 !important;
    }
    
    .partner-logo img {
        max-height: 55px !important;
    }
    
    .partner-logo img[src*=".png"] {
        max-height: 60px !important;
        padding: 0.1rem !important;
    }
}

@media (max-width: 360px) {
    .partners-grid {
        padding: 0 0.2rem !important;
    }
    
    .partner-logo {
        width: 48% !important;
        height: 90px !important;
        padding: 0.5rem !important;
        margin: 0 0 0.5rem 0 !important;
    }
    
    .partner-logo img {
        max-height: 50px !important;
    }
    
    .partner-logo img[src*=".png"] {
        max-height: 55px !important;
    }
}
        box-sizing: border-box !important;
    }
    
    .partner-logo img {
        max-height: 60px !important;
        max-width: 100% !important;
        margin: auto !important;
    }
    
    .partner-logo img[src*=".png"] {
        max-height: 65px !important;
        padding: 0.2rem !important;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.6rem !important;
        padding: 0 0.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 auto !important;
    }
    
    .partner-logo {
        flex: 0 0 calc(50% - 0.3rem) !important;
        width: calc(50% - 0.3rem) !important;
        max-width: 130px !important;
        height: 100px !important;
        padding: 0.6rem !important;
        margin: 0 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .partner-logo img {
        max-height: 55px !important;
        max-width: 100% !important;
        margin: auto !important;
    }
    
    .partner-logo img[src*=".png"] {
        max-height: 60px !important;
        padding: 0.1rem !important;
    }
}

@media (max-width: 360px) {
    .partners-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0 0.3rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 auto !important;
    }
    
    .partner-logo {
        flex: 0 0 calc(50% - 0.25rem) !important;
        width: calc(50% - 0.25rem) !important;
        max-width: 120px !important;
        height: 90px !important;
        padding: 0.5rem !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .partner-logo img {
        max-height: 50px !important;
        max-width: 100% !important;
        margin: auto !important;
    }
    
    .partner-logo img[src*=".png"] {
        max-height: 55px !important;
        padding: 0.1rem !important;
    }
}

/* Pour les écrans plus grands - Alignement parfait */
@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2.5rem;
        padding: 0 2rem;
    }
    
    .partner-logo {
        height: 170px;
        padding: 2.5rem;
        max-width: 300px;
    }
    
    .partner-logo img {
        max-height: 110px;
    }
}

/* Pour les écrans très larges - Grille fixe pour alignement parfait */
@media (min-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1400px;
        margin: 3rem auto;
        gap: 2.5rem;
        padding: 0 2rem;
    }
    
    .partner-logo {
        height: 180px;
        padding: 3rem;
        max-width: 280px;
    }
    
    .partner-logo img {
        max-height: 115px;
    }
}

/* Alignement spécial pour la dernière rangée avec 4 éléments */
.partners-grid:last-of-type {
    justify-content: center;
}

@media (min-width: 1200px) {
    .partners-grid:last-of-type {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1120px;
    }
}
/* ========== CONTACT PAGE STYLES ========== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.contact-info {
    padding: 0 1rem;
}

.contact-info h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--pure-white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-red);
}

.contact-icon {
    background: var(--light-red);
    color: var(--primary-red);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
}

.contact-item a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-red);
}

/* Formulaire de contact amélioré */
.contact-form {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    border-radius: 12px 12px 0 0;
}

.contact-form h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--pure-white);
    color: var(--dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(164, 23, 32, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Validation des champs */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #28a745;
}

/* Animation du bouton de soumission */
.contact-form .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3);
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn:hover::before {
    left: 100%;
}

/* FAQ Styles */
.faq-content .service-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.faq-content .service-card:hover {
    border-left-color: var(--primary-red);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive pour contact */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
}

/* Animation de chargement pour le formulaire */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.form-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid var(--light-red);
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Message de succès/erreur */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* ========== PRESENTATION DOCUMENT STYLES ========== */
.presentation-document {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.presentation .document-card {
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive pour document de présentation */
@media (max-width: 768px) {
    .presentation-document {
        margin-top: 2rem;
    }
    
    .presentation .document-card {
        max-width: 100%;
    }
}
/* ========== ENHANCED DOWNLOAD BUTTONS FOR INDEX PAGE ========== */
.presentation .document-card .btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.presentation .document-card .btn-doc::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.presentation .document-card .btn-doc:hover::before {
    left: 100%;
}

/* Bouton Consulter - Style principal */
.presentation .document-card .btn-doc:first-child {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border: 2px solid var(--primary-red);
    box-shadow: 0 6px 20px rgba(164, 23, 32, 0.3);
}

.presentation .document-card .btn-doc:first-child:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #8a1c20 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(164, 23, 32, 0.4);
    border-color: var(--dark-red);
}

.presentation .document-card .btn-doc:first-child:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(164, 23, 32, 0.3);
}

/* Bouton Télécharger - Style secondaire */
.presentation .document-card .btn-doc:last-child {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(164, 23, 32, 0.1);
}

.presentation .document-card .btn-doc:last-child:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3);
}

.presentation .document-card .btn-doc:last-child:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(164, 23, 32, 0.2);
}

/* Icônes dans les boutons */
.presentation .document-card .btn-doc i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.presentation .document-card .btn-doc:hover i {
    transform: scale(1.1);
}

/* Animation de pulsation pour attirer l'attention */
.presentation .document-card .btn-doc:first-child {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(164, 23, 32, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(164, 23, 32, 0.4);
    }
}

/* Amélioration de la disposition des boutons */
.presentation .document-card .document-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive pour les boutons de téléchargement */
@media (max-width: 768px) {
    .presentation .document-card .document-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .presentation .document-card .btn-doc {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .presentation .document-card .btn-doc {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .presentation .document-card .btn-doc i {
        font-size: 0.9rem;
    }
}

/* Effet de focus pour l'accessibilité */
.presentation .document-card .btn-doc:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(164, 23, 32, 0.3);
}

/* Animation d'entrée pour les boutons */
.presentation .document-card .btn-doc {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.presentation .document-card .btn-doc:last-child {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mode sombre pour les boutons de téléchargement */
@media (prefers-color-scheme: dark) {
    .presentation .document-card .btn-doc:first-child {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
        color: white !important;
        border-color: var(--primary-red) !important;
    }
    
    .presentation .document-card .btn-doc:last-child {
        background: #1e1e1e !important;
        color: var(--primary-red) !important;
        border-color: var(--primary-red) !important;
    }
    
    .presentation .document-card .btn-doc:last-child:hover {
        background: var(--primary-red) !important;
        color: white !important;
    }
}
/* ========== ENHANCED FINANCING SECTION FOR INDEX PAGE ========== */
.financing .financing-text {
    position: relative;
    overflow: hidden;
}

.financing .financing-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red));
    border-radius: 12px 12px 0 0;
}

.financing .financing-text p {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Amélioration des cartes de documents dans la section financement */
.financing .document-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.financing .document-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.financing .document-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(164, 23, 32, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    pointer-events: none;
}

.financing .document-card:hover::after {
    opacity: 1;
}

/* Amélioration des boutons dans la section financement */
.financing .btn-doc {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.financing .btn-doc::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.financing .btn-doc:hover::before {
    left: 100%;
}

.financing .btn-doc:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3);
}

/* Animation pour les titres de section */
.financing .section-title h2 {
    position: relative;
    display: inline-block;
}

.financing .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transition: width 0.8s ease;
}

.financing .section-title.fade-in h2::after {
    width: 80px;
}

/* Effet de brillance sur les icônes */
.financing .document-icon {
    position: relative;
    overflow: hidden;
}

.financing .document-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.financing .document-card:hover .document-icon::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive amélioré pour la section financement */
@media (max-width: 768px) {
    .financing .financing-text p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .financing .documents-section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .financing .financing-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .financing .documents-section h3 {
        font-size: 1.4rem;
    }
    
    .financing .document-card {
        padding: 1.5rem;
    }
}
/* ========== ENHANCED DOWNLOAD BUTTONS FOR SERVICES PAGE ========== */
.service-detail .btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-detail .btn-doc::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-detail .btn-doc:hover::before {
    left: 100%;
}

/* Bouton Consulter - Style principal pour services */
.service-detail a[style*="background: var(--primary-red)"] {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    border: 2px solid var(--primary-red) !important;
    box-shadow: 0 6px 20px rgba(164, 23, 32, 0.3) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600 !important;
}

.service-detail a[style*="background: var(--primary-red)"]:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #8a1c20 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(164, 23, 32, 0.4) !important;
    border-color: var(--dark-red) !important;
}

.service-detail a[style*="background: var(--primary-red)"]:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(164, 23, 32, 0.3) !important;
}

/* Bouton Télécharger - Style secondaire pour services */
.service-detail a[style*="background: transparent"] {
    background: transparent !important;
    color: var(--primary-red) !important;
    border: 2px solid var(--primary-red) !important;
    box-shadow: 0 4px 15px rgba(164, 23, 32, 0.1) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600 !important;
}

.service-detail a[style*="background: transparent"]:hover {
    background: var(--primary-red) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3) !important;
}

.service-detail a[style*="background: transparent"]:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(164, 23, 32, 0.2) !important;
}

/* Effet de brillance pour les boutons services */
.service-detail a[style*="background: var(--primary-red)"]::before,
.service-detail a[style*="background: transparent"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-detail a[style*="background: var(--primary-red)"]:hover::before,
.service-detail a[style*="background: transparent"]:hover::before {
    left: 100%;
}

/* Animation de pulsation pour le bouton principal */
.service-detail a[style*="background: var(--primary-red)"] {
    animation: subtle-pulse-services 3s ease-in-out infinite;
}

@keyframes subtle-pulse-services {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(164, 23, 32, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(164, 23, 32, 0.4);
    }
}

/* Amélioration du conteneur de catalogue dans services */
.service-detail div[style*="margin-top: 2rem"] {
    background: linear-gradient(135deg, var(--pure-white) 0%, #fafafa 100%) !important;
    border: 1px solid rgba(164, 23, 32, 0.1) !important;
    border-left: 4px solid var(--primary-red) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-detail div[style*="margin-top: 2rem"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail div[style*="margin-top: 2rem"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    border-radius: 12px 12px 0 0;
}

/* Amélioration du titre du catalogue */
.service-detail h4[style*="color: var(--primary-red)"] {
    position: relative;
    display: inline-block;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.2rem !important;
}

.service-detail h4[style*="color: var(--primary-red)"]::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.5s ease;
}

.service-detail div[style*="margin-top: 2rem"]:hover h4::after {
    width: 100%;
}

/* Icône PDF améliorée */
.service-detail h4 i.fa-file-pdf {
    color: var(--primary-red) !important;
    font-size: 1.3rem !important;
    margin-right: 0.8rem !important;
    transition: transform 0.3s ease;
}

.service-detail div[style*="margin-top: 2rem"]:hover h4 i.fa-file-pdf {
    transform: scale(1.1) rotate(5deg);
}

/* Amélioration du conteneur des boutons */
.service-detail div[style*="display: flex; gap: 1rem"] {
    gap: 1.2rem !important;
    margin-top: 1.8rem !important;
    flex-wrap: wrap;
}

/* Icônes dans les boutons services */
.service-detail a i {
    font-size: 1rem !important;
    transition: transform 0.3s ease !important;
}

.service-detail a:hover i {
    transform: scale(1.1) !important;
}

/* Responsive pour les boutons services */
@media (max-width: 768px) {
    .service-detail div[style*="display: flex; gap: 1rem"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .service-detail a[style*="background: var(--primary-red)"],
    .service-detail a[style*="background: transparent"] {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
        justify-content: center !important;
    }
    
    .service-detail div[style*="margin-top: 2rem"] {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .service-detail a[style*="background: var(--primary-red)"],
    .service-detail a[style*="background: transparent"] {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-width: 120px !important;
    }
    
    .service-detail a i {
        font-size: 0.9rem !important;
    }
    
    .service-detail div[style*="margin-top: 2rem"] {
        padding: 1.25rem !important;
    }
}

/* Effet de focus pour l'accessibilité services */
.service-detail a[style*="background: var(--primary-red)"]:focus,
.service-detail a[style*="background: transparent"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(164, 23, 32, 0.3) !important;
}

/* Animation d'entrée pour les boutons services */
.service-detail a[style*="background: var(--primary-red)"],
.service-detail a[style*="background: transparent"] {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp-services 0.6s ease forwards;
}

.service-detail a[style*="background: transparent"] {
    animation-delay: 0.2s;
}

@keyframes slideInUp-services {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mode sombre pour les boutons services */
@media (prefers-color-scheme: dark) {
    .service-detail a[style*="background: var(--primary-red)"] {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
        border-color: var(--primary-red) !important;
    }
    
    .service-detail a[style*="background: transparent"] {
        background: #1e1e1e !important;
        color: var(--primary-red) !important;
        border-color: var(--primary-red) !important;
    }
    
    .service-detail a[style*="background: transparent"]:hover {
        background: var(--primary-red) !important;
        color: white !important;
    }
    
    .service-detail div[style*="margin-top: 2rem"] {
        background: #1e1e1e !important;
        border-color: rgba(164, 23, 32, 0.3) !important;
    }
    
    .service-detail h4[style*="color: var(--primary-red)"] {
        color: var(--primary-red) !important;
    }
    
    .service-detail p {
        color: #ffffff !important;
    }
}
/* ========== FIX VISIBILITY ISSUES FOR INDEX DOWNLOAD BUTTONS ========== */
/* Styles de base pour tous les boutons btn-doc */
.btn-doc {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0.9rem 1.8rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 140px !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

/* Bouton Consulter - Premier bouton */
.document-actions .btn-doc:first-child,
.btn-doc:first-of-type {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    border: 2px solid var(--primary-red) !important;
    box-shadow: 0 6px 20px rgba(164, 23, 32, 0.3) !important;
}

.document-actions .btn-doc:first-child:hover,
.btn-doc:first-of-type:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #8a1c20 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(164, 23, 32, 0.4) !important;
    border-color: var(--dark-red) !important;
}

/* Bouton Télécharger - Deuxième bouton */
.document-actions .btn-doc:last-child,
.btn-doc:last-of-type {
    background: transparent !important;
    color: var(--primary-red) !important;
    border: 2px solid var(--primary-red) !important;
    box-shadow: 0 4px 15px rgba(164, 23, 32, 0.1) !important;
}

.document-actions .btn-doc:last-child:hover,
.btn-doc:last-of-type:hover {
    background: var(--primary-red) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3) !important;
}

/* Effet de brillance pour tous les btn-doc */
.btn-doc::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: 1 !important;
}

.btn-doc:hover::before {
    left: 100% !important;
}

/* Contenu du bouton au-dessus de l'effet */
.btn-doc i,
.btn-doc span {
    position: relative !important;
    z-index: 2 !important;
}

/* Container des actions */
.document-actions {
    display: flex !important;
    gap: 1.2rem !important;
    margin-top: 1.5rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Styles spécifiques pour la section présentation */
.presentation-document {
    margin-top: 3rem !important;
    display: flex !important;
    justify-content: center !important;
}

.presentation-document .document-card {
    max-width: 400px !important;
    margin: 0 auto !important;
    background: var(--pure-white) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
}

.presentation-document .document-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red)) !important;
    border-radius: 12px 12px 0 0 !important;
}

.presentation-document .document-icon {
    width: 60px !important;
    height: 60px !important;
    background: var(--light-red) !important;
    color: var(--primary-red) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.8rem !important;
}

.presentation-document h4 {
    color: var(--dark-gray) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.presentation-document p {
    color: var(--medium-gray) !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
}

/* Responsive pour la présentation */
@media (max-width: 768px) {
    .presentation-document {
        margin-top: 2rem !important;
    }
    
    .presentation-document .document-card {
        max-width: 100% !important;
        padding: 1.5rem !important;
    }
    
    .document-actions {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .btn-doc {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
    }
}

/* Mode sombre pour la section présentation */
@media (prefers-color-scheme: dark) {
    .presentation-document .document-card {
        background: #1e1e1e !important;
        color: #ffffff !important;
    }
    
    .presentation-document h4 {
        color: #ffffff !important;
    }
    
    .presentation-document p {
        color: #ffffff !important;
    }
    
    .presentation-document .document-icon {
        background: rgba(164, 23, 32, 0.2) !important;
        color: var(--primary-red) !important;
    }
    
    .document-actions .btn-doc:first-child {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
    }
    
    .document-actions .btn-doc:last-child {
        background: #1e1e1e !important;
        color: var(--primary-red) !important;
        border-color: var(--primary-red) !important;
    }
    
    .document-actions .btn-doc:last-child:hover {
        background: var(--primary-red) !important;
        color: white !important;
    }
}

/* Force l'affichage des boutons */
.presentation .btn-doc,
.presentation-document .btn-doc {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* ========== DEBUG STYLES FOR BUTTON VISIBILITY ========== */
/* Styles de débogage pour s'assurer que les boutons sont visibles */
a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Style de base pour le bouton Consulter */
a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][target="_blank"] {
    background: #A41720 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 2px solid #A41720 !important;
    transition: all 0.3s ease !important;
    margin-right: 10px !important;
}

a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][target="_blank"]:hover {
    background: #8a1c20 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(164, 23, 32, 0.3) !important;
}

/* Style de base pour le bouton Télécharger */
a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
    background: transparent !important;
    color: #A41720 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: 2px solid #A41720 !important;
    transition: all 0.3s ease !important;
}

a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:hover {
    background: #A41720 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(164, 23, 32, 0.3) !important;
}

/* Force l'affichage des icônes */
a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"] i {
    display: inline !important;
    margin-right: 8px !important;
    font-size: 1rem !important;
}

/* Container des boutons */
.presentation-document .document-actions {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
}

/* Responsive pour les boutons de débogage */
@media (max-width: 768px) {
    .presentation-document .document-actions {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"] {
        width: 100% !important;
        max-width: 250px !important;
        text-align: center !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
}

/* Mode sombre pour les boutons de débogage */
@media (prefers-color-scheme: dark) {
    a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][target="_blank"] {
        background: #A41720 !important;
        color: white !important;
        border-color: #A41720 !important;
    }
    
    a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
        background: #1e1e1e !important;
        color: #A41720 !important;
        border-color: #A41720 !important;
    }
    
    a[href*="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:hover {
        background: #A41720 !important;
        color: white !important;
    }
}
/* ========== OPTIMISATION SPÉCIFIQUE POUR PC/DESKTOP ========== */
/* Styles spécifiques pour écrans larges (PC) */
@media (min-width: 1024px) {
    
    /* ========== CONTENEURS POUR PC ========== */
    .document-actions,
    .presentation-document .document-actions,
    .service-detail div[style*="display: flex"] {
        display: flex !important;
        gap: 2.5rem !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 2.5rem !important;
        flex-wrap: nowrap !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* ========== BOUTONS OPTIMISÉS POUR PC ========== */
    .btn-doc,
    a[href*="pdf/RM & LC CONSULTING"] {
        /* Dimensions PC */
        padding: 1.2rem 2.5rem !important;
        min-width: 180px !important;
        height: 56px !important;
        
        /* Typographie PC */
        font-size: 1rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        
        /* Apparence PC */
        border-radius: 12px !important;
        border-width: 3px !important;
        
        /* Ombres plus prononcées sur PC */
        box-shadow: 0 8px 25px rgba(164, 23, 32, 0.2) !important;
        
        /* Transitions plus fluides */
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* ========== BOUTON CONSULTER - VERSION PC ========== */
    .btn-doc:first-child,
    a[href*="pdf/RM & LC CONSULTING"][target="_blank"] {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, #7a1a1e 100%) !important;
        box-shadow: 0 10px 30px rgba(164, 23, 32, 0.25) !important;
        position: relative !important;
    }
    
    .btn-doc:first-child:hover,
    a[href*="pdf/RM & LC CONSULTING"][target="_blank"]:hover {
        background: linear-gradient(135deg, var(--dark-red) 0%, #7a1a1e 50%, #6a1719 100%) !important;
        transform: translateY(-6px) scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(164, 23, 32, 0.4) !important;
        border-color: var(--dark-red) !important;
    }
    
    /* ========== BOUTON TÉLÉCHARGER - VERSION PC ========== */
    .btn-doc:last-child,
    a[href*="pdf/RM & LC CONSULTING"][download] {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.95) 100%) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 8px 25px rgba(164, 23, 32, 0.15) !important;
        border-color: var(--primary-red) !important;
    }
    
    .btn-doc:last-child:hover,
    a[href*="pdf/RM & LC CONSULTING"][download]:hover {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
        transform: translateY(-6px) scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(164, 23, 32, 0.35) !important;
    }
    
    /* ========== EFFETS VISUELS AVANCÉS PC ========== */
    /* Effet de pulsation pour attirer l'attention */
    .btn-doc:first-child,
    a[href*="pdf/RM & LC CONSULTING"][target="_blank"] {
        animation: subtle-pulse-pc 4s ease-in-out infinite !important;
    }
    
    @keyframes subtle-pulse-pc {
        0%, 100% {
            box-shadow: 0 10px 30px rgba(164, 23, 32, 0.25);
        }
        50% {
            box-shadow: 0 12px 35px rgba(164, 23, 32, 0.35);
        }
    }
    
    /* Effet de brillance amélioré pour PC */
    .btn-doc::before,
    a[href*="pdf/RM & LC CONSULTING"]::before {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
        transition: left 1s ease !important;
    }
    
    /* ========== CARTES DE DOCUMENTS - VERSION PC ========== */
    .document-card,
    .presentation-document .document-card {
        max-width: 500px !important;
        padding: 3rem !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
        border-width: 2px !important;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .document-card:hover,
    .presentation-document .document-card:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Barre supérieure plus épaisse sur PC */
    .document-card::before,
    .presentation-document .document-card::before {
        height: 6px !important;
        background: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 50%, var(--primary-red) 100%) !important;
    }
    
    /* ========== ICÔNES ET TEXTES - VERSION PC ========== */
    .document-icon {
        width: 80px !important;
        height: 80px !important;
        border-radius: 20px !important;
        font-size: 2.2rem !important;
        margin-bottom: 2rem !important;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .document-card:hover .document-icon {
        transform: scale(1.15) rotate(8deg) !important;
        box-shadow: 0 10px 25px rgba(164, 23, 32, 0.3) !important;
    }
    
    .document-card h4 {
        font-size: 1.5rem !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.2 !important;
    }
    
    .document-card p {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 2.5rem !important;
    }
    
    /* ========== SECTION FINANCEMENT - VERSION PC ========== */
    .financing .documents-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    .financing .financing-text {
        max-width: 800px !important;
        margin: 0 auto 4rem auto !important;
        padding: 3rem !important;
        border-radius: 16px !important;
    }
    
    .financing .financing-text p {
        font-size: 1.2rem !important;
        line-height: 1.8 !important;
    }
    
    /* ========== SECTION PRÉSENTATION - VERSION PC ========== */
    .presentation-document {
        margin-top: 4rem !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* ========== ICÔNES DANS LES BOUTONS - VERSION PC ========== */
    .btn-doc i,
    a[href*="pdf/RM & LC CONSULTING"] i {
        font-size: 1.1rem !important;
        transition: all 0.4s ease !important;
    }
    
    .btn-doc:hover i,
    a[href*="pdf/RM & LC CONSULTING"]:hover i {
        transform: scale(1.2) rotate(5deg) !important;
    }
    
    /* ========== FOCUS AMÉLIORÉ POUR PC ========== */
    .btn-doc:focus,
    a[href*="pdf/RM & LC CONSULTING"]:focus {
        outline: none !important;
        box-shadow: 0 0 0 5px rgba(164, 23, 32, 0.3) !important;
        transform: translateY(-2px) !important;
    }
    
    /* ========== ÉTATS ACTIFS POUR PC ========== */
    .btn-doc:active,
    a[href*="pdf/RM & LC CONSULTING"]:active {
        transform: translateY(-3px) scale(1.02) !important;
        transition: all 0.1s ease !important;
    }
}

/* ========== ÉCRANS TRÈS LARGES (1440px+) ========== */
@media (min-width: 1440px) {
    .btn-doc,
    a[href*="pdf/RM & LC CONSULTING"] {
        padding: 1.3rem 3rem !important;
        min-width: 200px !important;
        height: 60px !important;
        font-size: 1.1rem !important;
        border-radius: 14px !important;
    }
    
    .document-actions,
    .presentation-document .document-actions,
    .service-detail div[style*="display: flex"] {
        gap: 3rem !important;
        margin-top: 3rem !important;
    }
    
    .document-card,
    .presentation-document .document-card {
        max-width: 550px !important;
        padding: 3.5rem !important;
    }
    
    .document-icon {
        width: 90px !important;
        height: 90px !important;
        font-size: 2.5rem !important;
    }
    
    .document-card h4 {
        font-size: 1.6rem !important;
    }
    
    .document-card p {
        font-size: 1.15rem !important;
    }
}

/* ========== ÉCRANS 4K (2560px+) ========== */
@media (min-width: 2560px) {
    .btn-doc,
    a[href*="pdf/RM & LC CONSULTING"] {
        padding: 1.5rem 3.5rem !important;
        min-width: 220px !important;
        height: 65px !important;
        font-size: 1.2rem !important;
        border-radius: 16px !important;
    }
    
    .document-card,
    .presentation-document .document-card {
        max-width: 600px !important;
        padding: 4rem !important;
    }
}
/* ========== STYLES POUR BOUTON UNIQUE DE TÉLÉCHARGEMENT ========== */
/* Ajustements pour un seul bouton de téléchargement */

/* Bouton unique - Style principal */
.document-actions .btn-doc:only-child,
.btn-doc:only-child,
a[href*="pdf/RM & LC CONSULTING"][download]:only-child {
    /* Style principal pour le bouton unique */
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    border: 2px solid var(--primary-red) !important;
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.25) !important;
    
    /* Centrage parfait */
    margin: 0 auto !important;
    display: flex !important;
    
    /* Animation de pulsation pour attirer l'attention */
    animation: single-button-pulse 3s ease-in-out infinite !important;
}

.document-actions .btn-doc:only-child:hover,
.btn-doc:only-child:hover,
a[href*="pdf/RM & LC CONSULTING"][download]:only-child:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #7a1a1e 100%) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(164, 23, 32, 0.4) !important;
    border-color: var(--dark-red) !important;
}

@keyframes single-button-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(164, 23, 32, 0.25);
    }
    50% {
        box-shadow: 0 10px 30px rgba(164, 23, 32, 0.35);
    }
}

/* Conteneur pour bouton unique */
.document-actions:has(.btn-doc:only-child),
.document-actions:has(a[download]:only-child) {
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
}

/* Styles spécifiques pour la page services avec bouton unique */
.service-detail div[style*="justify-content: center"] a[download] {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    border: 2px solid var(--primary-red) !important;
    box-shadow: 0 6px 20px rgba(164, 23, 32, 0.25) !important;
    padding: 0.8rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    min-width: 160px !important;
    border-radius: 8px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.service-detail div[style*="justify-content: center"] a[download]:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #7a1a1e 100%) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(164, 23, 32, 0.35) !important;
}

.service-detail div[style*="justify-content: center"] a[download]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.service-detail div[style*="justify-content: center"] a[download]:hover::before {
    left: 100% !important;
}

/* Optimisation PC pour bouton unique */
@media (min-width: 1024px) {
    .document-actions .btn-doc:only-child,
    .btn-doc:only-child,
    a[href*="pdf/RM & LC CONSULTING"][download]:only-child {
        padding: 1.2rem 3rem !important;
        min-width: 200px !important;
        height: 56px !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        border-radius: 12px !important;
        border-width: 3px !important;
    }
    
    .document-actions .btn-doc:only-child:hover,
    .btn-doc:only-child:hover,
    a[href*="pdf/RM & LC CONSULTING"][download]:only-child:hover {
        transform: translateY(-6px) scale(1.08) !important;
        box-shadow: 0 15px 40px rgba(164, 23, 32, 0.4) !important;
    }
    
    .service-detail div[style*="justify-content: center"] a[download] {
        padding: 1rem 2.5rem !important;
        min-width: 180px !important;
        height: 52px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }
}

/* Responsive pour bouton unique */
@media (max-width: 768px) {
    .document-actions .btn-doc:only-child,
    .btn-doc:only-child,
    a[href*="pdf/RM & LC CONSULTING"][download]:only-child {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1.1rem 2rem !important;
        font-size: 1rem !important;
    }
    
    .service-detail div[style*="justify-content: center"] a[download] {
        width: 100% !important;
        max-width: 250px !important;
        padding: 1rem 1.5rem !important;
    }
}

/* Mode sombre pour bouton unique */
@media (prefers-color-scheme: dark) {
    .document-actions .btn-doc:only-child,
    .btn-doc:only-child,
    a[href*="pdf/RM & LC CONSULTING"][download]:only-child {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
        border-color: var(--primary-red) !important;
    }
    
    .service-detail div[style*="justify-content: center"] a[download] {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
        border-color: var(--primary-red) !important;
    }
}

/* Suppression des styles pour les boutons "Consulter" qui n'existent plus */
.btn-doc:first-child:not(:only-child),
a[href*="pdf/RM & LC CONSULTING"][target="_blank"] {
    display: none !important;
}

/* Ajustement des animations pour bouton unique */
.document-actions .btn-doc:only-child,
a[href*="pdf/RM & LC CONSULTING"][download]:only-child {
    animation: fadeInUp 0.8s ease forwards, single-button-pulse 3s ease-in-out 1s infinite !important;
}

/* Focus amélioré pour bouton unique */
.document-actions .btn-doc:only-child:focus,
.btn-doc:only-child:focus,
a[href*="pdf/RM & LC CONSULTING"][download]:only-child:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(164, 23, 32, 0.3), 0 8px 25px rgba(164, 23, 32, 0.25) !important;
}
/* ========== FIX SPÉCIFIQUE POUR LE BOUTON CATALOGUE DE FORMATION ========== */
/* Styles très spécifiques pour forcer l'affichage du bouton catalogue */

/* Ciblage direct du bouton catalogue de formation */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] {
    /* Force l'affichage */
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* Styles visuels */
    align-items: center !important;
    justify-content: center !important;
    gap: 0.7rem !important;
    
    /* Dimensions */
    padding: 1rem 2rem !important;
    min-width: 180px !important;
    height: 50px !important;
    
    /* Apparence */
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    border: 2px solid var(--primary-red) !important;
    border-radius: 10px !important;
    
    /* Typographie */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    
    /* Effets */
    box-shadow: 0 6px 20px rgba(164, 23, 32, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    
    /* Position */
    position: relative !important;
    z-index: 999 !important;
    overflow: hidden !important;
}

/* Effet de survol pour le bouton catalogue */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download]:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #7a1a1e 100%) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(164, 23, 32, 0.4) !important;
    border-color: var(--dark-red) !important;
}

/* Effet de brillance pour le bouton catalogue */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: 1 !important;
}

a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download]:hover::before {
    left: 100% !important;
}

/* Icône dans le bouton catalogue */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] i {
    font-size: 1.1rem !important;
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.3s ease !important;
}

a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download]:hover i {
    transform: scale(1.2) !important;
}

/* Conteneur du bouton catalogue */
div[style*="justify-content: center"]:has(a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"]) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 1.5rem !important;
    gap: 0 !important;
}

/* Section conteneur du catalogue */
div[style*="margin-top: 2rem"][style*="border-left: 4px solid var(--primary-red)"] {
    background: linear-gradient(135deg, var(--pure-white) 0%, #fafafa 100%) !important;
    border: 1px solid rgba(164, 23, 32, 0.1) !important;
    border-left: 4px solid var(--primary-red) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-top: 2rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
}

div[style*="margin-top: 2rem"][style*="border-left: 4px solid var(--primary-red)"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Barre supérieure pour la section catalogue */
div[style*="margin-top: 2rem"][style*="border-left: 4px solid var(--primary-red)"]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red)) !important;
    border-radius: 12px 12px 0 0 !important;
}

/* Titre du catalogue */
h4[style*="color: var(--primary-red)"] {
    color: var(--primary-red) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Icône PDF dans le titre */
h4[style*="color: var(--primary-red)"] i.fa-file-pdf {
    color: var(--primary-red) !important;
    font-size: 1.4rem !important;
    margin-right: 0.8rem !important;
}

/* Description du catalogue */
p[style*="color: var(--medium-gray)"] {
    color: var(--medium-gray) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

/* Responsive pour le bouton catalogue */
@media (max-width: 768px) {
    a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1.1rem 2rem !important;
        font-size: 0.95rem !important;
    }
    
    div[style*="margin-top: 2rem"][style*="border-left: 4px solid var(--primary-red)"] {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] {
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-width: 160px !important;
    }
    
    div[style*="margin-top: 2rem"][style*="border-left: 4px solid var(--primary-red)"] {
        padding: 1.25rem !important;
    }
}

/* Mode sombre pour le catalogue */
@media (prefers-color-scheme: dark) {
    div[style*="margin-top: 2rem"][style*="border-left: 4px solid var(--primary-red)"] {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%) !important;
        border-color: rgba(164, 23, 32, 0.3) !important;
        border-left-color: var(--primary-red) !important;
    }
    
    h4[style*="color: var(--primary-red)"] {
        color: var(--primary-red) !important;
    }
    
    p[style*="color: var(--medium-gray)"] {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
    }
}

/* Animation d'entrée pour le bouton catalogue */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] {
    animation: fadeInUp 0.8s ease forwards !important;
}

/* Focus pour le bouton catalogue */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download]:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(164, 23, 32, 0.3), 0 6px 20px rgba(164, 23, 32, 0.25) !important;
}

/* État actif pour le bouton catalogue */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download]:active {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3) !important;
}

/* Debug - Force l'affichage avec un fond temporaire pour vérifier */
a[href="pdf/RM & LC CONSULTING CATALOGUE DE FORMATION.pdf"][download] {
    /* Ajout d'un fond de debug temporaire */
    background: #A41720 !important;
    border: 3px solid #ffffff !important;
    outline: 2px solid #A41720 !important;
}
/* ========== STYLES UNIFIÉS POUR BOUTON INDEX (MÊME STYLE QUE SERVICES) ========== */
/* Application du même style pour le bouton de présentation dans index.html */

/* Ciblage direct du bouton présentation société */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
    /* Force l'affichage */
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* Styles visuels */
    align-items: center !important;
    justify-content: center !important;
    gap: 0.7rem !important;
    
    /* Dimensions */
    padding: 1rem 2rem !important;
    min-width: 180px !important;
    height: 50px !important;
    
    /* Apparence */
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    color: white !important;
    border: 2px solid var(--primary-red) !important;
    border-radius: 10px !important;
    
    /* Typographie */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    
    /* Effets */
    box-shadow: 0 6px 20px rgba(164, 23, 32, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    
    /* Position */
    position: relative !important;
    z-index: 999 !important;
    overflow: hidden !important;
}

/* Effet de survol pour le bouton présentation */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, #7a1a1e 100%) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(164, 23, 32, 0.4) !important;
    border-color: var(--dark-red) !important;
}

/* Effet de brillance pour le bouton présentation */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: 1 !important;
}

a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:hover::before {
    left: 100% !important;
}

/* Icône dans le bouton présentation */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] i {
    font-size: 1.1rem !important;
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.3s ease !important;
}

a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:hover i {
    transform: scale(1.2) !important;
}

/* Conteneur du bouton présentation */
.presentation-document .document-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 2rem !important;
    gap: 0 !important;
}

/* Section conteneur de la présentation - même style que services */
.presentation-document .document-card {
    background: linear-gradient(135deg, var(--pure-white) 0%, #fafafa 100%) !important;
    border: 1px solid rgba(164, 23, 32, 0.1) !important;
    border-left: 4px solid var(--primary-red) !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    max-width: 450px !important;
    margin: 0 auto !important;
}

.presentation-document .document-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

/* Barre supérieure pour la section présentation */
.presentation-document .document-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red)) !important;
    border-radius: 12px 12px 0 0 !important;
}

/* Icône de la présentation - même style que services */
.presentation-document .document-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, var(--light-red), rgba(164, 23, 32, 0.15)) !important;
    color: var(--primary-red) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem auto !important;
    font-size: 2rem !important;
    transition: all 0.4s ease !important;
}

.presentation-document .document-card:hover .document-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red)) !important;
    color: white !important;
    transform: scale(1.1) rotate(5deg) !important;
}

/* Titre de la présentation */
.presentation-document .document-card h4 {
    color: var(--dark-gray) !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

/* Description de la présentation */
.presentation-document .document-card p {
    color: var(--medium-gray) !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
    font-size: 1rem !important;
}

/* Responsive pour le bouton présentation */
@media (max-width: 768px) {
    a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1.1rem 2rem !important;
        font-size: 0.95rem !important;
    }
    
    .presentation-document .document-card {
        padding: 2rem !important;
        max-width: 100% !important;
    }
    
    .presentation-document .document-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-width: 160px !important;
    }
    
    .presentation-document .document-card {
        padding: 1.5rem !important;
    }
    
    .presentation-document .document-card h4 {
        font-size: 1.2rem !important;
    }
    
    .presentation-document .document-card p {
        font-size: 0.9rem !important;
    }
}

/* Mode sombre pour la présentation */
@media (prefers-color-scheme: dark) {
    .presentation-document .document-card {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%) !important;
        border-color: rgba(164, 23, 32, 0.3) !important;
        border-left-color: var(--primary-red) !important;
    }
    
    .presentation-document .document-card h4 {
        color: #ffffff !important;
    }
    
    .presentation-document .document-card p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .presentation-document .document-icon {
        background: linear-gradient(135deg, rgba(164, 23, 32, 0.2), rgba(164, 23, 32, 0.3)) !important;
        color: var(--primary-red) !important;
    }
    
    a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
        color: white !important;
    }
}

/* Animation d'entrée pour le bouton présentation */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
    animation: fadeInUp 0.8s ease forwards !important;
}

/* Focus pour le bouton présentation */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(164, 23, 32, 0.3), 0 6px 20px rgba(164, 23, 32, 0.25) !important;
}

/* État actif pour le bouton présentation */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:active {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(164, 23, 32, 0.3) !important;
}

/* Optimisation PC pour le bouton présentation */
@media (min-width: 1024px) {
    a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
        padding: 1.2rem 2.5rem !important;
        min-width: 200px !important;
        height: 56px !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        border-radius: 12px !important;
        border-width: 3px !important;
        box-shadow: 0 8px 25px rgba(164, 23, 32, 0.2) !important;
    }
    
    a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download]:hover {
        transform: translateY(-6px) scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(164, 23, 32, 0.4) !important;
    }
    
    .presentation-document .document-card {
        max-width: 500px !important;
        padding: 3rem !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
        border-width: 2px !important;
    }
    
    .presentation-document .document-card:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    }
    
    .presentation-document .document-icon {
        width: 80px !important;
        height: 80px !important;
        border-radius: 20px !important;
        font-size: 2.2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .presentation-document .document-card:hover .document-icon {
        transform: scale(1.15) rotate(8deg) !important;
        box-shadow: 0 10px 25px rgba(164, 23, 32, 0.3) !important;
    }
    
    .presentation-document .document-card h4 {
        font-size: 1.5rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .presentation-document .document-card p {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 2.5rem !important;
    }
}

/* Écrans très larges pour la présentation */
@media (min-width: 1440px) {
    a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
        padding: 1.3rem 3rem !important;
        min-width: 220px !important;
        height: 60px !important;
        font-size: 1.2rem !important;
        border-radius: 14px !important;
    }
    
    .presentation-document .document-card {
        max-width: 550px !important;
        padding: 3.5rem !important;
    }
    
    .presentation-document .document-icon {
        width: 90px !important;
        height: 90px !important;
        font-size: 2.5rem !important;
    }
}

/* Debug - Force l'affichage avec un fond temporaire pour vérifier */
a[href="pdf/RM & LC CONSULTING Presentation SOCIETE.pdf"][download] {
    /* Ajout d'un fond de debug temporaire */
    background: #A41720 !important;
    border: 3px solid #ffffff !important;
    outline: 2px solid #A41720 !important;
}

/* ========== PAGE MERCI - STYLES LIGHT MODE ========== */
/* Carte principale de remerciement - Light Mode */
.merci-card {
    background: var(--pure-white);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.merci-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    border-radius: 12px 12px 0 0;
}

/* Icône de succès - Light Mode */
.merci-icon {
    font-size: 5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(164, 23, 32, 0.2));
    animation: success-pulse 2s ease-in-out infinite;
}

@keyframes success-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(164, 23, 32, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(164, 23, 32, 0.3));
    }
}

/* Titre principal - Light Mode */
.merci-title {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* Texte de description - Light Mode */
.merci-text {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Conteneur des boutons - Light Mode */
.merci-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Boutons améliorés pour page merci */
.merci-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.merci-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.merci-buttons .btn:hover::before {
    left: 100%;
}

.merci-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(164, 23, 32, 0.3);
}

.merci-buttons .btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.merci-buttons .btn-secondary:hover {
    background: var(--primary-red);
    color: white;
}

/* Section hero pour page merci - Light Mode */
.merci-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--off-white) 0%, #f0f0f0 100%);
    position: relative;
}

.merci-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(164,23,32,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.merci-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Responsive pour page merci */
@media (max-width: 768px) {
    .merci-card {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }
    
    .merci-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .merci-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .merci-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .merci-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .merci-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .merci-card {
        padding: 2rem 1rem;
    }
    
    .merci-icon {
        font-size: 3.5rem;
    }
    
    .merci-title {
        font-size: 1.6rem;
    }
    
    .merci-text {
        font-size: 1rem;
    }
}