/* GERAL */
:root {
    --primary-color: #0D253F;
    --secondary-color: #01B4E4;
    --text-color: #333;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --heading-yellow: #fdd835;
    --button-green: #27a844;
    --button-blue: #007bff;
    --button-orange: #FF5722; 
    --bar-red: #F44336;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6; 
    color: var(--text-color); 
    background-color: var(--white);
    padding-top: 128px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; color: var(--primary-color); margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

.top-bar {
    background-color: var(--bar-red);
    color: var(--white);
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

header { 
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    position: fixed; 
    width: 100%; 
    top: 48px;
    z-index: 1000; 
    transition: all 0.4s ease;
    height: 80px;
}

nav { 
    display: flex; 
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 100%;
    gap: 2.5rem;
}

.logo-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.logo { 
    max-height: 115px; 
    display: block;
}

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { color: var(--primary-color); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--button-blue); }

.cta-button-emergency { 
    background: var(--button-orange); 
    color: var(--white); 
    padding: 10px 24px; 
    border: none; 
    border-radius: 50px; 
    cursor: pointer; 
    font-size: 0.9rem; 
    font-weight: bold; 
    transition: all 0.3s; 
    text-decoration: none; 
    display: inline-block; 
}
.cta-button-emergency:hover { background: #E64A19; transform: translateY(-2px); }

/* HERO SECTION */
.hero {
    color: white;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fade 10s infinite;
    opacity: 0;
}
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
}
.slide-1 {
    background-image: url('header-1.jpg'); 
}
.slide-2 {
    background-image: url('header-2.jpg');
    animation-delay: 5s;
}

@keyframes fade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    50% { opacity: 1; }
    60% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-layout { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 3rem; 
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text h1 { font-family: 'Montserrat', sans-serif; font-size: 3.2rem; margin-bottom: 1.5rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.6); line-height: 1.3; color: var(--heading-yellow); font-weight: 700; }
.hero-text p { font-size: 1.1rem; max-width: 550px; }

.hero-form-container { background: rgba(0, 0, 0, 0.3); padding: 2rem; border-radius: 8px; text-align: center; }
.hero-form .form-group { margin-bottom: 1rem; }
.hero-form input, .hero-form textarea { width: 100%; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; font-size: 1rem; background-color: rgba(255, 255, 255, 0.05); color: var(--white); }
.hero-form input::placeholder, .hero-form textarea::placeholder { color: #ccc; }

.btn { width: 100%; padding: 14px; border: none; border-radius: 5px; cursor: pointer; font-size: 1.1rem; font-weight: bold; text-decoration: none; transition: all 0.3s; display: inline-block; }
.btn-green { background-color: var(--button-green); color: var(--white); }
.btn-green:hover { background-color: #218838; }
.btn-blue { background-color: var(--button-blue); color: var(--white); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-blue:hover { background-color: #0069d9; }
.btn-blue i { width: 20px; height: 20px; }

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h3 { font-family: 'Montserrat', sans-serif; font-size: 2rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: bold; color: var(--secondary-color); }
.stat-label { color: #666; font-size: 1rem; }

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.service-item:nth-child(even) {
    direction: rtl;
}
.service-item:nth-child(even) > * {
    direction: ltr;
}
.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonials { background: #f8f9fa; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: white; padding: 2rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); position: relative; }
.testimonial-card::before { content: "⭐⭐⭐⭐⭐"; display: block; margin-bottom: 1rem; color: #ffd700; }
.client-name { font-weight: bold; color: #aaa; margin-top: 1rem; }

.contact { background-color: var(--primary-color); color: var(--white); }
.contact .section-header h2, .contact .section-header p { color: var(--white); }
.contact-info-footer { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; text-align: center; }
.contact-info-footer a { color: var(--white); text-decoration: none; }
.contact-info-footer a:hover { text-decoration: underline; }
.contact-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: 1.1rem; }
.contact-item i { color: var(--secondary-color); width: 48px; height: 48px; }

footer { background: #111; color: #aaa; text-align: center; padding: 2rem 0; }


/* --- ESTILOS DO POP-UP DO WHATSAPP (NEOMORFISMO) --- */
.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    border: none;
    color: white;
    box-shadow: 
        8px 8px 16px rgba(37, 211, 102, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.whatsapp-fab:hover {
    box-shadow: 
        4px 4px 8px rgba(37, 211, 102, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.whatsapp-fab img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.whatsapp-popup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-width: 90%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.1),
        -12px -12px 24px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.popup-header span {
    font-size: 1.2rem;
    font-weight: 500;
}

.popup-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    line-height: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.popup-body {
    background-color: #E5DDD5;
    padding: 30px 20px;
}

.chat-bubble {
    background-color: white;
    padding: 12px 18px;
    border-radius: 10px;
    max-width: 80%;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -2px -2px 4px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(0, 0, 0, 0.05);
}

.chat-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 12px solid white;
    border-left: 12px solid transparent;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

.popup-footer {
    padding: 15px 20px;
    background-color: #f0f0f0;
}

.whatsapp-send-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px rgba(37, 211, 102, 0.3),
        -2px -2px 4px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        6px 6px 12px rgba(37, 211, 102, 0.4),
        -3px -3px 6px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4),
        inset -1px -1px 2px rgba(0, 0, 0, 0.15);
}


@media (max-width: 992px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    body { padding-top: 120px; }
    .nav-links { display: none; }
    .hero { min-height: auto; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1.1rem; }
    .about-content { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
    .service-item, .service-item:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
    .service-image { order: -1; margin-bottom: 2rem;}
    .whatsapp-popup {
        bottom: 85px;
        right: 15px;
    }
    .whatsapp-fab {
        bottom: 15px;
        right: 15px;
    }
}