* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #f8f9fa;
}

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

/* Header */
header {
    background: #0f172a;
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.phone {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-call {
    background: white;
    color: #0f172a;
}

/* Services - avec photo en fond */
.services {
    padding: 80px 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.40), rgba(15, 23, 42, 0.45)),
        url('images/recharge-clim.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: none;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.card p {
    color: #475569;
}

/* Contact */
.contact {
    background: #0f172a;
    color: white;
    padding: 70px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.big-phone {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 20px 0 10px;
    letter-spacing: 1px;
}

.horaires, .lieux {
    margin: 28px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.horaires p, .lieux p {
    margin: 6px 0;
    opacity: 0.95;
}

.lieux span {
    font-size: 0.95rem;
    opacity: 0.8;
}

.paiement {
    margin: 25px 0;
    font-size: 1.1rem;
}

.paiement p {
    margin-bottom: 12px;
    opacity: 0.95;
}

.cartes {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.carte {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.carte.cb {
    background: #1e40af;
    color: white;
}

.carte.visa {
    background: #1a1f71;
    color: white;
}

.carte.mc {
    background: #eb001b;
    color: white;
}

.carte.espece {
    background: #16a34a;
    color: white;
}

.contact > .container > p {
    opacity: 0.85;
    margin-bottom: 28px;
}

/* Partenaires */
.partenaires {
    background: #f1f5f9;
    padding: 50px 0;
    text-align: center;
}

.partenaires h2 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 30px;
}

.partenaires-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partenaire-card {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partenaire-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.partenaire-logo {
    height: 60px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}

.partenaire-card strong {
    display: block;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.partenaire-card span {
    font-size: 0.85rem;
    color: #64748b;
}


/* Lieux de RDV avec cartes */
.rdv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.rdv-card {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.rdv-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.rdv-card p {
    padding: 12px 8px;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    opacity: 1 !important;
}

.rdv-card strong {
    color: #38bdf8;
}


/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 92%;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    color: white;
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.85;
}

.lightbox-close:hover {
    opacity: 1;
}

.rdv-card {
    cursor: zoom-in;
}

.rdv-card:hover {
    transform: scale(1.03);
    transition: transform 0.2s;
}

/* Footer */
footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 24px 0;
    font-size: 0.9rem;
}

/* Page contenu (climatisation.html) */
.page-content {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.page-content h2 {
    font-size: 1.7rem;
    color: #0f172a;
    margin: 40px 0 16px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.7;
}

.page-content ul, .page-content ol {
    margin: 0 0 24px 20px;
    color: #334155;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq {
    background: white;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.faq p {
    margin: 0;
    color: #475569;
}

/* Mobile */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    .big-phone {
        font-size: 1.7rem;
    }
    header .container {
        flex-direction: column;
        gap: 12px;
    }
    .logo img {
        height: 38px;
    }
    .phone {
        font-size: 1rem;
    }
    .partenaire-card {
        width: 160px;
    }
}
