/* ===================================
   PAGES DÉTAIL NUISIBLES - CSS
   Styles pour deratisation-souris, desinsectisation-cafards, etc.
   =================================== */

/* ============ HERO SECTION NUISIBLE ============ */
.pest-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.pest-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23FFFFFF"/></svg>') center bottom no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.pest-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pest-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pest-hero h1 i {
    margin-right: 15px;
    color: #10B981;
}

.pest-hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-badges .badge i {
    font-size: 1.1rem;
}

/* ============ LAYOUT DÉTAIL NUISIBLE ============ */
.pest-detail-layout {
    padding: 60px 0;
    background: #F9FAFB;
}

.pest-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.pest-detail-main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ============ SECTIONS CONTENU ============ */
.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h2 i {
    font-size: 1.8rem;
}

.content-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin: 30px 0 20px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 20px;
}

.content-section strong {
    color: #1F2937;
    font-weight: 600;
}

/* ============ IMAGES NUISIBLES ============ */
.pest-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pest-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: #F3F4F6;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #6B7280;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* ============ LISTES ============ */
.risk-list,
.damage-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.risk-list li,
.damage-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2937;
}

.damage-list li {
    background: #FEE2E2;
    border-left-color: #DC2626;
}

.damage-list i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ============ CHECKLIST ============ */
.checklist {
    margin: 30px 0;
}

.checklist-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1);
}

.checklist-item > i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D1FAE5;
    color: #059669;
    border-radius: 50%;
    font-size: 1rem;
}

.checklist-item strong {
    display: block;
    font-size: 1.1rem;
    color: #1F2937;
    margin-bottom: 8px;
}

.checklist-item p {
    margin: 0;
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ MÉTHODE D'INTERVENTION ============ */
.method-steps {
    margin: 30px 0;
}

.method-step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #F9FAFB;
    border-radius: 12px;
    border-left: 4px solid #059669;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #1F2937;
    margin: 0 0 12px;
}

.step-content p {
    margin: 0;
    color: #6B7280;
    line-height: 1.7;
}

/* ============ PRÉVENTION GRID ============ */
.prevention-grid,
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.prevention-item,
.why-us-item {
    padding: 25px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.prevention-item:hover,
.why-us-item:hover {
    border-color: #059669;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.15);
    transform: translateY(-3px);
}

.prevention-item i,
.why-us-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.prevention-item h4,
.why-us-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.prevention-item p,
.why-us-item p {
    margin: 0;
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ FAQ ============ */
.faq {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover {
    background: #F9FAFB;
    color: #059669;
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: #6B7280;
    line-height: 1.7;
}

/* ============ SIDEBAR ============ */
.pest-detail-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.sidebar-card h3 i {
    color: #059669;
}

/* PRICE CARD */
.price-card {
    border: 3px solid #059669;
    background: linear-gradient(135deg, #F0FDF4 0%, white 50%);
}

.price-tag {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 25px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 8px;
}

.price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #059669;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.price-details {
    display: block;
    font-size: 1rem;
    color: #9CA3AF;
    margin-top: 5px;
}

.price-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.price-includes li {
    padding: 10px 0;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-includes li i {
    color: #059669;
    font-size: 1.1rem;
}

/* INFO CARD */
.info-card .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card .info-list li {
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
}

.info-card .info-list li:last-child {
    border-bottom: none;
}

.info-card .info-list strong {
    display: block;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 5px;
}

.info-card .info-list p {
    margin: 0;
    color: #6B7280;
    font-size: 0.9rem;
}

/* CTA CARD */
.cta-card {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    text-align: center;
}

.cta-card h3 {
    color: white;
}

.cta-card h3 i {
    color: #10B981;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* ============ BOUTONS ============ */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-whatsapp-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #10B981;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-whatsapp-inline:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-whatsapp-inline i {
    font-size: 1.2rem;
}

/* ============ ALERTES ============ */
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.alert-danger {
    background: #FEE2E2;
    border-left: 4px solid #DC2626;
}

.alert > i {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #DC2626;
}

.alert strong {
    display: block;
    font-size: 1.1rem;
    color: #991B1B;
    margin-bottom: 8px;
}

.alert p {
    margin: 0 0 15px;
    color: #7F1D1D;
}

.alert p:last-child {
    margin-bottom: 0;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .pest-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .pest-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .pest-hero {
        padding: 70px 16px 40px;
        min-height: max-content;
        overflow: visible;
    }
    
    .pest-hero h1 {
        font-size: 1.8rem;
    }
    
    .pest-hero .lead {
        font-size: 1.05rem;
    }
    
    .pest-detail-main {
        padding: 25px 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .method-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .prevention-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
