html {
    scroll-behavior: smooth;
}
[id] {
    scroll-margin-top: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
a[href^="tel:"] { white-space: nowrap; }
/* ===========================
   RESET & BASES
   =========================== */
body {
    background: #F8FAFC;
    color: #1E293B;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}
a { text-decoration: none; }
.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========================================================
   NAVIGATION UNIFIEE & RESPONSIVE (GLASSMORPHISM PREMIUM)
   ======================================================== */
.entete-site {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #0F172A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.conteneur-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    box-sizing: border-box;
}

/* BLOC LOGO & IDENTITE */
.bloc-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-site {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
    display: block;
}

.logo-site:hover {
    transform: scale(1.03);
}

.titre-site {
    display: flex;
    align-items: baseline;
}

.titre-lien {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #F8FAFC;
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.ei-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    color: #60A5FA;
    letter-spacing: 1px;
}

/* NAVIGATION DESKTOP */
.menu-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

#menu-liste {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

#menu-liste > li {
    position: relative;
    padding: 0;
    margin: 0;
}

#menu-liste > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #E2E8F0;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

#menu-liste > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #60A5FA;
}

.arrow-down {
    font-size: 0.75rem;
    line-height: 1;
    transition: transform 0.25s ease;
    opacity: 0.8;
}

/* SOUS-MENUS DESKTOP (> 960px) */
@media (min-width: 961px) {
    .has-submenu:hover > .sous-menu,
    .has-submenu:focus-within > .sous-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .has-submenu:hover .arrow-down {
        transform: rotate(180deg);
        color: #60A5FA;
    }

    .sous-menu {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        min-width: 240px;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 8px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        transform: translateY(8px);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        gap: 2px;
        list-style: none;
        margin: 0;
        z-index: 10000;
    }

    .sous-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }

    .sous-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .sous-menu a {
        display: block;
        color: #CBD5E1;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 10px 14px;
        border-radius: 8px;
        transition: all 0.2s ease;
        text-decoration: none;
        white-space: nowrap;
    }

    .sous-menu a:hover {
        background: rgba(37, 99, 235, 0.2);
        color: #93C5FD;
        transform: translateX(4px);
    }

    .mobile-only-action {
        display: none !important;
    }

    .burger-btn {
        display: none !important;
    }
}

/* ACTIONS HEADER (DROITE) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tel-header-desktop {
    display: inline-flex;
    align-items: center;
    color: #E2E8F0;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.tel-header-desktop:hover {
    color: #60A5FA;
    background: rgba(255, 255, 255, 0.05);
}

.btn-devis-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563EB;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
}

.btn-devis-header:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.theme-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    color: #FFFFFF;
    transition: all 0.25s ease;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
}

/* BOUTON BURGER MOBILE (AFFICHAGE STRICTEMENT <= 960px) */
.burger-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.burger-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #60A5FA;
}

.burger-line {
    display: block;
    pointer-events: none;
    width: 22px;
    height: 2.5px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.burger-btn.ouvert .burger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger-btn.ouvert .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.ouvert .burger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ========================================================
   ADAPTATION COMPACTE DESKTOP / PETITS ECRANS (961px - 1180px)
   Evite tout debordement ou rognage des boutons et actions
   ======================================================== */
@media (max-width: 1180px) and (min-width: 961px) {
    .conteneur-entete {
        padding: 8px 16px;
        gap: 10px;
    }

    .bloc-logo {
        gap: 8px;
    }

    .logo-site {
        height: 36px;
        max-width: 130px;
    }

    .titre-lien {
        font-size: 1.2rem;
    }

    #menu-liste {
        gap: 2px;
    }

    #menu-liste > li > a {
        padding: 7px 10px;
        font-size: 0.88rem;
    }

    .header-actions {
        gap: 8px;
    }

    .tel-header-desktop {
        padding: 6px 10px;
        font-size: 0.88rem;
    }

    .btn-devis-header {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* En-dessous de 1080px jusqu'au burger (ex: 1007px) : masquer le telephone desktop pour donner toute la place au bouton devis et au commutateur de theme */
@media (max-width: 1080px) and (min-width: 961px) {
    .tel-header-desktop {
        display: none !important;
    }

    #menu-liste > li > a {
        padding: 6px 8px;
        font-size: 0.85rem;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .btn-devis-header {
        padding: 8px 14px;
        font-size: 0.88rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ========================================================
   VERSION MOBILE & TABLETTE (<= 960px)
   ======================================================== */
@media (max-width: 960px) {
    .conteneur-entete {
        padding: 8px 16px;
    }

    .bloc-logo {
        gap: 10px;
    }

    .logo-site {
        height: 36px;
        max-width: 130px;
    }

    .titre-lien {
        font-size: 1.15rem;
    }

    .ei-subtitle {
        font-size: 0.75rem;
    }

    /* Masquer le telephone texte et le bouton devis de la barre superieure */
    .tel-header-desktop,
    .btn-devis-header {
        display: none !important;
    }

    /* Afficher le bouton burger */
    .burger-btn {
        display: inline-flex !important;
    }

    /* Menu deroulant mobile */
    .menu-principal {
        position: static;
        flex: 0 0 auto;
    }

    #menu-liste {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 2px solid #2563EB;
        padding: 12px 16px 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        box-sizing: border-box;
        gap: 0;
    }

    #menu-liste.menu-actif {
        display: flex;
        animation: menuGlisse 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes menuGlisse {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #menu-liste > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    #menu-liste > li:last-child {
        border-bottom: none;
    }

    #menu-liste > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        padding: 14px 16px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #F8FAFC;
        border-radius: 8px;
        box-sizing: border-box;
    }

    #menu-liste > li > a:active {
        background: rgba(255, 255, 255, 0.08);
    }

    /* Sous-menus en accordeon mobile */
    .sous-menu {
        display: none;
        list-style: none;
        margin: 6px 0 12px;
        padding: 6px 0;
        background: rgba(0, 0, 0, 0.35);
        border-radius: 8px;
        border-left: 2px solid #2563EB;
    }

    .has-submenu.active .sous-menu {
        display: flex;
        flex-direction: column;
    }

    .has-submenu.active .arrow-down {
        transform: rotate(180deg);
        color: #60A5FA;
    }

    .sous-menu li {
        width: 100%;
    }

    .sous-menu a {
        display: block;
        min-height: 48px;
        line-height: 1.4;
        padding: 12px 18px;
        font-size: 1.05rem;
        font-weight: 600;
        color: #CBD5E1;
        text-decoration: none;
        box-sizing: border-box;
        border-radius: 6px;
    }

    .sous-menu a:active,
    .sous-menu a:hover {
        background: rgba(37, 99, 235, 0.25);
        color: #93C5FD;
    }

    /* Actions mobile dans le tiroir */
    .mobile-only-action {
        display: block !important;
        margin-top: 10px;
        border-bottom: none !important;
    }

    .btn-devis-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        background: #2563EB;
        color: #FFFFFF !important;
        font-weight: 700;
        font-size: 1.05rem;
        border-radius: 10px;
        text-align: center;
        box-sizing: border-box;
        margin-top: 6px;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    }

    .btn-tel-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #60A5FA !important;
        font-weight: 600;
        font-size: 0.95rem;
        border-radius: 10px;
        text-align: center;
        box-sizing: border-box;
        margin-top: 10px;
    }
}

