/* ================= RESET E VARIÁVEIS ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --blue-dark: #002244;
    --blue-medium: #003366;
    --blue-light: #e6f0fa;
    --red-cta: #ff3333;
    --red-cta-hover: #e60000;
    --text-dark: #333333;
    --text-light: #ffffff;
}

body {
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Efeitos de Rolagem JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CABEÇALHO (HEADER) ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.logo img {
    height: 50px;
    /* Ajuste o tamanho da sua logo aqui */
}

.contact-info {
    color: var(--blue-medium);
    font-size: 0.9rem;
}

.contact-info span {
    color: var(--red-cta);
    font-weight: 700;
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: linear-gradient(to right, rgba(0, 34, 68, 0.9) 0%, rgba(0, 34, 68, 0.4) 50%, rgba(0, 0, 0, 0) 100%),
        url('../img/4.png');
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 600px;
    color: var(--text-light);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--red-cta);
    color: var(--text-light);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-btn a{
    color: inherit;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: var(--red-cta-hover);
}

/* ================= NECESSIDADES (FEATURES) ================= */
.features {
    padding: 80px 5%;
    text-align: center;
}

.section-title {
    color: var(--blue-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--blue-medium);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-img-container {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item p {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ================= AVALIAÇÃO (SERVICE) ================= */
.service {
    padding: 80px 5% 400px 5%;
    /* Padding bottom maior para dar espaço para imagem de fundo */
    text-align: center;
    background-color: #fff;
    position: relative;
}

/* INSIRA A IMAGEM DO TÉCNICO AQUI */
.service-bg-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 450px;
    background-image: url('../img/2.png');
    background-size: cover;
    background-position: top center;
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
}

.service h2 {
    color: #555;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service p {
    color: var(--blue-medium);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ================= SELOS (BADGES) ================= */
.badges-section {
    background-color: var(--blue-light);
    padding: 40px 5%;
    display: flex;
    justify-content: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.badge {
    width: 500px;
    height: auto;
}

.badge img {
    width: 100%;
    height: auto;
}

/* ================= FAIXA VERMELHA ================= */
.red-bar {
    background-color: var(--red-cta);
    color: #fff;
    text-align: center;
    padding: 20px 5%;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ================= FAQ ================= */
/* INSIRA A IMAGEM DE FUNDO DA ÁGUA DO FAQ AQUI */
.faq-section {
    padding: 60px 5%;
    background-image: url('https://via.placeholder.com/1920x800/e6f2ff/003366?text=Textura+de+Agua+Fundo');
    /* <--- CAMPO DE IMAGEM */
    background-size: cover;
    background-position: center;
}

.faq-instructions {
    text-align: center;
    color: var(--red-cta);
    font-size: 0.8rem;
    margin-bottom: 20px;
    font-style: italic;
}

.faq-title {
    text-align: center;
    color: var(--blue-dark);
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-btn {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--blue-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.accordion-btn::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-btn.active::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.95);
}

.accordion-content p {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.whatsapp-fixo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 20px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-fixo:hover {
    transform: scale(1.05);
    background-color: #128c7e;
    color: #fff;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .badges-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .badge {
        width: 250px;
        height: auto;
    }

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .service-bg-image {
        height: 300px;
    }

    .service {
        padding-bottom: 250px;
    }
}