﻿:root {
    --main-color: #C0A060;
    --dark-bg: #264653;
    --bg: #264653;
    --border: 0.1rem solid #3D3D3D;
    --contrast-color: #E9D8A6;
    --detail-color: #6B705C;
    font-size: 10px;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: #FFFFFF;
}

section {
    max-width: 100%;
    padding: 8rem 0rem;
}

main {
    padding: 0;
    max-width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    border-bottom: var(--border);
    /* TransparÃªncia com RGBA (preferencial): mantÃ©m filhos 100% opacos */
    background-color: #264653;
    /* fallback */
    background-color: rgba(38, 70, 83, 0.85);
    /* A entre 0.7 e 0.9 */
}

/* Alternativa com opacity (sem herdar para filhos): use .header--opacity-bg na <header> */
.header.header--opacity-bg {
    background: transparent;
}

.header.header--opacity-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #264653;
    opacity: 0.85;
    /* A entre 0.8 e 0.9 */
    pointer-events: none;
    /* nÃ£o intercepta cliques */
}

.header.header--opacity-bg>* {
    position: relative;
    z-index: 1;
}

.header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Tamanhos de logo responsivos para liberar espaÃ§o ao botÃ£o no mobile */
.header .logo img {
    height: auto;
    width: 180px;
}

@media (max-width: 600px) {
    .header .logo img {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .header .logo img {
        width: 150px;
    }
}

@media (max-width: 360px) {
    .header .logo img {
        width: 135px;
    }
}

@media screen and (max-width: 800px) {
    .header section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.navbar a.active {
    color: var(--main-color);
}

.navbar a {
    margin: 0 1rem;
    font-size: 1.6rem;
    color: #FFFFFF;
    font-weight: bold;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
}

/* Mobile navbar: botÃ£o hambÃºrguer e menu colapsÃ¡vel */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    margin-left: .5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    transition: .2s;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-block;
        position: fixed;
        right: 1rem;
        top: 14px;
        transform: none;
        z-index: 99;
    }

    .header section {
        gap: .5rem;
        position: relative;
        padding-right: calc(1rem + 44px);
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: var(--bg);
        border-bottom: var(--border);
        padding: .8rem 1rem 1.2rem;
        z-index: 98;
    }

    .header.nav-open .navbar {
        display: flex;
    }

    .header .navbar a {
        padding: .8rem 0;
        margin: .2rem 0;
        font-size: 1.6rem;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .header .navbar a:last-child {
        border-bottom: 0;
    }
}

.btn {
    background: var(--main-color);
    color: #FFFFFF;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
}

.content a:hover {
    background: #FFFFFF;
    color: var(--main-color);
}

.home-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home-container .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.home-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.home-container section {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100vh;
}

.home-container .content {
    max-width: 60rem;
}

.content h1,
.content h2 {
    margin-top: 7rem;
    color: #FFFFFF;
    font-size: 5rem;
}

.content p {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
}

.content {
    opacity: 0;
    /* comeÃƒÆ’Ã‚Â§a invisÃƒÆ’Ã‚Â­vel */
    transform: translateX(-100%);
    /* comeÃƒÆ’Ã‚Â§a fora da tela ÃƒÆ’Ã‚Â  esquerda */
    animation: slideIn 1.5s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        /* fica visÃƒÆ’Ã‚Â­vel */
        transform: translateX(0);
        /* posiÃƒÆ’Ã‚Â§ÃƒÆ’Ã‚Â£o final */
    }
}

@media screen and (max-width: 768px) {

    .content h1,
    .content h2 {
        margin-top: 50px;
        font-size: 3.2rem;
    }
}

@media (max-width: 480px) {

    .content h1,
    .content h2 {
        font-size: 2.6rem;
    }

    .content p {
        font-size: 1.6rem;
    }

    .btn {
        padding: 1.2rem 2.4rem;
        font-size: 1.6rem;
    }
}

.titulo {
    font-size: 3rem;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 3rem;
    padding-top: 5rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-out;
}

.titulo span {
    color: #FFFFFF;
}

.titulo.active {
    opacity: 1;
    transform: translateX(0);
}

