/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores CEAPI */
    --primary: #1B5E20;
    --primary-dark: #0d3d12;
    --primary-light: #4CAF50;
    --primary-lighter: #81C784;
    --secondary: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #9E9E9E;
    --gray-dark: #424242;
    --text-dark: #212121;
    --text-light: #757575;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    
    /* Transições */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-light);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-light);
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info i {
    color: var(--primary-lighter);
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0px;
}

/* Atualização do container .logo-icon */
.logo-icon {
    /* Mantemos flex para alinhar a logo, mas removemos o tamanho fixo e fundo */
    display: flex;
    align-items: center;
    justify-content: center;
    /* O container agora vai se ajustar ao tamanho da imagem que estiver dentro */
}

/* NOVA REGRA: Configuração para a imagem dentro do container */
.logo-icon img {
    /* Limitamos a altura máxima em 50px (como você queria) */
    max-height: 75px; 
    /* A largura se ajusta automaticamente para manter a proporção original da imagem (formato retangular) */
    width: auto; 
    display: block; /* Remove espaços em branco indesejados abaixo da imagem */
}

.logo-text h1 {
    font-size: 20px;
    color: var(--primary);
    margin: 0;
}

.logo-text img {
    max-height: 45px; /* Mantém o tamanho físico "alvo" para a navbar não crescer */
    width: auto;
    display: block;
    
    /* A mágica acontece aqui: aumenta o tamanho visual em 40% */
    transform: scale(3.0); 
    
    /* Garante que o ponto de aumento comece do centro esquerdo, mantendo o alinhamento */
    transform-origin: left center; 
}

.logo-text span {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-link {
    padding: 7px 7px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 18px;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.btn-matricula {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.nav-link.btn-matricula:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== FAQ ===== */
.faq {
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-light);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== EVENTS ===== */
.events {
    background: var(--gray-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    min-width: 70px;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    color: white;
}

.event-day {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

.event-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.event-content p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-content i {
    color: var(--primary-light);
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/banner_01.jpg') center/cover;
    opacity: 0.9;
}

.hero-slide {
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    color: white;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 56px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-lighter);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== STATS ===== */
.stats {
    background: white;
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--gray-light);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    display: inline;
}

.stat-suffix {
    display: inline;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 5px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.badge-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-light);
    font-size: 20px;
}

/* ===== MVV ===== */
.mvv {
    background: white;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--gray-light);
    border-radius: 20px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.mvv-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.mvv-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.mvv-card p {
    color: var(--text-light);
}

/* ===== TEACHING ===== */
.teaching {
    background: var(--gray-light);
}

.teaching-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.teaching-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.teaching-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.teaching-card.featured {
    border: 3px solid var(--primary-light);
}

.teaching-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-light);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.teaching-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.teaching-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* mantém a parte superior visível */
    display: block;
}

.teaching-card:hover .teaching-image img {
    transform: scale(1.1);
}

.teaching-overlay {
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow);
}

.teaching-content {
    padding: 40px 30px 30px;
}

.teaching-age {
    display: inline-block;
    background: var(--gray-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.teaching-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.teaching-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.teaching-list {
    display: grid;
    gap: 10px;
}

.teaching-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.teaching-list i {
    color: var(--primary-light);
}

/* ===== FEATURES ===== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--gray-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* mantém a parte superior visível */
    transition: var(--transition-slow);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,94,32,0.8), rgba(76,175,80,0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 32px;
    margin-bottom: 10px;
}

.gallery-overlay h4 {
    color: white;
    font-size: 18px;
}

/* ===== MODALIDADES ===== */
.modalidades {
    background: var(--gray-light);
}

.modalidades-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Lado Esquerdo - Texto */
.modalidades-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modalidade-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
    opacity: 0.6;
}

.modalidade-item:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.modalidade-item.active {
    opacity: 1;
    border-left-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.modalidade-icon-box {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.modalidade-details h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 10px;
}

.modalidade-details p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modalidade-features {
    display: grid;
    gap: 8px;
}

.modalidade-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.modalidade-features i {
    color: var(--primary-light);
    font-size: 12px;
}

/* Lado Direito - Slider */
.modalidades-slider {
    position: relative;
    height: 550px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(27,94,32,0.9), transparent);
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-caption i {
    font-size: 32px;
}

.slider-caption span {
    font-size: 24px;
    font-weight: 600;
}

/* Botões de Navegação */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow);
}

.slider-btn:hover {
    background: white;
    color: var(--primary-light);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Indicadores (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: white;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--gray-light);
    padding: 35px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 16px;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.author-info span {
    color: var(--text-light);
    font-size: 13px;
}

/* ===== CTA MATRÍCULA ===== */
.cta-matricula {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-matricula::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-details p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: white;
    color: var(--primary);
}

.footer-logo h3 {
    color: white;
    font-size: 20px;
    margin: 0;
}

.footer-logo span {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-lighter);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 10px;
    color: var(--primary-lighter);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-lighter);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom i {
    color: #e74c3c;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}