* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #ffffff;
}

/* CONTAINER GLOBAL */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(
        to bottom,
        #6fd0f8 0%,
        #3aa9e6 40%,
        #1e73be 70%,
        #0a3f73 100%
    );
    padding: 25px 0;
    z-index: 1000;
}

/* NAV CONTAINER */
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LOGO */
.logo {
    height: 140px;
    display: block;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 40px;
}

.menu a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #111;
    transition: 0.3s ease;
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #111;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* FAIXA BRANCA DE RESPIRO */
.hero-wrapper {
    margin-top: 180px;
    background: #ffffff;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

/* HERO COM IMAGEM + CORTE DIAGONAL */
.hero {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    background: url('../imagens/cabecalho_e_footer/Mulher-em-foto-completa-tirando-selfiee2.JPG')
                no-repeat right center;
    background-size: cover;
    overflow: hidden;

    clip-path: polygon(
        0 14%,
        100% 0%,
        100% 100%,
        0% 100%
    );
}

/* CAMADA AZUL SOBRE IMAGEM */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10,79,134,0.95) 0%,
        rgba(10,79,134,0.88) 35%,
        rgba(10,79,134,0.65) 65%,
        rgba(10,79,134,0.35) 100%
    );
    z-index: 1;
}

/* CONTEÚDO SOBRE O OVERLAY */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: white;
}

.hero-top {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
    max-width: 750px;
}