.box {
    opacity: 0;
    transform: translateY(50px);
    /* comeÃƒÆ’Ã‚Â§a abaixo */
    transition: all 1.5s ease-out;
    /* velocidade da animaÃƒÆ’Ã‚Â§ÃƒÆ’Ã‚Â£o */
}

.box.active {
    opacity: 1;
    transform: translateY(0);
    /* posiÃƒÆ’Ã‚Â§ÃƒÆ’Ã‚Â£o final */
}

.areas-de-atuacao .box-container {
    width: 100%;
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;
    margin-bottom: 7rem;
}

@media screen and (max-width: 768px) {
    .areas-de-atuacao .box-container {
        gap: 24px;
    }
}

.areas-de-atuacao .box-container .box {
    background: var(--detail-color);
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: center;
    border: 0.4rem solid var(--border);
    padding: 5rem;
}

@media (max-width: 480px) {
    .areas-de-atuacao .box-container .box {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 3.2rem;
    }
}

.areas-de-atuacao .box-container .box h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    padding: 1rem 0;
}

.areas-de-atuacao .box-container .box:hover {
    background: var(--main-color);
}

.equipe {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.equipe .bg-img2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.equipe::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

/* Em telas menores, permitir que a seÃ§Ã£o cresÃ§a e nÃ£o oculte o texto */
@media (max-width: 980px) {
    .equipe {
        height: auto;
        overflow: visible;
    }

    /* Faz o fundo cobrir toda a altura do conteÃºdo da seÃ§Ã£o */
    .equipe .bg-img2 {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
    }

    .equipe::after {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
    }
}

@media (max-width: 600px) {
    .equipe .bg-img2 {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
    }

    .equipe::after {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
    }
}

/* Terceira seÃƒÂ§ÃƒÂ£o (Home) em 2 colunas: carrossel ÃƒÂ  esquerda, texto ÃƒÂ  direita */
.third-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem 10rem 4rem;
    position: relative;
    z-index: 1;
}

.third-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.third-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.third-right .content {
    max-width: 60rem;
    text-align: right;
}

.third-right .content h2 {
    color: #fff;
    font-size: 5rem;
    margin-top: 0;
}

.third-right .content p {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
    text-align: justify;
    text-align-last: left;
}

@media (max-width: 980px) {
    .third-grid {
        grid-template-columns: 1fr;
    }

    .third-right .content {
        text-align: center;
    }

    .third-right .content p {
        text-align: justify;
        text-align-last: left;
    }
}

@media (max-width: 600px) {
    .third-grid {
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .third-right .content h2 {
        font-size: 3rem;
    }

    .third-right .content p {
        font-size: 1.6rem;
    }
}

/* Garantir justificaÃƒÂ§ÃƒÂ£o do texto da terceira seÃƒÂ§ÃƒÂ£o (Home) sem alterar layout */
.third-right .content p {
    text-justify: inter-word;
}

.coluna-esquerda {
    display: flex;
    text-align: justify;
    float: left;
    width: 30%;
    font-size: 1.8rem;
    padding-left: 5rem;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 880px) {
    .coluna-esquerda {
        text-align: center;
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
        width: 100%;
        padding-bottom: 30px;
    }
}

.coluna-esquerda p {
    color: #FFFFFF;
}

.coluna-direita {
    display: flex;
    float: right;
    text-align: justify;
    width: 30%;
    font-size: 1.8rem;
    padding-right: 5rem;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 880px) {
    .coluna-direita {
        text-align: center;
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
        width: 100%;
    }
}

.coluna-direita p {
    color: #FFFFFF;
}


.equipe h2 {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
    margin-bottom: 30px;
}

.equipe h2.active {
    opacity: 1;
    transform: translateX(0);
}

.equipe p {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.5s ease-out;
    margin-bottom: 20px;
}

.equipe p.active {
    opacity: 1;
    transform: translateY(0);
}

/* ÃƒÂreas de AtuaÃƒÂ§ÃƒÂ£o: efeitos de entrada */
.corpo .box-conteudo h2 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.corpo .box-conteudo h2.active {
    opacity: 1;
    transform: translateY(0);
}

.area-widget .texto-coluna {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease-out;
}

.area-widget .imagem-coluna {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease-out;
}

.area-widget .texto-coluna.active,
.area-widget .imagem-coluna.active {
    opacity: 1;
    transform: translateX(0);
}

.corpo .box-conteudo {
    position: relative;
    max-width: 100%;
    height: 80vh;
    overflow: hidden;
}

@media(max-width: 800px) {
    .corpo .box-conteudo {
        height: 60vh;
    }
}

.corpo .box-conteudo .bg-img2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    z-index: -2;
}

