/* ============================================
   CLIMATISATION - Styles spécifiques
   ============================================ */

/* HERO */
.clim-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26,58,92,0.92) 0%, rgba(44,95,138,0.85) 50%, rgba(61,126,176,0.80) 100%),
                url('../assets/climatisation/hero-climatisation.jpg') center center / cover;
    color: #fff;
    overflow: hidden;
}

.clim-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.clim-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 0;
}

.clim-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.clim-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.clim-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.clim-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.clim-hero-cta .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.clim-hero-cta .btn-primary {
    background: var(--accent-color, #B8860B);
    color: #fff;
}

.clim-hero-cta .btn-primary:hover {
    background: #d4a017;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184,134,11,0.4);
}

.clim-hero-cta .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.clim-hero-cta .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-color, #3D2817);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--ivory, #F5F0EB);
}

/* SERVICES GRID */
.clim-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.clim-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.clim-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: var(--accent-color, #B8860B);
}

.clim-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0f8, #d4e4f0);
    border-radius: 20px;
    color: #1a3a5c;
}

.clim-service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color, #3D2817);
    margin-bottom: 12px;
}

.clim-service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.clim-link {
    color: #1a3a5c;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.clim-link:hover {
    color: var(--accent-color, #B8860B);
}

/* BRANDS */
.clim-brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.clim-brand {
    background: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a5c;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.clim-brand:hover {
    border-color: #1a3a5c;
    transform: scale(1.05);
}

/* FEATURES */
.clim-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.clim-feature {
    text-align: center;
    padding: 30px 20px;
}

.clim-feature-check {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #1a3a5c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.clim-feature h3 {
    font-size: 1.2rem;
    color: var(--primary-color, #3D2817);
    margin-bottom: 8px;
}

.clim-feature p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ZONES */
.clim-zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.clim-zone {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #1a3a5c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.clim-zone h4 {
    color: #1a3a5c;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.clim-zone p {
    color: #777;
    font-size: 0.9rem;
}

/* FAQ */
.clim-faq {
    max-width: 800px;
    margin: 0 auto;
}

.clim-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.clim-faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color, #3D2817);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

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

.clim-faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #1a3a5c;
    transition: transform 0.2s;
}

.clim-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.clim-faq-item summary:hover {
    background: #f9f9f9;
}

.clim-faq-item p {
    padding: 0 24px 20px;
    color: #555;
    line-height: 1.7;
}

/* CTA */
.clim-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.clim-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 12px;
}

.clim-cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

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

.clim-cta-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clim-cta-buttons .btn-primary {
    background: var(--accent-color, #B8860B);
    color: #fff;
}

.clim-cta-buttons .btn-primary:hover {
    background: #d4a017;
    transform: translateY(-2px);
}

.clim-cta-buttons .btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.clim-cta-buttons .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* SUB-PAGE HERO (for detail pages) */
.clim-sub-hero {
    background: linear-gradient(135deg, rgba(26,58,92,0.92) 0%, rgba(44,95,138,0.85) 100%),
                url('../assets/climatisation/installation-interieur.jpg') center center / cover;
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

/* Page-specific hero backgrounds */
body[data-page="installation"] .clim-sub-hero {
    background: linear-gradient(135deg, rgba(26,58,92,0.90) 0%, rgba(44,95,138,0.82) 100%),
                url('../assets/climatisation/installation-interieur.jpg') center center / cover;
}
body[data-page="entretien"] .clim-sub-hero {
    background: linear-gradient(135deg, rgba(26,58,92,0.90) 0%, rgba(44,95,138,0.82) 100%),
                url('../assets/climatisation/entretien.jpg') center center / cover;
}
body[data-page="depannage"] .clim-sub-hero {
    background: linear-gradient(135deg, rgba(192,57,43,0.90) 0%, rgba(231,76,60,0.82) 100%),
                url('../assets/climatisation/depannage.jpg') center center / cover;
}
body[data-page="pac"] .clim-sub-hero {
    background: linear-gradient(135deg, rgba(26,58,92,0.90) 0%, rgba(44,95,138,0.82) 100%),
                url('../assets/climatisation/pompe-a-chaleur.jpg') center center / cover;
}

.clim-sub-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.clim-sub-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.clim-breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.clim-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.clim-breadcrumb a:hover {
    text-decoration: underline;
}

/* CONTENT BLOCKS */
.clim-content-block {
    max-width: 800px;
    margin: 0 auto;
}

.clim-content-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color, #3D2817);
    margin: 40px 0 16px;
}

.clim-content-block h3 {
    font-size: 1.3rem;
    color: #1a3a5c;
    margin: 28px 0 12px;
}

.clim-content-block p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.clim-content-block ul {
    margin: 16px 0;
    padding-left: 20px;
}

.clim-content-block li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* PRICE TABLE */
.clim-price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.clim-price-table th {
    background: #1a3a5c;
    color: #fff;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.clim-price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.clim-price-table tr:last-child td {
    border-bottom: none;
}

.clim-price-table tr:hover td {
    background: #f8f9fa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .clim-hero {
        min-height: 400px;
    }
    .clim-hero-content {
        padding: 40px 0;
    }
    .clim-services-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 50px 0;
    }
}
