/* =====================================================
   MAIN CONTENT STYLES - DESINSECT13000
   All page content styles consolidated in one file
   ===================================================== */

/* ===========================================
   GLOBAL CONTENT STYLES
   =========================================== */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.site-content,
.entry-content,
main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Main container for all pages */
.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===========================================
   SECTION CENTERING - CRITICAL FIX
   =========================================== */
section,
.section {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

section > .container,
section > .wrapper,
section > .inner,
.section > .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem 20px !important;
    box-sizing: border-box !important;
}

/* Direct children centering */
section > h1, section > h2, section > h3,
section > h4, section > h5, section > h6,
section > p, section > ul, section > ol {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ===========================================
   HERO SECTIONS - SAME AS CTA SECTIONS
   Both use green gradient theme
   =========================================== */
.cta-section,
.hero-gradient {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero section without gradient - use dark text */
.hero-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #2c3e50 !important;
    background: transparent !important;
}

/* Hero section WITH gradient - use white text */
.hero-section.hero-gradient,
.hero-section[style*="gradient"] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
}

/* Ensure any inline gradient styles are overridden */
.hero-section[style*="gradient"],
.cta-section[style*="gradient"] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.hero-content,
.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Headings for CTA sections - always white */
.cta-section h1,
.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white !important;
}

/* Headings for hero sections - dark by default */
.hero-section h1,
.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #2c3e50 !important;
}

/* Hero sections WITH gradient - white headings */
.hero-section.hero-gradient h1,
.hero-section.hero-gradient h2,
.hero-section[style*="gradient"] h1,
.hero-section[style*="gradient"] h2 {
    color: white !important;
}

/* Paragraphs for CTA sections - always white */
.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white !important;
}

/* Paragraphs for hero sections - dark by default */
.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666 !important;
}

/* Hero sections WITH gradient - white paragraphs */
.hero-section.hero-gradient p,
.hero-section[style*="gradient"] p {
    color: white !important;
    opacity: 0.95;
}

/* All links in CTA sections - always white */
.cta-section a:not([style*="background: white"]) {
    color: white !important;
}

/* Links in hero sections - dark by default */
.hero-section a:not([style*="background: white"]):not(.btn-primary):not(.cta-button) {
    color: #667eea !important;
}

/* Hero sections WITH gradient - white links */
.hero-section.hero-gradient a:not([style*="background: white"]):not(.btn-primary):not(.cta-button),
.hero-section[style*="gradient"] a:not([style*="background: white"]):not(.btn-primary):not(.cta-button) {
    color: white !important;
}

/* Phone numbers in hero/cta sections with white background - BLUE TEXT */
.hero-section a[href^="tel:"],
.cta-section a[href^="tel:"],
.hero-section .cta-phone,
.cta-section .cta-phone {
    background: white !important;
    color: #667eea !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    color: white;
}

/* ===========================================
   CTA BUTTONS & WHITE BUTTONS FIX
   =========================================== */
.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

/* Primary CTA - gradient background */
.cta-button.cta-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
}

.cta-button.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* WHITE BACKGROUND BUTTONS - BLUE TEXT */
a[style*="background: white"],
a[style*="background:#fff"],
a[style*="background:#ffffff"],
a[style*="background-color: white"],
a[style*="background-color:#fff"],
a[style*="background-color:#ffffff"],
button[style*="background: white"],
button[style*="background:#fff"],
button[style*="background:#ffffff"],
.cta-button[style*="background: white"],
.cta-button[style*="background:#fff"],
.cta-button[style*="background:#ffffff"],
.hero-section a[style*="background: white"],
.hero-section a[style*="background:#fff"],
.hero-section a[style*="background:#ffffff"],
.cta-section a[style*="background: white"],
.cta-section a[style*="background:#fff"],
.cta-section a[style*="background:#ffffff"],
a.cta-phone,
a.cta-emergency,
a.cta-white,
.cta-button.cta-white,
.cta-button.cta-phone,
.cta-button.cta-emergency,
.hero-section .cta-phone,
.hero-section .cta-emergency,
.cta-section .cta-phone,
.cta-section .cta-emergency {
    background: white !important;
    color: #667eea !important;
}