.corpo .box-conteudo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.corpo .box-conteudo h2 {
    font-size: 3.5rem;
    color: #FFFFFF;
    text-align: center;
    justify-content: center;
    padding-top: 21rem;
    position: relative;
    z-index: 1;
}

.conteudo {
    background: var(--dark-bg);
}

.conteudo section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 5rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .conteudo section {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }
}

.corpo .texto {
    background: var(--contrast-color);
    padding: 3rem;
    margin: 0;
    flex: 1 1 420px;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
}

@media screen and (max-width: 1100px) {
    .conteudo section {
        padding: 3.5rem 2.5rem;
        justify-content: center;
    }
}

.corpo .texto p {
    font-size: 1.8rem;
    text-align: justify;
    color: #3D3D3D;
    margin: 0;
}

.corpo .texto h3 {
    font-size: 4rem;
    color: #3D3D3D;
}

.texto-coluna {
    flex: 70%;
}

.imagem-coluna {
    flex: 30%;
}

.imagem-coluna img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.corpo .texto strong {
    font-size: 3rem;
    color: #3D3D3D;
}

@media screen and (max-width: 640px) {
    .conteudo section {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }
}

.slider-16-9 {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    /* Reserva espaÃƒÆ’Ã‚Â§o para o slideshow (imagens posicionadas absolutamente)
       Altura do slide (90vh) + padding superior aplicado na imagem (9.5rem) */
    height: calc(90vh + 9.5rem);
    margin-bottom: 2rem;
    /* espaÃƒÆ’Ã‚Â§o abaixo do banner */
    overflow: hidden;
}

.slider-16-9 .slide {
    padding-top: 9.5rem;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    /* garante cobertura sem distorÃƒÂ§ÃƒÂ£o */
    opacity: 0;
    animation: fade 12s infinite;
}

@media screen and (max-width: 768px) {
    .slider-16-9 .slide {
        height: 70vh;
    }
}

.slider-16-9 .slide:nth-child(1) {
    animation-delay: 0s;
}

.slider-16-9 .slide:nth-child(2) {
    animation-delay: 4s;
}

.slider-16-9 .slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slider-16-9 .slide {
        animation: none;
        opacity: 1;
        position: static;
    }

    .slider-16-9 {
        display: grid;
    }
}

/* Se houver apenas uma imagem no banner do EscritÃƒÂ³rio, nÃƒÂ£o animar */
.slider-16-9 .slide:only-child {
    animation: none;
    opacity: 1;
    position: static;
}

@media (max-width: 768px) {
    .slider-16-9 {
        aspect-ratio: auto;
        height: calc(70vh + 9.5rem);
        /* em telas menores, usa o aspect-ratio */
        margin-bottom: 1.5rem;
    }
}

.corpo2 {
    background: var(--dark-bg);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    /* alinha topo dos filhos */
}

.corpo2>.conteudo2,
.corpo2>.address {
    margin-top: 60px;
    /* mesma altura inicial para os dois blocos */
}

.corpo2 .conteudo2 .escritorio {
    margin-bottom: 100px;
    margin-top: 0;
    /* alinhado pelo container pai */
    width: 520px;
    background: var(--contrast-color);
    border: 1rem solid var(--main-color);
    padding: 3rem;
}

@media screen and (max-width: 780px) {
    .corpo2 .conteudo2 .escritorio {
        margin-top: 80px;
        width: 350px;
        text-align: center;
        margin-bottom: 0;
    }
}

.corpo2 .conteudo2 .escritorio h2 {
    font-size: 2.5rem;
    text-align: center;
    padding-bottom: 1rem;
    color: var(--dark-bg);
}

