/* VARIÁVEIS GLOBAIS */
:root {
    --azul-reflexivo: #6a8a8c;
    --dourado-suave: #f9e076;
    --verde-natural: #6b8e6e;
    --bege-aconchegante: #f7f3e8;
    --cinza-claro: #f8f9fa;
    --text: #333;
    --shadow: rgba(0, 0, 0, 0.1);
    --fundo-geral: #f8fbf8;
    --branco-suave: #fffefc;
    --borda-suave: #e8e6e1;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--fundo-geral);
    line-height: 1.6;
    padding-top: 80px;
}

/* NAVEGAÇÃO */
.nav-principal {
    background: linear-gradient(135deg, var(--azul-reflexivo) 0%, #97c4e0 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-menu {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--verde-natural) 0%, #5a7c5d 100%);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(107, 142, 110, 0.3);
    font-family: var(--font-heading);
}

.nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 142, 110, 0.5);
}

/* HERO SECTION */
.hero-image {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 600px;
    margin-top: 0;
    overflow: hidden;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 142, 110, 0.2) 0%, rgba(168, 208, 230, 0.15) 50%, rgba(249, 224, 118, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-destaque {
    background: rgba(107, 142, 110, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* SEÇÕES GERAIS */
.secao {
    padding: 4rem 2rem;
    background: transparent;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--verde-natural);
    font-weight: 300;
}

/* VÍDEOS */
.videos-section {
    background: linear-gradient(135deg, var(--cinza-claro) 0%, var(--fundo-geral) 100%);
    padding: 3rem 2rem;
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.videos-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 10px;
    scroll-behavior: smooth;
}

.video-card {
    flex: 0 0 auto;
    width: 280px;
    background: var(--branco-suave);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--borda-suave);
}

.video-thumbnail {
    height: 150px;
    background: linear-gradient(135deg, var(--azul-reflexivo), var(--dourado-suave));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2.5rem;
    cursor: pointer;
}

.video-content {
    padding: 1.2rem;
}

.video-content h3 {
    font-family: var(--font-heading);
    color: var(--verde-natural);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.btn-assistir {
    background: linear-gradient(135deg, var(--verde-natural) 0%, #5a7c5d 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    font-family: var(--font-heading);
}

/* PORTAIS */
.portais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portal-card {
    background: var(--branco-suave);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--borda-suave);
}

.portal-header {
    padding: 1.5rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.portal-1 .portal-header {
    background: linear-gradient(135deg, var(--azul-reflexivo), #97c4e0);
}

.portal-2 .portal-header {
    background: linear-gradient(135deg, var(--verde-natural), #5a7c5d);
}

.portal-3 .portal-header {
    background: linear-gradient(135deg, #4a8bb3, #6ab0d6);
}

.portal-body {
    padding: 2rem;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--verde-natural) 0%, #5a7c5d 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

/* FAMÍLIA */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.card-unificado {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 450px;
    position: relative;
}

.card-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--azul-reflexivo);
}

/* ESCOLAS */
.escolas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.escola-card {
    background: var(--branco-suave);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--borda-suave);
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.escola-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--azul-reflexivo), #97c4e0);
    text-align: center;
}

.escola-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.escola-actions {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    margin-top: auto;
}

.btn-escola {
    flex: 1;
    background: var(--verde-natural);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* CONTATO */
.form-contato {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem auto 4rem auto;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bege-aconchegante);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-enviar {
    background: linear-gradient(135deg, var(--verde-natural) 0%, #5a7c5d 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0 auto;
    font-family: var(--font-heading);
}

/* FOOTER */
footer {
    background-color: var(--verde-natural);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--branco-suave);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .portais-grid, .cards-grid, .escolas-grid {
        grid-template-columns: 1fr;
    }
}