/* Hover states for white buttons - KEEP BLUE TEXT */
a[style*="background: white"]:hover,
a[style*="background:#fff"]:hover,
a[style*="background:#ffffff"]:hover,
button[style*="background: white"]:hover,
.hero-section a[style*="background: white"]:hover,
.hero-section a[style*="background:#fff"]:hover,
.hero-section a[style*="background:#ffffff"]:hover,
.cta-section a[style*="background: white"]:hover,
.cta-section a[style*="background:#fff"]:hover,
.cta-section a[style*="background:#ffffff"]:hover,
a.cta-phone:hover,
a.cta-emergency:hover,
a.cta-white:hover,
.cta-button.cta-phone:hover,
.cta-button.cta-emergency:hover,
.cta-button.cta-white:hover,
.hero-section .cta-phone:hover,
.hero-section .cta-emergency:hover,
.cta-section .cta-phone:hover,
.cta-section .cta-emergency:hover {
    background: white !important;
    color: #667eea !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Secondary CTA - transparent with border */
.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: #667eea;
}

/* ===========================================
   SERVICE SECTIONS & CARDS
   =========================================== */
.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* ===========================================
   PRICING SECTIONS
   =========================================== */
.pricing-section {
    padding: 4rem 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: #28a745;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.2);
}

.pricing-card.featured::before {
    content: "POPULAIRE";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    color: #28a745;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-price sup {
    font-size: 1.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===========================================
   TESTIMONIALS SECTION
   =========================================== */
.testimonials-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #28a745;
    opacity: 0.2;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: #999;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* ===========================================
   FAQ SECTION
   =========================================== */
.faq-section {
    padding: 4rem 0;
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: #28a745;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* ===========================================
   ZONES/LOCATIONS SECTION
   =========================================== */
.zones-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zone-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.zone-item:hover {
    border-color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.zone-item a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

/* ===========================================
   PROCESS/STEPS SECTION
   =========================================== */
.process-section {
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* ===========================================
   GUARANTEE SECTION
   =========================================== */
.guarantee-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-align: center;
}

.guarantee-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.guarantee-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.guarantee-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
}

.guarantee-badge {
    display: inline-block;
    background: white;
    color: #28a745;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===========================================
   CONTACT FORMS
   =========================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #28a745;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* ===========================================
   INTERNAL LINKS STYLING
   =========================================== */
article a:not([href^="tel:"]):not([href^="mailto:"]):not(.cta-button),
main p a:not([href^="tel:"]):not([href^="mailto:"]):not(.cta-button),
.page-container a:not([href^="tel:"]):not([href^="mailto:"]):not(.cta-button) {
    color: #ff8c00;
    text-decoration: underline;
    text-decoration-color: rgba(255, 140, 0, 0.4);
    text-underline-offset: 2px;
    transition: color 0.3s ease;
    font-weight: 500;
}

article a:hover,
main p a:hover,
.page-container a:hover {
    color: #ff6b00;
    text-decoration-color: #ff6b00;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */
@media (max-width: 1200px) {
    .page-container,
    section > .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section > * {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zones-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    section > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   ABSOLUTE FINAL OVERRIDE - WHITE BUTTONS BLUE TEXT
   =========================================== */
body .hero-section .cta-button.cta-phone,
body .hero-section .cta-button.cta-emergency,
body .hero-section .btn-primary,
body .hero-section a.btn-primary,
body .cta-section .cta-button.cta-phone,
body .cta-section .cta-button.cta-emergency,
body .cta-section .btn-primary,
body .cta-section a.btn-primary,
body .hero-section a.cta-phone,
body .hero-section a.cta-emergency,
body .cta-section a.cta-phone,
body .cta-section a.cta-emergency,
body .hero-section .hero-buttons a[style*="background: white"],
body .hero-section .hero-buttons a[style*="background:#fff"],
body .hero-section .hero-buttons a[style*="background:#ffffff"],
body .cta-section a[style*="background: white"],
body .cta-section a[style*="background:#fff"],
body .cta-section a[style*="background:#ffffff"],
body .hero-section a[style*="color: white !important"] {
    background: white !important;
    background-color: white !important;
    color: #667eea !important;
}

body .hero-section .cta-button.cta-phone:hover,
body .hero-section .cta-button.cta-emergency:hover,
body .hero-section .btn-primary:hover,
body .hero-section a.btn-primary:hover,
body .cta-section .cta-button.cta-phone:hover,
body .cta-section .cta-button.cta-emergency:hover,
body .cta-section .btn-primary:hover,
body .cta-section a.btn-primary:hover,
body .hero-section a.cta-phone:hover,
body .hero-section a.cta-emergency:hover,
body .cta-section a.cta-phone:hover,
body .cta-section a.cta-emergency:hover,
body .hero-section a[style*="color: white !important"]:hover {
    background: white !important;
    background-color: white !important;
    color: #667eea !important;
    transform: none !important;
}