.corpo2 .conteudo2 .escritorio p {
    text-align: justify;
    font-size: 2rem;
    color: #1F2937;
    /* texto mais escuro para maior contraste */
}

.corpo2 .address iframe {
    margin-top: 0;
    /* alinhado pelo container pai */
    width: 400px;
    height: 400px;
}

@media(max-width: 1150px) {

    .corpo2>.conteudo2,
    .corpo2>.address {
        margin-top: 30px;
        /* menor espaÃƒÂ§o no mobile */
    }

    .corpo2 {
        align-items: center;
        flex-direction: column;
    }

    .corpo2 .address iframe {
        margin-top: 0;
        /* alinhado pelo container pai */
        text-align: center;
        width: 350px;
        height: 320px;
        margin-bottom: 100px;
    }

    .escritorio {
        text-align: center;
    }
}

footer {
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

@media (max-width: 768px) {
    footer {
        gap: 24px;
    }
}

footer .rodape {
    min-height: 150px;
    padding: 10px;
}

footer .logo-rodape {
    margin-bottom: 1.5rem;
}

footer .rodape:nth-child(4) {
    width: 100%;
}

.rodape ul li {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin: 6px 0px;
    list-style: none;
}

@media (max-width: 480px) {
    .rodape ul li {
        font-size: 1.4rem;
    }
}

.rodape ul li a {
    color: #FFFFFF;
    text-decoration: none;
}

.rodape img {
    width: 1.5rem;
    vertical-align: middle;
}

.copy {
    background: rgba(0, 0, 0, 0.2);
    padding: 6px;
    color: #FFFFFF;
    text-align: center;
    align-items: center;
    width: 100%;
    font-size: 1.3rem;
}

@media(max-width: 870px) {
    footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    footer .rodape {
        width: 100%;
        min-height: 50px;
        padding: 0px;
    }

    footer .logo-rodape {
        margin-top: 6rem;
        width: 100%;
        min-height: 50px;
    }

    .copy {
        margin-top: 7rem;
    }

    footer .rodape:nth-child(4) {
        width: 100%;
    }
}

.voltar a {
    color: #FFFFFF;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.voltar {
    margin: 10px 10px;
}

.voltar img {
    width: 16px;
}

.voltar {
    /* empurra abaixo do header fixo */
    margin: 7rem 0 0 1rem;
}

.voltar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.voltar a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .voltar {
        margin: 6rem 0 0 1rem;
    }
}

.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8.5rem;
    /* afasta do header fixo */
}

.form {
    max-width: 1280px;
    padding: 0 4%;
}

/* Ajuste fino da seta fora do container, alinhada ÃƒÆ’Ã‚Â  altura atual do tÃƒÆ’Ã‚Â­tulo */
.voltar {
    margin: calc(8.5rem + 16px) 0 0 1rem;
}

@media screen and (max-width: 768px) {
    .voltar {
        margin: calc(7rem + 16px) 0 0 1rem;
    }
}

form {
    background-color: #FFFFFF;
    max-width: 540px;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) {
    form {
        padding: 24px;
    }
}

@media screen and (max-width: 768px) {
    .form-container {
        margin-top: 7rem;
    }
}

/* Posiciona a seta de voltar dentro do formulÃƒÆ’Ã‚Â¡rio da pÃƒÆ’Ã‚Â¡gina de contato */
#contact-form {
    position: relative;
}

#contact-form .back-link {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    z-index: 120;
}

#contact-form .back-link:hover {
    text-decoration: underline;
}

#contact-form .back-link img {
    width: 16px;
}

form h1 {
    text-align: center;
    font-size: 30px;
    color: var(--dark-bg);
}

form p {
    text-align: center;
    margin: 18px 0px;
    font-size: 13px;
    color: #000000;
}

input::placeholder {
    color: transparent;
    font-size: 11px;
}

input:focus::placeholder {
    color: #999;
    font-size: 12px;
}

.input1 {
    position: relative;
    margin: 20px 0;
}

.input1 label {
    position: absolute;
    left: 12px;
    top: 14px;
    transition: all 0.2s ease;
    cursor: text;
    color: #475569;
    background: transparent;
}

