/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary: #dc2626;
    /* Tuile Rouge solide */
    --primary-dark: #7f1d1d;
    /* Tuile Sombre solide */
    --primary-light: #f87171;
    /* Tuile Claire solide */
    --secondary: #7f1d1d;
    /* Remplacé par couleur solide */
    --secondary-solid: #7f1d1d;
    --accent: #dc2626;
    --accent-hover: #7f1d1d;
    --accent-dark-2: #450a0a;
    --accent-darker: #450a0a;
    --accent-light: #f87171;

    /* Gradients désactivés (remplacés par des couleurs solides) */
    --gradient-mix: var(--primary);
    --gradient-mix-light: var(--primary-light);
    --gradient-primary: var(--primary);
    --gradient-secondary: var(--primary-dark);
    --gradient-hero: var(--primary-dark);

    --text-dark: #1f2937;
    --text-light: #4b5563;
    --white: #ffffff;
    --light: #fff5f5;
    --gray: #f3f4f6;
    --border: #e5e7eb;

    /* Variables pour correspondre au style de CHAUFFAGISTE-GERARD */
    --text: var(--text-dark);
    --bg: var(--gray);
    --medium-text: #6b7280;

    /* Ombres désactivées */
    --shadow: none;
    --shadow-strong: none;
    --transition: all 0.3s ease;

    --font-heading: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --gold: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

/* Force l'application d'Oswald sur tous les titres */
h1,
h2,
h3,
h4,
h5,
h6,
.logo-title,
.footer-logo-title {
    font-family: var(--font-heading) !important;
}

/* Force l'application d'Inter sur tous les boutons, liens et textes */
button,
input,
select,
textarea,
a,
p,
span,
li {
    font-family: var(--font-body);
}

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

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: none;
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

/* Top Bar */
.top-bar {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

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

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

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--primary);
    font-size: 14px;
}

.info-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary);
}

.top-bar-social {
    display: flex;
    gap: 12px;
}

.top-bar-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.top-bar-social a:hover {
    background: var(--primary);
}

/* Navbar */
.navbar {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

/* ==========================================
   BOUTONS CTA (Style 21 - Outline & Fill Strict)
   ========================================== */
.btn-call,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--white) !important;
    font-weight: 700;
    border: 2px solid var(--primary);
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-call:hover,
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--primary) !important;
    font-weight: 700;
    border: 2px solid var(--primary);
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--light);
}

.nav-cta {
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: var(--transition);
}

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

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

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

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 35px;
    margin-bottom: 40px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

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

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

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

.footer-logo-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact-item i {
    color: var(--primary);
}

.footer-contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.3;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 3px;
}

.footer-hours h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    box-shadow: none;
}

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

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ==========================================
   FLOATING BUTTONS
   ========================================== */
.floating-call-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    border: 2px solid var(--primary);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
    overflow: hidden;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(220, 38, 38, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(220, 38, 38, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(220, 38, 38, 0);
    }
}

.floating-call-button:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    animation: none;
}

/* Style 45 - Shine/sweep effect on primary and floating CTAs */
.btn-call::after,
.btn-primary::after,
.floating-call-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100%);
    transition: all 0.5s;
    pointer-events: none;
}

.btn-call:hover::after,
.btn-primary:hover::after,
.floating-call-button:hover::after {
    opacity: 1;
    left: 130%;
    transition: all 0.5s;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-info {
        gap: 10px;
    }

    .info-item:not(:last-child),
    .top-bar-social {
        display: none;
    }

    .info-item:last-child {
        justify-content: center;
        font-size: 14px;
    }

    .info-item:last-child a {
        font-size: 16px;
        font-weight: 700;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 25px;
        box-shadow: 0 0 50px var(--shadow-strong);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

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

    /* Floating Call Button - Mobile */
    .floating-call-button {
        width: 50px;
        height: 50px;
        padding: 0;
        bottom: 20px;
        right: 20px;
        justify-content: center;
        border-radius: 4px;
    }

    .floating-call-button span {
        display: none;
    }

    .floating-call-button i {
        font-size: 20px;
    }
}

/* ==========================================
   MAIN MARGIN
   ========================================== */
main {
    margin-top: 102px;
    /* Hauteur par défaut du header sur PC */
}

@media (max-width: 1024px) {
    main {
        margin-top: 125px;
        /* Décalage pour mobile afin que la barre d'étoiles ne soit pas cachée par le header */
    }
}

/* ==========================================
   ANIMATIONS SPÉCIFIQUES HERO
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
}

/* Animation de vibration (téléphone) au survol */
@keyframes ring-vibrate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(15deg);
    }
}

