html, body {
    overflow-x: hidden !important;
}

body {
    font-family: "Archivo", sans-serif;
    color: #333;
    background-color: #f7f6f4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-align: left;
}

.navbar {
    padding: 0;
    position: relative;
    border-bottom: none;
    margin-bottom: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.navbar .container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ccc;
    width: calc(100% - 240px);
    margin: 0 auto;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.navbar .nav-link:hover {
    color: #d2a440 !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.btn-login {
    background-color: #275580;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 20px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 20px;
}
.btn-login i {
    color: #d2a440;
    margin-right: 10px;
    transition: color 0.3s;
}

.btn-login:hover {
    background-color: #d2a440;
    color: #275580;
}

.btn-login:hover i {
    color: #275580;
}

.hero-section {
    position: absolute;
    background-size: cover;
    height: 130vh;
    margin-top: -500px;
    margin-bottom: 600px; 
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


.hero-subtitle {
    margin-left: 35%;
    position: relative;
    top: -30px;
}

.hero-section::before, .grade-section::before {
    content:'';
    position:absolute;
    inset: 0;
    background: rgba(50, 50, 50, 0.6);
    z-index: 1;
    height: 100%;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
}

.hero-section .display-4 {
    font-size: 3rem;
    line-height: 1.2;
}

.cta-box .small-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
}

.btn-primary-cta {
    background-color: #d2a440;
    border-color: #d2a440;
    color: #fff;
    font-weight: 700;
    padding: 10px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary-cta:hover {
    background-color: #b99139;
    border-color: #b99139;
}

.section-title {
    color: #275581;
    font-weight: 700;
}

.story-title {
    color: #070a3d;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quem-somos a {
    color: #d2a440;
    text-decoration: none;
    font-weight: 700;
}
.quem-somos a:hover {
    text-decoration: underline;
    color: #b99139;
}

.card-img-top {
    height: 400px; /* Aumenta a altura da imagem */
    object-fit: cover;
    width: 100%; /* Garante que a imagem ocupe toda a largura do card */
}

.card-title {
    color: #275581;
    font-weight: 700;
    font-size: 1.25rem;
}

.grade-section {
    position: relative;
    background: url('../images/fundinho.jpeg') no-repeat center center;
    background-size: cover; 
}

.grade-section .container {
    position: relative;
    z-index: 2;
}

.grade-main-title {
    font-weight: 500;
    font-family: "Archivo", sans-serif;
    font-size: 46px;
}

.grade-subtitle {
    font-weight: 700;
    border-bottom: 3px solid #d2a440; 
    display: inline-block;
    padding-bottom: 5px;
    letter-spacing: 2px;
}

.grade-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    height: 100%;
}

.grade-buttons {
    transform: translateX(-5%);
}

.grade-card h4 {
    color: #d2a440;
    margin-bottom: 15px;
}
html {
    scroll-behavior: auto !important;
}
/*
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #FFFFFF;
}

.navbar .nav-link { color: #fff !important; }
*/
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    padding-top: 100px;
}
.hero-section .container { position: relative; z-index: 2; color: #fff; }

.display-hero-title { font-family: 'Playfair Display', serif; color:#fff; font-weight:700; }

.highlight-box {
    background: #d2a440; 
    color: #0b0b0b;
    position: absolute;
    left: 0;
    bottom: -15%;
    width: 1040px;
    height: 320px;
    padding: 2rem; 
    padding-left: calc((100vw - 1140px) / 2 + 1rem); 
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 4;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
    justify-content: flex-start;
    text-align: left; 
    flex-direction: column;
}

.highlight-box p {
    padding-left: 600px !important;
    padding-right: 100px !important;
}

.highlight-box p:nth-child(1) {
    font-size: 1.25rem; 
    line-height: 1.6; 
    margin: 0; 
    justify-content: center;
    text-align: left;
    padding-left: 400px;
    margin-right: 0px;
    padding-top: 40px; 
    font-family: "Archivo", sans-serif;
    position: relative; 
}

.highlight-box p:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 20px; 
    left: 600px; 
    width: 100px; 
    height: 2px; 
    background-color: #fff;
}

.highlight-box p:nth-child(2) {
    font-size: 1.25rem; 
    line-height: 1.6; 
    margin: 0; 
    justify-content: center;
    text-align: left;
    align-items: flex-start;
    padding-left: 400px;
    margin-right: 430px;
    padding-top: 20px;
    white-space: nowrap;
    font-family: "Archivo", sans-serif;
    color: #FFFFFF;
    letter-spacing: 1px;
    font-weight: 600;
}

.cta-box {
    position: absolute;
    right: 0;
    bottom: -71.7%;
    width: 1750px;
    height: 600px;
    padding: 2rem;
    padding-right: calc((100vw - 1140px) / 2 + 2rem);
    background: #275581;
    border-top-left-radius: 5px;
    color: #fff;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-box h2 { 
    font-family: "Archivo", sans-serif; 
    font-weight:700; 
    font-size: 36px; 
    margin-bottom: 1rem; 
    padding-left: 100px;
}

.btn-primary-cta {
    background-color: #d2a440;
    border-color: #d2a440;
    color: #275581;
    font-family: "Archivo", sans-serif;
    font-size: 46px;
    width: fit-content;
    font-weight: 300;
    margin-left: 100px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.cta-box .small-text {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-top: 2rem;
    padding-left: 100px;
    text-align: left;
    padding-right: 400px;
}

.section-title, .story-title { 
    color: #275581; 
    font-family: "Archivo", sans-serif; 
    width: 100%; 
    font-size: 42px;
    font-weight: 400;
}

.card { border: none; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.card-img-top { height: 180px; object-fit: cover; }

.grade-section { 
    background-attachment: fixed; 
    background-size: cover; 
    position: relative; 
}
.grade-section::before { 
    content:'';
    position:absolute; 
    inset:0; 
    background: rgba(38, 58, 91, 0.75);
    z-index:1; 
}
.grade-section .container { 
    position: relative; 
    z-index: 2; 
}

#subscribeForm .form-control { 
    border-radius: 0; 
}

footer { font-size: 14px; }

.navbar.sticky-top {
    top: 38px; 
    transition: top 0.3s;
}

.footer-section {
    background-color: #070a3d;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0 0;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact-list i {
    color: #d2a440;
    margin-right: 15px;
    width: 20px;
}

.footer-social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 20px;
    transition: color 0.3s;
}

.footer-social-icons a:hover {
    color: #d2a440;
}

.footer-social-icons a i {
    font-size: 2rem;
}


.copyright-bar {
    background-color: #070a3d;
    color: rgba(255, 255, 255, 0.6);
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.8rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.language-switcher a {
    color: #fff;
    text-decoration: none;
    padding: 2px 6px;
    margin: 0 3px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}
.language-switcher a.active {
    background-color: rgba(255,255,255,0.2);
}

@media (max-width: 991px) {
    .language-switcher {
        justify-content: center; /* Centraliza os botões no menu mobile */
    }
}

.footer-logo {
    width: 250px;
    height: auto;
}

@media (max-width: 767px) {
    .footer-logo {
        width: 200px;
    }
}

.main-header {
    top: 0;
    left: 0;
    position: relative;
    width: 100%;
    z-index: 10;
}

.logo {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    
}

.navbar-nav .nav-link:hover {
    color: #cccccc;
}

.hero-content {
    position: relative;
    z-index: 2;
    align-items: center;
}

@media (max-width: 991px) {
    .main-header {
        position: relative;
        background-color: rgba(0, 21, 41, 0.9);
    }
    .navbar {
        background-color: transparent;
        border-bottom: none;
        margin-bottom: 0; 
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%; 
        left: auto;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #275581;
        padding: 0;
        transition: right 0.3s ease-in-out;
        z-index: 1040;
        display: flex;
        flex-direction: column;
    }
    .navbar-collapse.show {
        right: 0;
    }
    .menu-header {
        padding: 1rem;
        display: flex;
        justify-content: flex-end;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .btn-close-menu {
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
        border: 0;
        border-radius: .25rem;
        opacity: 0.8;
        padding: 0.5rem;
        cursor: pointer;
    }
    .btn-close-menu:hover {
        opacity: 1;
    }
    .navbar-nav {
        padding: 1rem;
    }
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-title {
        white-space: nowrap;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        font-size: 32px !important;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        white-space: nowrap;
        margin-left: auto;
        margin-right: auto;
        position: static; 
        margin-bottom: 0;
        text-align: center;
        padding-bottom: 0;
        font-size: 26px !important;
        margin-top: -10px;
    }

    .login-item-mobile {
        margin-top: auto;
        padding: 1rem;
    }
    .btn-login {
        width: 100%;
        padding: 15px;
        text-align: center;
    }

    .hero-section {
        position: relative !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #f7f6f4;
    }

    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        object-fit: cover;
        height: 50vh !important;
        min-height: 300px;
        max-height: 400px;
        z-index: 1 !important; /* Bring it above the parent's background */
    }

    .hero-section::before {
        height: 50vh !important;
        min-height: 300px;
        max-height: 400px;
        z-index: 2 !important; /* Overlay on top of video */
    }

    .hero-content-wrapper {
        display: block !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative; /* Create stacking context */
        z-index: 3; /* Content on top of video and overlay */
    }

    /* The container for the title */
    .hero-section .hero-content-wrapper .container {
        min-height: 50vh; /* Match the video height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 4rem;
        padding-bottom: 0;
    }

    .highlight-box {
        position: relative !important;
        width: 90% !important;
        height: auto !important;
        padding: 2rem !important;
        border-radius: 0 !important;
        margin: -1px auto 0 0 !important; /* Aligns LEFT, space on right, NO bottom margin */
    }

    .cta-box {
        position: relative !important;
        width: 90% !important;
        height: auto !important;
        padding: 2rem !important;
        border-radius: 0 !important;
        margin: 0 0 0 auto !important; /* Aligns RIGHT, space on left */
    }

    .highlight-box p, .cta-box h2, .cta-box .small-text {
        padding: 0 1rem !important;
        margin: 0 !important;
        text-align: center !important;
        white-space: normal !important; 
    }

    .highlight-box p:nth-child(1) {
        padding-top: 2rem !important; 
        margin-top: 3rem !important; 
    }

    .highlight-box p:nth-child(1)::before {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .btn-primary-cta {
        margin: 2rem 0 !important;
    }

    .btn-primary-cta {
        font-size: 2rem;
    }
}

.hero-section h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    position: relative;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}


.btn-login {
    border-radius: 0 !important;
    border: 0 !important;
}

.navbar .nav-link {
    font-size: 1.2rem;
    font-family: "Archivo", sans-serif;
    text-transform: none !important;
    font-weight: 200 !important;
}

.modal .animate__animated {
    --animate-duration: 0.5s; 
}

.btn-modal-submit {
    width: 100%;
    max-width: 420px;
    height: auto;
    white-space: normal;
    font-size: 1.25rem !important; 
}

.modal-content {
    background-color: #f8f9fa;
    border: none;
    border-radius: 5px;
}

.modal-header {
    background-color: #275581;
    color: #fff;
    border-bottom: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
}

.modal-body {
    padding: 2rem;
}

.hero-subtitle {
    font-size: 56px;
    font-weight: 400;
    font-family: "Archivo", sans-serif;
    font-style: italic;
}

.mobile-only {
    display: none !important;
}


.modal-body .form-label {
    color: #333;
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        margin-bottom: -300px;
    }

    .cta-box {
        top: 100%;
        right: 0%;
        width: 90%;
    }  

    .highlight-box {
        top: 85%;
        width: 60%;
    }

    .highlight-box p {
        padding-left: 0;
        margin-left: -300px !important;
    }

    .highlight-box p:nth-child(2) {
        margin-left: -130px !important;
    }
    .cta-box h2 {
        padding-top: 160px;
    }

    .cta-box p {
        font-size: 1.15rem !important;
        margin-right: 5px;
    }

    .hero-title {
        align-items: center;
        left: 0;
        right: 0;
        margin-left: 180px;
    }

    .hero-subtitle {
        align-items: center;
        left: 0;
        right: 0;
        margin-left: 180px;
    }
}

@media (min-width: 992px) {
    .menu-header {
        display: none;
    }
}

@media (min-width: 1441px) {
    .highlight-box {
        left: 0;
        width: 55%;
        max-width: 1040px;
        padding-left: calc((100vw - 1140px) / 2 + 2rem);
    }

    .cta-box {
        width: 90%;
        right: 0;
        top: 100%;
    }

    .hero-subtitle {
        font-size: 86px !important;
    }

    .hero-title {
        font-size: 86px !important;
    
    }
}

@media (min-width: 1435px) {
        .highlight-box {
        left: 0;
        width: 55%;
        max-width: 1040px; 
        padding-left: calc((100vw - 1140px) / 2 + 2rem); 
    }

    .cta-box {
        width: 90%;
        right: 0;
        top: 100%;
    }

    .cta-box h2 {
        padding-top: 210px;
    }

    .hero-subtitle {
        font-size: 86px !important;
        left: 1%;
    }

    .hero-title {
        font-size: 86px !important;
        left: 1%;
    }
}

/* --- Seção de Mapa e Links (Nova Estrutura) --- */
.map-and-links-section {
    display: flex;
    gap: 2rem;
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.map-column {
    flex: 2; /* Ocupa 2/3 do espaço */
    display: flex;
    flex-direction: column;
}

.map-container {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.map-container iframe {
    border-radius: 5px;
}

.location-title {
    text-align: center;
    margin-top: 1.5rem;
}

.location-title h2 {
    font-family: "Archivo", sans-serif;
    color: #275581;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.location-title p {
    font-size: 1.1rem;
    color: #275581;
}

.links-column {
    flex: 1; /* Ocupa 1/3 do espaço */
    padding-left: 2rem;
    border-left: 1px solid #eee;
}

.links-group {
    margin-bottom: 2.5rem;
    flex: 1;
}

.links-group h3 {
    font-family: "Archivo", sans-serif;
    color: #275581;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
    display: inline-block;
}

.links-group ul {
    list-style: none;
    padding: 0;
}

.links-group ul li {
    margin-bottom: 0.75rem;
}

.links-group ul li a {
    color: #275581;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.links-group ul li a:hover {
    color: #d2a440; /* Mantém o hover amarelo */
    padding-left: 5px;
}

@media (max-width: 991px) {
    .map-and-links-section {
        flex-direction: column;
        text-align: center;
    }
    .location-title {
        padding-left: 0;
    }
    .links-column {
        padding-left: 0;
    border-left: none;
        margin-top: 3rem;
    }
    .links-group h3 {
        display: block;
    }
}

/* --- Estilos para Páginas de Conteúdo Interno --- */
.page-container {
    padding-top: 20px; /* Ajustado para dar espaço ao breadcrumb */
    padding-bottom: 60px;
    min-height: 60vh;
}

.page-header-custom {
    border-bottom: 2px solid #275581;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.page-header-custom h1 {
    font-family: "Archivo", sans-serif;
    font-size: 2.8rem; 
    color: #275581;
    font-weight: 700;
    margin: 0;
}

.page-content-custom p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}



/* --- Estilos para Página de Contato --- */
.contact-page-content {
    padding: 30px 0;
}

.contact-info-block .contact-details {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.contact-info-block .contact-details p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact-info-block .contact-details i {
    color: #275581;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.contact-social-icons {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #275581;
    color: #fff;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-social-icons a i {
    font-size: 20px;
}

.contact-social-icons a:hover {
    background-color: #d2a440;
    transform: translateY(-3px);
}

.contact-social-icons a .fa-facebook-f{
    transform: translateY(-25%);
}



.contact-form-container {
    background-color: #f7f6f4;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contact-form-container h3 {
    font-family: "Archivo", sans-serif;
    color: #275581;
    margin-bottom: 2rem;
    text-align: center;
}

/* --- Sidebar de Navegação --- */
.sidebar-nav {
    background-color: #f7f6f4;
    padding: 20px;
    border-radius: 5px;
    height: 100%;
}

.sidebar-links-group {
    margin-bottom: 2rem;
}

.sidebar-links-group:last-child {
    margin-bottom: 0;
}

.sidebar-links-group h4 {
    font-family: "Archivo", sans-serif;
    color: #275581;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #d2a440;
    padding-bottom: 0.5rem;
}

.sidebar-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links-group li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar-links-group li a:hover {
    background-color: #e9ecef;
    color: #275581;
}

.sidebar-links-group li.active a {
    background-color: #275581;
    color: #fff;
    font-weight: bold;
}

/* --- Breadcrumb --- */
.breadcrumb-container {
    background-color: #f1f4f7;
    padding: 1rem 0;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: #275581;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #d2a440;
}

/* --- Banner de Destaque para Páginas de Conteúdo --- */
.page-banner-featured {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.page-banner-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Sobreposição escura */
    z-index: -1;
}

.page-banner-featured h1 {
    font-family: "Archivo", sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

/* --- Estilo para o cabeçalho das páginas internas --- */
.header-internal-bg {
    position: relative;
    color: #fff;
    padding-bottom: 2rem; /* Aumenta a altura do cabeçalho */
    z-index: 1;
}

.header-internal-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/background.jpg') no-repeat center center; 
    background-size: cover;
    filter: brightness(0.4);
    z-index: -1;
}

.header-internal-bg .navbar {
    margin-bottom: 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3); /* Igual à borda da home */
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* --- Estilos para o Modal de Notícias (Novo Design) --- */
#newsModal .modal-content {
    overflow: hidden; /* Garante que os cantos arredondados da imagem funcionem */
    border: none;
}

#newsModal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    z-index: 10;
    background-color: transparent;
    padding: 1rem;
}

#newsModal .modal-body {
    padding: 0;
}

