/* ============================================
   VARIÁVEIS E RESET - PALETA VINHO
   ============================================ */
:root {
    --primary-color: #7a3d79; /* Vinho Elegante */
    --primary-dark: #5a2d59;  /* Tom mais escuro do vinho */
    --secondary-color: #0066FF;
    --accent-color: #FFD700;
    --accent-warm: #FF6B35;
    --dark-color: #1A1A2E;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-width-responsive: clamp(8px, 2vw, 15px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

/* ============================================
   TIPOGRAFIA E EFEITOS HOVER NAS LETRAS
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

h4 {
    text-align: center; /* Centralizado conforme solicitado */
    width: 100%;
}

/* Efeito Hover nas Letras Nativas CSS */
h1:hover, h2:hover, h3:hover {
    color: var(--white);
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1.15rem; /* Aumentado levemente conforme solicitado */
    margin-bottom: 1.5rem;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER E NAVEGAÇÃO COM EFEITO 3D
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo-section h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.school-subtitle {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

.nav-link:hover {
    color: var(--white); /* Hover branco */
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ============================================
   HERO SECTION REORGANIZADO
   ============================================ */
.hero-new {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(122, 61, 121, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-new .content-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .hero-title {
        text-align: center !important;
        font-size: 2.2rem;
    }
    .hero-buttons {
        justify-content: center !important;
    }
}

/* ============================================
   BOTÕES
   ============================================ */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem; /* Ajustado para tamanho proporcional */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
    min-width: 200px; /* Garante proporcionalidade */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(122, 61, 121, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(122, 61, 121, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0052CC 100%);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
    color: var(--white);
}

/* ============================================
   FORMATO DE CARDS PARA CONTEÚDO
   ============================================ */
.card-style {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
    transition: var(--transition);
}

.card-style:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.block-title {
    font-size: 2rem; /* Aumentado */
    margin-top: 2rem; /* Mais distância no top */
    margin-bottom: 2.5rem; /* Mais distância no bottom */
    text-align: center; /* Centralizado na horizontal */
    color: var(--primary-dark);
    width: 100%;
}

/* ============================================
   EFEITO DE CONTRASTE NAS LETRAS
   ============================================ */
.hover-text {
    position: relative;
    hyphens: manual;
    white-space: normal;
    word-break: keep-all;
}

.hover-text .letter {
    display: inline-block;
    transition: all 0.2s ease;
    color: var(--dark-color);
}

.hover-text:hover .letter {
    color: var(--primary-color) !important; /* Todas as letras roxas no hover */
    font-weight: 700;
    text-shadow: 0 0 5px rgba(122, 61, 121, 0.2);
}

/* Garante que o hover nos cards específicos também seja roxo */
.objective-card:hover .letter,
.timeline-step:hover .letter,
.info-card:hover .letter {
    color: var(--primary-color) !important;
}

/* ============================================
   BNCC HIGHLIGHT
   ============================================ */
.bncc-code {
    font-weight: 800;
    color: var(--primary-dark);
    background: rgba(122, 61, 121, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

/* ============================================
   SEÇÕES COM WRAPPER
   ============================================ */
.section-wrapper {
    margin-bottom: 4rem;
}

.section-heading {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    width: 100%;
    position: relative;
}

/* ============================================
   SEÇÕES DE PERÍODO
   ============================================ */
.period-section {
    padding: 5rem 0;
}

.morning-section { background-color: rgba(255, 107, 53, 0.05); }
.afternoon-section { background-color: rgba(0, 102, 255, 0.05); }

.period-header {
    text-align: center;
    margin-bottom: 4rem;
}

.period-badge {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: var(--white);
    border: 2px solid var(--border-color);
}

.morning-badge { color: var(--primary-color); border-color: var(--primary-color); }
.afternoon-badge { color: var(--secondary-color); border-color: var(--secondary-color); }

.period-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
}

/* ============================================
   IMAGENS E HOVER
   ============================================ */
.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: var(--border-width-responsive) solid var(--white); /* Borda responsiva de 15px */
    background: var(--white);
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: var(--transition);
    display: block;
}

.content-image:hover img {
    transform: scale(1.05) rotate(1deg);
    filter: brightness(1.05);
}

/* ============================================
   CARDS DE APOIO E COLABORADORES (CUSTOM)
   ============================================ */
.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.custom-support-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-top: 6px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.custom-support-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.custom-support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 61, 121, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
    z-index: 0;
}

.card-inner {
    position: relative;
    z-index: 1;
}

.dept-label {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sec-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: block;
}

.card-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 1.5rem 0;
    opacity: 0.2;
}

.person-entry {
    margin: 1rem 0;
}

.person-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    display: block;
}

.person-role {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 700;
    background: rgba(122, 61, 121, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
}

.decoration-info {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
}

/* Efeito de hover nas letras */
.letter {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.letter:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.2) translateY(-2px);
}

/* ============================================
   GRID DE OBJETIVOS (CARDS)
   ============================================ */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.objective-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* ============================================
   TIMELINE DE METODOLOGIA (CARDS)
   ============================================ */
.methodology-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.timeline-step {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    padding-top: 4rem;
    border: 1px solid var(--border-color);
}

.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(122, 61, 121, 0.3);
}

