/* --- HERO SECTION (SLIDER) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Boost leve no visual do vídeo */
    filter: brightness(0.9) contrast(1.1);
}

/* Overlay com gradiente focado na esquerda para leitura */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.85) 0%, 
        rgba(0,0,0,0.4) 80%, 
        transparent 100%);
    z-index: 2;
}

/* --- CONTEÚDO ALINHADO À ESQUERDA --- */
.hero-content {
    position: absolute;
    top: 55%; /* Um pouco abaixo do centro para estética */
    left: 8%;  /* Margem lateral premium */
    transform: translateY(-43%);
    z-index: 10;
    width: calc(80% - 40px);
    padding: 20px;
    max-width: 850px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    -webkit-font-smoothing: antialiased;
}

/* Título Impactante Estilo Pretto */
.hero-content h1 {
    font-size: clamp(30px, 6vw, 60px);
    line-height: 0.85;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 25px;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.3);
}

/* Destaque em Amarelo/Verde Lima */
.hero-content h1 span {
    color: var(--font-color-act);
}

/* Subtítulo Clean */
.hero-content p {
    font-size: clamp(14px, 2vw, 19px);
    font-weight: 400;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 45px;
    max-width: 550px;
    line-height: 1.4;
}

/* Botão de Ação com Borda */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: transparent;
    color: var(--font-color-act);
    border: 2px solid var(--font-color-act);
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: var(--font-color-act);
    color: #000;
    transform: translateX(10px); /* Desliza sutilmente para a direita */
}

/* --- ANIMAÇÕES DE REVELAÇÃO (DA ESQUERDA) --- */
.reveal-text {
    opacity: 0;
    transform: translateX(-40px); /* Vem da esquerda */
    transition: all 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
    pointer-events: none;
}

.reveal-text.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.reveal-text span{
    color: var(--font-color-act);
}



/* Delays para efeito cascata */
.delay-1 { transition-delay: 0.25s; }
.delay-2 { transition-delay: 0.45s; }

.swiper-button-next, .swiper-button-prev{
    color: var(--font-color-act) !important;
}

/* GALERIA HOME */
/* --- SEÇÃO GALERIA MOSAICO --- */
.section-galeria {
    background-color: #000;
    /* Define o limite de altura da seção */
    max-height: 400px; 
    overflow: hidden; /* Esconde o que passar do limite */
    position: relative;
}

/* Efeito de "fade" no fundo da galeria para indicar que tem mais */
.section-galeria::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    z-index: 5;
    pointer-events: none; /* Permite clicar nos botões por trás do fade */
}

.container-galeria {
    width: 100%;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Ajustamos a altura das linhas para caberem no seu max-height */
    grid-auto-rows: 220px; 
    gap: 2px;
}