.modal-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: var(--bs-modal-border-radius);
    border-bottom-left-radius: var(--bs-modal-border-radius);
}

.modal-news-content {
    padding: 2.5rem;
}

.modal-news-content .modal-title {
    font-family: "Archivo", sans-serif;
    color: #275581;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-news-content p {
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .modal-news-image {
        height: 200px; /* Altura fixa para a imagem no mobile */
        width: 100%;
        border-radius: var(--bs-modal-border-radius) var(--bs-modal-border-radius) 0 0;
    }
    .modal-news-content {
        padding: 1.5rem;
    }
}

/* Estilo para o link "Veja aqui!" dentro do modal de notícias */
.modal-news-content .read-more-link {
    color: #d2a440;
    font-weight: 700;
    text-decoration: none;
}
.modal-news-content .read-more-link:hover {
    color: #b99139;
    text-decoration: underline;
}






.new-footer {
    background-color: #212529;
    color: #f8f9fa;
    font-size: 0.9rem;
}

.new-footer a {
    color: #f8f9fa;
    text-decoration: none;
}

.new-footer a:hover {
    text-decoration: underline;
}

.footer-top {
    padding: 1rem 0;
    border-bottom: 1px solid #343a40;
}

.copyright-text {
    margin: 0;
    color: #adb5bd;
    font-size: 0.8rem;
    white-space: normal; /* Ensure text wrapping */
}

.footer-menu {
    list-style: none;
    padding: 1rem 1.5rem; /* Increased padding */
    margin: 0 auto; /* Center the menu */
    display: inline-flex;
    align-items: center;
    border-left: 1px solid #495057;
    border-right: 1px solid #495057;
    position: relative;
    top: -10px; /* Move it up */
    padding-right: 150px !important;
    padding-left: 150px !important;
}

@media (min-width: 992px) {
    .footer-menu-container {
        white-space: nowrap;
        padding-top: 30px;
        margin-left: -140px;
        padding-left: 30px;
        margin-right: 80px;
    }
}

.footer-menu li {
    margin: 0 0.75rem;
}

.footer-social-icons a {
    font-size: 1.2rem;
    margin-left: 1rem;
}

.footer-social-icons a:first-child {
    margin-left: 0;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-logo {
    width: 120px;
    margin-right: 1.5rem;
}

.footer-bottom-text {
    color: #adb5bd;
    font-size: 0.85rem;
}

.disclaimer-text {
    color: #6c757d;
    font-size: 0.75rem;
}

.grade-buttons .btn-primary-cta {
    transition: transform 0.3s ease;
}

.contact-social-icons a .fa-facebook-f{
    transform: translateY(-25%);
}