/* PETITS ECRANS MOBILES (<= 380px) */
@media (max-width: 380px) {
    .conteneur-entete {
        padding: 8px 12px;
    }

    .logo-site {
        height: 30px;
        max-width: 110px;
    }

    .titre-lien {
        font-size: 1rem;
    }

    .header-actions {
        gap: 8px;
    }

    .theme-btn,
    .burger-btn {
        width: 38px;
        height: 38px;
    }
}

/* ANTI-ZOOM IOS & PREVENTION DU DEBORDEMENT HORIZONTAL */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

input, select, textarea {
    font-size: 16px !important;
}


/* ========================================================
   TYPOGRAPHIE & MISE EN PAGE DU TEXTE
   ======================================================== */
h1, h2, h3, h4 { color: #1E293B; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; margin-top: 2rem; } h3 { font-size: 1.5rem; color: #2563EB; }
p, li { font-size: 1.1rem; line-height: 1.8; color: #475569; margin-bottom: 1.2rem; max-width: 80ch; }

/* ===========================
   COMPOSANTS DE PAGE
   =========================== */
.accueil-section { padding: 60px 20px; }
.accueil-section:nth-child(even), #realisations { background: #F1F5F9; }
.hero, .card, .advantage {
    background: #FFFFFF; padding: 25px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 25px; transition: all 0.3s ease;
}
.card:hover, .advantage:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.btn {
    display: inline-block; padding: 12px 24px; background: #1E293B; color: #F8FAFC;
    border-radius: 30px; font-weight: 600; transition: all 0.3s ease;
}
.btn:hover { background: #334155; transform: translateY(-2px); }

/* ===========================
   F.A.Q
   =========================== */
.faq-container { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.faq-item {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: background 0.3s;
}
.faq-item:hover { background: #F1F5F9; border-color: #CBD5E1; }
.faq-item[open] { background: #F8FAFC; border-color: #2563EB; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1); }
.faq-item summary { font-size: 1.1em; font-weight: 600; color: #1E293B; cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding: 10px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5em; color: #2563EB; transition: transform 0.3s; }
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item p { color: #475569; margin-top: 15px; padding: 15px 0 10px; border-top: 1px solid #E2E8F0; }

/* ===========================
   FOOTER
   =========================== */
.pied-site {
    background: #0F172A; color: #94A3B8; text-align: center; padding: 40px 0; margin-top: 40px;
}
.conteneur-footer { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.menu-footer a { color: #38BDF8; margin: 0 10px; transition: color 0.3s ease; }
.menu-footer a:hover { color: #ffffff; }




/* ===========================
   DARK THEME OVERRIDES
   =========================== */
html.dark-theme body {
    background: #0B1120;
    color: #E2E8F0;
}
html.dark-theme h1, html.dark-theme body h2, html.dark-theme body h3, html.dark-theme body h4 {
    color: #F8FAFC;
}
html.dark-theme body h3 { color: #60A5FA; }
html.dark-theme body p, html.dark-theme body li { color: #CBD5E1; }
html.dark-theme .accueil-section:nth-child(even), html.dark-theme #realisations { background: #1E293B; }

html.dark-theme .hero, html.dark-theme body .card, html.dark-theme body .advantage, html.dark-theme .faq-item {
    background: #1E293B;
    border-color: rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
html.dark-theme .faq-item:hover { background: #0F172A; border-color: #38BDF8; }
html.dark-theme .faq-item[open] { background: #0F172A; border-color: #38BDF8; }
html.dark-theme .faq-item summary { color: #F8FAFC; }

html.dark-theme .menu-principal { background: transparent; box-shadow: none; }
html.dark-theme .btn { background: #38BDF8; color: #0F172A !important; }
html.dark-theme .btn:hover { background: #0284C7; }


/* ===========================
   FORMULAIRES (Devis, Contact, Climatisation)
   =========================== */
.devis-form-box, .form-demande {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
    max-width: 800px;
    margin: 0 auto;
}

.form-intro { margin-bottom: 25px; color: #475569; }
.form-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.form-row .form-group { flex: 1; min-width: 250px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }

.form-group label {
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.required, .obligatoire { color: #EF4444; }

.form-group input, .form-group select, .form-group textarea, .champ input, .champ select, .champ textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #1E293B;
    background: #F8FAFC;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.champ input:focus, .champ select:focus, .champ textarea:focus {
    outline: none;
    border-color: #38BDF8;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.form-group textarea, .champ textarea { resize: vertical; min-height: 120px; }

.envoyer-demande-cadre { margin-top: 30px; text-align: center; }

.submit-button, button[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.submit-button:hover, button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1D4ED8, #1E3A8A);
}

html.dark-theme body .devis-form-box, html.dark-theme body .form-demande {
    background: #1E293B;
    border-color: rgba(255,255,255,0.05);
}
html.dark-theme body .form-group label { color: #F8FAFC; }
html.dark-theme body .form-group input, html.dark-theme body .form-group select, html.dark-theme body .form-group textarea,
html.dark-theme body .champ input, html.dark-theme body .champ select, html.dark-theme body .champ textarea {
    background: #0F172A;
    border-color: #334155;
    color: #F8FAFC;
}
html.dark-theme body .form-group input:focus, html.dark-theme body .form-group select:focus, html.dark-theme body .form-group textarea:focus {
    border-color: #38BDF8;
    background: #020617;
}






/* ===========================
   PAGE CONTACT
   =========================== */
.contact-page { padding: 60px 20px; }
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
}
.contact-introduction { text-align: center; margin-bottom: 40px; font-size: 1.1rem; }
.contact-bloc {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.contact-bloc:hover { transform: translateX(10px); }
.contact-icone {
    font-size: 2.5rem;
    background: rgba(37, 99, 235, 0.1);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.contact-bloc h2 { margin: 0 0 10px 0; font-size: 1.3rem; color: #1E293B; }
.contact-bloc p { margin: 0; color: #475569; }
.contact-bloc a { color: #2563EB; text-decoration: none; font-weight: bold; }
.contact-bloc a:hover { text-decoration: underline; }

html.dark-theme body .contact-container { background: #1E293B; border-color: rgba(255,255,255,0.05); }
html.dark-theme body .contact-bloc { background: #0F172A; }
html.dark-theme body .contact-bloc h2 { color: #F8FAFC; }
/* ===========================
   CAROUSEL REALISATIONS
   =========================== */
.carousel-wrapper {
    position: relative;
    max-width: 920px;
    margin: 35px auto 25px;
    width: 100%;
}
.carousel-container {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    position: relative;
    background: #0F172A;
    width: 100%;
}
.carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}
.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    background: #0F172A;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
    .carousel-slide {
        height: 290px;
    }
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 18px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 65%, transparent 100%);
    color: #FFFFFF;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}
.carousel-badge {
    align-self: flex-start;
    display: inline-block;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
}
.carousel-badge.clim {
    background: #0284C7;
}
.carousel-caption h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #F8FAFC;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .carousel-caption {
        padding: 14px 16px 12px;
    }
    .carousel-caption h3 {
        font-size: 0.95rem;
    }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.75);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}
.carousel-btn:hover {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    transform: translateY(-50%) scale(1.08);
}
.prev-btn { left: 16px; }
.next-btn { right: 16px; }
@media (max-width: 768px) {
    .prev-btn { left: 10px; width: 40px; height: 40px; font-size: 1.3rem; }
    .next-btn { right: 10px; width: 40px; height: 40px; font-size: 1.3rem; }
}

/* Dots pagination */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #2563EB;
}
html.dark-theme .carousel-dot {
    background: #334155;
}
html.dark-theme .carousel-dot.active {
    background: #38BDF8;
}
html.dark-theme .carousel-container {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===========================
   BANNIERE MARQUES (MARQUEE)
   =========================== */
.brands-banner { background: #FFFFFF; padding: 20px 0 15px 0; border-bottom: 1px solid #E2E8F0; overflow: hidden; }
.brands-title { display: none; }
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee::before, .marquee::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(to right, #FFFFFF, transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, #FFFFFF, transparent); }

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}
.marquee-content:hover { animation-play-state: paused; }

.brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 35px;
    height: 48px;
    vertical-align: middle;
}
.brand-logo-img {
    height: 32px;
    width: auto;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(10%) opacity(0.88);
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    display: inline-block;
}
.brand-item:hover .brand-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-2px) scale(1.05);
}

.brand-logo { display: inline-flex; align-items: center; margin: 0 40px; font-size: 1.3rem;
    font-weight: 900;
    color: #94A3B8;
    font-family: 'Arial Black', Impact, sans-serif;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}
.brand-logo:hover { color: #2563EB; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

html.dark-theme .brands-banner { background: #0B1120; border-bottom: 1px solid rgba(255,255,255,0.05); }
html.dark-theme .marquee::before { background: linear-gradient(to right, #0B1120, transparent); }
html.dark-theme .marquee::after { background: linear-gradient(to left, #0B1120, transparent); }
html.dark-theme .brand-logo-img {
    filter: brightness(0) invert(1) opacity(0.72);
}
html.dark-theme .brand-item:hover .brand-logo-img {
    filter: brightness(0) invert(1) opacity(1);
}
html.dark-theme .brand-logo { color: #334155; }
html.dark-theme .brand-logo:hover { color: #38BDF8; }



/* =========================================================
   STYLE POUR LES PAGES VILLES
   ========================================================= */
.ville-page {
    color: #222;
}
.ville-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}
.breadcrumb a {
    color: #1455a3;
}
.ville-hero {
    padding: 45px 0 55px;
    text-align: center;
}
.ville-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 30px;
    background: #eef5ff;
    color: #1455a3;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}
.ville-hero h1 {
    margin: 0 auto 20px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
}
.ville-intro {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}
.ville-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}
.ville-btn {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
}
.ville-btn-primary {
    background: #0758c9;
    color: #fff;
}
.ville-btn-primary:hover {
    background: #06479f;
    color: #fff;
}
.ville-btn-secondary {
    border: 1px solid #ccc;
    background: #fff;
    color: #222;
}
.ville-hero-image {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 30px auto 0;
    border-radius: 10px;
}
.ville-section {
    padding: 55px 0;
}
.ville-section:nth-of-type(even) {
    background: #f7f8fa;
}
.ville-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 30px;
}
.ville-section p {
    max-width: 900px;
    line-height: 1.75;
}
.ville-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.ville-card {
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
}
.ville-card h3 {
    margin-top: 0;
}
.ville-list {
    max-width: 850px;
    padding-left: 22px;
}
.ville-list li {
    margin: 11px 0;
    line-height: 1.6;
}
.ville-faq details {
    max-width: 900px;
    margin: 0 auto 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 18px;
}
.ville-faq summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 700;
}
.ville-faq details p {
    padding-bottom: 18px;
    margin: 0;
}
.ville-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}
.ville-links a {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
}

/* =========================================================
   ADAPTATION THEME SOMBRE POUR PAGES VILLES (.ville-*)
   ========================================================= */
html.dark-theme .ville-hero {
    background: #0F172A;
}

html.dark-theme .ville-badge {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

html.dark-theme .ville-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

html.dark-theme .ville-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #60A5FA;
}

html.dark-theme .ville-section {
    background: #0F172A;
}

html.dark-theme .ville-section:nth-of-type(even) {
    background: #151F32;
}

html.dark-theme .ville-section h2,
html.dark-theme .ville-hero h1 {
    color: #F8FAFC !important;
}

html.dark-theme .ville-section p,
html.dark-theme .ville-list li {
    color: #CBD5E1;
}

html.dark-theme .ville-card {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

html.dark-theme .ville-card h3 {
    color: #60A5FA !important;
}

html.dark-theme .ville-card p {
    color: #CBD5E1;
}

html.dark-theme .ville-faq details {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
}

html.dark-theme .ville-faq summary {
    color: #F8FAFC;
}

html.dark-theme .ville-faq summary:hover {
    color: #38BDF8;
}

html.dark-theme .ville-faq details p {
    color: #CBD5E1;
}

html.dark-theme .ville-links a {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #93C5FD;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html.dark-theme .ville-links a:hover {
    background: #2563EB;
    border-color: #2563EB;
    color: #FFFFFF;
}
/* =========================================================
   BLOC CTA BAS DE PAGE VILLES (.ville-cta, .contact-rectangles)
   ========================================================= */
.ville-cta,
.contact-rectangles {
    padding: 50px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 40px auto;
}

.ville-contact-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.ville-contact-box,
.rectangle-box {
    flex: 1 1 280px;
    max-width: 380px;
    min-height: 110px;
    padding: 24px 20px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Boîte 1 : Téléphone / Dépannage urgent */
.ville-contact-box:first-child,
.rectangle-box:first-child {
    background: #FFFFFF;
    border: 2px solid #2563EB;
    color: #0F172A;
}

.ville-contact-box:first-child span,
.rectangle-box:first-child span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ville-contact-box:first-child strong,
.rectangle-box:first-child strong {
    font-size: 1.45rem;
    font-weight: 800;
    color: #2563EB;
    letter-spacing: 0.5px;
}

.ville-contact-box:first-child:hover,
.rectangle-box:first-child:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    background: #F8FAFC;
}

/* Boîte 2 : Demande de devis / Réponse rapide */
.ville-contact-box:last-child,
.rectangle-box:last-child {
    background: #2563EB;
    border: 2px solid #2563EB;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.ville-contact-box:last-child span,
.rectangle-box:last-child span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #DBEAFE;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ville-contact-box:last-child strong,
.rectangle-box:last-child strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
}

.ville-contact-box:last-child:hover,
.rectangle-box:last-child:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

/* Mode sombre */
html.dark-theme .ville-contact-box:first-child,
html.dark-theme .rectangle-box:first-child {
    background: #1E293B;
    border-color: #38BDF8;
    color: #F8FAFC;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html.dark-theme .ville-contact-box:first-child span,
html.dark-theme .rectangle-box:first-child span {
    color: #94A3B8;
}

html.dark-theme .ville-contact-box:first-child strong,
html.dark-theme .rectangle-box:first-child strong {
    color: #38BDF8 !important;
}

html.dark-theme .ville-contact-box:first-child:hover,
html.dark-theme .rectangle-box:first-child:hover {
    background: #243248;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2);
}

html.dark-theme .ville-contact-box:last-child,
html.dark-theme .rectangle-box:last-child {
    background: #2563EB;
    border-color: #3B82F6;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

html.dark-theme .ville-contact-box:last-child:hover,
html.dark-theme .rectangle-box:last-child:hover {
    background: #1D4ED8;
    border-color: #60A5FA;
}

@media (max-width: 640px) {
    .ville-contact-box,
    .rectangle-box {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: 90px;
        padding: 18px 16px;
    }
}

/* Contact alternatif bas de page accueil */
.accueil-contact-alt {
    margin: 25px auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: #64748B;
}

.accueil-contact-alt a {
    color: #2563EB;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.accueil-contact-alt a:hover {
    color: #1D4ED8;
}

html.dark-theme .accueil-contact-alt {
    color: #94A3B8;
}

html.dark-theme .accueil-contact-alt a {
    color: #38BDF8;
}

html.dark-theme .accueil-contact-alt a:hover {
    color: #60A5FA;
}
@media (max-width: 800px) {
    .ville-container {
        width: min(100% - 30px, 700px);
    }
    .ville-section {
        padding: 40px 0;
    }
    .ville-grid {
        grid-template-columns: 1fr;
    }
    .ville-hero {
        padding: 35px 0 45px;
    }
}

/* =========================================================
   STYLE POUR CLIMATISATION.PHP
   ========================================================= */
.hero-climatisation {
    padding: 35px 20px 25px;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px 15px;
}
.services {
    padding: 35px 20px 60px;
}
.about, .process, .gallery, #realisations {
    padding: 45px 20px;
}
@media (max-width: 768px) {
    .hero-climatisation {
        padding: 25px 15px 15px;
    }
    .hero-content {
        padding: 5px 10px 10px;
    }
    .services {
        padding: 25px 15px 35px;
    }
    .about, .process, .gallery, #realisations {
        padding: 35px 15px;
    }
}
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-content span.badge { display: inline-block; padding: 8px 16px; background: rgba(37, 99, 235, 0.1); color: #2563EB; border-radius: 50px; font-size: 0.9rem; font-weight: bold; margin-bottom: 20px; }
.hero-content .buttons { margin-top: 30px; display: flex; gap: 15px; justify-content: center; }
.section-title { text-align: center; margin-bottom: 35px; }
.section-title small { text-transform: uppercase; color: #2563EB; font-weight: bold; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.service-grid, .about-grid, .process-grid, .gallery-grid { display: grid; gap: 30px; }
.service-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.process-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.about-image { width: 100%; max-width: 500px; height: auto; object-fit: cover; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); margin: 0 auto; display: block; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.service-card, .process-card { background: var(--bg-card, #FFFFFF); padding: 25px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: left; }
.service-image { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.service-card .icon { font-size: 2rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.process-card .number { font-size: 3rem; font-weight: 900; color: rgba(37, 99, 235, 0.2); margin-bottom: 10px; }
.process-card h3 { margin-bottom: 15px; }

/* =========================================================
   ETAPES D'INTERVENTION (PAGES VILLES : .process-step)
   ========================================================= */
.process,
div.process,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0 45px;
    padding: 0 !important;
}

.process-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #2563EB;
    color: #FFFFFF !important;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.process-step > div,
.process-step div {
    flex: 1 1 auto;
    min-width: 0;
}

.process-step h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.process-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
}

/* Mode sombre pour les etapes d'intervention */
html.dark-theme .process-step {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html.dark-theme .process-step h3 {
    color: #F8FAFC !important;
}

html.dark-theme .process-step p {
    color: #94A3B8;
}

html.dark-theme .process-number {
    background: #2563EB;
    color: #FFFFFF !important;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.4);
}
.gallery-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.cta { text-align: center; padding: 60px 20px; background: #2563EB; color: white; border-radius: 20px; margin: 40px auto; max-width: 1000px; }
.cta h2, .cta p { color: white; }
.cta .btn { margin-top: 30px; background: white !important; color: #2563EB !important; }
.devis-header { text-align: center; margin-bottom: 40px; }
.devis-header .small-title { color: #2563EB; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 15px; }
.devis-header h1 { font-size: 2.5rem; margin-bottom: 15px; }
.devis-container { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
html.dark-theme body .service-card, html.dark-theme body .process-card { background: #1E293B; border: 1px solid rgba(255,255,255,0.05); }

/* =========================================================
   STYLE POUR CONNEXION.PHP
   ========================================================= */
.page-connexion { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 15px; background: #f5f7fa; }
.connexion-box { width: 100%; max-width: 430px; padding: 35px; background: #fff; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,.10); }
.connexion-box h1 { margin-top: 0; text-align: center; }
.connexion-box p.intro { text-align: center; color: #666; margin-bottom: 25px; }
.champ { margin-bottom: 18px; }
.champ label { display: block; margin-bottom: 7px; font-weight: 600; }
.champ input { width: 100%; padding: 12px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; }
.erreur { padding: 12px; margin-bottom: 20px; color: #991b1b; background: #fee2e2; border-radius: 6px; }
.bouton-connexion { width: 100%; padding: 13px; border: 0; border-radius: 6px; background: #2563EB; transition: background 0.3s; color: white; font-size: 16px; font-weight: bold; cursor: pointer; }
  .bouton-connexion:hover { background: #1D4ED8; }
.retour { display: block; margin-top: 20px; text-align: center; }

/* =========================================================
   STYLE POUR TABLEAU-ELECTRIQUE.PHP
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; padding: 40px 0; }
.services-grid .card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.services-grid .card img { width: 100%; border-radius: 12px; margin-bottom: 20px; }





















/* =========================================================
   STYLE POUR ADMINISTRATION
   ========================================================= */
.admin-main { padding: 50px 20px; background: #f8fafc; min-height: 80vh; }
html.dark-theme .admin-main { background: #0f172a; }
.admin-container { max-width: 1000px; margin: 0 auto; }
.admin-title { text-align: center; margin-bottom: 50px; }
.admin-title h1 { font-size: 2.5rem; color: #1e293b; margin-bottom: 15px; }
html.dark-theme .admin-title h1 { color: #f8fafc; }
.admin-title .success-message { color: #16a34a; font-weight: bold; background: #dcfce7; display: inline-block; padding: 10px 20px; border-radius: 30px; margin-bottom: 10px; }
.admin-title .welcome { color: #64748b; font-size: 1.1rem; }

.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 50px; }

.admin-card { display: flex; align-items: center; background: #ffffff; padding: 25px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-decoration: none; color: inherit; transition: all 0.3s ease; border: 2px solid transparent; }
html.dark-theme .admin-card { background: #1e293b; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.admin-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: #38bdf8; }

.admin-icon { font-size: 2.5rem; margin-right: 20px; }
.admin-card-content { flex: 1; }
.admin-card-content h2 { font-size: 1.4rem; color: #0f172a; margin-bottom: 10px; margin-top: 0; }
html.dark-theme .admin-card-content h2 { color: #f8fafc; }
.admin-card-content p { color: #64748b; font-size: 0.95rem; margin-bottom: 0; line-height: 1.5; }
html.dark-theme .admin-card-content p { color: #94a3b8; }

.admin-arrow { font-size: 1.5rem; color: #cbd5e1; transition: color 0.3s; margin-left: 15px; }
.admin-card:hover .admin-arrow { color: #2563eb; }

.demande-count { display: inline-block; margin-top: 15px; background: #ef4444; color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; }

.admin-info { background: #e0f2fe; padding: 25px; border-radius: 16px; text-align: center; }
html.dark-theme .admin-info { background: #0c4a6e; }
.admin-info h2 { color: #0369a1; margin-bottom: 15px; margin-top: 0; }
html.dark-theme .admin-info h2 { color: #7dd3fc; }
.admin-info p { color: #0c4a6e; margin-bottom: 0; }
html.dark-theme .admin-info p { color: #bae6fd; }


/* =========================================================
   BARRE D'APPEL FIXE MOBILE (CONVERSION CRO)
   ========================================================= */
.barre-appel-mobile {
    display: none;
}

@media (max-width: 768px) {
    .barre-appel-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #0f172a;
        padding: 10px 16px;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
        border-top: 2px solid #2563eb;
    }

    .bouton-appel-urgent {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #2563eb;
        color: #ffffff !important;
        text-decoration: none;
        padding: 14px 20px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        transition: background 0.2s ease;
        text-align: center;
    }

    .bouton-appel-urgent:active,
    .bouton-appel-urgent:hover {
        background: #1d4ed8;
    }

    .texte-urgence {
        font-size: 0.85rem;
        opacity: 0.9;
        text-transform: uppercase;
    }

    .texte-tel {
        font-size: 1.15rem;
    }

    body {
        padding-bottom: 70px;
    }
}

/* Lien partenaire discret */
.footer-partenaire-discret {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-partenaire-discret a {
    color: #94a3b8;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-partenaire-discret a:hover {
    color: #38bdf8;
}


/* ========================================================
   DESIGN SYSTEM LUMETRIX : BOUTONS, HERO, GRILLES, CARTES
   ======================================================== */

/* BOUTONS UNIFIES */
.btn, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none !important;
    border-radius: 50px;
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: #2563EB;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary, .btn-outline {
    background: #FFFFFF !important;
    color: #1E293B !important;
    border: 2px solid #CBD5E1 !important;
}
.btn-secondary:hover, .btn-outline:hover {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
    transform: translateY(-2px);
}

.btn-tel {
    background: #0F172A;
    color: #F8FAFC !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.btn-tel:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 700;
}

.buttons, .hero-actions, .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
}

/* BADGES & PILLS */
.badge, .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    border: 1px solid #DBEAFE;
    margin-bottom: 16px;
}

/* FIL D'ARIANE (BREADCRUMB) */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.9rem;
    color: #64748B;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
}
.breadcrumb a {
    color: #2563EB;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span[aria-hidden="true"] {
    margin: 0 8px;
    color: #94A3B8;
}

/* SECTIONS HERO PAGES INTERNES */
.page-hero, .hero-content, .hero-services, .hero-partenaires {
    padding: 48px 0 36px;
    text-align: left;
}
.page-hero h1, .hero-content h1, .hero-services h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.page-hero p, .hero-content p, .hero-services p {
    font-size: 1.18rem;
    line-height: 1.6;
    color: #475569;
    max-width: 800px;
    margin-bottom: 24px;
}

/* GRILLES & CARTES RESPONSIVES */
.cards, .services-grid, .grid-cards, .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

@media (max-width: 768px) {
    .cards, .services-grid, .grid-cards, .grid-3, .grid-2, .grid-4, .service-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100%;
        margin: 20px 0;
    }
    .cards > *, .services-grid > *, .grid-cards > *, .grid-3 > *, .grid-2 > *, .grid-4 > *, .service-grid > * {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

.card, .service-card, .advantage, .contact-bloc {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.card:hover, .service-card:hover, .advantage:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.card img, .service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

.card h3, .service-card h3, .contact-bloc h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px;
}
.card p, .service-card p, .contact-bloc p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 14px;
}
.card .card-action {
    margin-top: auto;
    padding-top: 10px;
}

/* BANDEAU DE REASSURANCE / TRUST SIGNALS */
.trust-banner {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 32px 0;
    margin: 40px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}
.trust-item {
    padding: 16px;
}
.trust-item strong {
    display: block;
    font-size: 1.1rem;
    color: #0F172A;
    margin-bottom: 6px;
}
.trust-item span {
    font-size: 0.9rem;
    color: #64748B;
}

/* SECTION CTA UNIFIEE */
.cta, .cta-devis, .cta-section {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #FFFFFF;
    border-radius: 20px;
    padding: 48px 36px;
    margin: 50px auto !important;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}
.cta h2, .cta-devis h3, .cta-section h2 {
    color: #FFFFFF !important;
    font-size: 2rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 14px;
}
.cta p, .cta-devis p, .cta-section p {
    color: #CBD5E1 !important;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 24px;
}
.cta .buttons, .cta-devis .buttons, .cta-section .buttons,
.cta .hero-actions, .cta-section .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cta .btn-secondary,
.cta-devis .btn-secondary,
.cta-section .btn-secondary,
.cta .btn-outline,
.cta-devis .btn-outline,
.cta-section .btn-outline {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta .btn-secondary:hover,
.cta-devis .btn-secondary:hover,
.cta-section .btn-secondary:hover,
.cta .btn-outline:hover,
.cta-devis .btn-outline:hover,
.cta-section .btn-outline:hover {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border-color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* PAGE CONTACT */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

/* LISTE DE PARTENAIRES */
.liste-partenaires {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 36px 0;
}
.liste-partenaires article {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}
.liste-partenaires article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.liste-partenaires article img {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}
.liste-partenaires article h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0F172A;
}
.liste-partenaires article p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.5;
}

/* ADAPTATIONS DARK THEME */
html.dark-theme .card,
html.dark-theme .service-card,
html.dark-theme .process-card,
html.dark-theme .contact-bloc,
html.dark-theme .liste-partenaires article {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
html.dark-theme .card h3,
html.dark-theme .service-card h3,
html.dark-theme .process-card h3,
html.dark-theme .contact-bloc h2,
html.dark-theme .liste-partenaires article h3 {
    color: #F8FAFC !important;
}
html.dark-theme .card p,
html.dark-theme .service-card p,
html.dark-theme .process-card p,
html.dark-theme .contact-bloc p,
html.dark-theme .liste-partenaires article p {
    color: #CBD5E1;
}

/* Numeros et badges dans les cartes de processus */
html.dark-theme .process-card .number {
    color: #38BDF8 !important;
    opacity: 0.75;
}

/* Petits titres et badges de section */
html.dark-theme .section-title small,
html.dark-theme .devis-header .small-title,
html.dark-theme .section-title span.badge {
    color: #38BDF8 !important;
    letter-spacing: 1.5px;
}

/* Boutons secondaires et outline */
html.dark-theme .btn-secondary,
html.dark-theme .btn-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #F8FAFC !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
}
html.dark-theme .btn-secondary:hover,
html.dark-theme .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #FFFFFF !important;
    border-color: #38BDF8 !important;
    transform: translateY(-2px);
}

/* Formulaire devis placeholders et options */
html.dark-theme input::placeholder,
html.dark-theme textarea::placeholder,
html.dark-theme .form-group input::placeholder,
html.dark-theme .form-group textarea::placeholder,
html.dark-theme .champ input::placeholder,
html.dark-theme .champ textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}
html.dark-theme .form-group select option {
    background: #0F172A;
    color: #F8FAFC;
}

html.dark-theme .breadcrumb {
    background: #0B1120;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
}
html.dark-theme .badge,
html.dark-theme .tag,
html.dark-theme .hero-content span.badge {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #93C5FD !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
}
html.dark-theme .trust-banner {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
}
html.dark-theme .trust-item strong {
    color: #F8FAFC;
}
html.dark-theme .trust-item span {
    color: #94A3B8;
}
html.dark-theme .page-hero h1,
html.dark-theme .hero-content h1,
html.dark-theme .hero-services h1 {
    color: #F8FAFC;
}
html.dark-theme .page-hero p,
html.dark-theme .hero-content p,
html.dark-theme .hero-services p {
    color: #CBD5E1;
}

/* ============================================================
   CARTE AVIS GOOGLE PROFESSIONNELLE (demande.php)
   ============================================================ */
.avis-google {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avis-google:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.google-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.google-left img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
}

.google-right {
    flex: 1;
}

.google-right h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: #0F172A;
    font-weight: 700;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.rating-line .note {
    font-size: 1.6rem;
    font-weight: 800;
    color: #EA580C;
    line-height: 1;
}

.rating-line .stars {
    color: #F59E0B;
    font-size: 1.25rem;
    letter-spacing: 2px;
    line-height: 1;
}

.rating-line .count {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

.google-subtitle {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: #64748B;
}

.google-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.btn-google-deposer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0284C7;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-google-deposer:hover {
    background: #0369A1;
    transform: translateY(-1px);
}

.btn-google-voir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1px solid #CBD5E1;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-google-voir:hover {
    background: #E2E8F0;
    color: #0F172A !important;
}

.google-direct-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #64748B;
}

.google-direct-link span {
    font-weight: 600;
    white-space: nowrap;
}

.google-direct-link input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 0.8rem;
    color: #0284C7;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    text-overflow: ellipsis;
}

.google-direct-link input:focus {
    outline: none;
    color: #0369A1;
}

@media (max-width: 600px) {
    .avis-google {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 14px;
    }
    .google-left {
        width: 48px;
        height: 48px;
    }
    .google-left img {
        width: 30px;
        height: 30px;
    }
    .google-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-google-deposer, .btn-google-voir {
        width: 100%;
        text-align: center;
    }
}

html.dark-theme .avis-google {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html.dark-theme .google-left {
    background: #0F172A;
    border-color: #334155;
}

html.dark-theme .google-right h3 {
    color: #F8FAFC;
}

html.dark-theme .rating-line .note {
    color: #FB923C;
}

html.dark-theme .google-subtitle,
html.dark-theme .rating-line .count {
    color: #94A3B8;
}

html.dark-theme .btn-google-voir {
    background: #334155;
    color: #E2E8F0 !important;
    border-color: #475569;
}

html.dark-theme .btn-google-voir:hover {
    background: #475569;
}

html.dark-theme .google-direct-link {
    background: #0F172A;
    border-color: #334155;
    color: #94A3B8;
}

/* Valeurs de contact (Téléphone et Email) */
.contact-valeur {
    margin: 14px 0 18px 0;
}
.contact-valeur a,
.contact-valeur a:visited {
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.contact-valeur.contact-email a,
.contact-valeur.contact-email a:visited {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2563EB;
}
.contact-valeur.contact-email a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}
.contact-valeur.contact-tel a,
.contact-valeur.contact-tel a:visited {
    font-size: 1.35rem;
    font-weight: 800;
    color: #2563EB;
}
.contact-valeur.contact-tel a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Haute visibilité des emails et téléphones en mode sombre */
html.dark-theme .contact-valeur.contact-email a,
html.dark-theme .contact-valeur.contact-email a:visited,
html.dark-theme a[href^="mailto:"] {
    color: #38BDF8 !important;
    font-weight: 700;
}
html.dark-theme .contact-valeur.contact-email a:hover,
html.dark-theme a[href^="mailto:"]:hover {
    color: #7DD3FC !important;
    text-decoration: underline;
}
html.dark-theme .contact-valeur.contact-tel a,
html.dark-theme .contact-valeur.contact-tel a:visited,
html.dark-theme a[href^="tel:"]:not(.btn):not(.btn-primary) {
    color: #38BDF8 !important;
    font-weight: 700;
}
html.dark-theme .contact-valeur.contact-tel a:hover,
html.dark-theme a[href^="tel:"]:hover {
    color: #7DD3FC !important;
    text-decoration: underline;
}

/* Affichage instantane de l'icone du theme sans flicker */
html.dark-theme #theme-toggle .icon-sun { display: none !important; }
html.dark-theme #theme-toggle .icon-moon { display: inline-block !important; }
html:not(.dark-theme) #theme-toggle .icon-sun { display: inline-block !important; }
html:not(.dark-theme) #theme-toggle .icon-moon { display: none !important; }

/* Bloc contact-direct sur demande.php */
.contact-direct {
    margin: 32px 0 24px 0;
    padding: 24px;
    text-align: center;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}
.contact-direct h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #0F172A;
}
.contact-direct p {
    margin: 4px 0;
    color: #475569;
}
.contact-direct .telephone {
    display: inline-block;
    margin-top: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-direct .telephone:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

html.dark-theme .contact-direct {
    background: #1E293B;
    border-color: #334155;
}
html.dark-theme .contact-direct h2 {
    color: #F8FAFC;
}
html.dark-theme .contact-direct p {
    color: #94A3B8;
}
html.dark-theme .contact-direct .telephone {
    color: #38BDF8 !important;
}
html.dark-theme .contact-direct .telephone:hover {
    color: #7DD3FC !important;
}

/* ============================================================
   HERO ACCUEIL & PRESENTATION EXPERTISES
   ============================================================ */
.hero-accueil {
    padding: 60px 20px 45px;
    text-align: center;
}
.hero-accueil-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.hero-accueil h1 {
    font-size: 2.85rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0F172A;
    margin: 18px 0 20px;
    letter-spacing: -0.5px;
}
.hero-lead {
    font-size: 1.18rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 auto 28px;
    max-width: 820px;
}
.hero-garanties-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin: 0 auto 32px;
    max-width: 820px;
}
.pill-garantie {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1E293B;
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    white-space: nowrap;
}
.hero-accueil .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-accueil {
        padding: 40px 15px 30px;
    }
    .hero-accueil h1 {
        font-size: 2.1rem;
    }
    .hero-lead {
        font-size: 1.05rem;
    }
    .pill-garantie {
        font-size: 0.82rem;
        padding: 5px 12px;
    }
}

/* Grille des expertises accueil */
.expertises-home {
    margin-top: 36px;
}
.card-expertise {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    text-align: left;
}
.card-expertise h3 {
    font-size: 1.4rem;
    margin: 12px 0 14px;
    color: #0F172A;
}
.card-expertise p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}
.tag-service {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tag-service.clim {
    background: rgba(2, 132, 199, 0.12);
    color: #0284C7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}
.tag-service.elec {
    background: rgba(37, 99, 235, 0.12);
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.25);
}
.points-liste {
    list-style: none;
    padding: 0;
    margin: 12px 0 24px;
}
.points-liste li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.5;
}
.points-liste li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563EB;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Mode sombre */
html.dark-theme .hero-accueil h1 {
    color: #F8FAFC !important;
}
html.dark-theme .hero-lead {
    color: #CBD5E1;
}
html.dark-theme .pill-garantie {
    background: rgba(56, 189, 248, 0.12);
    color: #E2E8F0;
    border-color: rgba(56, 189, 248, 0.28);
}
html.dark-theme .card-expertise h3 {
    color: #F8FAFC !important;
}
html.dark-theme .card-expertise p {
    color: #CBD5E1;
}
html.dark-theme .tag-service.clim {
    background: rgba(56, 189, 248, 0.18);
    color: #38BDF8;
    border-color: rgba(56, 189, 248, 0.35);
}
html.dark-theme .tag-service.elec {
    background: rgba(96, 165, 250, 0.18);
    color: #93C5FD;
    border-color: rgba(96, 165, 250, 0.35);
}
html.dark-theme .points-liste li {
    color: #CBD5E1;
}
html.dark-theme .points-liste li::before {
    color: #38BDF8;
}

/* =========================================================
   ADAPTATION MOBILE DES CARTES D'EXPERTISE (ACCUEIL)
   Centrage parfait sur tous types de smartphones
   ========================================================= */
@media (max-width: 820px) {
    .accueil-section {
        padding: 40px 0;
    }

    .expertises-home {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-top: 24px;
        width: 100%;
    }

    .card-expertise {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .card-expertise h3 {
        font-size: 1.25rem;
    }

    .card-expertise .card-action {
        width: 100%;
        margin-top: 20px;
    }

    .card-expertise .card-action .btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 18px;
    }
}
﻿
/* =========================================================
   THEME BLEU CIEL (VPS PRODUCTION - MODE CLAIR)
   ========================================================= */
html:not(.dark-theme),
html:not(.dark-theme) body {
    background: linear-gradient(
        115deg,
        #079CEB 0%,
        #20BFCB 15%,
        #BDF8FC 42%,
        #E8FFFF 50%,
        #A9EEFF 62%,
        #0788E8 100%
    ) fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    color: #0F172A;
}

html:not(.dark-theme) .entete-site {
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(7, 156, 235, 0.2) !important;
}

html:not(.dark-theme) .accueil-section:nth-child(even),
html:not(.dark-theme) #realisations {
    background: rgba(255, 255, 255, 0.50) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

html:not(.dark-theme) .card,
html:not(.dark-theme) .service-card,
html:not(.dark-theme) .process-step,
html:not(.dark-theme) .advantage,
html:not(.dark-theme) .card-expertise,
html:not(.dark-theme) .faq-item,
html:not(.dark-theme) .ville-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(7, 156, 235, 0.18) !important;
    box-shadow: 0 8px 24px rgba(7, 136, 232, 0.08) !important;
}

html:not(.dark-theme) .brands-banner {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(7, 156, 235, 0.15) !important;
}

html:not(.dark-theme) .devis-form-box,
html:not(.dark-theme) .form-demande {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(7, 156, 235, 0.22) !important;
    box-shadow: 0 12px 35px rgba(7, 136, 232, 0.12) !important;
}
﻿
/* =========================================================
   THEME BLEU CIEL (VPS PRODUCTION - MODE CLAIR)
   ========================================================= */
html:not(.dark-theme),
html:not(.dark-theme) body {
    background: linear-gradient(
        115deg,
        #079CEB 0%,
        #20BFCB 15%,
        #BDF8FC 42%,
        #E8FFFF 50%,
        #A9EEFF 62%,
        #0788E8 100%
    ) fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    color: #0F172A;
}

html:not(.dark-theme) .entete-site {
    background: #0F172A !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

html:not(.dark-theme) .accueil-section:nth-child(even),
html:not(.dark-theme) #realisations {
    background: rgba(255, 255, 255, 0.50) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

html:not(.dark-theme) .card,
html:not(.dark-theme) .service-card,
html:not(.dark-theme) .process-step,
html:not(.dark-theme) .advantage,
html:not(.dark-theme) .card-expertise,
html:not(.dark-theme) .faq-item,
html:not(.dark-theme) .ville-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(7, 156, 235, 0.18) !important;
    box-shadow: 0 8px 24px rgba(7, 136, 232, 0.08) !important;
}

html:not(.dark-theme) .brands-banner {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(7, 156, 235, 0.15) !important;
}

html:not(.dark-theme) .devis-form-box,
html:not(.dark-theme) .form-demande {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(7, 156, 235, 0.22) !important;
    box-shadow: 0 12px 35px rgba(7, 136, 232, 0.12) !important;
}
