/* ============================================
   ADRIMAR SOLUÇÕES E SERVIÇOS - DESENTUPIDORA
   Design System Exclusivo
   ============================================ */

/* ============================================
   1. CSS VARIABLES & BASE STYLES
   ============================================ */
:root {
    /* Colors - Azul, Azul Claro, Branco */
    --primary-blue: #0077b6;
    --primary-dark: #023e8a;
    --light-blue: #caf0f8;
    --light-bg: #f8fbff;
    --white: #ffffff;
    
    /* Accents & Status */
    --accent-orange: #ff7d00;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Typography */
    --text-dark: #1A1A1A;
    --text-body: #4A4A4A;
    --text-muted: #737373;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 90px;
    
    /* Box Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 119, 182, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 119, 182, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 119, 182, 0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container, 
section:not(.hero-section):not(.cta-section) > div[class$="-content"], 
.services-grid, 
.differentials-content, 
.header-content, 
.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   2. BUTTONS & UTILITIES
   ============================================ */
.accent {
    color: var(--primary-blue);
}

.btn-primary, .btn-secondary, .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;

    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.header-cta {
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.header-cta:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* ============================================
   3. HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

.logo img {
    height: 50px;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--primary-blue);
    font-weight: 500;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.header-nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    white-space: nowrap;
}

.phone-link i {
    color: var(--primary-blue);
}

.phone-link:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--light-blue);
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 119, 182, 0.1);
    bottom: 10%;
    left: -50px;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid rgba(0, 119, 182, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-body);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-feature i {
    color: var(--whatsapp-green);
    font-size: 1.2rem;
}

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

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

/* ============================================
   5. EMERGENCY BANNER
   ============================================ */
.emergency-banner {
    background: var(--primary-dark);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
}

.emergency-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
}

.emergency-banner i {
    color: var(--accent-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ============================================
   6. SERVICES SECTION
   ============================================ */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-blue);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-feature-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 4px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* ============================================
   7. DIFFERENTIALS SECTION
   ============================================ */
.differentials-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.differentials-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.differentials-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.differentials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    box-shadow: var(--shadow-sm);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 5px;
}

.differentials-right h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.differentials-right > p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.differentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.differential-item {
    display: flex;
    gap: 15px;
}

.differential-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.differential-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.differential-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   8. SEO CONTENT SECTION
   ============================================ */
.seo-section {
    padding: 80px 0;
    background: var(--white);
}

.seo-content {
    background: var(--light-bg);
    padding: 60px;
    border-radius: 24px;
}

.seo-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

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

.seo-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ============================================
   8.5 GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    aspect-ratio: 4/3;
    background: var(--light-bg);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ============================================
   9. CTA & CONTACT SECTION
   ============================================ */
.cta-section {
    padding: 100px 0 0 0;
    background: var(--primary-blue);
    position: relative;
    color: var(--white);
}

.cta-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.cta-text h2 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    color: var(--text-dark);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: translateY(-40px);
}

.cta-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 20px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.cta-phone:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.maps-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ============================================
   10. FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.footer-section p {
    opacity: 0.8;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.footer-section a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-contact-item i {
    color: var(--light-blue);
    font-size: 1.2rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
}

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

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--whatsapp-green);
    transform: translateY(-3px);
}

/* ============================================
   11. FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: bounceDelay 3s infinite;
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1);
}

@keyframes bounceDelay {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* ============================================
   12. RESPONSIVENESS
   ============================================ */
@media (max-width: 1024px) {
    .differentials-content,
    .cta-content {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        transform: translateY(0);
        margin-top: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav, .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-features {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .seo-content {
        padding: 30px 20px;
    }
}

/* Base Animations Triggered by JS Observer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}