/* Itens do Mosaico (Masonry) */
.galeria-item.item-1 { grid-row: span 2; grid-column: span 1; }
.galeria-item.item-4 { grid-row: span 2; }
.galeria-item.item-5 { grid-column: span 2; }

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Estilo da Imagem */
.galeria-item img {
    width: 100%;
    height: 100%;
    /* Importante para preencher o espaço sem distorcer */
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover na Imagem */
.galeria-item:hover img {
    transform: scale(1.08);
}

/* --- CLASSES DE TAMANHO DO MOSAICO (ESTILO MASONRY) --- */

/* Ocupa 2 colunas e 2 linhas (Quadrado Grande) */
.galeria-item.item-grande {
    grid-column: span 2;
    grid-row: span 2;
}

/* Ocupa 1 coluna e 2 linhas (Vertical Alto) */
.galeria-item.item-alto {
    grid-row: span 2;
}

/* Ocupa 2 colunas e 1 linha (Horizontal Largo) */
.galeria-item.item-largo {
    grid-column: span 2;
}

/* --- RESPONSIVIDADE PARA MOBILE --- */
@media (max-width: 992px) {
    .galeria-grid {
        /* No mobile, usa apenas 2 colunas */
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    /* Reseta os tamanhos especiais no mobile para não quebrar o layout */
    .galeria-item.item-grande,
    .galeria-item.item-alto,
    .galeria-item.item-largo {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Opcional: Manter apenas o item-largo como largo no mobile */
    /* .galeria-item.item-largo { grid-column: span 2; } */
}

/* Efeito de Hover */
.galeria-item:hover img {
    transform: scale(1.08);
}

/* Responsividade para Celulares */
@media (max-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 2px; /* Mantém o padrão no mobile */
    }
    .item-1, .item-4, .item-5 { grid-column: span 1; grid-row: span 1; }
}

.galeria-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.btn-galeria-completa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-galeria-completa:hover {
    background-color: #000;
    color: #ffffff; /* Cor de fundo que sugerimos para os cards */
    transform: translateY(-3px);
}

.btn-galeria-completa svg {
    transition: transform 0.3s ease;
}

.btn-galeria-completa:hover svg {
    transform: translateX(5px);
}

/* Base para o efeito de surgir */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Garante que o link da galeria se comporte como o container antigo */
.galeria-item {
    display: block; /* Importante por ser um <a> agora */
    position: relative;
    overflow: hidden;
    background: #111;
    text-decoration: none;
}

/*CARDS*/

.section-cards-alternados {
    background-color: #fff;
}

.card-row {
    display: flex;
    min-height: 300px;
    width: 80%;
    margin: auto;
    margin-bottom: 20px; /* Pequeno espaçamento entre as seções */
}

/* Inverte a ordem nas linhas marcadas como reverse */
.card-row.card-reverse {
    flex-direction: row-reverse;
}

/* Lado da Imagem */
.card-image {
    flex: 1;
    overflow: hidden;
    background: #000;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1); /* Efeito P&B da imagem */
    transition: 0.6s ease;
}

.card-row:hover .card-image img {
    filter: grayscale(0%); /* Volta a cor no hover se desejar */
    transform: scale(1.05);
}

/* Lado do Texto */
.card-text-box {
    flex: 1;
    background-color: var(--font-color-act); /* Amarelo Pretto */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #000;
}

.card-content {
    max-width: 500px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
}

.card-header h2 {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.card-tag {
    background: #000;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* Seta de ação */
.card-link-arrow {
    display: block;
    width: 50px;
    color: #000;
    transition: 0.3s;
}

.card-link-arrow:hover {
    transform: translateX(15px);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .card-row, .card-row.card-reverse {
        flex-direction: column;
    }
    .card-image { height: 300px; }
    .card-text-box { padding: 40px 20px; }
    .card-row {
        min-height: 400px;
        width: 90%;
    }
}

/*UNIDADES HOME*/
.section-sedes {
    padding: 100px 0;
    background: #fdfdfd;
    color: #333;
    width: 80%;
    margin: auto;
}

.sedes-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.sedes-header h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.sedes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

/* Card da Sede */
.sede-card {
    display: flex;
    flex-direction: column;
}

.sede-thumb {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 25px;
}

.sede-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s transform ease;
}

.sede-card:hover .sede-thumb img {
    transform: scale(1.05);
}

/* Informações */
.sede-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd; /* Linha decorativa da imagem */
    position: relative;
}

.sede-details p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #555;
}

.sede-details strong {
    color: #000;
}

/* Botão de Mapa sutil */
.btn-mapa {
    background: transparent;
    border: none;
    padding: 0;
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 15px;
    border-bottom: 2px solid var(--font-color-act); /* Amarelo Glocken */
}

/* Seta Decorativa */
.sede-link-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    color: #000;
}

@media (max-width: 768px) {
    .sedes-grid { grid-template-columns: 1fr; }
}

/*CONTATO*/

.section-contato {
    background-color: #000;
    color: #fff;
    padding: 120px 0;
    overflow: hidden;
}

