/* ===============================
   HEADER INTERNO
================================= */

.destak-box-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* ===============================
   CONTEÚDO (TÍTULO + TEXTO)
================================= */

.destak-box-content {
    display: flex;
    flex-direction: column;
}

/* ===============================
   ÍCONE
================================= */

.destak-icon {
    width: 107px;
    height: 107px;
    object-fit: cover;
}

/* ===============================
   TÍTULO
================================= */

.destak-box-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;

    margin: 0;
    line-height: 1;
}

/* ===============================
   TEXTO
================================= */

.destak-box-text {
    font-size: 14px;
    color: #333;

    line-height: 1.5;
    margin-top: 8px;
}



.destak-grid .box {
    position: relative;
}

/* Linha verde inferior */
.destak-grid .box::after {
    content: "";
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background-color: #11A182;
}


.img-topo-interna {
    width: 100%;
    display: block;
    margin-bottom: 30px;
}






/* ===============================
   DESTAQUE (INICIO)
================================= */

.destak-grid {
    width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===============================
   DESTAQUE - BOX (AGORA É <a>)
================================= */

.destak-grid .box {
    display: block;
    width: 100%;

    background: #ffffff;
    border: 1px solid #f0f0f0;

    padding: 25px;
    box-sizing: border-box;

    height: 165px; /* ajuste aqui se quiser mais alto */

    text-decoration: none;
    color: inherit;

    transition: 0.25s ease;
}

.destak-grid .box:hover {
    transform: translateY(-3px);
}

.servicos-section .box {
    position: relative;
}

/* Linha inferior verde */
.servicos-section .box::after {
    content: "";
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background-color: #11A182;
}

/* ===============================
   DESTAQUE - RESPONSIVO
================================= */

@media (max-width: 1024px) {

    .destak-grid {
        width: 100%;
        padding: 0 20px;
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .destak-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .destak-grid .box {
        height: auto; /* remove altura fixa */
        padding: 20px;
    }

}





/* ===============================
   SERVIÇOS - BOX
================================= */

/* Seção com fundo 100% largura */
.servicos-section {
    width: 100%;
    background-color: #EFF2F7;
    padding: 60px 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Grid centralizado */
.servicos-grid {
    width: 1100px;

    display: grid;
    grid-template-columns: repeat(3, 347px);
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
    justify-content: center;
}

/* Caixa */
.servicos-section .box {
    width: 347px;
    height: 300px;

    background-color: #ffffff;
    padding: 25px;
    box-sizing: border-box;

    position: relative;

    /* 🔹 ANIMAÇÃO */
    transition: 0.25s ease;
}

.servicos-section .box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* ===============================
   SERVIÇOS - HEADER (Ícone + Título)
================================= */

.servicos-section .box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Ícone */
.servicos-section .icon {
    width: 105px;
    height: 105px;
    object-fit: cover;
}

/* Título */
.servicos-section .box h3 {
    font-size: 22px;
    font-weight: bold;
    color: #1a8f76;

    margin: 0;
    line-height: 1.2;
}

/* Texto */
.servicos-section .box p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-top: 10px;
}

/* Botão */
.servicos-section .box button {
    width: 105px;
    height: 35px;

    background-color: #1a8f76;
    color: #fff;

    border: none;
    cursor: pointer;

    position: absolute;
    bottom: 20px;
    left: 25px;

    font-weight: bold;
    transition: 0.2s ease;
}

.servicos-section .box button:hover {
    opacity: 0.9;
}



/* ===============================
   SERVIÇOS - RESPONSIVO
================================= */

@media (max-width: 1024px) {

    .servicos-grid {
        width: 100%;
        padding: 0 20px;

        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .servicos-section .box {
        width: 100%;
        height: auto;
    }

}

@media (max-width: 768px) {

    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .servicos-section .box {
        padding: 20px;
    }

    /* Remove botão absoluto no mobile */
    .servicos-section .box button {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 15px;
    }

}




/* ===============================
   PÁGINA NOTÍCIAS
================================= */

.espacamento-interno {
    padding-top: 60px;
    padding-bottom: 60px;
}

.busca-noticia {
    margin-bottom: 30px;
}

.divisor {
    margin: 30px 0 40px 0;
}

/* controla todo o bloco da notícia */
.item-noticia a {
    text-decoration: none;
}

/* imagem */
.item-noticia .imagem {
    height: 220px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.conteudo-noticia {
    padding: 0;
}

/* data */
.item-noticia .data {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

/* TÍTULO EM PRETO */
.item-noticia a h2 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #000;
}

/* texto */
.item-noticia p {
    font-size: 15px;
    color: #000;
    margin-bottom: 0;
}


/* ===============================
   NOTÍCIAS LER
================================= */



.espacamento-interno {
    padding-top: 60px;
    padding-bottom: 60px;
}

.noticia-item {
    margin-bottom: 30px;
}

.divisor-noticia {
    margin: 20px 0;
}

.botao-voltar {
    background-color: #11a182;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    display: block;
    width: fit-content;
    margin: 0 auto;
}
.botao-voltar:hover {
    background-color: #1b5e20;
    color: #fff;
}




.info {
    padding-bottom: 150px;
}


/* ===============================
   SUBMENU INTERNO
================================= */
.menuLateralPaginasInterna {
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 169px;
}

.menuPaginas {
	margin: 0;
	background-color: #11a082;
	list-style: none;
	padding: 0 20px;
	position: relative;
}

.menuPaginas li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative; /* ESSENCIAL */
}

.menuPaginas li a {
	color: #fff;
	text-decoration: none;
	display: block;
}

.menuPaginas li a:hover {
	color: rgba(255, 255, 255, 0.5);
}

/* ITEM ATIVO */
.menuPaginas li.active::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -20px; /* ajusta conforme padding do menu */
	transform: translateY(-50%);
	
	/* TRIÂNGULO APONTANDO PARA A DIREITA */
	border-style: solid;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #fff;
}


/* ===============================
   FOOTER / ASA
================================= */

.asa-footer {
    width: 100%;
    position: relative;
    font-family: Arial, sans-serif;
}

/* ===============================
   FOOTER / ÁREA SUPERIOR (IMAGEM)
================================= */

.footer-top {
    background-image: url('../img/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 370px;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;

    padding-top: 60px;
}

.footer-top-content {
    max-width: 1100px;
    padding: 0 20px;
}

.footer-top-content h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* ===============================
   FOOTER / WRAPPER DOS CARDS
================================= */

.footer-cards-wrapper {
    position: absolute;
    top: 290px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.footer-cards {
    display: flex;
    gap: 40px;
}

/* ===============================
   FOOTER / CARD (LINK CLICÁVEL)
================================= */

.footer-card {
    text-decoration: none !important;
}

.footer-card {
    width: 347px;
    height: 150px;

    background: #ffffff;

    display: flex;
    align-items: center;

    padding: 30px;
    box-sizing: border-box;

    text-decoration: none;
    color: inherit;

    position: relative;

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

/* Linha azul inferior */
.footer-card::before {
    content: "";
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background: #1B1464;
}

/* Hover igual às outras caixas do site */
.footer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* ===============================
   FOOTER / ÍCONE
================================= */

.icon-box {
    width: 80px;
    height: 80px;

    background: #F2F2F2;

    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 20px;
}

.icon-box i {
    font-size: 32px;
    color: #1F9D84;
}

/* ===============================
   FOOTER / TEXTO
================================= */

.footer-card span {
    font-size: 14px;
    color: #4A4A4A;
}

/* ===============================
   FOOTER / ÁREA INFERIOR VERDE
================================= */

.footer-bottom {
    background-color: #1F9D84;
    height: 180px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.footer-bottom-content {
    width: calc((347px * 3) + (40px * 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 38px;
    color: #ffffff;
}

.footer-bottom-content p {
    margin: 0;
    font-size: 15px;
}

.raia-logo {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 3px;
}

/* ===============================
   FOOTER / TÍTULO 
================================= */

.footer-top-content h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.footer-top-content h2 span {
    display: inline;
}

@media (max-width: 768px) {
    .footer-top-content h2 span {
        display: block;
    }
}

/* ===============================
   FOOTER / RESPONSIVO MOBILE 
================================= */

@media (max-width: 768px) {

    /* Remove altura fixa da imagem */
    .footer-top {
        height: auto;
        padding: 60px 20px 120px 20px;
    }

    /* Remove posicionamento absoluto */
    .footer-cards-wrapper {
        position: relative;
        top: 0;
        margin-top: -80px;
        padding: 0 20px;
    }

    /* Empilha os cards */
    .footer-cards {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Card ocupa quase 100% */
    .footer-card {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    /* Área verde cresce automaticamente */
    .footer-bottom {
        height: auto;
        padding: 40px 20px;
    }

    /* Remove largura fixa calculada */
    .footer-bottom-content {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 0;
    }

.servicos-grid .box:last-child {
    margin-bottom: 40px;
}

}



/* ===============================
   FOOTER RAIA - LOGO
================================= */

.raia-logo img {
    height: 14px;
    width: auto;
    display: block;
}

.raia-logo a {
    display: inline-block;
}



/* ===============================
   LGPD
================================= */


.link-lgpd {
    color: #ffffff;
    text-decoration: none;
}

.link-lgpd:hover {
    text-decoration: underline;
}
.footer-bottom p a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-bottom p a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}




/* ===============================
   POLÍTICA DE PRIVACIDADE
================================= */

#modalPoliticaCookies.show{
	z-index: 2222222;
    display: flex !important;
    justify-content: flex-end;
    align-items: flex-end;
}


#modalPoliticaCookies.show .modal-body{
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

#modalPoliticaCookies.show .modal-body i{
    font-size: 50px;
    margin-right: 30px;
}

#modalPoliticaCookies.show .modal-body p{
	margin: 0px;
    padding: 15px 0px;
}

footer .rodape .borda{border-left:1px solid #045cba}
footer .rodape .borda{border:0px !important}
footer .rodape .borda br{display:none}
footer .rodape .borda .botao{display:block;margin-top:20px}















/* ===============================
   TÍTULOS DA SEÇÃO
================================= */

.titulo-pequeno {
    font-size: 16px;
    margin-bottom: 1px;
}

.servicos-title {
    text-align: center;
    width: 100%;
    max-width: 900px;

    margin: 0 auto 50px auto;

    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

/* ===============================
   DIFERENCIAIS
================================= */

.diferenciais .item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    font-size: 16px;
    color: #000;
}

.diferenciais .item:last-child {
    margin-bottom: 0;
}




/* ==========================
   CASES
========================== */

.case-section { 
   background-color: #EFF2F7; 
   padding-top: 80px; 
   position: relative; 
}


/* FAIXA AZUL REAL */
.case-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 210px;
    bottom: 0;

    background-image: url('../img/fundo-azul-home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 0;
}
.case-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1; /* garante que o conteúdo fique acima do azul */
    padding-bottom: 100px;
}
/* IMAGEM ESQUERDA */
.case-image img {
    width: 450px;
    height: auto;
}

/* CONTEÚDO DIREITO */
.case-content {
    color: #fff;
    max-width: 600px;
    padding-top: 10px;
}

.tag {
    font-size: 16px;
    margin-bottom: 1px; /* controla o espaço abaixo */
    color: #000; /* aparece sobre fundo claro */
}

.case-content h1 {
    font-size: 30px;

    line-height: 1.2;
    color: #222; /* título sobre fundo claro */
}

/* TEXTO QUE JÁ FICA SOBRE O FUNDO AZUL */
.descricao,
.cases-list,
.case-item h3,
.case-item p {
    color: #ffffff;
}

.descricao {
    font-size: 15px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* LISTA */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.case-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.case-item img {
    width: 70px;
    height: 70px;

    background: #ffffff;
    padding: 8px;
}

.case-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: bold;
}

.case-item p {
    font-size: 14px;
    line-height: 1.5;
}

/* ===============================
   CASE - RESPONSIVO
================================= */

@media (max-width: 1024px) {

    .case-container {
        max-width: 100%;
        padding: 0 20px 80px 20px;
        gap: 40px;
    }

    .case-image img {
        width: 350px;
    }

}

@media (max-width: 768px) {

    /* Remove a sobreposição complexa */
    .case-section::before {
        top: 0;
    }

    .case-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .case-image img {
        width: 100%;
        max-width: 400px;
    }

    .case-content {
        max-width: 100%;
        padding-top: 0;
    }

    .case-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .case-item img {
        width: 60px;
        height: 60px;
    }

}

@media (max-width: 768px) {

    /* Título e tag passam a ser brancos no mobile */
    .case-content .tag,
    .case-content h1 {
        color: #ffffff;
    }

}




/* ==========================
   PASSO A PASSO
========================== */

.processo-section {
    background-color: #EFF2F7;
    padding: 80px 0;
}

.processo-top {
    max-width: 1100px;
    margin: 0 auto 50px auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.processo-top h2 {
    font-size: 30px;
    margin-top: 10px;
    line-height: 1.2;
}

.processo-top p {
    max-width: 450px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* IMAGEM PASSO A PASSO */
.processo-image {
    max-width: 1100px;
    margin: 0 auto;
}

.processo-image img {
    width: 100%;
    height: auto;
}


/* ===============================
   PASSO A PASSO - RESPONSIVO 
================================= */

@media (max-width: 1024px) {

    .processo-top,
    .processo-image {
        padding: 0 20px;
    }

}

@media (max-width: 768px) {

    .processo-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .processo-top h2 {
        font-size: 24px;
    }

    .processo-top p {
        max-width: 100%;
    }

}




/* ================================
HEADER ASA NOVO
================================ */

/* HEADER FIXO */

.header-asa
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: transparent;

    transition: background 0.3s ease; /* só o fundo anima */
}

/* ESTADO AO ROLAR */

.header-asa.scrolled
{
    background: #2f2f6b;
}

/* CONTAINER CENTRAL */

.header-container
{
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;

    height: 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ALTURA MENOR NO SCROLL (SEM ANIMAÇÃO) */

.header-asa.scrolled .header-container
{
    height: 120px;
}

/* LOGO */

.header-logo img
{
    height: 80px;
    display: block;
}

/* MENU AREA */

.header-menu
{
    display: flex;
    align-items: center;
    gap: 25px;
}

/* LISTA MENU */

.menu-list
{
    display: flex;
    align-items: center;
    gap: 28px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item
{
    position: relative;
}

.menu-item a
{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
}

/* TRIANGULO */

.menu-indicator {
    position: absolute;
    top: -47px; /* ajuste fino aqui */
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #fff;

    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ATIVO */

.menu-item.active .menu-indicator {
    opacity: 1;
}



/* SUBMENU */

.submenu
{
    position: absolute;
    top: 35px;
    left: 0;

    background: rgba(60,60,60,0.95);

    list-style: none;
    padding: 10px 0;

    min-width: 180px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);
    transition: 0.3s;
}

.has-submenu:hover .submenu
{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a
{
    display: block;
    padding: 10px 18px;
    color: #fff;
}

.submenu li a:hover
{
    background: rgba(255,255,255,0.08);
}

/* REDES SOCIAIS */

.menu-social
{
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-social img
{
    width: 30px;
    height: 30px;
}








/* ================================
MOBILE MENU
================================ */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    margin-left: auto;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
}

/* BOTÃO FECHAR */

.menu-close {
    display: none;
}

/* ================================
RESPONSIVO
================================ */

@media (max-width: 980px) {

    .menu-toggle {
        display: flex;
    }

    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 99999;
    }

    .header-menu.active {
        right: 0;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 30px;
        font-size: 35px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }

    .menu-list {
        flex-direction: column;
        gap: 25px;
    }

    .menu-item a {
        font-size: 22px;
    }

    .menu-social {
        margin-top: 40px;
    }

    /* SUBMENU MOBILE */

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        padding: 10px 0;
        display: none;
        text-align: center;
    }

    .has-submenu.active .submenu {
        display: block;
    }

}


/* ================================
POWER POINT RESPONSIVO
================================ */

.iframe-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; /* proporção aproximada do 1110x661 */
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ================================
CLIENTES PÁGINA INTERNA
================================ */


/* Remove padding lateral do container */
.logos-section {
    padding-left: 0;
    padding-right: 0;
}

/* Remove margens padrão da row */
.logos-row {
    margin-left: 0;
    margin-right: 0;
}

/* Espaçamento apenas entre os logos */
.logos-row > div {
    padding: 15px;
}

/* Centraliza as imagens */
.logos-row img {
    display: block;
    margin: 0 auto;
}