@import url('https://fonts.googleapis.com/css2?family=Comico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

@font-face {
    font-family: 'Comico';
    src: url('../fonts/Comico-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Encode Sans';
    src: url('../fonts/EncodeSans-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ruddy Bold';
    src: url('../fonts/fonnts.com-Ruddy_Bold.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Ruddy Regular';
    src: url('../fonts/fonnts.com-Ruddy_Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Encode Sans Bold';
    src: url('../fonts/EncodeSans-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Fredoka';
    src: url('../fonts/Fredoka-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fredoka Bold';
    src: url('../fonts/Fredoka-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --cor: #034ea2;
    --cor2:#ffcc29;
    --titulos: 'Ruddy Bold', 'Arial', sans-serif;
    --textos1: 'Fredoka', 'Arial', sans-serif;
    --textos2: 'Encode Sans', 'Arial', sans-serif;
    --textos3: 'Ruddy Bold', 'Arial', sans-serif;
}

body {
    font-family: var(--titulos);

}

/* Header Styles */
.headerof {
    background-color: #4369A7;
    font-family: var(--titulos);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    transition: background-color 0.3s ease;
    z-index: 100;

}



/* Classe para quando a página for rolada */
.header-scrolled {
    background-color: rgba(38, 110, 204, 0.6);
    /* Menos opacidade */
    transition: background-color 0.5s ease;
    backdrop-filter: blur(10px);
    height: 60px;
}

.header-scrolled img {
    width: 75%;
    padding: 0;

}

.header-scrolled li a {
    margin-bottom: 5px;
    padding-bottom: 0;
}

/*--------*/
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;

    align-items: center;

}

.nav-container {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0px;
    transition: opacity 0.3s ease;
    padding-right: 5px;
    padding-bottom: 5px;


}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero {
    background: #EEF0F6;

    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 1200px;
    
    margin: 0 auto;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    
    gap: 20px;
    align-items: center;
    
}

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

.badge {
    background-color: var(--cor);
    border: none;
    border-radius: 4px;
    padding: 8px 50px;
    display: inline-flex;
    align-items: center;
    font-family: var(--textos2);
    gap: 8px;
    margin-bottom: 30px;
    font-size: 24px;
    color: #fff;
}

.hero-phrase{
    padding-left: 40px;
    margin-top: 5px;
    margin-bottom: 40px;
}


.hero-subtitle {
    font-size: 32px;
    font-family: 'Ruddy Bold';
    color: var(--cor);
    
    
}
.hero-subtitle2 {
    font-size: 32px;
    font-family: 'Ruddy Regular';
    color: var(--cor);
    
    

}

.cta-button {
    background-color: var(--cor2);
    color: var(--cor);
    padding: 10px 100px 10px 100px;
    border: none;
    border-radius: 4px;
    font-size: 28px;
    font-family: var(--textos1);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}


/* === ALTERAÇÕES PARA HOVER DA IMAGEM === */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* NOVO: Container para controlar o hover */
.hero-image .image-container {
    position: relative;
    overflow: hidden;
    border: none;
    width: 700px;
    height: 640px;
    transition: transform 0.3s ease;
    /* NOVO: Transições suaves */

    /* NOVO: Responsivo */
}

/* NOVO: Efeito de elevação no hover */
.hero-image .image-container:hover {

    transform: translateY(-2px);
    /* NOVO: Move imagem para cima */

}

/* MODIFICADO: Tamanho e posicionamento fixos para ambas as imagens */
.hero-image img {
    width: 100%;
    /* NOVO: Largura total do container */
    height: 100%;
    /* NOVO: Altura total do container */
    object-fit: contain;
    /* NOVO: Mantém proporção sem distorção */
    object-position: center;
    /* NOVO: Centraliza a imagem */
    display: block;
    transition: opacity 0.6s ease;
    /* NOVO: Transição suave entre imagens */
}

/* NOVO: Estilo para imagem de hover */
.hero-image .image-hover {
    position: absolute;
    top: 0;
    /* NOVO: Posicionamento absoluto */
    left: 0;
    /* NOVO: Posicionamento absoluto */

    opacity: 0;
    /* NOVO: Invisível por padrão */
    transition: opacity 0.8s ease-in-out;
    /* NOVO: Transição suave */
    object-fit: contain;
    /* NOVO: Mesmo comportamento de redimensionamento */
    /* NOVO: Centralização igual */
}

/* NOVO: Mostra imagem de hover ao passar mouse */
.hero-image .image-container:hover .image-hover {

    opacity: 1;
    /* NOVO: Torna visível no hover */
}

/* NOVO: Esconde imagem padrão no hover */
.hero-image .image-container:hover .image-default {
    opacity: 0;
    /* NOVO: Torna invisível no hover */
}

/* === FIM DAS ALTERAÇÕES PARA HOVER === */

/* Grandes Conquistas */

.conquistas .fade {
    background: url("/src/img/fade.svg");
    min-height: 60px;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.conq-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.conq-container h1 {
    margin: 5px;
    font-family: var(--titulos);
    padding-bottom: 5px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #164D9C;


}

.conq-container .des {
    display: flex;
    font-family: var(--textos2);
    padding-bottom: 30px;
    text-align: center;
    align-items: center;
    justify-content: space-around;
}

/* botão ver mais */
.conquistas .btn {
    display: flex;
    align-items: center;
    justify-content: center;


}

.conquistas .btn a {
    margin: 40px;
    background: #FFD400;
    border: none;

    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;


    width: 349px;
    height: 63px;


    text-decoration: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}


.conquistas .btn a p {
    font-family: "Fredoka", 'Arial', sans-serif;
    font-weight: 600;
    color: #090965;
    font-size: 22px;

}



/* Carrossel de imagens */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    /* ou 100% * número de slides */
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* isso garante centralização vertical também */

    box-sizing: border-box;
}

.carousel-slide picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    max-width: 80%;
    height: auto;

    margin: 0 auto;
    object-fit: cover;
}

/* Botões */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffffcc;
    border: none;
    font-size: 2rem;
    padding: 5px 15px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}


/* Responsivo */
@media (max-width: 840px) {
    .carousel-slide {
        height: 100%;
    }

    .carousel-slide img {
        max-width: 90%;
    }
}




/* Inscrições */
.ins {
    margin: 0;
    padding: 0;
    background-color: var(--cor);
    text-align: center;
}

.fadeblue {
    background: url("/src/img/fadeblue.svg");
    min-height: 60px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.txt {
    background-color: var(--cor);
    align-items: center;
    justify-content: space-around;

    text-align: center;
}

.ins h1 {
    font-size: 50px;
    font-family: var(--textos3);
    padding-top: 70px;
    font-weight: bold;
    color: #fff;
}

.ins h3 {
    font-size: 25px;
    font-family: var(--textos3);
    font-weight: lighter;
    color: #FACC15;
    margin: 10px;
}

.ins p {
    font-family: var(--textos2);
    margin-top: 40px;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 20px;
    color: #FFF3CD;

}

/* cards inscrições */
.unidades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    grid-template-rows: repeat(2, 1fr);
    
    row-gap: 1em;
    column-gap: 1em;
    padding-top: 2em;
    padding-bottom: 2em;
    max-width: 1200px;
    
    margin: 0 auto;
  
    background-color: var(--cor);
    text-align: center;
}

.unidades .card {

    background-color: white;
    width: 100%;
    
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    border-radius: 12px;

    color: white;
    z-index: 0;
    overflow: hidden;

}


.unidades .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 12px solid transparent;
    background: linear-gradient(90deg, #facc15, #facc15) border-box;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.unidades .card:hover::before {
    opacity: 1;
    animation: borderDraw 1s forwards ease;
}

@keyframes borderDraw {
    0% {
        clip-path: inset(100% 0 0 0);
        /* de cima pra baixo */
    }

    25% {
        clip-path: inset(0 100% 0 0);
        /* direita */
    }

    50% {
        clip-path: inset(0 0 100% 0);
        /* baixo */
    }

    75% {
        clip-path: inset(0 0 0 100%);
        /* esquerda */
    }

    100% {
        clip-path: inset(0 0 0 0);
        /* tudo visível */
    }
}

.unidades .card h3 {
    text-align: center;
    font-size: 1.2rem;
    color: var(--cor);
    padding-top: 10px;
    margin-bottom: 10px;

    text-transform: uppercase;
}

.unidades .card .texto {
    display: flex;
    align-items: start;
    color: var(--cor);
    flex-direction: column;
    justify-content: center;

}

.icontxt {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 10px 5px 20px;

}

.icontxt p {
    margin: 0;
    padding: 0;
    color: #002f6c;
}

.unidades .card p {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cor);
    margin-top: 0;
    line-height: 1.2;
    padding: 10px;
    text-align: left;
    padding: 10;
}

.unidades .card .btn {
    margin: 10px;
    background-color: var(--cor);
    color: white;
    padding: 10px 15px;
    width: 220px;
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--textos3);
    font-weight: bold;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.unidades .card .tag {
    background: #fcd800;
    color: var(--cor);
    font-family: var(--textos3);
    font-weight: lighter;
    padding: 8px 16px;
    border: var(--cor);
    align-self: first baseline;
    transform: rotate(-8deg);
}


.unidades .card h5 {
    text-transform: uppercase;
    font-size: 10px;
    color: var(--cor);
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 10px;
    font-family: var(--textos3);
}

.fadeblue1 {
    background: url("/src/img/fadeblue.svg");
    min-height: 60px;
    width: 100%;
    transform: rotate(180deg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

@media (max-width: 1024px) {
    .unidades {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-width: 800px;
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .unidades {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        max-width: 400px;
    }
}

.unidades .card {
    background-color: white;
    width: 80%;
    margin: 0 auto;
    max-width: none;
    min-height: 280px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    border-radius: 12px;
    color: white;
    z-index: 0;
    overflow: hidden;
}

.unidades .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 12px solid transparent;
    background: linear-gradient(90deg, #facc15, #facc15) border-box;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.unidades .card:hover::before {
    opacity: 1;
    animation: borderDraw 1s forwards ease;
}

@keyframes borderDraw {
    0% {
        clip-path: inset(100% 0 0 0);
        /* de cima pra baixo */
    }

    25% {
        clip-path: inset(0 100% 0 0);
        /* direita */
    }

    50% {
        clip-path: inset(0 0 100% 0);
        /* baixo */
    }

    75% {
        clip-path: inset(0 0 0 100%);
        /* esquerda */
    }

    100% {
        clip-path: inset(0 0 0 0);
        /* tudo visível */
    }
}

.unidades .card h3 {
    text-align: center;
    font-size: 1.2rem;
    color: var(--cor);
    padding-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.unidades .card .texto {
    display: flex;
    align-items: start;
    color: var(--cor);
    flex-direction: column;
    justify-content: center;
}

.icontxt {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px 5px 20px;
}

.icontxt p {
    margin: 0;
    padding: 0;
    color: #002f6c;
}

.unidades .card p {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cor);
    margin-top: 0;
    line-height: 1.2;
    padding: 10px;
    text-align: left;
    padding: 10;
}

.unidades .card .btn {
    margin: 10px;
    background-color: var(--cor);
    color: white;
    padding: 10px 15px;
    width: 200px;
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--titulos);
    font-weight: bold;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.unidades .card .tag {
    background: #fcd800;
    color: var(--cor);
    font-family: var(--titulos);
    font-weight: lighter;
    padding: 8px 16px;
    border: var(--cor);
    align-self: first baseline;
    transform: rotate(-8deg);
}

.unidades .card h5 {
    text-transform: uppercase;
    font-size: 10px;
    color: var(--cor);
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 10px;
    font-family: var(--titulos);
}

/* boletim informativo */
.boletim-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.boletim-section .header {
    border: none;
    background-color: white;
    align-items: start;
    justify-content: start;
    flex: 1;
    min-width: 300px;
}

.boletim-section .header div {
    background-color: white;
    padding: 10px 5px;

    text-align: left;
}

.boletim-section .titulo h1 {
    color: #1e5aa8;
    font-size: 32px;
    font-weight: bold;

    text-align: left;
}

.boletim-section .subtitulo p {
    color: #666;
    font-size: 18px;
    font-family: var(--textos2);

    margin: 0;

}



.boletim-section .botao-confira a {
    background-color: #ffc107;
    color: #333;
    padding: 12px 25px;
    border: none;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-family: var(--titulos);
    font-size: 20px;
    cursor: pointer;

    text-transform: uppercase;
    transition: background-color 0.3s ease;
    text-align: left;

}


.fp-iframe {

    border: 1px solid lightgray;
    width: 100%;
    max-width: 600px;
    height: 500px;
    flex-shrink: 0;

}

/* Roteiro de Estudos */
.roteiro-estudos {
    text-align: center;
    padding: 40px 40px;
    background-color: var(--cor);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 80px;

}

.roteiro-estudos h2 {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
    padding-top: 60px;
    color: #fff;
}

.roteiro-estudos h3 {
    font-size: 20px;
    font-weight: bold;
    color: #ffd600;
    margin-bottom: 40px;
}

.roteiro-estudos .caminho {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.roteiro-estudos .card {
    background: #fff;
    color: var(--cor);
    padding: 20px 30px;

    min-width: 450px;
    min-height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    align-items: start;
    text-align: left;
    position: relative;
}

.roteiro-estudos .card p {
    font-size: 24px;
    color: var(--cor);
}

.roteiro-estudos .card-1 {
    right: 300px;
}

.roteiro-estudos .card-2 {
    left: 300px;
}

.roteiro-estudos .card-3 {
    right: 300px;
}

.roteiro-estudos .card-4 {
    left: 300px;

}

.roteiro-estudos .card a {
    margin-top: 15px;
    color: var(--cor);
    padding: 20px 40px;
    background: #ffd600;
    border: 6px solid #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--titulos);
    text-transform: uppercase;
}

.roteiro-estudos .card:hover {
    border: 6px solid #ffd600;
}

.roteiro-estudos .card button:hover {
    background: #ffb800;
}

.roteiro-estudos .card-4 p {
    font-size: 2em;
}

/* Conexões entre os cards */
.roteiro-estudos .caminho::before {
    content: '';
    position: absolute;
    width: 4px;
    background: white;
    height: 80%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.divisoria {
    background-color: #062249;
    width: 100%;
    height: 1px;
}

/* Contatos */
.contatos {
    display: flex;
    flex-wrap: wrap;
    

    margin: 0 auto;
    font-size: small;
    padding: 20px;
    justify-content: space-between;

    gap: 10px 0;

    background: var(--cor);

}

.contatos div {
    flex: 1 1 calc(12% - 10px);
    margin-top: 25px;
    /* 4 cards por linha */
    text-align: center;
    justify-items: center;

    border-radius: 6px;
    padding: 5px;

}

.contatos a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
}

.contatos div h1 {
    background-color: #fff;
    border-radius: 5px;

    font-family: 'Encode Sans', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 1em;
    color: #001c44;
    margin-bottom: 6px;
    padding: 0 8px 0 8px;
}

.contatos div h1 a {
    color: #001c44;
}


.contatos div p {
    color: #fff;
    font-family: 'Encode Sans', 'Arial', sans-serif;
    font-weight: 100;
    font-size: 1em;
}

/* Rodapé */
footer {
    background-color: var(--cor);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 200px;

}

footer .logo {
    margin-right: 20px;
}

.icon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

footer i {
    color: #fff;
    margin: 4px;


}

footer .linkedin {
    margin-left: -10px;
}

/* Decorative Elements 
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    z-index: 1;
}*/
@media (max-width: 1024px) and (min-width: 769px) {
    .boletim-section {
        position: relative;
        background-color: white;
        height: auto;
        padding: 40px 0;
        overflow: visible;
    }

    .boletim-section .header {
        margin-left: 0;
        padding: 0 40px;
        width: 100%;
        box-sizing: border-box;
    }

    .boletim-section .header div {
        margin-left: 0;
        padding: 8px 0;
        text-align: left;
        width: 100%;
    }

    .boletim-section .titulo h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: left;
        color: #1e5aa8;
        font-weight: bold;
    }

    .boletim-section .subtitulo p {
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 25px;
        color: #666;
        text-align: left;
    }

    .boletim-section .botao-container {
        padding: 0 40px;
        margin-bottom: 40px;
    }

    .boletim-section .botao-container div {
        margin-top: 15px;
        margin-bottom: 25px;
        text-align: left;
        width: 100%;
    }

    .boletim-section .botao-confira button {
        position: static;
        left: auto;
        margin-left: 0;
        padding: 15px 30px;
        font-size: 18px;
        width: auto;
        max-width: 100%;
        display: inline-block;
        text-align: center;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .boletim-section .botao-confira button:hover {
        padding: 15px 30px;
        transition: background-color 0.3s ease;
    }

    .fp-iframe {
        position: static;
        width: calc(100% - 80px);
        margin: 0 40px;
        height: 500px;
        max-width: 100%;
        box-sizing: border-box;
        border: 1px solid #ddd;
        border-radius: 8px;
        left: auto;
        top: auto;
        bottom: auto;
    }
}

@media (max-width: 900px) {
    .roteiro-estudos .card-1 {
        right: 0px;
    }

    .roteiro-estudos .card-2 {
        left: 0px;
    }

    .roteiro-estudos .card-3 {
        right: 0px;
    }

    .roteiro-estudos .card-4 {
        left: 0px;
    }

    .roteiro-estudos.caminho {
        flex-direction: column;
        gap: 25px;
    }

    .roteiro-estudos.caminho::before {
        display: none;
    }

    .roteiro-estudos .card {
        width: 50%;
        text-align: center;
        align-items: center;
    }

    .roteiro-estudos .card button {

        font-size: 0.9em;
        margin-top: 10px;
        padding: 14px 24px;
        text-align: center;
        align-items: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        background-color: var(--cor);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .header-container {
        position: relative;
    }

    .header-container .logo {
        margin-left: 12px;
        margin-bottom: 2px;
    }

    .hero {
        min-height: 100vh;
        /* Garante altura suficiente */
        display: flex;
        align-items: center;
        justify-content: center;
        
    }

    .hero-container {
        width: 100%;
        max-width: 400px;
        /* Limita largura máxima */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        
        text-align: center;
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 1;
        /* Garante que o conteúdo apareça primeiro */
    }



    .hero-subtitle, .hero-subtitle2 {
        font-size: 20px;
        /* Reduz tamanho da fonte */
        margin-bottom: 20px;
        margin: 0;
        padding-right: 36px;
        
        
    }

    .badge {
        font-size: 18px;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
        width: auto;
        min-width: 200px;
        /* Garante largura mínima */
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
        /* Garante que a imagem apareça depois */
    }

    .hero-image .image-container {
        width: 280px;
        /* Tamanho fixo para mobile */
        height: 210px;
        /* Mantém proporção */
        max-width: 90%;
        /* Garante que não ultrapasse a tela */
    }

    .hero-image .image-container:hover {
        transform: none;
        /* Remove efeito hover no mobile */
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .conquistas .fade {
        background-size: cover;
    }

    .seta {
        font-size: 2rem;
    }

    .carrossel a {
        width: 100vw;
    }

    .carrossel img {
        object-fit: contain;
    }

    .unidades .card {
        flex: 0 1 100%;
        /* 1 por linha */
        aspect-ratio: 1 / 1;
        text-align: center;
        /* ainda quadrado no mobile */
    }


    .roteiro-estudos .card-1 {
        right: 0px;
    }

    .roteiro-estudos .card-2 {
        left: 0px;
    }

    .roteiro-estudos .card-3 {
        right: 0px;
    }

    .roteiro-estudos .card-4 {
        left: 0px;
    }

    .roteiro-estudos .caminho {
        flex-direction: column;
        gap: 20px;
    }

    .roteiro-estudos.caminho::before {
        display: none;
    }

    .roteiro-estudos h2 {
        font-size: 40px;
    }

    .roteiro-estudos h3 {
        font-size: 15px;
    }

    .roteiro-estudos .card {
        -ms-transform-origin-x: 50%;
        text-align: center;
        align-items: center;
        padding: 0;
        margin: 10px;
    }

    .roteiro-estudos .card button {

        font-size: 0.8em;

        text-align: center;
        align-items: center;
    }

    .roteiro-estudos .caminho .card {
        min-width: 80%;
        min-height: auto;
        padding: 10px;
    }

    .contatos {
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .contatos div {
        margin: 0;
        padding: 0;
    }

    footer {
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    footer .linkedin {
        margin: 0;
    }

    .boletim-section {
        position: relative;
        background-color: white;
        height: auto;
        /* Altura automática para mobile */
        padding: 30px 0;
        overflow: visible;
        /* Permite que o conteúdo seja visível */
    }

    .boletim-section .header {
        margin-left: 0;
        /* Remove margem lateral */
        padding: 0 20px;
        /* Adiciona padding interno */
        width: 100%;
        box-sizing: border-box;
    }

    .boletim-section .header div {
        margin-left: 0;
        /* Remove margem lateral */
        padding: 5px 0;
        /* Reduz padding vertical */
        text-align: left;
        width: 100%;
    }

    .boletim-section .titulo h1 {
        font-size: 24px;
        /* Reduz tamanho da fonte */
        line-height: 1.2;
        margin-bottom: 10px;
        text-align: left;
        color: #1e5aa8;
        font-weight: bold;
    }

    .boletim-section .subtitulo p {
        font-size: 16px;
        /* Reduz tamanho da fonte */
        line-height: 1.4;
        margin-bottom: 20px;
        color: #666;
        text-align: left;
    }

    .boletim-section .botao-container {
        padding: 0 20px;
        /* Adiciona padding lateral */
        margin-bottom: 30px;
    }

    .boletim-section .botao-container div {
        margin-top: 10px;
        margin-bottom: 20px;
        text-align: left;
        width: 100%;
    }

    .boletim-section .botao-confira button {
        position: static;
        /* Remove posicionamento absoluto */
        left: auto;
        margin-left: 0;
        padding: 14px 24px;
        font-size: 16px;
        /* Reduz tamanho da fonte */
        width: auto;
        max-width: 100%;
        display: inline-block;
        text-align: center;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .boletim-section .botao-confira button:hover {
        padding: 14px 24px;
        /* Mantém padding consistente no hover */
        transition: background-color 0.3s ease;
    }

    .fp-iframe {
        position: static;
        /* Remove posicionamento absoluto */
        width: calc(100% - 40px);
        /* Largura total menos margens */
        margin: 0 20px;
        /* Margens laterais */
        height: 400px;
        /* Altura fixa adequada para mobile */
        max-width: 100%;
        box-sizing: border-box;
        border: 1px solid #ddd;
        border-radius: 8px;
        /* Adiciona bordas arredondadas */
        left: auto;
        top: auto;
        bottom: auto;
    }

    /* Container para organizar melhor o layout */
    .boletim-content-mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}

@media (max-width: 480px) {


    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .nav-menu li a {
        font-size: 14px;
    }

    .conquistas .fade {
        background-size: cover;
    }


}

/* === RESPONSIVO PARA TABLET === */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-container {
        padding: 0 15px;
        max-width: 100%;
    }

    .nav-menu {
        gap: 25px;
        /* Reduz espaçamento entre itens */
    }

    .nav-menu li {
        text-align: center;
        font-size: 25px;
        /* Reduz tamanho da fonte */
        margin-right: 25px;



    }

    /* Ajusta logo se necessário */
    .logo img {
        max-height: 45px;
        /* Reduz altura da logo se existir */
    }
}

/* === RESPONSIVO PARA TABLETS MENORES === */
@media (max-width: 900px) and (min-width: 769px) {
    .nav-menu {
        gap: 15px;
        /* Reduz ainda mais o espaçamento */
    }

    .nav-menu li a {
        font-size: 10px;
        /* Fonte ainda menor */
        letter-spacing: -0.8px;
        padding-right: 2px;
    }


}


body {
    --sb-track-color: #232e33;
    --sb-thumb-color: #3783da;
    --sb-size: 14px;
}

body::-webkit-scrollbar {
    width: var(--sb-size)
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 1px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 1px;

}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

@media (max-width: 768px) {
    .boletim-section {
        flex-direction: column;
    }

    .header {
        grid-template-columns: 1fr;
    }

    .fp-iframe,
    .fp-iframe-grid {
        max-width: 100%;
        height: 400px;
    }
}

/* Responsividade para tablets */
@media (max-width: 1024px) {
    .header {
        grid-template-columns: 1fr;
    }

    .fp-iframe,
    .fp-iframe-grid {
        max-width: 100%;
    }
}