/* ============================================
   MDTEC Desentupidora - Design Premium 2025
   ============================================ */

/* CSS Variables - Tema Aqua Premium */
:root {
    /* Cores Principais */
    --primary-deep: #0a192f;
    --primary-mid: #112240;
    --primary-light: #1d3557;
    
    /* Acentos - Água Viva */
    --accent-cyan: #00d4ff;
    --accent-teal: #00b4d8;
    --accent-aqua: #48cae4;
    --accent-glow: #90e0ef;
    
    /* Energia - CTAs */
    --energy-orange: #ff6b35;
    --energy-coral: #f7934c;
    --energy-gold: #fca311;
    
    /* WhatsApp */
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    
    /* Neutros */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    /* Efeitos */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Tipografia */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Transições */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--primary-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Premium */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-teal));
    border-radius: 10px;
    border: 2px solid var(--primary-deep);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-aqua), var(--accent-cyan));
}

/* Selection */
::selection {
    background: var(--accent-cyan);
    color: var(--primary-deep);
}

/* ============================================
   HEADER - Glassmorphism Premium
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s var(--transition-smooth);
}

.logo a:hover {
    transform: scale(1.02);
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.emoji-service {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

/* ============================================
   HERO - Impactante com Ondas
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-mid) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding: 120px 40px 80px;
}

/* Background Pattern - Ondas Animadas */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(72, 202, 228, 0.05) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Partículas de Água */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--accent-cyan) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--accent-teal) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, var(--accent-aqua) 0.5px, transparent 0.5px);
    background-size: 100px 100px, 80px 80px, 60px 60px;
    opacity: 0.3;
    animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Reordenar elementos dentro do hero-content via CSS */
.hero-content h1 {
    order: 1;
}

.hero-content .hero-cta {
    order: 2;
}

.hero-content p {
    order: 3;
}

.hero-content .hero-visual {
    order: 4;
}

/* Para estrutura antiga onde hero-visual está fora do hero-content */
.hero-container > .hero-visual {
    order: 4;
    margin-top: 30px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-glow) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    max-width: 900px;
    text-align: center;
}

/* Hero CTA Container - 3 Buttons Layout */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 35px;
}

/* CTA Button Base Premium */
.hero-cta .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    white-space: nowrap;
}

.hero-cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--transition-smooth);
}

.hero-cta .cta-button:hover::before {
    left: 100%;
}

/* WhatsApp Button */
.hero-cta .cta-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    box-shadow: 
        0 8px 30px rgba(37, 211, 102, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.hero-cta .cta-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 15px 40px rgba(37, 211, 102, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* Phone Button */
.hero-cta .cta-phone {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    box-shadow: 
        0 8px 30px rgba(0, 212, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.hero-cta .cta-phone:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* Quote/Orçamento Button */
.hero-cta .cta-quote {
    background: linear-gradient(135deg, var(--energy-orange) 0%, var(--energy-coral) 100%);
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.hero-cta .cta-quote:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 15px 40px rgba(255, 107, 53, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* Default Button Style (para páginas com estrutura antiga) */
.hero-cta .cta-button:not(.cta-whatsapp):not(.cta-phone):not(.cta-quote) {
    background: linear-gradient(135deg, var(--energy-orange) 0%, var(--energy-coral) 100%);
    box-shadow: 
        0 10px 40px rgba(255, 107, 53, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    padding: 18px 35px;
    font-size: 1rem;
}

.hero-cta .cta-button:not(.cta-whatsapp):not(.cta-phone):not(.cta-quote):hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 15px 50px rgba(255, 107, 53, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* CTA Icon */
.cta-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Animações individuais para cada ícone */
.cta-whatsapp .cta-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

.cta-phone .cta-icon {
    animation: phoneRing 1.5s ease-in-out infinite;
}

.cta-quote .cta-icon {
    animation: rocketPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

@keyframes rocketPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Hero Visual - Card Glassmorphism (dentro do hero-content) */
.hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.hero-placeholder {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-cyan), transparent 30%);
    animation: rotateGlow 8s linear infinite;
    opacity: 0.1;
}

@keyframes rotateGlow {
    100% { transform: rotate(360deg); }
}

.service-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 20px var(--accent-cyan));
    animation: floatIcon 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.service-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    position: relative;
    z-index: 1;
}

/* ============================================
   SEO CONTENT - Cards Premium
   ============================================ */
.seo-content {
    background: linear-gradient(180deg, var(--primary-deep) 0%, var(--off-white) 5%, var(--off-white) 95%, var(--primary-deep) 100%);
    padding: 100px 40px;
    position: relative;
}

/* Wave Transition */
.seo-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,181.3C960,181,1056,139,1152,117.3C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

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

/* Content Section Cards */
.content-section {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-100);
    transition: all 0.5s var(--transition-smooth);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-teal), var(--primary-light));
    border-radius: 24px 0 0 24px;
}

.content-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    pointer-events: none;
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0, 212, 255, 0.2);
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
    border-radius: 2px;
}

.content-section p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

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

/* Alternate Card Style */
.content-section:nth-child(even) {
    background: linear-gradient(135deg, var(--white) 0%, rgba(0, 212, 255, 0.03) 100%);
}

/* ============================================
   MAPS SECTION
   ============================================ */
.maps-section {
    margin: 80px 0 0;
    text-align: center;
}

.maps-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.maps-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
    border-radius: 2px;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 3px solid var(--gray-100);
    transition: all 0.4s var(--transition-smooth);
}

.map-container:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

/* ============================================
   WHATSAPP FLOAT - Pulso Premium
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    color: var(--white);
    padding: 18px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 
        0 10px 40px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--transition-smooth);
}

.whatsapp-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-link:hover::before {
    left: 100%;
}

.whatsapp-icon-float {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ============================================
   FOOTER - Premium Dark
   ============================================ */
.main-footer {
    background: linear-gradient(180deg, var(--primary-deep) 0%, #050d1a 100%);
    color: var(--white);
    padding: 100px 40px 40px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(0, 180, 216, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

.contact-info a:hover {
    color: var(--accent-glow);
}

/* Lists */
.hours-list, .services-list, .links-list {
    list-style: none;
}

.hours-list li, .services-list li, .links-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
}

.hours-list li:hover, .services-list li:hover {
    color: var(--accent-cyan);
    padding-left: 10px;
}

.links-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    position: relative;
    transition: all 0.3s var(--transition-smooth);
}

.links-list a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s var(--transition-smooth);
}

.links-list a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.links-list a:hover::before {
    opacity: 1;
}

/* Neighborhoods */
.neighborhoods-preview {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.neighborhoods-preview span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 20px var(--accent-cyan);
}

/* CTA Section (usado em outras páginas) */
.cta-section {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 180, 216, 0.02));
    border-radius: 24px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
}

.cta-button-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.4);
}
