/* Font imports */
@font-face {
    font-family: 'Sora';
    src: url('../fonts/Sora-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
}

/* Navbar Styles - Removed */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #082055;
    overflow: hidden;
    position: relative;
    padding: 0 60px;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    justify-items: center;
    position: relative;
    padding: 0 60px;
}

.hero-image-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
}

.hero-image img {
    max-width: 100%;
    height: 350px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.elemento-hero {
    position: absolute;
    top: -140px;
    right: 0;
    width: auto;
    height: auto;
    max-width: none;
    max-height: 50%;
    transform: translateX(35%);
    z-index: 1;
}

/* Blue Section */
.blue-section {
    background-color: #3775FE;
    position: relative;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.blue-section-container {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.blue-section img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: top;
}

.blue-section-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    padding: 0 15px;
}

.blue-section-text h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 2rem;
    color: white;
    line-height: 1.1;
    margin: 0;
}

.blue-section-text .light {
    font-weight: 300;
}

.blue-section-text .extrabold {
    font-weight: 800;
}

.blue-section-text .semibold {
    font-weight: 600;
}

.mobile-break {
    display: none;
}

/* Responsive text */
@media (max-width: 768px) {
    .blue-section-text h2 {
        font-size: 1.2rem;
    }
    
    .mobile-break {
        display: inline;
    }
}

@media (max-width: 480px) {
    .blue-section-text h2 {
        font-size: 1rem;
    }
    
    .mobile-break {
        display: inline;
    }
    
    /* Increase lateral margins for all major sections on mobile */
    .vaga-section {
        padding: 40px 30px !important;
    }
    
    .fundosas-section {
        padding: 60px 30px !important;
    }
    
    .dark-section-container {
        padding: 0 30px !important;
    }
    
    .escola-container {
        padding: 0 30px !important;
    }
    
    .form2-container {
        padding: 0 30px !important;
    }
}

/* Escola Section */
.escola-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.escola-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transform-origin: center;
    margin: 0;
    padding: 0;
    border: none;
}

/* Ajustar iframe para responsividade */
iframe {
    max-width: 100%;
    min-height: 400px;
}

/* Data Section */
.data-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Dark Section */
.dark-section {
    background-color: #082055;
    padding: 60px 0;
    box-sizing: border-box;
}

.dark-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.two-columns {
    display: flex;
    height: 100%;
    position: relative;
    gap: 40px;
}

.column {
    flex: 1;
}

.two-columns::after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    width: 2px;
    height: 100%;
    background-color: #3775FE;
}

.data-image {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.formulario-img {
    margin-bottom: 30px;
}

/* Vaga Section */
.vaga-section {
    background-color: #EFF1F1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 400px;
    overflow: hidden;
}

.secao-vaga-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vaga-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    gap: 30px;
}

.botao-vaga-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.botao-vaga-link:hover {
    transform: scale(1.05);
}

.botao-vaga {
    margin: 0;
    max-width: 650px;
    width: 100%;
    height: auto;
    display: block;
}

