/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    overflow-x: hidden;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #fbbf24 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.logo {
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.logo-emoji {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    display: flex;
    align-items: 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="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
}

.cta-icon {
    font-size: 1.2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.electrician-workshop {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.workshop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 50%, rgba(251,191,36,0.1) 100%);
    border-radius: 18px;
}

/* Eletricista */
.electrician {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.electrician-body {
    font-size: 3rem;
    animation: electrician-move 4s ease-in-out infinite;
}

.electrician-tools {
    position: absolute;
    top: -10px;
    right: -20px;
    display: flex;
    gap: 5px;
}

.tool-multimeter, .tool-screwdriver {
    font-size: 1.5rem;
    animation: tool-float 3s ease-in-out infinite;
}

.tool-screwdriver {
    animation-delay: -1s;
}

/* Elementos elétricos */
.electrical-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    border-radius: 1px;
    box-shadow: 0 0 5px #fbbf24;
}

.wire-1 {
    top: 60px;
    left: 50px;
    width: 80px;
    animation: wire-pulse 2s ease-in-out infinite;
}

.wire-2 {
    top: 120px;
    right: 60px;
    width: 60px;
    animation: wire-pulse 2.5s ease-in-out infinite reverse;
}

.spark {
    position: absolute;
    font-size: 1.2rem;
    color: #fbbf24;
    text-shadow: 0 0 10px #fbbf24, 0 0 20px #fbbf24;
    animation: spark-flash 1.5s ease-in-out infinite;
}

.spark-1 {
    top: 70px;
    left: 130px;
    animation-delay: 0s;
}

.spark-2 {
    top: 140px;
    right: 100px;
    animation-delay: -0.5s;
}

.spark-3 {
    top: 200px;
    left: 80px;
    animation-delay: -1s;
}

.outlet {
    position: absolute;
    font-size: 1.8rem;
    color: #e5e7eb;
    animation: outlet-glow 3s ease-in-out infinite;
}

.outlet-1 {
    top: 80px;
    right: 40px;
}

.switch {
    position: absolute;
    font-size: 1.5rem;
    color: #d1d5db;
    animation: switch-toggle 4s step-end infinite;
}

.switch-1 {
    top: 160px;
    left: 60px;
}

.bulb {
    position: absolute;
    font-size: 1.6rem;
    color: #fbbf24;
    text-shadow: 0 0 15px #fbbf24;
    animation: bulb-glow 2s ease-in-out infinite;
}

.bulb-1 {
    top: 40px;
    left: 80px;
    animation-delay: 0s;
}

.bulb-2 {
    top: 180px;
    right: 80px;
    animation-delay: -1s;
}

.circuit-board {
    position: absolute;
    top: 220px;
    left: 120px;
    font-size: 1.4rem;
    color: #6b7280;
    animation: circuit-rotate 8s linear infinite;
}

/* Faíscas e efeitos */
.sparks-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.spark-particle {
    position: absolute;
    font-size: 0.8rem;
    color: #fbbf24;
    animation: spark-fly 3s ease-in-out infinite;
}

.particle-1 {
    top: 50px;
    left: 150px;
    animation-delay: 0s;
}

.particle-2 {
    top: 120px;
    right: 120px;
    animation-delay: -1s;
}

.particle-3 {
    top: 190px;
    left: 100px;
    animation-delay: -2s;
}

.electric-arc {
    position: absolute;
    font-size: 1rem;
    color: #fbbf24;
    text-shadow: 0 0 20px #fbbf24, 0 0 40px #fbbf24;
    animation: arc-zap 1s ease-in-out infinite;
}

.arc-1 {
    top: 60px;
    left: 140px;
    animation-delay: 0s;
}

.arc-2 {
    top: 150px;
    right: 110px;
    animation-delay: -0.5s;
}

/* Mesa de trabalho */
.workbench {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
}

.toolbox, .wires-coil, .circuit-parts {
    font-size: 1.8rem;
    animation: workbench-item 4s ease-in-out infinite;
}

.toolbox {
    animation-delay: 0s;
}

.wires-coil {
    animation-delay: -1.3s;
    color: #fbbf24;
}

.circuit-parts {
    animation-delay: -2.6s;
}

/* Luz de trabalho */
.work-light {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #fbbf24;
    text-shadow: 0 0 30px #fbbf24, 0 0 60px #fbbf24;
    animation: light-flicker 2s ease-in-out infinite;
}

/* Indicador de energia */
.power-indicator {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.power-light {
    font-size: 1.2rem;
    animation: power-blink 1s step-end infinite;
}

.power-label {
    font-size: 0.6rem;
    color: #fbbf24;
    font-weight: bold;
    text-shadow: 0 0 5px #fbbf24;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.whatsapp-float a:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* SEO Content */
.seo-content {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

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

.seo-section {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 25%, #fbbf24 50%, #f59e0b 75%, #2563eb 100%);
}

.seo-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.seo-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.cta-section {
    text-align: center;
    margin-top: 30px;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.map-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 30px;
}

.map-container {
    display: flex;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0f172a 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fbbf24;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.schedule-list, .services-list, .links-list {
    list-style: none;
}

.schedule-list li, .services-list li, .links-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.links-list a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-list a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #f59e0b;
}

/* Animações */
@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); }
}

/* Micro-animações */
.seo-section:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.hero-emoji {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsividade Base */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
    }

    .seo-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
