/* =========================================
   DESENTUPIDORA EXATA - PREMIUM DESIGN
   ========================================= */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    /* Cores Primárias - Palette Premium */
    --primary-red: #E63946;
    --primary-red-dark: #C1121F;
    --primary-red-light: #FF6B6B;
    --accent-gold: #FFB703;
    --accent-gold-light: #FFD166;
    --accent-gold-dark: #FB8500;
    
    /* Cores Neutras */
    --dark-navy: #1D3557;
    --dark-slate: #0F1419;
    --medium-gray: #4A5568;
    --light-gray: #E2E8F0;
    --off-white: #F8FAFC;
    --pure-white: #FFFFFF;
    
    /* Gradientes Especiais */
    --gradient-hero: linear-gradient(135deg, #1D3557 0%, #0F1419 50%, #1D3557 100%);
    --gradient-fire: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-gold) 100%);
    --gradient-fire-hover: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-red) 100%);
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sunset: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --gradient-ocean: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    --gradient-warm: linear-gradient(135deg, #FA709A 0%, #FEE140 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(230, 57, 70, 0.3);
    --shadow-glow-gold: 0 0 40px rgba(255, 183, 3, 0.4);
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark-slate);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--medium-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

strong {
    color: var(--dark-navy);
    font-weight: 600;
}

/* =========================================
   HEADER - Premium Sticky Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .nav-links, .mobile-menu-toggle {
    display: none !important;
} */

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: all var(--transition-fast);
}

.logo a:hover {
    transform: scale(1.02);
}

/* Navigation Links */
nav a {
    font-weight: 500;
    color: var(--dark-navy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

nav a:hover {
    color: var(--primary-red);
    background: rgba(230, 57, 70, 0.08);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 60%;
}

/* =========================================
   HERO SECTION - Immersive Experience
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/desentupidora-8.webp') no-repeat center center/cover;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

/* Animated Background Pattern - Removed as image is now used */
/* .hero::before { ... } - Keeping CSS clean */
.hero::before {
    content: none;
}

/* Decorative Elements */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--gradient-fire);
    opacity: 0.05;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
    z-index: 2; /* Acima do overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 80% black transparency */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    color: var(--pure-white);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    order: 1;
}

.hero h1 span {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
    order: 3;
}

/* CTA Buttons Group */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    order: 2;
    margin-bottom: 2.5rem;
    width: 100%;
}

/* =========================================
   BUTTONS - Modern & Interactive
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--pure-white);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--pure-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-urgent {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-urgent:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--pure-white);
    transform: translateY(-3px);
}

/* =========================================
   MAP SECTION
   ========================================= */
.map-section {
    width: 100%;
    position: relative;
    background: var(--dark-navy);
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--dark-navy), transparent);
    pointer-events: none;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

/* =========================================
   CONTENT SECTIONS - Elegant Cards
   ========================================= */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
}

/* Section Background Decoration */
.content-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient-fire);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(80px);
}

.service-block {
    position: relative;
    background: var(--pure-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-fire);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-block:hover::before {
    opacity: 1;
}

.service-block h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: none;
    position: relative;
    display: inline-block;
}

.service-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-fire);
    border-radius: 2px;
}

.service-block p {
    color: var(--medium-gray);
    line-height: 1.85;
    font-size: 1.05rem;
}

.service-block p:last-child {
    margin-bottom: 0;
}

/* Alternating Block Styles */
.service-block:nth-child(even) {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #2A4A6E 100%);
}

.service-block:nth-child(even) h2 {
    color: var(--pure-white);
}

.service-block:nth-child(even) h2::after {
    background: var(--accent-gold);
}

.service-block:nth-child(even) p,
.service-block:nth-child(even) li {
    color: rgba(255, 255, 255, 0.85);
}

.service-block:nth-child(even) strong {
    color: var(--accent-gold-light);
}

/* CTA Buttons in Content */
.content-section > div[style*="text-align: center"] {
    margin: 3rem 0;
}

.content-section .btn-whatsapp {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

/* =========================================
   FOOTER - Modern Dark Theme
   ========================================= */
footer {
    background: linear-gradient(180deg, var(--dark-slate) 0%, #0A0E13 100%);
    color: var(--pure-white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-fire);
}

footer::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--gradient-fire);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-fire);
}

.footer-links a {
    display: block;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========================================
   SITEMAP PAGE
   ========================================= */
.sitemap-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.sitemap-list a {
    padding: 1rem 1.25rem;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-navy);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-fast);
}

.sitemap-list a::before {
    content: '→';
    margin-right: 0.75rem;
    color: var(--primary-red);
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.sitemap-list a:hover {
    background: var(--gradient-fire);
    color: var(--pure-white);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.sitemap-list a:hover::before {
    transform: translateX(5px);
    color: var(--pure-white);
}

/* =========================================
   UTILITIES & HELPERS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection Color */
::selection {
    background: var(--primary-red);
    color: var(--pure-white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-fire);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 3px;
}

/* Page Padding for Fixed Header */
main {
    padding-top: 0;
}

/* Inner Pages Hero - Shorter Version */
.hero-inner {
    min-height: 60vh;
    padding-top: 8rem;
}

/* Stats Section (if needed) */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 2rem;
    background: var(--pure-white);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}
