/* ==========================================================================
   1. VARIABLES, BASE & RESET
   ========================================================================== */
:root {
    --dark-anthracite: #1C1C1C;   /* Noir Mat / Anthracite très sombre */
    --primary-orange: #F59E0B; /* Jaune Ambré */
    --hover-orange: #D97706;   /* Ambre profond au survol */
    --light-grey: #F3F4F6;
    --text-dark: #111827;
    --text-light: #4B5563;
    --danger-red: #DC2626;
    --bg-danger-light: #FEF2F2;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    background-color: #f8f9fa; 
    scroll-behavior: smooth; 
    color: var(--text-dark); 
    overflow-x: hidden; 
    width: 100%;
    min-height: 100vh;          
    display: flex;              
    flex-direction: column;
}

html {
    overflow-x: hidden;
    width: 100%;
}

a { text-decoration: none; }
ul { list-style: none; }

/* ==========================================================================
   2. KEYFRAMES & ANIMATIONS
   ========================================================================== */
/* Note : La largeur (3640px) correspond à la moitié de la piste totale (7280px) */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-3640px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ==========================================================================
   3. HEADER
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    border-bottom: 3px solid var(--primary-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo h2 { color: var(--dark-anthracite); font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.logo .highlight { color: var(--primary-orange); }
.logo-sub { display: block; font-size: 11px; color: #777; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f8f9fa;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #e1e1e1;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.15);
    border-color: var(--primary-orange);
}

.icon-pulse {
    width: 40px; height: 40px;
    background-color: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}

.header-cta-text { display: flex; flex-direction: column; }
.h-label { font-size: 11px; text-transform: uppercase; font-weight: 700; color: #777; }
.h-number { font-size: 18px; font-weight: 900; color: var(--dark-anthracite); line-height: 1.1; }

.brand-name {
    color: var(--dark-anthracite);
    font-size: 26px; /* Même taille que ton ancien h2 */
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-container { display: flex; min-height: 580px; width: 100%; position: relative; }

.hero-left {
    flex: 6;
    background: linear-gradient(135deg, var(--dark-anthracite) 0%, #2c3e50 100%); /* Ajusté pour cohérence */
    position: relative; 
    display: flex; 
    align-items: center; 
    padding-left: 6%; 
    padding-right: 5%;
}

.hero-overlay { position: relative; z-index: 1; color: white; max-width: 650px; padding: 40px 0; }

.hero-left h1 { font-size: 38px; margin-bottom: 25px; line-height: 1.2; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

.hero-benefits li { margin-bottom: 12px; font-size: 17px; display: flex; align-items: center; gap: 12px; }
.hero-benefits i { color: #2ecc71; font-size: 18px; width: 25px; text-align: center; } /* Width fixe pour alignement */
.hero-benefits .fa-clock, .hero-benefits .fa-bolt { color: var(--primary-orange); }

.cta-buttons { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.btn { padding: 15px 30px; border-radius: 6px; font-weight: bold; text-transform: uppercase; font-size: 14px; transition: 0.3s; text-align: center; display: inline-flex; align-items: center; gap: 10px; }

.btn-primary { background-color: var(--primary-orange); color: white; border: 2px solid var(--primary-orange); box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4); }
.btn-primary:hover { background-color: var(--hover-orange); border-color: var(--hover-orange); transform: translateY(-2px); }

.btn-secondary { background-color: rgba(255,255,255,0.1); color: white; border: 2px solid white; backdrop-filter: blur(5px); }
.btn-secondary:hover { background-color: white; color: var(--dark-anthracite); }

.hero-badges { display: flex; gap: 20px; font-size: 12px; opacity: 0.8; margin-top: 10px; }
.hero-badges span { display: flex; align-items: center; gap: 6px; }

.tp-widget-wrapper { margin-bottom: 20px; width: 100%; display: flex; justify-content: flex-start; }
.trustpilot-widget { margin-left: -5px !important; }

/* Hero Right: Grille Réassurance */
.hero-right {
    flex: 3;
    background-color: #f8f9fa; 
    border-left: 5px solid var(--dark-anthracite);
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 30px; 
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 450px;
}

.feature-item {
    background: white;
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.feature-item i { font-size: 24px; color: var(--dark-anthracite); margin-bottom: 10px; }
.feature-item h3 { font-size: 13px; color: var(--dark-anthracite); margin-bottom: 5px; font-weight: 800; text-transform: uppercase; }
.feature-item p { font-size: 12px; color: #777; margin: 0; line-height: 1.3; }

/* ==========================================================================
   5. INFO BAR (3 Cartes sous Hero)
   ========================================================================== */
.info-bar { display: flex; justify-content: stretch; gap: 20px; padding: 0 5%; margin-top: -40px; position: relative; z-index: 10; margin-bottom: 20px; flex-wrap: wrap; }
.info-card { flex: 1; display: flex; align-items: center; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; color: white; min-width: 250px; }
.icon-box i { font-size: 28px; margin-right: 15px; }
.text-box h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 3px; font-weight: 800; }
.text-box p { font-size: 15px; opacity: 0.9; margin: 0; }

.card-blue { 
    background-color: var(--dark-anthracite); 
    border: none; /* Pas de bordure */
}
.card-blue .icon-box i { color: var(--primary-orange); }

.card-white { 
    background-color: #ffffff; 
    color: #333; 
    border: none; /* Pas de bordure */
}
.card-white .icon-box i { color: var(--dark-anthracite); }

.card-orange { 
    background-color: var(--primary-orange); 
    color: #333; 
    border: none; /* Pas de bordure */
}
.card-orange .icon-box i { color: #333; }

/* ==========================================================================
   6. SECTION EXPERTISE (GRID 2x2 & ACCORDEON)
   ========================================================================== */
.services-section { padding: 60px 5%; background: white; }
.container-services { max-width: 1000px; margin: 0 auto; }
.container-services h2 { text-align: center; color: var(--dark-anthracite); font-size: 32px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 50px; font-size: 18px; }

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
    border-top: 4px solid var(--dark-anthracite);
    position: relative;
    cursor: default;
}

/* Bordures colorées par carte (Optionnel) */
.expertise-card:nth-child(1) { border-color: var(--dark-anthracite); }
.expertise-card:nth-child(2) { border-color: #DC2626; }
.expertise-card:nth-child(3) { border-color: var(--primary-orange); }
.expertise-card:nth-child(4) { border-color: #0891B2; }

.card-header { display: flex; flex-direction: column; align-items: flex-start; position: relative; }
.expertise-icon {
    width: 60px; height: 60px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 24px; margin-bottom: 15px;
}

/* Couleurs Icones Expertise */
.icon-blue { background: #E5E7EB; color: var(--dark-anthracite); }
.icon-red { background: #FEE2E2; color: #DC2626; }
.icon-orange { background: #FEF3C7; color: var(--primary-orange); }
.icon-cyan { background: #ECFEFF; color: #0891B2; }

.card-header h3 { font-size: 20px; color: var(--dark-anthracite); margin-bottom: 10px; font-weight: 800; }
.expertise-desc { color: #666; font-size: 14px; margin-bottom: 20px; line-height: 1.5; }

.sub-services-list li { font-size: 14px; color: #444; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.sub-services-list li strong { color: #333; font-weight: 700; }
.sub-services-list li .fa-bolt { color: var(--danger-red); }
.sub-services-list li .fa-check { color: var(--dark-anthracite); }

/* Ligne Urgence Unifiée */
.urgent-line {
    width: 100%;
    display: flex; 
    align-items: center; 
    gap: 10px;
    font-weight: 700;
    color: #991B1B; /* Rouge foncé texte */
    background: #FEF2F2; /* Rouge pâle fond */
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    margin-left: 0; /* Reset */
}
.urgent-line i { color: #DC2626 !important; }

.card-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-card-call {
    flex: 1; text-align: center;
    background-color: var(--primary-orange); color: white;
    padding: 10px; border-radius: 6px; font-weight: bold; font-size: 14px;
    transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-card-call:hover { background-color: var(--hover-orange); }
.btn-card-link {
    flex: 1; text-align: center;
    background-color: transparent; color: var(--dark-anthracite); border: 1px solid var(--dark-anthracite);
    padding: 10px; border-radius: 6px; font-weight: bold; font-size: 14px;
    transition: 0.3s;
}
.btn-card-link:hover { background-color: var(--dark-anthracite); color: white; }

.card-header .mobile-chevron { display: none; }

/* ==========================================================================
   7. SECTION DIAGNOSTIC (Solution / Symptôme - Page Chauffe-eau)
   ========================================================================== */
.problem-solution-section { padding: 60px 5%; background-color: #f8f9fa; }
.container-diag { max-width: 1200px; margin: 0 auto; }
.section-header-center { text-align: center; margin-bottom: 50px; }
.section-header-center h2 { color: var(--dark-anthracite); font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.section-header-center p { color: #666; font-size: 18px; }
.separator-center { width: 50px; height: 4px; background-color: var(--primary-orange); margin: 15px auto 0 auto; border-radius: 2px; }

.diag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-bottom: 40px; }

/* Style unifié des cartes diagnostic */
.diag-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--dark-anthracite);
    transition: 0.3s;
}

.diag-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-top-color: var(--primary-orange); }

.diag-icon-box {
    width: 70px; height: 70px;
    background-color: #f0f7ff; color: var(--dark-anthracite);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
    transition: 0.3s;
}
.diag-card:hover .diag-icon-box { background-color: var(--primary-orange); color: white; }

.diag-card h3 { font-size: 20px; color: var(--text-dark); font-weight: 800; margin-bottom: 15px; }

.diag-desktop-only { display: block; width: 100%; margin-bottom: 20px; }

.causes-label {
    display: block; font-size: 13px; font-weight: 800; color: var(--dark-anthracite);
    margin-bottom: 8px; text-transform: uppercase;
}

.causes-text { font-size: 14px; color: #666; line-height: 1.4; min-height: 45px; }

.btn-diag-call {
    width: 100%;
    background-color: var(--primary-orange); color: white;
    text-decoration: none; font-weight: 700; font-size: 16px;
    padding: 14px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s ease; margin-top: auto;
}
.btn-diag-call:hover { background-color: var(--hover-orange); transform: translateY(-2px); }

/* ==========================================================================
   8. MARQUES (SLIDER INFINI)
   ========================================================================== */
.brands-section { padding: 50px 0; background-color: #f9f9f9; overflow: hidden; text-align: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.brands-section h2 { color: #5c5c5c; font-size: 20px; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.slider { height: 100px; margin: auto; position: relative; width: 100%; display: grid; place-items: center; overflow: hidden; }

/* La largeur 7280px est calculée pour ~26 slides de 280px */
.slide-track { display: flex; width: 7280px; animation: scroll 50s linear infinite; }
.slide { height: 100px; width: 280px; display: flex; align-items: center; justify-content: center; padding: 15px; }
.slide img { max-width: 80%; max-height: 70px; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; }
.slide img:hover { filter: grayscale(0%); opacity: 1; }

/* ==========================================================================
   9. FORMULAIRE & CTA INTERMÉDIAIRE
   ========================================================================== */
.cta-inter-section { background: linear-gradient(135deg, var(--dark-anthracite), #004488); padding: 80px 5%; text-align: center; color: white; }
.cta-content h3 { font-size: 28px; margin-bottom: 15px; }
.cta-content p { margin-bottom: 30px; color: #dceefc; font-size: 18px; max-width: 700px; margin-left: auto; margin-right: auto; }

.btn-white { background: white; color: var(--dark-anthracite); padding: 15px 35px; font-weight: bold; border-radius: 50px; transition: 0.3s; display: inline-block; }
.btn-white:hover { background: var(--primary-orange); color: white; transform: scale(1.05); }

.form-section { padding: 80px 5%; background-color: #f8f9fa; }
.form-wrapper { max-width: 800px; margin: 0 auto; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-top: 5px solid var(--primary-orange); }
.form-header-box { text-align: center; margin-bottom: 30px; }
.form-header-box h2 { color: var(--dark-anthracite); margin-bottom: 8px; font-size: 28px; }
.form-header-box p { color: #777; font-size: 15px; }

.form-group { margin-bottom: 20px; display: flex; flex-direction: column; flex: 1; }
.form-row-dual { display: flex; gap: 20px; }
.form-group label { color: var(--text-dark); font-weight: 700; font-size: 14px; margin-bottom: 8px; }

.form-group input, .form-group textarea, .form-group select { 
    padding: 14px; border: 1px solid #ddd; border-radius: 6px; 
    font-size: 16px; width: 100%; transition: 0.3s; background: #fafafa; 
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus { 
    border-color: var(--primary-orange); background: white; outline: none; 
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1); 
}

.btn-submit-form { width: 100%; padding: 18px; background-color: var(--primary-orange); color: white; border: none; border-radius: 6px; font-size: 18px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: 0.3s; margin-top: 10px; box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3); }
.btn-submit-form:hover { background-color: var(--hover-orange); transform: translateY(-2px); }
.form-security { text-align: center; font-size: 12px; color: #999; margin-top: 15px; }

/* ==========================================================================
   10. AVIS & FOOTER
   ========================================================================== */
.reviews-carousel-section { padding: 60px 5%; background-color: white; border-top: 1px solid #e1e1e1; }
.reviews-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.reviews-header { text-align: center; margin-bottom: 30px; }
.reviews-header h2 { color: var(--dark-anthracite); font-size: 28px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.separator-line { width: 60px; height: 4px; background-color: var(--primary-orange); margin: 0 auto 15px auto; border-radius: 2px; }
.widget-wrapper { width: 100%; max-width: 1000px; margin-top: 10px; }

footer { background: #1a1a1a; color: #aaa; padding: 60px 5% 30px 5%; font-size: 14px; margin-top: auto; }
.footer-container { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto 50px auto; }
.footer-col { flex: 1; min-width: 280px; }
.footer-col h3 { color: white; font-size: 16px; text-transform: uppercase; font-weight: 700; margin-bottom: 25px; border-left: 3px solid var(--primary-orange); padding-left: 15px; height: 20px; display: flex; align-items: center; }
.footer-col p { line-height: 1.6; margin-bottom: 15px; }
.trust-badge { color: white; font-weight: bold; }
.footer-france-block { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.03); padding: 15px; border-radius: 6px; border: 1px solid #333; }
.highlight-text { color: var(--primary-orange); font-weight: 700; text-transform: uppercase; font-size: 12px; }
.footer-cta-box { background: rgba(255,255,255,0.03); padding: 20px; border-radius: 6px; text-align: center; border: 1px solid #333; }
.footer-phone-btn { display: block; background: var(--primary-orange); color: white; font-weight: bold; padding: 12px; border-radius: 5px; margin-bottom: 8px; font-size: 18px; transition: 0.3s; }
.footer-phone-btn:hover { background: white; color: var(--primary-orange); }
.footer-bottom { border-top: 1px solid #333; padding-top: 25px; text-align: center; }
.legal-links a { color: #777; margin: 0 10px; }
.legal-links a:hover { color: var(--primary-orange); }

/* ==========================================================================
   11. STICKY MOBILE BAR
   ========================================================================== */
.sticky-bar-mobile { display: none; } /* Par défaut caché */

.cta-inter-section .tp-widget-wrapper {
    justify-content: center; /* Force le centrage horizontal */
    margin-top: 25px;        /* Crée l'espace (interligne) entre le bouton et le widget */
    margin-bottom: 30px;        /* Réinitialise la marge du bas si nécessaire */
}

/* ==========================================================================
   SECTION FAQ STYLE MAGAZINE (Aligné milieu + Fond Gris)
   ========================================================================== */
.faq-section {
    padding: 60px 5%;
    background-color: #f1f3f5; /* Fond gris plus soutenu (Gris "Bootstrap") */
    border-top: 1px solid #e1e1e1;
}

.container-magazine {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;          
    align-items: center;    /* CORRECTION ICI : Aligne le bloc gauche au milieu verticalement */
    gap: 60px;              
}

/* --- PARTIE GAUCHE (Titre) --- */
.faq-header-side {
    flex: 1;                
    /* On retire "position: sticky" car incompatible avec "align-items: center" */
    text-align: left;
}

.faq-header-side h2 {
    color: var(--dark-anthracite);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.separator-left {
    width: 40px;
    height: 4px;
    background-color: var(--primary-orange);
    margin-bottom: 20px;
    border-radius: 2px;
}

.faq-header-side p {
    color: #555; /* Légèrement plus foncé pour le contraste sur fond gris */
    font-size: 16px;
    line-height: 1.5;
}

/* --- PARTIE DROITE (Questions) --- */
.faq-content-side {
    flex: 2;                
    display: flex;
    flex-direction: column;
    gap: 15px;              
}

/* --- DESIGN DES ACCORDÉONS --- */
.faq-item {
    background-color: white; /* Les questions restent blanches pour ressortir sur le fond gris */
    border: 1px solid #e1e1e1; /* Bordure légère */
    border-radius: 8px; /* Coins arrondis dès le départ */
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary-orange); /* Bordure orange quand ouvert */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-weight: 700;
    color: var(--dark-anthracite);
    font-size: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
    color: #ccc;
    font-size: 14px;
    transition: transform 0.3s, color 0.3s;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

.faq-item[open] summary {
    color: var(--primary-orange);
    border-bottom: 1px solid #f0f0f0; /* Petite séparation interne */
}

.answer-text {
    padding: 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}
/* --- INTERACTION : HOVER SUR FAQ --- */

/* Quand on passe la souris sur la boîte globale */
.faq-item:hover {
    border-color: var(--primary-orange); /* La bordure devient orange */
    cursor: pointer;
}

/* Le texte et l'icône deviennent orange */
.faq-item:hover summary,
.faq-item:hover .question-text,
.faq-item:hover .faq-icon {
    color: var(--primary-orange);
}

/* Petit bonus : légère animation de la flèche vers le bas au survol */
.faq-item:hover .faq-icon {
    transform: translateY(2px); 
}

/* On s'assure que si l'élément est déjà ouvert, la flèche reste tournée */
.faq-item[open]:hover .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* --- TABLETTES & PETITS DESKTOPS (Max 990px) --- */
@media (max-width: 990px) {
    .hero-right { display: none !important; }
    .hero-left { flex: 100% !important; width: 100% !important; padding: 40px 20px !important; }
}

/* --- MOBILES (Max 768px) --- */
@media (max-width: 768px) {
    /* HEADER MOBILE */
    header { padding: 10px 15px !important; gap: 10px; }
    .logo h2 { font-size: 18px !important; }
    .logo-sub { display: none; }
    .header-cta { padding: 5px 10px !important; gap: 8px !important; }
    .h-label { display: none !important; }
    .h-number { font-size: 14px !important; }
    .icon-pulse { width: 30px !important; height: 30px !important; font-size: 14px !important; }

    /* HERO MOBILE */
    .hero-left { padding: 30px 20px !important; text-align: left; }
    .hero-left h1 { font-size: 26px; line-height: 1.3; margin-bottom: 20px; }
    .hero-benefits { padding: 0; margin: 20px 0 30px 0; }
    .hero-benefits li { font-size: 15px; align-items: flex-start; }
    .hero-benefits i { margin-top: 3px; }
    
    .cta-buttons { flex-direction: column; gap: 10px; width: 100%; }
    .btn { width: 100%; justify-content: center; padding: 15px; }

    /* INFO BAR (Les 3 cartes sous le hero) */
    .info-bar { flex-direction: column; margin-top: 0; gap: 10px; padding: 20px; background: white; }
    .info-card { min-width: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

    /* ACCORDEON SERVICES (Index) */
    .expertise-grid { grid-template-columns: 1fr; gap: 15px; }
    .expertise-card { padding: 15px 20px; cursor: pointer; flex-direction: column; }
    .card-header { flex-direction: row; align-items: center; gap: 15px; width: 100%; }
    .expertise-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 0; }
    .card-header h3 { margin: 0; font-size: 18px; flex-grow: 1; }
    
    .card-header .mobile-chevron { display: block; color: #aaa; transition: transform 0.3s; font-size: 18px; margin-left: auto; }
    
    .card-body { display: none; margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; animation: fadeIn 0.3s ease-in-out; }
    
    /* État ouvert via JS */
    .expertise-card.active .card-body { display: block; }
    .expertise-card.active .mobile-chevron { transform: rotate(180deg); color: var(--primary-orange); }
    .expertise-card.active { box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-left: 5px solid var(--primary-orange); border-top: none; }

    /* --- DÉBUT MODIF GRID 2 COLONNES MOBILE --- */
    
    .diag-grid {
        display: grid;
        /* On force 2 colonnes de taille égale */
        grid-template-columns: 1fr 1fr !important; 
        gap: 8px; /* Espace réduit entre les cartes */
        margin-bottom: 30px;
    }

    .diag-card {
        padding: 15px 8px; /* Moins de marge intérieure */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Pousse le bouton vers le bas */
        height: 100%; /* Assure que toutes les cartes ont la même hauteur visuelle */
    }

    .diag-icon-box {
        width: 40px; 
        height: 40px; 
        font-size: 18px; /* Icône plus petite */
        margin-bottom: 10px;
    }

    .diag-card h3 {
        font-size: 13px; /* Titre réduit pour tenir sur 1 ou 2 lignes */
        margin-bottom: 10px;
        min-height: 34px; /* Hauteur minimale pour aligner les boutons si le titre fait 2 lignes */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-diag-call {
        padding: 8px 4px; /* Bouton plus fin */
        font-size: 11px;  /* Texte bouton plus petit */
        width: 100%;
        white-space: nowrap; /* Empêche le texte du bouton de passer à la ligne */
    }

    /* Réduction des marges de la section Diagnostic sur mobile */
    .problem-solution-section {
        padding-top: 40px;    /* On divise par 2 (était à 80px) */
        padding-bottom: 20px; /* On réduit fortement l'espace du bas pour coller au bloc suivant */
    }

    /* Optionnel : On peut aussi remonter un peu le titre de la section suivante */
    .brands-section {
        padding-top: 30px; /* Au lieu de 50px par défaut */
    }
    
    /* On s'assure que le texte descriptif reste caché sur mobile pour gagner de la place */
    .diag-desktop-only { 
        display: none !important; 
    }

    /* --- FIN MODIF GRID --- */

    /* --- CORRECTIF RESPONSIVE FAQ MAGAZINE --- */
    
    .container-magazine {
        flex-direction: column; /* On force la colonne sur mobile */
        align-items: stretch;   /* On étire les boîtes */
        gap: 30px;
    }
    
    .faq-header-side {
        text-align: center;      /* Titre centré sur mobile */
        margin-bottom: 10px;
    }

    .separator-left {
        margin: 0 auto 15px auto; /* Séparateur centré */
    }

    /* Optionnel : réduire un peu la taille du texte sur mobile */
    .faq-header-side h2 { font-size: 24px; }

    /* FORMULAIRE */
   /* FORMULAIRE COMPACT MOBILE */
/* --- CONFIGURATION DU FORMULAIRE MOBILE --- */

    /* 1. Ligne Nom + Téléphone (Le 1er bloc dual) : On garde côte-à-côte */
    form .form-row-dual:nth-of-type(1) { 
        flex-direction: row !important; 
        gap: 10px; /* Espace réduit entre Nom et Tél */
    }

    /* 2. Ligne Email + CP (Le 2ème bloc dual) : On empile l'un sous l'autre */
    form .form-row-dual:nth-of-type(2) { 
        flex-direction: column !important; 
        gap: 10px;
    }

    /* Ajustements esthétiques pour que ça rentre bien */
    .form-group input, 
    .form-group select, 
    .form-group textarea { 
        padding: 12px; /* Confort tactile */
        font-size: 16px; /* Évite le zoom automatique sur iPhone */
    }

    /* Réduire les marges pour gagner de la place verticale */
    .form-group {
        margin-bottom: 10px; 
    }
    
    /* Le bouton prend toute la largeur */
    .btn-submit-form {
        margin-top: 5px;
    }

    /* STICKY FOOTER */
    footer { padding-bottom: 100px; } /* Espace pour la barre sticky */
    .sticky-bar-mobile {
        display: block; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999;
        background-color: var(--dark-anthracite); border-top: 4px solid var(--primary-orange);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    }
    .sticky-link { display: flex; align-items: center; justify-content: center; padding: 10px 15px; gap: 15px; color: white; }
    .sticky-icon { width: 38px; height: 38px; background-color: var(--primary-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; animation: soft-pulse 3s infinite; }
    .sticky-content { display: flex; flex-direction: column; align-items: flex-start; }
    .sticky-label { font-size: 10px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }
    .sticky-cta-title { font-size: 16px; font-weight: 700; line-height: 1.2; }

    .card-blue { border-top: 4px solid var(--primary-orange); }
    .card-white { border-top: 4px solid var(--dark-anthracite); }
    .card-orange { border-top: 4px solid rgb(119, 115, 115); }
}

@media (max-width: 400px) {
    /* Très petits écrans */
    .diag-grid { grid-template-columns: 1fr; } /* 1 colonne pour diag sur iPhone SE etc */
}