/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F4F7F8;
    color: #333;
}

/* =========================
   TOPO SUPERIOR
========================= */
.topo-superior {
    background: #2F4858;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 6px 40px;
    font-size: 13px;
}

.topo-superior i {
    margin-right: 5px;
}

.redes a {
    color: #fff;
    margin-left: 15px;
    transition: 0.3s;
}

.redes a:hover {
    color: #A7C4BC;
}

/* =========================
   MENU PRINCIPAL
========================= */
.menu-container {
    background: linear-gradient(90deg, #3B6978, #2F5E6B);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    color: #CDEAE1;
}

/* =========================
   SUBMENU PROFISSIONAL
========================= */
.submenu {
    position: relative;
}

.submenu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.submenu ul li {
    padding: 10px 18px;
}

.submenu ul li a {
    color: #333;
    font-size: 13px;
}

.submenu ul li:hover {
    background: #F1F6F9;
}

.submenu:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   LOGOS BADGE STYLE
========================= */
.logo-principal,
.logos-direita {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-principal img,
.logos-direita img {
    height: 42px;
    padding: 6px 12px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    object-fit: contain;
    transition: 0.3s ease;
}

.logo-principal img:hover,
.logos-direita img:hover {
    transform: translateY(-3px);
}

/* =========================
   BANNER
========================= */
.banner {
    position: relative;
    height: 320px;
    overflow: visible; /* MUITO IMPORTANTE */
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   TEXTO SOBRE O BANNER
========================= */
.hero-overlay { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; z-index: 10; width: 90%; }

.hero-overlay h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-overlay h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.25)
    );
}


/* =========================
   CARDS FLUTUANTES
========================= */
.cards {
    position: absolute;
    bottom: -230px; /* desce o bloco */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 50;
}

.card {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    cursor: pointer;
}

.card i {
    font-size: 22px;
    color: #3B6978;
    margin-bottom: 6px;
}

.card p {
    font-size: 12px;
    text-align: center;
    padding: 0 8px;
}

.card:hover {
    transform: translateY(-10px);
    background: #A7C4BC;
    color: #fff;
}

.card:hover i {
    color: #fff;
}

/* =========================
   NOTÍCIAS
========================= */
.noticias {
    margin-top: 200px; /* espaço real para os cards */
    padding: 60px 20px;
}

.noticias h2 {
    text-align: center;
    font-size: 28px;
    color: #3B6978;
    margin-bottom: 40px;
}

.noticias-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.carrossel {
    width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.carrossel img {
    width: 100%;
    display: block;
}



/* =========================
   FAQ MODERNO
========================= */

.faq-section {
    padding: 100px 60px;
    background: #f7f7f7;
}

.faq-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* LADO ESQUERDO */
.faq-left {
    flex: 1;
}

.faq-left h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.1;
}

/* LADO DIREITO */
.faq-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #e6e6e6;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.faq-question i {
    transition: 0.3s ease;
}

/* Resposta escondida */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.4s ease;
}

/* Quando ativo */
.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* RESPONSIVO */
@media (max-width: 900px) {

    .faq-wrapper {
        flex-direction: column;
    }

    .faq-left h2 {
        font-size: 36px;
    }
}


/* =========================
   MAPA
========================= */
.mapa {
    padding: 60px 20px;
}

.mapa h2 {
    text-align: center;
    color: #3B6978;
    margin-bottom: 25px;
}

#map {
    height: 400px;
    border-radius: 16px;
}

/* =========================
   RODAPÉ
========================= */
footer {
    background: #2F4858;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

/* =========================
   HEADER FIXO
========================= */
header {
    position: relative;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

body.header-fixo {
    padding-top: 120px;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1000px) {

    .menu {
        display: none;
    }

    .logos-direita {
        display: none;
    }

    .noticias-container {
        flex-direction: column;
        align-items: center;
    }

    .carrossel {
        width: 90%;
    }

    .cards {
        bottom: -100px;
    }

    .noticias {
        margin-top: 260px;
    }
}



/* =========================
   BLOCOS PREMIUM NOTÍCIAS
========================= */

.blocos-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bloco-premium {
    display: flex;
    align-items: center;
    background: #3B8A6F;
    border-radius: 30px;
    overflow: hidden;
    width: 380px;
    min-height: 120px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.bloco-premium:hover {
    transform: translateY(-6px);
}

/* Área branca do ícone */
.bloco-icone {
    background: #f4f4f4;
    width: 110px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.bloco-icone i {
    font-size: 32px;
    color: #3B8A6F;
}

/* Área verde conteúdo */
.bloco-conteudo {
    flex: 1;
    padding: 20px;
    color: #fff;
}

.bloco-conteudo h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Botão bonito */
.bloco-conteudo button {
    padding: 8px 18px;
    border: none;
    border-radius: 30px;
    background: #ffffff;
    color: #3B8A6F;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.bloco-conteudo button:hover {
    background: #2F5E6B;
    color: #fff;
}




/* =========================
   NOTÍCIAS (AJUSTE FINO)
========================= */

.noticias-container {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* IMAGEM MAIOR E PROPORCIONAL */
.carrossel {
    width: 580px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.carrossel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   BLOCOS PREMIUM AJUSTADOS
========================= */

.blocos-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* BLOCO MENOR E PADRONIZADO */
.bloco-premium {
    display: flex;
    align-items: center;

    /* 🔥 GRADIENTE SUAVE */
    background: linear-gradient(135deg, #3B8A6F, #2F6F5B);

    border-radius: 22px;
    overflow: hidden;

    width: 320px;
    height: 85px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.bloco-premium:hover {
    transform: translateY(-4px);
}

/* ÁREA DO ÍCONE */
.bloco-icone {
    background: #f1f1f1;
    width: 65px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloco-icone i {
    font-size: 20px;
    color: #3B8A6F;
}

/* CONTEÚDO */
.bloco-conteudo {
    flex: 1;
    padding: 10px 15px;
    color: #fff;
}

.bloco-conteudo h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* BOTÃO MENOR E ELEGANTE */
.bloco-conteudo button {
    padding: 4px 12px;
    border: none;
    border-radius: 20px;
    background: #ffffff;
    color: #3B8A6F;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.bloco-conteudo button:hover {
    background: #2F5E6B;
    color: #fff;
}

/* =========================
   BOTÃO VER TODAS NOTÍCIAS
========================= */

.ver-todas-noticias {
    margin-top: 18px;
    text-align: right;
}

.ver-todas-noticias a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #3B8A6F;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #3B8A6F;
    transition: 0.3s ease;
}

.ver-todas-noticias a:hover {
    background: #3B8A6F;
    color: #fff;
}

/* =========================
   FOOTER MODERNO
========================= */

.footer {
    background: #1f2d3a;
    color: #ffffff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px 50px 20px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h3 {
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: 1px;
    color: #A7C4BC;
}

.footer-col p {
    font-size: 13px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #3B8A6F;
}

/* REDES SOCIAIS */
.footer-redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2F3E4D;
    margin-right: 10px;
    color: #ffffff;
    font-size: 16px;
    transition: 0.3s;
}

.footer-redes a:hover {
    background: #3B8A6F;
}

/* BLOCO WHATSAPP */
.footer-contato p {
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-whatsapp i {
    font-size: 16px;
}

.btn-whatsapp:hover {
    background: #1da851;
}

/* PARTE FINAL */
.footer-bottom {
    background: #16202b;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    opacity: 0.8;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}