/* === RESET E VARIÁVEIS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-primaria: #0ea5e9;
    --cor-secundaria: #0c4a6e;
    --cor-destaque: #38bdf8;
    --cor-texto: #1e293b;
    --cor-texto-claro: #64748b;
    --cor-fundo: #ffffff;
    --cor-fundo-alternado: #f8fafc;
    --cor-whatsapp: #25D366;
    --fonte-principal: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --sombra-pequena: 0 2px 8px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 4px 16px rgba(0, 0, 0, 0.12);
    --sombra-grande: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transicao-rapida: 0.2s ease;
    --transicao-normal: 0.3s ease;
}

/* === SCROLLBAR CUSTOMIZADA === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cor-destaque) 0%, var(--cor-primaria) 100%);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7dd3fc 0%, var(--cor-destaque) 100%);
    background-clip: padding-box;
}

/* Barra de progresso de scroll no topo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-destaque), var(--cor-primaria));
    background-size: 200% 100%;
    width: var(--scroll-progress, 0%);
    z-index: 10000;
    animation: shimmer 2s linear infinite;
    transition: width 0.1s ease;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === BODY === */
body {
    font-family: var(--fonte-principal);
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    overflow-x: hidden;
}

/* === HEADER === */
header {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    padding: 1rem 2rem;
    box-shadow: var(--sombra-media);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transicao-normal);
}

header .logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* === HERO SECTION === */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('../images/desentupidora-de-esgoto-vitoria-es.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* === CTAs ESPECIAIS DA HERO === */
.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    border: 2px solid transparent;
}

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

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

.hero-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.hero-btn:active {
    transform: translateY(-4px) scale(1.02);
}

.btn-icon, .btn-arrow, .btn-phone, .btn-speed {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    flex: 1;
    text-align: center;
}

/* Botão Primário - Orçamento Grátis */
.hero-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    border-color: #10b981;
    animation: pulse-green 3s ease-in-out infinite;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    border-color: #059669;
}

/* Botão Urgente - Ligue Agora */
.hero-btn-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: white;
    border-color: #ef4444;
    animation: pulse-red 2s ease-in-out infinite;
    position: relative;
}

.hero-btn-urgent::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #fca5a5, #ef4444, #dc2626);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-btn-urgent:hover::after {
    opacity: 0.8;
}

.hero-btn-urgent:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    border-color: #dc2626;
}

/* Botão Rápido - Atendimento Rápido */
.hero-btn-fast {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: white;
    border-color: #f59e0b;
    animation: pulse-orange 2.5s ease-in-out infinite;
    position: relative;
}

.hero-btn-fast::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-btn-fast:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
    border-color: #d97706;
}

/* Animações de pulso */
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
        transform: translateY(0) scale(1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.6);
        transform: translateY(-2px) scale(1.02);
    }
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
        transform: translateY(0) scale(1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(239, 68, 68, 0.6);
        transform: translateY(-2px) scale(1.02);
    }
}

@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
        transform: translateY(0) scale(1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(245, 158, 11, 0.6);
        transform: translateY(-2px) scale(1.02);
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-emojis {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.emoji-item {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.emoji-item:nth-child(1) { animation-delay: 0s; }
.emoji-item:nth-child(2) { animation-delay: 0.5s; }
.emoji-item:nth-child(3) { animation-delay: 1s; }
.emoji-item:nth-child(4) { animation-delay: 1.5s; }

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

/* === BOTÕES === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transicao-normal);
    cursor: pointer;
    border: none;
    box-shadow: var(--sombra-media);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--sombra-grande);
}

.btn-whatsapp:active {
    transform: translateY(-1px) scale(1.02);
}

/* === BOTÃO WHATSAPP FLUTUANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transicao-normal);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    font-size: 1.8rem;
    animation: rotate 3s linear infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

@keyframes rotate {
    0%, 90% { transform: rotate(0deg); }
    95% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

/* === SEÇÃO DE CONTEÚDO SEO === */
.seo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section {
    background: var(--cor-fundo);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--sombra-pequena);
    transition: var(--transicao-normal);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.content-section:hover {
    box-shadow: var(--sombra-media);
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.3);
}

.content-section:nth-child(even) {
    background: var(--cor-fundo-alternado);
}

.content-section h2 {
    color: var(--cor-secundaria);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.content-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, var(--cor-primaria), var(--cor-destaque));
    border-radius: 3px;
}

.content-section h3 {
    color: var(--cor-primaria);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.content-section p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--cor-texto);
}

.content-section ul {
    margin: 1.5rem 0 1.5rem 2rem;
}

.content-section ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--cor-texto);
    position: relative;
    padding-left: 1.5rem;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cor-primaria);
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(56, 189, 248, 0.05));
    border-radius: 15px;
}

/* === SEÇÃO DO MAPA === */
.map-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: var(--cor-fundo-alternado);
    border-radius: 20px;
    box-shadow: var(--sombra-pequena);
}

.map-section h2 {
    text-align: center;
    color: var(--cor-secundaria);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, var(--cor-secundaria) 0%, var(--cor-primaria) 100%);
    color: white;
    padding: 3rem 2rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--cor-destaque);
}

.footer-section p,
.footer-section ul,
.footer-section a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.footer-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--cor-destaque);
}

.footer-section a {
    text-decoration: none;
    transition: var(--transicao-rapida);
}

.footer-section a:hover {
    color: var(--cor-destaque);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transicao-rapida);
}

.footer-links a:hover {
    color: var(--cor-destaque);
}

/* === MAPA DO SITE === */
.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.sitemap-container h1 {
    color: var(--cor-secundaria);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.sitemap-section {
    background: var(--cor-fundo);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--sombra-pequena);
    transition: var(--transicao-normal);
}

.sitemap-section:hover {
    box-shadow: var(--sombra-media);
    transform: translateX(5px);
}

.sitemap-section h2 {
    color: var(--cor-primaria);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--cor-destaque);
    padding-bottom: 0.5rem;
}

.sitemap-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.8rem;
}

.sitemap-section ul li {
    padding: 0.5rem 0;
}

.sitemap-section ul li a {
    color: var(--cor-texto);
    text-decoration: none;
    transition: var(--transicao-rapida);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sitemap-section ul li a::before {
    content: '→';
    color: var(--cor-primaria);
    font-weight: bold;
    transition: var(--transicao-rapida);
}

.sitemap-section ul li a:hover {
    color: var(--cor-primaria);
    transform: translateX(5px);
}

.sitemap-section ul li a:hover::before {
    transform: translateX(3px);
}

/* === IMAGENS INSERIDAS VIA JAVASCRIPT === */
.inserted-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: var(--sombra-media);
    transition: transform 0.3s ease-in-out;
}

.inserted-image:hover {
    transform: scale(1.02);
}

