/* ===========================
   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 ULTRA-PREMIUM (VERRE TREMPÉ / GLASSMORPHISM)
   =========================== */
.entete-site { position: relative;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.conteneur-entete {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1600px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 10px 20px;
}

.bloc-logo { display: flex; align-items: center; gap: 15px; justify-self: start; }
.logo-site { height: 50px; width: auto; border-radius: 8px; transition: transform 0.4s; }
.logo-site:hover { transform: scale(1.05); }
.titre-site h1 { font-size: 1.5em; color: #F8FAFC; margin: 0; }
.titre-site p { display: none; }

.menu-principal { 
    flex-grow: 1; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end; /* By default on flex, put menu to the right */
}
/* Mais pour avoir les liens au centre exact, on décale l'UL */
.menu-principal ul {
    margin: 0 auto; /* Pousse l'UL au centre de l'espace disponible */
}
.menu-principal ul { list-style: none; display: flex; gap: 10px; margin: 0 auto; padding: 0; }
.menu-principal li { position: relative; padding-bottom: 25px; margin-bottom: -25px; }

.menu-principal > ul > li > a {
    color: #E2E8F0; font-weight: 600; padding: 10px 18px; border-radius: 30px; transition: all 0.3s;
}
.menu-principal > ul > li > a:hover { background: rgba(255,255,255,0.1); color: #60A5FA; }


.theme-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
}
.theme-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: rotate(15deg);
}
.menu-devis { justify-self: end;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff !important; padding: 10px 24px; border-radius: 50px;
    font-weight: bold; transition: all 0.3s; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.menu-devis:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5); }

/* SOUS-MENUS PC (HITBOX & RALENTI) */
@media (min-width: 901px) {
    .menu-principal ul li ul {
        visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px);
        min-width: 250px; border-radius: 16px; padding: 10px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column;
    }
    .menu-principal ul li ul::before {
        content: ''; position: absolute; top: -40px; left: -20px; right: -20px; height: 40px;
    }
    .menu-principal ul li:hover > ul {
        visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); transition-delay: 0s;
    }
    .menu-principal ul li:not(:hover) > ul { transition-delay: 0.1s; }
    .menu-principal ul li ul a {
        color: #CBD5E1; padding: 15px 20px; border-radius: 10px; transition: all 0.4s ease; display: block;
    }
    .menu-principal ul li ul a:hover { background: rgba(255,255,255,0.08); color: #60A5FA; transform: translateX(8px); }
    .burger { display: none; }
}

/* MOBILE */
@media (max-width: 900px) {
    .theme-btn {
        position: static;
    }
    .conteneur-entete { display: flex; justify-content: space-between; padding: 10px 20px; }
    .bloc-logo { gap: 8px; }
    .logo-site { height: 35px; }
    .titre-site { position: absolute; left: 50%; transform: translateX(-50%); }
    .titre-site h1 { font-size: 1.1em; text-align: center; line-height: 1.1; }
    .ei-subtitle { display: block; font-size: 0.85em; letter-spacing: 2px; opacity: 0.9; }
    .menu-devis { justify-self: end; display: none; }
    .burger { display: block; font-size: 26px; color: #F8FAFC; cursor: pointer; }
    .menu-principal ul {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(15, 23, 42, 0.98); padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }
    .menu-principal ul.menu-actif { display: flex; }
    .menu-principal ul li { width: 100%; text-align: center; margin: 0; padding: 0; }
    .menu-principal ul li a { display: block; padding: 15px; }
    .menu-principal ul li ul { display: none; background: rgba(0,0,0,0.3); border-radius: 12px; margin: 10px; padding: 10px 0; }
    .menu-principal ul li.active > ul { display: flex; flex-direction: column; }
}

/* ========================================================
   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: 30px; 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 !important;
    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: flex-start;
    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: 800px;
    margin: 30px auto;
}
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.8);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.carousel-btn:hover { background: #38BDF8; }
.prev-btn { left: -22px; }
.next-btn { right: -22px; }

html.dark-theme body .carousel-slide { box-shadow: 0 10px 25px rgba(0,0,0,0.5); }

/* ===========================
   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-logo { display: inline-flex; align-items: center; margin: 0 50px; font-size: 1.4rem;
    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 { 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;
}
.ville-cta {
    padding: 45px 20px;
    text-align: center;
}
.ville-contact-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.ville-contact-box {
    width: 250px;
    min-height: 125px;
    padding: 20px;
    border: 2px solid #111;
    border-radius: 8px;
    background: #fff;
    color: #111;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    transition: transform .2s ease, background .2s ease;
}
.ville-contact-box:hover {
    transform: translateY(-4px);
    background: #f5f5f5;
}
.ville-contact-icon {
    font-size: 25px;
}
@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
   ========================================================= */
.check { display: flex; align-items: center; margin-bottom: 12px; font-weight: 500; }
.hero-content { max-width: 800px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.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: 50px; }
.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(300px, 1fr)); }
.about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.service-card, .process-card { background: var(--bg-card, #FFFFFF); padding: 30px; 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; }
.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; color: #2563EB; }
.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: #111827; color: white; font-size: 16px; font-weight: bold; cursor: pointer; }
.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(300px, 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; }


}