.input-caixa {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px 14px 14px 12px;
    font-size: 15px;
    outline: 0;
    background: #f8fafc;
    color: #0f172a;
}

textarea.input-caixa {
    min-height: 120px;
    resize: vertical;
}

label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.input2 span {
    font-size: 12px;
    display: block;
}

.input3 span {
    padding-top: 1px;
    padding-bottom: 5px;
}

.input3 {
    margin: 10px 0px;
    font-size: 12px;
    padding-bottom: 18px;
}

form .input1 .input-caixa:focus~label,
form .input1 .input-caixa:valid~label {
    transform: translateY(-28px);
    font-size: 12px;
    color: var(--dark-bg);
}

.botao {
    width: 100%;
    text-align: center;
}

form input[type=submit] {
    padding: 12px 24px;
    border-radius: 10px;
    border: 0;
    background-color: var(--dark-bg);
    color: #FFFFFF;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
}

@media (max-width: 480px) {
    form input[type=submit] {
        padding: 14px 24px;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.form label,
.input2 span,
.input3 span,
.form select {
    color: #000000;
}

.noticias-wrapper {
    padding: 9rem 4rem 5rem;
    /* aproxima do cabeÃƒÂ§alho e reduz espaÃƒÂ§o inferior */
    max-width: 1200px;
    margin: 0 auto;
    color: #ffffff;
}

.noticias-hero {
    text-align: center;
    margin-bottom: 1rem;
    /* aproxima ainda mais dos cards */
}

.noticias-hero h1 {
    font-size: 3.2rem;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
}

.noticias-hero p {
    font-size: 1.6rem;
    color: #cbd5f5;
}

.noticias-vazia {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.noticias-vazia h2 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

.noticias-vazia p {
    font-size: 1.6rem;
    color: #e0e7ff;
}

.noticias-loading,
.noticias-erro {
    text-align: center;
    font-size: 1.6rem;
    padding: 4rem 2rem;
    color: #f8fafc;
}

.noticias-erro {
    color: #fbbf24;
}

.noticias-lista {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.noticia-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

/* Listagem em 2 colunas: miniatura + texto */
.noticia-card-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 480px) {
    .noticia-card-grid {
        grid-template-columns: 1fr;
    }
}

.noticia-thumb {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 0;
    border: 1px solid rgba(226, 232, 240, 0.3);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.04);
}

.noticia-thumb.placeholder {
    width: 220px;
    height: 160px;
    border-radius: 10px;
    border: 1px dashed rgba(226, 232, 240, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.noticia-imagem-detalhe {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    margin: 1rem 0;
    border: 1px solid rgba(226, 232, 240, 0.2);
}


.noticias-back {
    margin-bottom: 1.2rem;
}

.noticias-back a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.6rem;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.noticias-back a:hover {
    text-decoration: underline;
}

/* Detalhe da notÃƒÂ­cia: centraliza e amplia o tÃƒÂ­tulo */
.noticia-card.noticia-detalhe header {
    display: block;
    text-align: center;
}

.noticia-card.noticia-detalhe h2 {
    text-align: center;
    font-size: 3rem;
    margin: 0 auto 0.2rem auto;
}

@media (max-width: 480px) {
    .noticia-card.noticia-detalhe h2 {
        font-size: 2.4rem;
    }
}

.noticia-card.noticia-detalhe .noticia-data {
    display: block;
    text-align: right;
    margin-top: 0.3rem;
}

.noticia-card.noticia-detalhe .noticia-resumo {
    margin-bottom: 2rem;
    text-align: justify;
}

.noticia-card header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.noticia-card h2 {
    font-size: 2.4rem;
    color: #f8fafc;
}

.noticia-data {
    font-size: 1.4rem;
    color: #cbd5f5;
    /* Alinhar a data Ã  direita em cards de lista e detalhe */
    display: block;
    text-align: right;
    margin-left: auto;
}

.noticia-resumo {
    font-size: 1.6rem;
    color: #e0e7ff;
    margin-bottom: 1.5rem;
    /* Justificar o texto do resumo em lista e detalhe */
    text-align: justify;
}

.noticia-conteudo {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #f1f5f9;
    white-space: pre-wrap;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .noticias-wrapper {
        padding: 8rem 2rem 4rem;
        /* aproxima no mobile tambÃƒÂ©m */
    }

    .noticia-card {
        padding: 2.4rem;
    }

    .noticia-card-grid {
        grid-template-columns: 1fr;
    }
}

.conteudo .area-widget {
    padding: 0;
    /* Reset padding from parent */
    width: 100%;
}

.area-widget .widget-content {
    background: var(--contrast-color);
    padding: 3rem;
    margin: 0 5rem;
    /* Keep the side margins */
    display: flex;
    flex-direction: row;
    gap: 8rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    align-items: stretch;
}

.area-widget .texto-coluna {
    flex: 70%;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.area-widget .texto-coluna h3 {
    font-size: 4rem;
    color: #3D3D3D;
    margin-bottom: 1.5rem;
    /* Add some space below the title */
}

.area-widget .texto-coluna p {
    font-size: 1.8rem;
    text-align: justify;
    color: #3D3D3D;
    margin: 0;
    line-height: 1.8;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.area-widget .imagem-coluna {
    flex: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Evita exibir artefatos de texto (ex.: \n) por quebras/indentação no HTML */
    font-size: 0;
}

.area-widget .imagem-coluna img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive adjustments */
@media screen and (max-width: 1100px) {
    .area-widget .widget-content {
        margin: 0 2.5rem;
    }
}

@media screen and (max-width: 880px) {
    .area-widget .widget-content {
        flex-direction: column;
        gap: 2rem;
    }

    .area-widget .texto-coluna {
        flex: 1;
        /* Take full width */
    }

    .area-widget .imagem-coluna {
        flex: 1;
        /* Take full width */
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .area-widget .widget-content {
        margin: 0 1.5rem;
        padding: 2rem;
    }

    .area-widget .texto-coluna h3 {
        font-size: 3rem;
    }

    .area-widget .texto-coluna p {
        font-size: 1.6rem;
    }
}




/* Ajustes especÃƒÂ­ficos: texto do card do EscritÃƒÂ³rio */
.corpo2 .conteudo2 .escritorio p {
    font-size: 2.2rem !important;
    color: #1F2937 !important;
    /* cinza-azulado escuro, alto contraste */
    text-align: justify !important;
    line-height: 1.75;
}

/* Garante estilo tambÃƒÂ©m quando o conteÃƒÂºdo ÃƒÂ© injetado sem <p> explÃƒÂ­cito */
.corpo2 .conteudo2 .escritorio .escritorio-text {
    font-size: 2.2rem !important;
    color: #1F2937 !important;
    text-align: justify !important;
    line-height: 1.75;
}

/* Banner de aviso na Home (overlay) */
.alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.alert-dialog {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .35);
    padding: .4rem;
    max-width: 90vw;
    max-height: 85vh;
}

.alert-dialog img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .alert-dialog {
        max-width: 1200px;
    }
}

.alert-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

/* Carrossel quadrado da terceira seÃƒÂ§ÃƒÂ£o (Home) */
.third-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
    margin-top: 1rem;
}

.third-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: thirdFade 12s infinite;
}

.third-slide:nth-child(1) {
    animation-delay: 0s;
}

.third-slide:nth-child(2) {
    animation-delay: 4s;
}

.third-slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes thirdFade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .third-slide {
        animation: none;
        opacity: 1;
        position: static;
    }

    .third-carousel {
        display: grid;
    }
}

/* Evitar cortes no mobile: mostrar a imagem inteira dentro do carrossel */
@media (max-width: 980px) {
    .third-slide {
        object-fit: contain;
        background: transparent;
    }
}

/* Reduz a altura percebida do carrossel no mobile para exibir tambÃ©m o texto */
@media (max-width: 980px) {
    .third-carousel {
        max-width: 520px;
        aspect-ratio: 4 / 5;
        max-height: 70vh;
    }
}

@media (max-width: 600px) {
    .third-carousel {
        max-width: 420px;
        aspect-ratio: 3 / 4;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .third-carousel {
        max-width: 360px;
        aspect-ratio: 3 / 4;
        max-height: 56vh;
    }
}