/* BOTÃO */
.btn-whats {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-whats:hover {
    background: white;
    color: #0a4f86;
}

/* SECTION PADRÃO */
.section {
    padding: 20px 0;
    background: #ffffff;
}

/* QUEM SOMOS */
.quem-somos {
    display: flex;
    align-items: center;
    gap: 60px;
}

.qs-img img {
    width: 400px;
}

.qs-text h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.qs-text p {
    margin-bottom: 25px;
    line-height: 1.9; /* mais espaçamento entre linhas */
}

.btn-outline {
    display: inline-block;
    padding: 12px 22px;
    border: 2px solid #0a4f86;
    color: #0a4f86;
    text-decoration: none;
    border-radius: 6px;
}

.btn-outline:hover {
    background: #0a4f86;
    color: white;
}

/* COMO FUNCIONA */
.como-funciona {
    padding: 40px 0 0 0;
    background: #ffffff; /* volta ao branco */
}

.como-funciona .container {
    background: #f5f7f9;
    padding: 60px 50px;
    border-radius: 12px;
}

.titulo-funciona {
    text-align: center;
    font-size: 28px;
    margin-bottom: 60px;
    font-weight: 500;
}

.etapa {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 35px;
}

.etapa h3 {
    min-width: 140px;
    font-size: 20px;
    font-weight: 600;
    color: #0a4f86;
}

.etapa p {
    flex: 1;
    line-height: 1.8;
    color: #555;
}

.btn-centro {
    text-align: center;
    margin-top: 30px;
}

/* VANTAGENS */
.vantagens {
    padding: 100px 0;
    background: #ffffff;
}

.titulo-vantagens {
    text-align: center;
    font-size: 26px;
    margin-bottom: 60px;
    font-weight: 600;
    letter-spacing: 1px;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background: #ffffff;
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f1f1;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icone {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid #f05a28;
    color: #f05a28;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}



#quem-somos,
#como-funciona {
    scroll-margin-top: 220px;
}


/* CLIENTES */
.clientes {
    padding: 20px 0 100px 0;
    background: #ffffff;
    text-align: center;
}

.titulo-clientes {
    font-size: 26px;
    margin-bottom: 60px;
    font-weight: 600;
}

.carousel-clientes {
    position: relative;
}

.cliente {
    display: none;
    max-width: 700px;
    margin: 0 auto;
}

.cliente.ativo {
    display: block;
}

.foto-cliente {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
}

.depoimento {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.nome-cliente {
    font-weight: 600;
    font-size: 18px;
}

.cargo-cliente {
    font-size: 14px;
    color: #777;
}

.dots-clientes {
    margin-top: 40px;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.dot.ativo {
    background-color: #f05a28;
}


.carousel-clientes {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.cliente {
    display: none;
    text-align: center;
    background: #f5f7f9; /* fundo levemente diferente */
    padding: 60px 40px;
    border-radius: 12px;
    transition: 0.4s ease;
}

.cliente.ativo {
    display: block;
}

.foto-cliente {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
}

.depoimento {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.nome-cliente {
    font-weight: 600;
    margin-bottom: 5px;
}

.cargo-cliente {
    font-size: 14px;
    color: #777;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 28px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s ease;
}

.prev { left: -60px; }
.next { right: -60px; }

.carousel-clientes:hover .prev,
.carousel-clientes:hover .next {
    opacity: 1;
}

#depoimentos {
    scroll-margin-top: 220px;
}

#inicio{
     scroll-margin-top: 390px;
}

.hero-top {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

html {
    scroll-padding-top: 20px;
}


#duvidas {
    scroll-margin-top: 220px;
}




.duvidas {
    padding: 60px 0 100px 0;
    background: #ffffff;
}

.duvidas .container {
    background: #f5f7f9; /* mesmo fundo dos depoimentos */
    padding: 60px 50px;
    border-radius: 12px;
}

.titulo-duvidas {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid #f05a28; /* linha vermelha */
    padding: 18px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-pergunta {
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.faq-pergunta::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #f05a28; /* seta vermelha */
    transition: 0.3s;
}

.faq-item.ativo .faq-pergunta::before {
    transform: rotate(90deg);
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #555;
    line-height: 1.7;
    margin-top: 10px;
}

.faq-item.ativo .faq-resposta {
    max-height: 500px;
}
.btn-whats i {
    margin-right: 8px;
}



.footer {
    position: relative;
    background: url('../imagens/cabecalho_e_footer/footer2.JPG') no-repeat center center;
    background-size: cover;
    padding: 150px 0 80px 0; /* 30% maior */
    color: #ffffff;
    overflow: hidden;

    /* curva superior */
    clip-path: polygon(
        0 8%,
        100% 0%,
        100% 100%,
        0% 100%
    );
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 120, 150, 0.45); /* overlay mais leve para ficar mais claro */
}

.footer .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 260px;
}

.footer-logo img {
    width: 260px; /* 30% maior */
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer p,
.footer a {
    font-size: 15px;
    line-height: 1.8;
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    opacity: 0.95;
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 25px;
    justify-content: center;
}

.footer-social a {
    color: #ffffff;
    font-size: 32px; /* AQUI controla o tamanho */
    transition: 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: #f05a28;
}

/* Alinhar CNPJ e localização à direita */
.footer-grid .footer-col:last-child {
    text-align: right;
    padding-left: 20%;
}

/* fale conosco*/
.whatsapp-fixo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.btn-abrir {
    background: #0a4f86;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-abrir i {
    font-size: 18px;
}

.popup-atendimento {
    display: none;
    width: 320px;
    background: white;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.popup-header {
    background: #0a4f86;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.popup-header button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.popup-lista {
    max-height: 350px;
    overflow-y: auto;
}

.popup-lista a {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.popup-lista a:hover {
    background: #f5f7f9;
}

.popup-lista img {
    width: 66px;
    height: 88px;
    border-radius: 10px;
    object-fit: cover;
}

/* =========================
   MENU RESPONSIVO
========================= */

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 25px;
    color: #111;
    cursor: pointer;
    margin-left: auto;
    margin-right: 5px;
    
}

/* =========================
   RESPONSIVO GERAL
========================= */

@media (max-width: 1024px) {

    .quem-somos {
        flex-direction: column;
        text-align: center;
    }

    .qs-img img {
        width: 80%;
        max-width: 350px;
    }

    .cards {
        justify-content: center;
    }

    .card {
        flex: 1 1 45%;
    }

    .etapa {
        flex-direction: column;
        gap: 10px;
    }

    .etapa h3 {
        min-width: auto;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    /* AJUSTE POPUP MOBILE CORRETO */

.popup-atendimento {
    position: fixed;
    left: 50%;
    bottom: 80px; /* sobe acima do botão */
    transform: translateX(-50%);
    width: 92%;
    max-width: 360px;
    margin-top: 0;
}

    /* HEADER */
    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo {
        height: 90px;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        width: 90%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        display: none;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .menu.ativo {
        display: flex;
    }

  

    /* HERO */
    .hero {
        height: auto;
        padding: 80px 20px;
        clip-path: none;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-wrapper {
        margin-top: 150px;
        padding-top: 80px;
    }

    /* VANTAGENS */
    .card {
        flex: 1 1 100%;
    }

    /* CLIENTES - SETAS MOBILE */
    .carousel-clientes .prev,
    .carousel-clientes .next {
        display: block;
        opacity: 1 !important;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .carousel-clientes .prev {
        left: 10px;
    }

    .carousel-clientes .next {
        right: 10px;
    }

    /* DUVIDAS */
    .duvidas .container {
        padding: 30px 20px;
    }

    /* FOOTER */
    .footer {
        clip-path: none;
        padding: 100px 20px 60px 20px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-grid .footer-col:last-child {
        text-align: center;
        padding-left: 0;
    }

    /* POPUP */
    .popup-atendimento {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
    /* AJUSTE DA LOGO NO MOBILE */
.footer-logo {
    width: 290px;
    margin: 0 auto;
}

}
