:root {
    --azul: #1a4a8e;
    --vermelho: #e31e24;
    --branco: #ffffff;
    --cinza-claro: #f4f4f4;
    --dark: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; 
}

body { background-color: var(--branco); color: var(--dark); line-height: 1.6; overflow-x: hidden; width: 100%; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

header { background: var(--branco); border-bottom: 4px solid var(--azul); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.logo h1 { color: var(--azul); font-weight: 800; font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.1; }
.logo span { color: var(--vermelho); }
.logo p { font-size: clamp(0.7rem, 2vw, 0.9rem); letter-spacing: 2px; font-weight: bold; }

nav ul { display: flex; list-style: none; }
nav ul li a { text-decoration: none; color: var(--azul); font-weight: 800; margin-left: 25px; transition: 0.3s; font-size: 1.1rem; text-transform: uppercase; }
nav ul li a:hover { color: var(--vermelho); }

.menu-toggle { display: none; font-size: 1.8rem; color: var(--azul); cursor: pointer; }

.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover; background-position: center; min-height: 70vh;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px;
}
.hero-content { width: 100%; max-width: 1200px; margin: 0 auto; }
.hero-title { 
    font-size: clamp(1.4rem, 4.5vw, 3.5rem); 
    color: var(--azul); 
    font-weight: 800; 
    text-transform: uppercase; 
    line-height: 1.1;
    white-space: nowrap;
}
.hero-title span { color: var(--vermelho); }

.hero-subtitle { 
    font-size: clamp(1.1rem, 4vw, 1.8rem); 
    color: #444; margin: 20px auto; font-weight: 500; line-height: 1.3;
    max-width: 800px;
}

.titulo-estilizado { font-size: clamp(1.5rem, 5vw, 2.5rem); color: var(--azul); border-left: 8px solid var(--vermelho); padding-left: 15px; margin-bottom: 30px; }
.about-text p { font-size: clamp(1rem, 3vw, 1.4rem); margin-bottom: 20px; color: #333; text-align: justify; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
    background: white; padding: 30px; text-align: center; border-bottom: 5px solid var(--vermelho); 
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.4s;
    cursor: pointer;
}

/* Alterado para funcionar no clique/toque (mobile) e mouse (PC) */
.service-card:hover, .service-card:active { 
    transform: translateY(-10px); 
    background: var(--azul); 
    color: white; 
}
.service-card i { font-size: 2.5rem; color: var(--azul); margin-bottom: 15px; transition: 0.3s; }
.service-card:hover i, .service-card:active i { color: white; }

.full-width-centered {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 350px;
}

.titulo-clientes { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--azul); text-align: center; margin-bottom: 40px; }
.testimonial-slider { width: 100%; overflow: hidden; padding: 10px 0; position: relative; }
.testimonial-container { display: flex; transition: transform 0.8s ease-in-out; }
.testimonial-item { min-width: 100%; display: flex; justify-content: center; padding: 0 10px; }

.comment-box {
    background: white; border: 2px solid var(--azul); padding: 25px; border-radius: 15px;
    box-shadow: 8px 8px 0px var(--vermelho); width: 100%; max-width: 600px; min-height: 150px;
    display: flex; flex-direction: column; justify-content: center;
    text-align: center;
}
.comment-box p { font-style: italic; font-size: clamp(1rem, 3vw, 1.2rem); margin-bottom: 10px; }

.cta-box-section { padding: 40px 0; }
.cta-blue-box {
    background-color: var(--azul);
    color: white;
    padding: 50px 20px;
    border-radius: 15px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-blue-box h3 { font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 800; margin-bottom: 15px; color: white; }
.cta-blue-box p { font-size: clamp(1.2rem, 4vw, 1.6rem); color: white; }

.btn-cta-new {
    display: inline-block; background: var(--vermelho); color: white; padding: 18px 40px;
    text-decoration: none; border-radius: 50px; font-weight: 800; margin-top: 25px;
    transition: all 0.4s ease; text-transform: uppercase; border: none;
    font-size: 1.2rem;
}

.pulse-button { animation: pulse-red 2s infinite; }

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(227, 30, 36, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
footer { background: var(--azul); color: white; padding: 40px 0; }

/* AJUSTE NO FOOTER PARA REMOVER SUB LINHADOS DE LINKS */
.footer-contact p, .footer-contact a { text-decoration: none !important; }

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.footer-social p {
    margin-bottom: 2px;
}
.footer-social a { 
    color: white; 
    font-size: 1.1rem; 
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    margin-bottom: 2px;
}
.footer-social a i {
    font-size: 1.4rem;
}
.footer-social a:hover { opacity: 0.8; }

.copy { text-align: center; width: 100%; padding-top: 15px; font-weight: bold; }
hr { border: 0; border-top: 1px solid rgba(255,255,255,0.2); margin: 15px 0; }

.whatsapp-float { 
    position: fixed; bottom: 25px; right: 25px; 
    background: #25d366; color: white; 
    width: 70px; height: 70px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-size: 35px; z-index: 2000; transition: 0.3s;
    text-decoration: none !important;
}

.pulse-whatsapp { animation: pulse-green 2s infinite; }

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 850px) {
    .menu-toggle { display: block; }
    nav {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; border-bottom: 4px solid var(--azul); padding: 20px;
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: center; }
    nav ul li { margin: 10px 0; }
    nav ul li a { margin: 0; font-size: 1.2rem; }
    .hero-title { white-space: normal; }
}

.blink-slow { animation: blinker 4s linear infinite; }
@keyframes blinker { 50% { opacity: 0.4; } }