/* Styles.css - Estilos principais para o site Desentupidora Rápido */

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Scrollbar customizado */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #ffffff 0%, #f8f8f8 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #dc3545 0%, #000000 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c82333 0%, #333333 100%);
}

/* Cores da marca */
:root {
    --primary-red: #dc3545;
    --primary-black: #000000;
    --primary-white: #ffffff;
    --whatsapp-green: #25d366;
    --light-gray: #f8f8f8;
    --dark-gray: #333333;
    --gradient-red: linear-gradient(135deg, #dc3545 0%, #ff6b7d 100%);
    --gradient-black: linear-gradient(135deg, #000000 0%, #333333 100%);
}

/* Cabeçalho */
header {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b7d 50%, #000000 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: "🚰";
    animation: pulse 2s infinite;
}

.logo::after {
    content: "🛠️";
    animation: bounce 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Seção Hero */
.hero {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    padding: 120px 1rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    background: var(--gradient-red);
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: "📱";
    margin-right: 0.5rem;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

.hero-cta::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta:hover::after {
    width: 300px;
    height: 300px;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    width: 120px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
}

/* Seção SEO Content */
.seo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.seo-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-red);
    animation-delay: 0s;
    opacity: 1;
}

.seo-section h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
}

.seo-section h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-red);
}

.seo-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.seo-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.seo-section li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

/* Botão CTA WhatsApp nas seções */
.whatsapp-cta {
    display: inline-block;
    background: var(--gradient-red);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Seção do Mapa */
.map-section {
    padding: 3rem 1rem;
    background: var(--light-gray);
    text-align: center;
}

.map-section h2 {
    color: var(--primary-red);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Rodapé */
footer {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-red);
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.business-hours {
    line-height: 1.8;
}

.business-hours strong {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom a {
    color: var(--primary-red);
    font-weight: bold;
}

/* Links do governo */
.government-links {
    margin-top: 1rem;
    text-align: center;
}

.government-links a {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.government-links a:hover {
    opacity: 1;
    color: #ffffff;
}

/* === ESTILOS SIMPLES PARA LINKS INTERNOS === */

/* Links internos na seção seo-content */
.seo-content a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
    margin: 0.2rem 0;
    animation-delay: 0s;
    opacity: 1;
}

.seo-content a::before {
    content: "🔗";
    margin-right: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsividade para links */
@media (max-width: 768px) {
    .seo-content a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    .seo-content a::before {
        margin-right: 0.3rem;
        font-size: 0.8rem;
    }
}