/* ===== PROTECTION INCENDIE THEME STYLES ===== */

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 50px;
}

/* ===== SOLUTIONS SECTION ===== */
/* Updated: 5 cartes horizontales avec 1 rouge + 4 grises */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.solutions-grid {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.solution-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
    background: #e74c3c;
    color: white;
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.solution-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.solution-card:hover h3 {
    color: white;
}

.solution-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.solution-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.btn-white {
    background: white;
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        gap: 15px;
    }
    
    .solution-card {
        min-width: 160px;
        max-width: 180px;
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .solution-card {
        max-width: 300px;
        width: 100%;
        min-height: 200px;
    }
}

/* ===== CLIENT TRUST SECTION ===== */
.client-trust-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    background: #e8e8e8;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    margin-bottom: 15px;
}

.trust-item h4 {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.testimonials-carousel {
    margin-top: 40px;
    text-align: center;
}

.carousel-container {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-slide p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    max-width: 800px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #e74c3c;
}

.indicator:hover {
    background-color: #c0392b;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-slide p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.fade-in {
    opacity: 1;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* (restored) Removed custom ABOUT HERO SECTION styles */

/* ===== BLOG HERO ===== */
.blog-hero {
    position: relative;
    padding: 120px 0 140px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(115deg, #E74C3C 0%, #BB2A2A 38%, #1A1F24 100%);
    min-height: 68vh;
    display: flex; align-items: center;
}
.blog-hero::before,
.blog-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.28;
}
.blog-hero::before { width: 280px; height: 280px; left: -60px; top: -40px; background: rgba(239, 68, 68, 0.65); }
.blog-hero::after  { width: 220px; height: 220px; right: -50px; bottom: -60px; background: rgba(12, 12, 12, 0.6); }
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero__title { font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 14px; }
.blog-hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 70ch; margin: 0 auto; }
.blog-hero__chips { display: flex; gap: 10px; margin-top: 24px; justify-content: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.28); font-weight: 600; }
.chip .chip-icon { width: 10px; height: 10px; border-radius: 50%; background: #E74C3C; box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.22); }

@media (max-width: 992px) {
  .blog-hero { min-height: 56vh; padding: 100px 0; }
}
@media (max-width: 640px) {
  .blog-hero { min-height: 48vh; padding: 80px 0; }
}

/* ===== BLOG LIST GRID ===== */
.blog-list { background: #fff; }
.posts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border: 1px solid rgba(2,6,23,0.06); border-radius: 12px; box-shadow: 0 12px 22px rgba(16,24,40,0.06); overflow: hidden; display: flex; flex-direction: column; }
.post-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.post-content { padding: 16px 18px 20px; }
.post-meta { color: #64748B; font-size: 0.9rem; margin-bottom: 8px; }
.post-title { font-size: 1.2rem; font-weight: 800; color: #0F172A; margin: 0 0 6px 0; }
.post-excerpt { color: #475569; font-size: 0.98rem; margin: 0 0 14px 0; }
.pagination { display: flex; justify-content: center; margin-top: 18px; }
.no-posts { text-align: center; color: #475569; }