/* Botão vaga responsive */
@media (max-width: 768px) {
    .botao-vaga {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .botao-vaga {
        max-width: 250px;
    }
    
    .botao-vaga-link:hover {
        transform: scale(1.02);
    }
}

.garanta-vaga {
    margin: 0;
}

/* Escola Info Section */
.escola-info-section {
    background-color: #082055;
    padding: 60px 0;
}

.escola-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.three-columns {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

.escola-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-column {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.vertical-divider {
    width: 2px;
    height: 100%;
    background-color: #3775FE;
}

/* Fundosas Section */
.fundosas-section {
    background-image: url('../images/fundosas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.fundosas-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
}

.fundosas-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.fundosas-column:nth-child(2) img {
    max-width: 70%;
    height: auto;
}

/* Form2 Section */
.form2-section {
    background-color: #EFF1F1;
    padding: 30px 0;
}

.form2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.form2-columns {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.form2-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-form2 {
    margin-bottom: 20px;
}

.form2-column iframe {
    min-height: 500px;
    width: 100%;
}

/* Footer Styles */
.footer {
    background: #082055;
    padding: 4rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.footer-logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Mobile Specific - Force Stacking */
@media screen and (max-width: 767px) {
    .hero-image {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 30px !important;
        padding: 20px !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-image-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 350px !important;
        height: 250px !important;
        margin: 0 auto !important;
    }

    .hero-image img {
        max-width: 90% !important;
        height: 200px !important;
        object-fit: contain !important;
        display: block !important;
    }
}

/* Extra small devices - Force Stacking */
@media screen and (max-width: 600px) {
    .hero .hero-image {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 25px !important;
        padding: 15px !important;
        grid-template-columns: none !important;
    }

    .hero .hero-image .hero-image-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 300px !important;
        height: 200px !important;
        margin: 10px auto !important;
    }

    .hero .hero-image .hero-image-item img {
        max-width: 85% !important;
        height: 170px !important;
        object-fit: contain !important;
    }

    /* Force stacking with more specific selectors */
    .hero-image-item:first-child {
        order: 1 !important;
    }

    .hero-image-item:last-child {
        order: 2 !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-logos {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo-img {
        max-height: 70px;
    }

    .hero {
        min-height: 100vh;
        padding: 1rem 30px;
    }

    .hero-image {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 30px !important;
        padding: 0 20px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .hero-image-item {
        width: 100% !important;
        max-width: 350px !important;
        height: 250px !important;
        justify-self: center !important;
    }

    .hero-image img {
        max-width: 100% !important;
        height: 220px !important;
    }

    /* Dark section responsivity */
    .dark-section {
        padding: 30px 0;
    }

    .dark-section-container {
        padding: 0 20px;
    }

    .two-columns {
        flex-direction: column;
        gap: 40px;
    }

    .column {
        width: 100%;
    }

    .data-image {
        margin-top: 40px;
    }

    .formulario-img {
        margin-bottom: 20px;
    }

    /* Remover divider em mobile */
    .two-columns::after {
        display: none;
    }

    /* Escola section responsivity */
    .escola-section {
        min-height: 150px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 25px;
    }

    .hero-image {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 25px !important;
        padding: 0 10px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .hero-image-item {
        width: 100% !important;
        max-width: 300px !important;
        height: 200px !important;
        justify-self: center !important;
    }

    .hero-image img {
        max-width: 100% !important;
        height: 180px !important;
    }

    .footer {
        padding: 3rem 0;
    }

    .footer-container {
        padding: 0 0.5rem;
    }

    .footer-logos {
        gap: 1.5rem;
    }

    .footer-logo-img {
        max-height: 60px;
    }

    .dark-section {
        padding: 20px 0;
    }

    .dark-section-container {
        padding: 0 10px;
    }

    .escola-container {
        padding: 0 10px;
    }

    .fundosas-section {
        min-height: 300px;
        padding: 30px 10px;
    }

    .fundosas-content {
        gap: 30px;
    }

    .fundosas-column {
        gap: 20px;
    }

    /* Form2 section responsivity */
    .form2-container {
        padding: 0 20px;
    }

    .form2-columns {
        flex-direction: column;
        gap: 30px;
    }

    .form2-column iframe {
        min-height: 350px;
    }

    .form2-container {
        padding: 0 10px;
    }

    .form2-column iframe {
        min-height: 280px;
    }

      .data-image {
          margin-top: 30px;
      }

    .formulario-img {
        margin-bottom: 15px;
    }

    /* Ajustar iframe em mobile */
    iframe {
        min-height: 300px;
    }

    /* Escola info section responsivity */
    .escola-container {
        padding: 0 20px;
    }

    .three-columns {
        flex-direction: column;
        gap: 30px;
    }

    .vertical-divider {
        width: 80%;
        height: 2px;
        background-color: #3775FE;
    }

    /* Fundosas section responsivity */
    .fundosas-section {
        min-height: 400px;
        padding: 40px 15px;
    }

    .fundosas-content {
        flex-direction: column;
        gap: 40px;
    }

    .fundosas-column {
        gap: 30px;
    }

    /* Escola section responsivity for small screens */
    .escola-section {
        min-height: 120px;
        padding: 0;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Main content */
main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Adicionar JavaScript inline para funcionalidade do menu mobile */
.nav-toggle:hover {
    cursor: pointer;
}

/* Animações suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Focus styles para acessibilidade */

/* Estados loading e otimizações */
.hero-image img {
    loading: lazy;
}

/* Garantir que todas as imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Prevenir overflow horizontal */
* {
    max-width: 100%;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

/* Force mobile stacking - FINAL OVERRIDE */
@media only screen and (max-width: 768px) {
    section.hero div.hero-image {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 30px !important;
        padding: 20px !important;
        width: 100% !important;
        height: auto !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }

    section.hero div.hero-image div.hero-image-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 350px !important;
        height: auto !important;
        margin: 15px auto !important;
        padding: 15px !important;
    }

    section.hero div.hero-image div.hero-image-item img {
        width: 90% !important;
        height: 200px !important;
        max-width: 300px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }


}