/* ============================================
   GALERIA E CARROSSEL AMPLIADO
   ============================================ */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: var(--border-width-responsive) solid var(--white);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    border-radius: 4px;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 2rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    background: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transform: translateY(-50%);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(122, 61, 121, 0.4);
}

.carousel-prev { left: -40px; }
.carousel-next { right: -40px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background-color: var(--primary-color);
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.8rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.info-list li:last-child {
    border-bottom: none;
}

/* ============================================
   SEÇÃO DE GESTÃO E APOIO
   ============================================ */
.management-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(122, 61, 121, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.management-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.management-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.management-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.note-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.support-section {
    margin-bottom: 4rem;
}

.support-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.support-intro {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cooperation-section {
    margin-top: 4rem;
}

.cooperation-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.cooperation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cooperation-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.cooperation-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.cooperation-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   CARD DE GESTÃO
   ============================================ */
.management-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(122, 61, 121, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
}

.management-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.management-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.management-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(122, 61, 121, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    transition: var(--transition);
}

.management-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(122, 61, 121, 0.15);
}

.management-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.management-item h4 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.management-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.management-note {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    line-height: 1.6;
}

/* ============================================
   CARDS DE EQUIPE E APOIO
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.team-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.team-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-list li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    line-height: 1.5;
}

.support-card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.support-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--secondary-color);
}

.support-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.support-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.support-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.support-list li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.support-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-content p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.footer-divider {
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin: 1.5rem 0;
    opacity: 0.5;
}

.footer-credit {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
    opacity: 0.9;
}

/* ============================================
   EFEITO DE LETRAS HOVER (DINÂMICO)
   ============================================ */
.hover-letter {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hover-letter:hover {
    transform: translateY(-10px) scale(1.2);
    color: var(--white) !important; /* Hover branco em todos */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ============================================
   MENU RESPONSIVO
   ============================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding: 4rem 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title { font-size: 2.5rem; }
    
    .card-style { padding: 1.5rem; }
    
    .carousel-slide img { 
        height: auto; 
        aspect-ratio: 1 / 1; 
        object-fit: cover; 
        object-position: center;
    }
    
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    
    .section-heading {
        font-size: 1.8rem;
        padding: 1.5rem 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        background: transparent;
        border: none;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .objectives-grid,
    .methodology-timeline {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide img { 
        height: auto; 
        aspect-ratio: 1 / 1; 
        object-fit: cover; 
        object-position: center;
    }
    
    .management-grid,
    .support-grid,
    .cooperation-list {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        min-width: unset;
    }
}

/* ============================================
   AJUSTES DE RESPONSIVIDADE DO MENU
   ============================================ */
@media (max-width: 992px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--white);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        width: 80%;
        text-align: center;
    }
    
    /* Animação do X no menu toggle */
    #menuToggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    #menuToggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    #menuToggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ============================================
   ESTILOS DO CARROSSEL DA ESCOLA
   ============================================ */
.school-carousel {
    margin-top: 2rem;
}

.school-img-wrapper {
    padding: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-img-wrapper img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border: 15px solid var(--white); /* Borda branca de destaque */
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .school-img-wrapper img {
        border-width: 8px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: auto;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}