/* Applique la vibration sur l'icône de téléphone des liens et boutons au survol */
a:hover i.fa-phone,
a:hover i.fa-phone-flip,
button:hover i.fa-phone,
button:hover i.fa-phone-flip,
.floating-call-button:hover i.fa-phone,
.floating-call-button:hover i.fa-phone-flip {
    display: inline-block;
    animation: ring-vibrate 0.3s ease-in-out infinite;
}

/* ==========================================
   POPUP DEVIS (Style 3 - Minimalist Lignes)
   ========================================== */
.popup-devis {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.popup-content {
    position: relative;
    z-index: 10;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 4px;
    padding: 40px 30px;
    max-width: 440px;
    width: 100%;
    box-shadow: none;
    /* Pas d'ombres */
    animation: popup-fade 0.2s ease-out;
}

@keyframes popup-fade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: var(--primary);
}

/* Style 3 Inputs - Minimalist (Bordures inférieures uniquement) */
.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 14px;
    background: transparent;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s ease;
    border-radius: 0;
}

.form-input:focus {
    border-bottom-color: var(--primary);
}

.popup-form-wrap h2 {
    font-family: var(--font-heading) !important;
}

/* ==========================================
   ABOUT SECTION (WORK-SITE4-LIEGE Adaptée)
   ========================================== */
.about {
    padding: 90px 0;
    background: var(--white);
}

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

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    border-radius: 0;
    /* Bords carrés */
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.about-badge-overlay {
    position: absolute;
    bottom: 24px;
    left: -10px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    padding: 18px 24px;
    border-radius: 0;
    /* Bords carrés */
    text-align: center;
    box-shadow: none;
    /* Flat design, pas d'ombres */
}

.about-badge-overlay .big {
    font-size: 36px;
    font-weight: 800;
    display: block;
    line-height: 1.1;
}

.about-badge-overlay small {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.section-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-title em {
    font-style: normal;
    color: var(--primary);
}

.section-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-checklist {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-dark);
}

.about-checklist li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon i {
    color: var(--primary);
    font-size: 11px;
}

@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrap img {
        height: 360px;
    }
}

/* ==========================================
   STATS SECTION (Style 33 - Jauges Progressives)
   ========================================== */
