/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --blue-dark: #164a7c;
    --blue-light: #2874b4;
    --orange: #eb5d2a;
    --text-dark: #333;
    --text-gray: #666;
    --bg-light: #f9f9f9;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Navegação Topo */
.top-nav {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 10;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Hero Section - Atualizado para Vídeo com Imagem de Fundo Instantânea */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    background-color: #164a7c; 
    /* A SOLUÇÃO DEFINITIVA: Imagem direto no CSS */
    background-image: url('../img/image_d71c81.jpg'); 
    background-size: cover;
    background-position: center;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-card {
    background: white;
    width: 90%;
    max-width: 1100px;
    margin-top: -80px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    z-index: 2;
    overflow: hidden;
}

.card-logo {
    padding: 30px;
    width: 30%;
    text-align: center;
}

.card-logo .logo-icon {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.card-logo h2 {
    color: var(--blue-dark);
    font-size: 1.2rem;
}

.card-logo hr {
    border: 1px solid var(--orange);
    width: 60%;
    margin: 15px auto;
}

.card-features {
    background: var(--blue-light);
    color: white;
    padding: 30px;
    width: 40%;
    display: flex;
    align-items: center;
}

.card-features ul {
    list-style: none;
}

.card-features li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
    font-size: 0.9rem;
}

.card-contacts {
    padding: 30px;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.contact-btn.phone i {
    color: #25D366;
    font-size: 1.5rem;
}

.contact-btn.email i {
    color: var(--blue-light);
    font-size: 1.5rem;
}

.emergency-bar {
    width: 100%;
    text-align: center;
    padding: 15px;
    background: #fff;
    color: var(--text-dark);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Intro Section */
.intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.intro-image img {
    width: 300px;
    border-radius: 5px;
}

.intro-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Services Grid */
.bg-light {
    background-color: var(--bg-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 15px;
}

.service-item h4 {
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Pricing Card */
.pricing-card {
    background: var(--blue-dark);
    color: white;
    border-radius: 10px;
    display: flex;
    padding: 40px;
    align-items: center;
}

.price-left {
    width: 40%;
    border-right: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.price-left h3 {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price-left span {
    font-size: 3rem;
    font-weight: bold;
}

.price-right {
    width: 60%;
    padding-left: 40px;
}

.price-right ul {
    list-style: none;
    margin-bottom: 20px;
}

.price-right li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    font-size: 0.85rem;
}

.more-info {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
}

/* About Section */
.about {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
}

/* Coverage */
.coverage {
    text-align: center;
}

.coverage h3 {
    margin-bottom: 20px;
}

.coverage p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ========================================= */
/* CONTACT SECTION                           */
/* ========================================= */

/* Fundo da seção inteira (A imagem grandona) */
.contact-section {
    background-image: url('../img/team.png'); /* Certifique-se que esta é a imagem correta para o contato */
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0; 
}

/* Escurece um pouquinho a imagem de fundo para o texto branco ficar legível */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Película levemente escura */
    z-index: 1;
}

/* Organiza o formulário e o texto lado a lado */
.contact-overlay {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2; /* Garante que o formulário e textos fiquem acima do fundo escuro */
}

/* Caixinha branca do formulário */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95); 
    padding: 30px;
    border-radius: 5px;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
}

.form-header h2 {
    color: var(--blue-dark);
    font-size: 1.8rem;
}

.form-header p {
    color: var(--blue-light);
    font-weight: bold;
}

.form-header hr {
    border: 1px solid var(--blue-light);
    margin: 10px 0 20px 0;
}

form label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff; 
}

form button {
    width: 100%;
    padding: 12px;
    background: var(--blue-dark);
    color: white;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
}

/* Textos da direita (ficam brancos por cima da imagem de fundo) */
.contact-text {
    color: white;
    max-width: 500px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6); 
}

.contact-text h2 {
    font-size: 3rem; 
    margin-bottom: 10px;
    line-height: 1.1;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-top: 2px solid rgba(255,255,255,0.5); 
    padding-top: 15px;
}

.contact-text p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ========================================= */
/* FOOTER & EXTRAS                           */
/* ========================================= */

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: white;
    color: #999;
    font-size: 0.8rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 100;
}

.whatsapp-float i {
    background: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    margin-bottom: 5px;
}

.whatsapp-float span {
    font-size: 0.7rem;
    color: #333;
    text-align: center;
}

/* Responsividade Básica */
@media (max-width: 900px) {
    .hero-card {
        flex-direction: column;
    }
    .card-logo, .card-features, .card-contacts {
        width: 100%;
    }
    .intro, .about, .contact-overlay, .pricing-card {
        flex-direction: column;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .price-left, .price-right {
        width: 100%;
        border-right: none;
        padding: 0;
    }
}