.container-contato {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Lado Esquerdo */
.contato-info { flex: 1.2; }

.contato-info h2 {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.contato-info h2 span { color: var(--font-color-act); }

.contato-info p {
    font-size: 18px;
    color: #ccc;
    max-width: 450px;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contato-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.link-item { text-decoration: none; color: #fff; display: block; }
.link-item small {
    display: block;
    text-transform: uppercase;
    color: var(--font-color-act);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.link-item span {
    font-size: 24px;
    font-weight: 900;
    transition: 0.3s;
}
.link-item:hover span { opacity: 0.7; transform: translateX(10px); display: inline-block; }

/* Lado Direito - Formulário */
.contato-form-box {
    flex: 1;
    background: #111;
    padding: 50px;
    border: 1px solid #222;
}

.input-group { margin-bottom: 20px; }

.contato-form-box input, 
.contato-form-box select, 
.contato-form-box textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    padding: 15px 0;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.contato-form-box input:focus, 
.contato-form-box select:focus {
    border-color: var(--font-color-act);
}

.btn-enviar {
    width: 100%;
    background: var(--font-color-act);
    color: #000;
    border: none;
    padding: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    transition: 0.4s;
}

.btn-enviar:hover {
    background: #fff;
    transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 992px) {
    .container-contato { flex-direction: column; gap: 60px; }
    .contato-form-box { width: 100%; padding: 30px; }
}

/*PROFESSORES*/
.section-professores { 
    padding: 100px 0; background: #fff; 
    width: 80%;
    margin: auto;
}

.professores-header { margin-bottom: 60px; text-align: left; }
.professores-header h2 { font-size: 50px; font-weight: 900; text-transform: uppercase; letter-spacing: -2px; }

.professores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Card Principal */
.prof-card { text-decoration: none; color: #000; transition: 0.3s; }

.prof-img { 
    position: relative; 
    height: 350px; 
    background: #eee; 
    overflow: hidden; 
    border: 2px solid #000;
}

.prof-img img { 
    width: 100%; height: 100%; object-fit: cover; 
    filter: grayscale(100%); transition: 0.5s;
}

.prof-plus {
    position: absolute; bottom: 20px; right: 20px;
    background: var(--font-color-act); color: #000; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 20px; border: 2px solid #000;
    opacity: 0; transform: translateY(10px); transition: 0.3s;
}

.prof-card:hover .prof-img img { filter: grayscale(0%); transform: scale(1.05); }
.prof-card:hover .prof-plus { opacity: 1; transform: translateY(0); }

.prof-meta { margin-top: 15px; }
.prof-meta h3 { font-size: 18px; font-weight: 900; text-transform: uppercase; margin: 0; }
.prof-meta span { font-size: 12px; color: #666; text-transform: uppercase; font-weight: 700; }

/* --- ESTILO DO POP-UP (MODAL) --- */
.prof-modal { max-width: 800px; padding: 0 !important; background: #fff; border: 4px solid #000; }

.modal-flex { display: flex; align-items: stretch; }

.modal-img { flex: 1; min-height: 400px; }
.modal-img img { 
    width: 100%; 
    height: 100%; 
    max-height: 600px;
    object-fit: cover; 
    display: block; 
}

.modal-text { flex: 1.2; padding: 50px; display: flex; flex-direction: column; justify-content: center;}

.modal-tag { background: #000; color: #fff; padding: 5px 10px; font-size: 10px; font-weight: 900; align-self: flex-start; margin-bottom: 20px; }

.modal-text h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; margin-bottom: 20px; letter-spacing: -1px; }

.modal-text p { font-size: 14px; line-height: 1.5; color: #444; margin: 0px; margin-bottom: 12px;}

.btn-insta {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #000; font-weight: 900;
    text-transform: uppercase; font-size: 13px;
    border-bottom: 3px solid var(--font-color-act); align-self: flex-start;
    padding-bottom: 5px; transition: 0.3s;
    margin-top: 15px;
}
.btn-insta svg { width: 18px; }
.btn-insta:hover { color: var(--font-color-act); border-color: #000; background: #000; padding: 5px 15px; }

@media (max-width: 768px) {
    .modal-flex { flex-direction: column; }
    .modal-img { min-height: 300px; }
    .modal-text { padding: 30px; }
}

/*SOBRE*/

.section-sobre {
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.container-sobre {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Caixa de Imagem */
.sobre-img-box {
    position: relative;
    border: 3px solid #000;
}

.sobre-img-box img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

.sobre-img-box:hover img {
    filter: grayscale(0%);
}

.experiencia-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    color: #000;
    padding: 30px;
    border: 3px solid #000;
    text-align: center;
    box-shadow: 10px 10px 0 #000;
}

.experiencia-badge span {
    font-size: 40px;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.experiencia-badge p {
    font-size: 11px;
    font-weight: 900;
    margin: 0;
}

/* Conteúdo de Texto */
.subtitle {
    text-transform: uppercase;
    font-weight: 900;
    color: var(--accent);
    background: #000;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 2px;
}

.sobre-content h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin: 25px 0;
    letter-spacing: -2px;
}

.sobre-content h2 span {
    color: var(--accent);
    background: #000;
    padding: 0 10px;
}

.sobre-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Ícones de Diferenciais */
.sobre-features {
    margin: 40px 0;
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 24px;
    background: #f4f4f4;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.feature-item h4 {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

.btn-saber-mais {
    display: inline-block;
    padding: 20px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border: 3px solid #000;
}

.btn-saber-mais:hover {
    background: var(--accent);
    color: #000;
}

@media (max-width: 992px) {
    .container-sobre { grid-template-columns: 1fr; gap: 60px; }
    .experiencia-badge { right: 20px; }
}