.stats-section {
    padding: 60px 0;
    background: var(--light);
    /* Fond rouge très léger */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-label-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.stat-number-text {
    font-family: var(--font-heading) !important;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
}

/* Glissière de la jauge (fond non rempli) pour un contraste optimal */
.stat-track {
    background-color: #cbd5e1;
    /* Slate 300 pour bien délimiter la jauge */
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================
   SERVICES SECTION (Style identique à CHAUFFAGISTE-GERARD)
   ========================================== */
.section-pad {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-title h2 em {
    font-style: normal;
    color: var(--primary);
}

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

.section-title .section-desc {
    margin: 0 auto 24px auto;
}

/* Cartes de services style CHAUFFAGISTE-GERARD */
.service-card {
    background: var(--bg);
    border-radius: 4px;
    /* rounded-sm */
    overflow: visible;
    /* Important pour ne pas couper l'icône qui dépasse */
    border: 1px solid rgba(220, 38, 38, 0.05);
    /* border-primary/5 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

/* Image de la carte avec hauteur fixe */
.service-card .relative.h-48 {
    position: relative;
    height: 192px;
    /* h-48 = 12rem = 192px */
    overflow: visible;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/* Icône circulaire qui dépasse */
.service-card .absolute {
    position: absolute;
}

.service-card .-bottom-5 {
    bottom: -20px;
    /* -5 = -1.25rem = -20px */
}

.service-card .left-6 {
    left: 24px;
    /* 6 = 1.5rem = 24px */
}

.service-icon-circle {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 4px;
    /* rounded-sm */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: relative;
    z-index: 100;
    /* z-index élevé pour être au premier plan */
}

.service-card .z-20 {
    z-index: 100;
}

/* Corps de la carte */
.service-card .p-6 {
    padding: 24px;
}

.service-card .pt-8 {
    padding-top: 32px;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    /* text-lg */
    font-weight: 700;
    /* font-bold */
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    /* text-sm */
    color: var(--medium-text);
    line-height: 1.625;
    /* leading-relaxed */
    margin-bottom: 16px;
    /* mb-4 */
}

/* Bouton "Appeler pour ce service" */
.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* mr-1.5 = 0.375rem = 6px */
    padding: 8px 16px;
    /* px-4 py-2 */
    color: var(--primary);
    font-weight: 500;
    /* font-medium */
    border-radius: 8px;
    /* rounded-lg */
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-size: 14px;
    /* text-sm */
}

.service-card a:hover {
    background: rgba(220, 38, 38, 0.1);
    /* bg-primary/10 */
    border-color: rgba(220, 38, 38, 0.2);
    /* border-primary/20 */
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================
   ZONE INTERVENTION (WORK-SITE3-BRUXELLES Adaptée)
   ========================================== */
.zone {
    padding: 90px 0;
    background: var(--white);
}

.zone-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zone-map-wrapper {
    position: relative;
    padding: 24px;
    box-sizing: border-box;
}

/* Cadres décoratifs d'angles */
.zone-frame-tl,
.zone-frame-tr,
.zone-frame-bl,
.zone-frame-br {
    position: absolute;
    width: 96px;
    height: 96px;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Positions et bordures par défaut */
.zone-frame-tl {
    top: 0;
    left: 0;
    border-top: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    transform: translate(0, 0);
    opacity: 1;
}

.zone-frame-tr {
    top: 0;
    right: 0;
    border-top: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    transform: translate(10px, -10px);
    opacity: 0;
}

.zone-frame-bl {
    bottom: 0;
    left: 0;
    border-bottom: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    transform: translate(-10px, 10px);
    opacity: 0;
}

.zone-frame-br {
    bottom: 0;
    right: 0;
    border-bottom: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    transform: translate(0, 0);
    opacity: 1;
}

/* Animations au survol */
.zone-map-wrapper:hover .zone-frame-tl {
    transform: translate(-10px, -10px);
    opacity: 0;
}

.zone-map-wrapper:hover .zone-frame-br {
    transform: translate(10px, 10px);
    opacity: 0;
}

.zone-map-wrapper:hover .zone-frame-tr {
    transform: translate(0, 0);
    opacity: 1;
}

.zone-map-wrapper:hover .zone-frame-bl {
    transform: translate(0, 0);
    opacity: 1;
}


.zone-map {
    background: url('IMG-CHAUFF/hori-8.webp') center/cover no-repeat;
    border-radius: 0;
    /* Bords carrés */
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    /* Flat design, pas d'ombres */
}

.zone-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.zone-map-placeholder {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.zone-map-placeholder i {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 12px;
    display: block;
}

.zone-map-placeholder p {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.zone-map-placeholder small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.zone-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.city-pill {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-radius: 0;
    /* Bords carrés */
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.city-pill:hover {
    background: rgba(220, 38, 38, 0.05);
    /* Couleur primary translucide au survol */
    border-color: var(--primary);
    color: var(--primary);
}

#btn-voir-plus {
    margin-top: 24px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0;
    /* Bords carrés */
    transition: var(--transition);
}

#btn-voir-plus:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 992px) {
    .zone-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================
   FAQ SECTION (template-design Adaptée)
   ========================================== */
.faq-section {
    background-color: var(--gray);
    padding: 100px 0 110px;
    position: relative;
    overflow: hidden;
}

.faq-header {
    max-width: 680px;
    margin: 0 auto 50px;
    position: relative;
    text-align: center;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.faq-title em {
    font-style: normal;
    color: var(--primary);
}

.faq-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 64px;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    border-radius: 0;
    transition: color 0.2s ease;
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary);
}

.faq-q-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.faq-q-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1.5px solid currentColor;
    border-radius: 0;
    /* Bords carrés */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.55;
    margin-top: 1px;
    transition: opacity 0.2s, background 0.2s, color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-q-num {
    background: var(--primary);
    color: var(--white);
    opacity: 1;
    border-color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    padding: 0 0 22px 40px;
}

/* Colonne 2 - Image FAQ */
.faq-visual {
    position: sticky;
    top: 120px;
}

.faq-image-wrapper {
    position: relative;
    display: block;
}

/* Cadre décoratif décalé */
.faq-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 0;
    /* Bords carrés */
    transform: translate(14px, 14px);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-image-wrapper:hover::before {
    transform: translate(20px, 20px);
}

/* Bande accent verticale gauche */
.faq-image-wrapper::after {
    content: "";
    position: absolute;
    left: -6px;
    top: 20%;
    height: 40%;
    width: 3px;
    background: var(--primary);
    z-index: 2;
    pointer-events: none;
    transition: height 0.4s ease, top 0.4s ease;
}

.faq-image-wrapper:hover::after {
    height: 60%;
    top: 10%;
}

.faq-image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0;
    /* Bords carrés */
    transition: transform 0.45s ease;
}

.faq-image-wrapper:hover .faq-image {
    transform: scale(1.02);
}

/* Badge (sans ombres, bords carrés) */
.faq-badge {
    position: absolute;
    bottom: 28px;
    left: -24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 0;
    /* Bords carrés */
    padding: 14px 20px;
    max-width: 252px;
    box-shadow: none;
    /* Pas d'ombres */
    animation: badge-float 3.5s ease-in-out infinite;
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.faq-badge-icon {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 18px;
}

.faq-badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.faq-badge-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.faq-badge-text span {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

/* Pastille verte "en ligne" */
.faq-badge-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* Compteur de questions et bouton CTA */
.faq-image-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 18px;
}

.faq-image-meta-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-image-meta strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.faq-image-meta span {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border: none;
    border-radius: 0;
    /* Bords carrés */
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.02em;
}

.faq-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.faq-cta-btn i {
    transition: transform 0.2s ease;
}

.faq-cta-btn:hover i {
    transform: translateX(3px);
}

/* Responsive FAQ */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .faq-list {
        max-width: 100%;
        text-align: left;
    }

    .faq-question {
        text-align: left;
    }

    .faq-answer p {
        text-align: left;
        padding-left: 20px;
    }

    .faq-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 64px 0 72px;
    }

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

    .faq-visual {
        order: -1;
        margin-bottom: 48px;
        position: static;
    }

    .faq-image-wrapper::before {
        transform: translate(10px, 10px);
    }

    .faq-image-wrapper:hover::before {
        transform: translate(14px, 14px);
    }

    .faq-badge {
        left: -12px;
        max-width: 200px;
        padding: 12px 16px;
    }
}

/* ==========================================
   CONTACT SECTION (CABINET ENERGIS Adaptée)
   ========================================== */
.contact-section {
    padding: 90px 0;
    background: var(--white);
}

.contact-header {
    max-width: 680px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: 350px 480px;
    gap: 50px;
    justify-content: center;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-ligne {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gray);
    border-left: 3px solid var(--primary);
}

.info-icone {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-texte strong {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

.info-texte a {
    color: inherit;
    transition: color 0.2s ease;
}

.info-texte a:hover {
    color: var(--primary);
}

.urgence-encart {
    background: var(--primary-dark);
    color: var(--white);
    padding: 25px;
    border-radius: 0;
    /* Bords carrés */
}

.urgence-encart h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 18px;
}

.urgence-encart p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.urgence-encart a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

.urgence-encart a:hover {
    background: var(--primary-light);
}

.formulaire {
    background: var(--gray);
    padding: 30px 24px;
    border: 1px solid var(--border);
}

.formulaire h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 24px;
}

.champ-rangee {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.btn-envoyer {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 0;
    /* Bords carrés */
    transition: background 0.3s ease;
}

.btn-envoyer:hover {
    background: var(--primary-dark);
}

.note-form {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .champ-rangee {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* MOBILE STARS BAR */
.mobile-stars-bar {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-stars-bar {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        background-color: var(--primary);
        padding: 10px 0;
        width: 100%;
        position: relative;
        z-index: 99;
    }

    .mobile-stars-bar i {
        color: #FFD700 !important;
        font-size: 12px;
    }
}

/* ── CALLBACK POPUP ── */
.callback-popup {
    position: fixed;
    right: 20px;
    top: 150px;
    background: #ffffff;
    border-right: 4px solid var(--primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 20px;
    z-index: 1001;
    min-width: 260px;
    display: none;
}

.close-popup {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.close-popup:hover {
    color: var(--primary);
}

.callback-content h3 {
    font-family: var(--font-heading), serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.callback-content p {
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.callback-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body), sans-serif;
    font-size: 14px;
    margin-bottom: 12px;
}

.callback-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.callback-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .callback-popup {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: 80px;
        min-width: auto;
    }
}