* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo do Hero */
.hero-logo {
    display: block;
    margin: 0 auto 0 rem;
    max-width: 600px;
    width: 90%;
    height: auto;
    animation: fadeInUp 0.8s ease;
}

/* Responsivo para o logo */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 400px;
        width: 85%;
        margin-bottom: 0rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 150px;
    }
}
:root {
    --red: #DC2626;
    --dark: #0A0A0A;
    --light: #FAFAFA;
    --gray: #737373;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--red);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--red);
}

.cta-button {
    background: var(--red);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero .highlight {
    color: var(--red);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.primary-btn {
    background: var(--red);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 4rem;
    text-align: center;
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    transition: all 0.4s;
    text-align: center;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--red);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    padding: 5rem 5%;
    background: rgba(220, 38, 38, 0.05);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.stat h2 {
    font-size: 3.5rem;
    color: var(--red);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: var(--gray);
    font-size: 1.1rem;
}

footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
}

/* Imagens de Contato */
.contact-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.contact-img {
    flex: 1;
    max-width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
}

/* Botão WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Animações */
@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 fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toggle Switch (Modo Claro/Escuro) */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    --light: #d8dbe0;
    --dark: #28292c;
    flex-shrink: 0;
}

.switch-label {
    position: absolute;
    width: 100%;
    height: 30px;
    background-color: var(--dark);
    border-radius: 15px;
    cursor: pointer;
    border: 2px solid var(--dark);
}

.checkbox {
    position: absolute;
    display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: 0.3s;
}

.checkbox:checked ~ .slider {
    background-color: var(--light);
}

.slider::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: inset 8px -3px 0px 0px var(--light);
    background-color: var(--dark);
    transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
    transform: translateX(30px);
    background-color: var(--dark);
    box-shadow: none;
}

/* Agrupa o botão Fale Conosco e o switch */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ====== MODO CLARO ====== */
body.light-mode {
    background: var(--light);
    color: var(--dark);
}

/* Navbar no modo claro */
body.light-mode nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

body.light-mode .logo {
    color: var(--dark);
}

body.light-mode .nav-links a {
    color: var(--dark);
}

body.light-mode .nav-links a:hover {
    color: var(--red);
}

/* Botões no modo claro */
body.light-mode .cta-button,
body.light-mode .primary-btn {
    background: var(--red);
    color: white;
}

body.light-mode .secondary-btn {
    color: var(--dark);
    border-color: rgba(0, 0, 0, 0.3);
}

body.light-mode .secondary-btn:hover {
    color: var(--red);
    border-color: var(--red);
}

/* Hero no modo claro */
body.light-mode .hero p {
    color: #555;
}

/* Cards e textos no modo claro */
body.light-mode .service-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .service-card:hover {
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .service-card p {
    color: #555;
}

body.light-mode .stats {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
}

body.light-mode .stat p {
    color: #555;
}

/* Footer no modo claro */
body.light-mode footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #555;
}

/* Responsivo */
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .contact-images {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-img {
        max-width: 100%;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .services {
        grid-template-columns: 1fr;
    }  


}
