/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Suporte para telas de alta resolução */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .galeria-item img,
    .modal-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Melhorias para dispositivos touch */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-button,
    .btn-secondary {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .galeria-item {
        cursor: pointer;
    }
    
    .modal-close,
    .modal-nav {
        min-width: 44px;
        min-height: 44px;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.logo h2 {
    color: #4dca52;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4dca52;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4dca52;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Sections */
.hero {
    height: 100vh;
    background: #0f172a; /* neutral dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/HOME/IMG_1119.jpg') center/cover;
    opacity: 0.25;
    z-index: 1;
    filter: grayscale(20%) contrast(1.05) brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(1200px 500px at 20% 20%, rgba(255,255,255,0.05), rgba(0,0,0,0)) ,
                radial-gradient(1000px 500px at 80% 80%, rgba(255,255,255,0.04), rgba(0,0,0,0)) ,
                linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.35) 60%, rgba(15,23,42,0.55) 100%);
    z-index: 2;
}

/* particles canvas */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Hero enhancements */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-primary {
    position: relative;
}

.cta-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(77, 202, 82, 0.45);
    animation: ctaPulse 2.2s ease-out infinite;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    opacity: 0.9;
}

.hero-badges img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 6px 8px;
}

/* Rotating highlight text */
.highlight-rotate {
    display: inline-block;
    position: relative;
    height: 1.6em;
    overflow: hidden;
    vertical-align: bottom;
    margin-left: 6px;
}

.rotate-list {
    display: inline-flex;
    flex-direction: column;
    animation: rotateText 12s ease-in-out infinite;
}

.rotate-item {
    line-height: 1.6em;
    color: #ffffff;
    font-weight: 700;
}

/* Floating brand shapes */
.hero-shapes .bubble {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), rgba(255,255,255,0.08));
    filter: blur(1px);
    animation: float 10s ease-in-out infinite;
}

.hero-shapes .b1 { top: 10%; left: 8%; animation-delay: 0s; }
.hero-shapes .b2 { top: 70%; left: 15%; width: 120px; height: 120px; animation-delay: 1.5s; }
.hero-shapes .b3 { top: 20%; right: 8%; width: 200px; height: 200px; animation-delay: 0.8s; }
.hero-shapes .b4 { bottom: 8%; right: 16%; width: 130px; height: 130px; animation-delay: 2.2s; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 20px;
    opacity: 0.9;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

.hero-sobre,
.hero-ensino,
.hero-contraturno,
.hero-contato {
    height: 60vh;
    background: linear-gradient(135deg, rgba(77, 202, 82, 0.8) 0%, rgba(61, 181, 66, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 80px;
}

.hero-sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/SOBRE/IMG_1178.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-ensino::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/Ensino/Ensino Fundamental/IMG_1299.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-contraturno::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/Contraturno/Atividades Esportivas/IMG_1363.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/Contato/IMG_4207.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

/* Botões */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4dca52;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 202, 82, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    background: #3db542;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 202, 82, 0.4);
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4dca52;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 202, 82, 0.3);
}

.cta-button-large:hover {
    background: #3db542;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 202, 82, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #4dca52;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border: 2px solid #4dca52;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4dca52;
    color: white;
    transform: translateY(-2px);
}

/* Seções */
.institutional {
    padding: 5rem 0;
    background: #f8fafc;
}

.institutional-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.institutional-content h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.institutional-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.diferenciais {
    padding: 60px 0;
    background-color: #f9f9f9;
    /* ★ SOLUÇÃO CROP: Adicionado para conter o overflow do Swiper e evitar barra de rolagem na página */
    overflow: hidden;
}

.diferenciais .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diferenciais h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
    text-align: center;
}

/* Container principal do Swiper */
.diferenciais-swiper {
    width: 100%;
    padding: 10px 60px 50px 60px;
    position: relative;
    /* ★ SOLUÇÃO CROP: Permite que os slides nas bordas fiquem parcialmente visíveis */
    overflow: visible;
}

/* O Slide (contêiner de cada card) */
.swiper-slide {
    /* Mantivemos as dimensões fixas que você definiu, pois funcionam bem com a solução de overflow */
    height: 380px; 
    width: 280px;
    display: flex; /* Garante que o card interno se estique */
    justify-content: center; /* Centraliza o card dentro do slide */
    align-items: center; /* Centraliza verticalmente */
}

/* O Card (o conteúdo visual) */
.diferencial-card {
    width: 100%;
    height: 100%; /* O card ocupa 100% da altura do slide */

    /* ★ SOLUÇÃO ÍCONES: Ajustes na organização interna do card */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinha o conteúdo ao topo para melhor distribuição */
    align-items: center;     /* Centraliza horizontalmente todo o conteúdo */
    
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    
    /* Garante que todos os cards tenham a mesma altura */
    min-height: 320px;
    box-sizing: border-box;
}

/* Estilos do conteúdo do card */
.diferencial-icon {
    font-size: 2.5rem;
    color: #4dca52;
    margin-bottom: 25px; /* Aumentei um pouco a margem para dar mais respiro */
    min-height: 60px; /* Garante altura mínima consistente */
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-logo {
    margin-bottom: 25px;
    text-align: center;
    min-height: 60px; /* Garante altura mínima consistente */
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 2.4rem; /* Garante altura mínima consistente para títulos */
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    flex: 1; /* Permite que o parágrafo ocupe o espaço restante */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
}

/* --- CUSTOMIZAÇÃO DAS SETAS E PAGINAÇÃO (sem alterações) --- */
:root {
    --swiper-theme-color: #4dca52;
}

.swiper-pagination-bullet-active {
    background-color: var(--swiper-theme-color);
}

.swiper-pagination {
    margin-top: 2rem;
    position: relative;
    bottom: -20px;
}

/* Estilos padrão para setas do Swiper (exceto diferenciais) */
.swiper:not(.diferenciais-swiper) .swiper-button-prev,
.swiper:not(.diferenciais-swiper) .swiper-button-next {
    color: var(--swiper-theme-color);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper:not(.diferenciais-swiper) .swiper-button-prev:after,
.swiper:not(.diferenciais-swiper) .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

/* Estilos personalizados para as setas dos diferenciais */




/* Efeito de foco para acessibilidade */
.diferenciais-swiper .swiper-button-prev:focus,
.diferenciais-swiper .swiper-button-next:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(77, 202, 82, 0.2) !important;
}

/* Garantir que as setas sejam sempre visíveis */
.diferenciais-swiper .swiper-button-prev,
.diferenciais-swiper .swiper-button-next {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.diferenciais-swiper .swiper-button-prev {
    left: 15px !important;
}

.diferenciais-swiper .swiper-button-next {
    right: 15px !important;
}

/* Gentle, elegant arrows design */
.diferenciais-swiper .swiper-button-prev,
.diferenciais-swiper .swiper-button-next {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(77, 202, 82, 0.2) !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.diferenciais-swiper .swiper-button-prev:hover,
.diferenciais-swiper .swiper-button-next:hover {
    background: rgba(77, 202, 82, 0.1) !important;
    border-color: rgba(77, 202, 82, 0.3) !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 4px 20px rgba(77, 202, 82, 0.15) !important;
}

.diferenciais-swiper .swiper-button-prev:after,
.diferenciais-swiper .swiper-button-next:after {
    color: #4dca52 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Sobrescrever estilos padrão do Swiper que podem estar escondendo as setas */
.diferenciais-swiper .swiper-button-prev.swiper-button-disabled,
.diferenciais-swiper .swiper-button-next.swiper-button-disabled {
    opacity: 0.35 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}



/* Estilos específicos para mobile */
@media (max-width: 768px) {
    .diferenciais-swiper .swiper-button-prev,
    .diferenciais-swiper .swiper-button-next {
        width: 42px !important;
        height: 42px !important;
        left: 10px !important;
        right: 10px !important;
    }
    
    .diferenciais-swiper .swiper-button-prev:after,
    .diferenciais-swiper .swiper-button-next:after {
        font-size: 14px !important;
    }
}

.swiper-pagination-bullet-active {
    background-color: var(--swiper-theme-color);
}

/* Segmentos de Ensino */
.segmentos {
    padding: 5rem 0;
    background: #f8fafc;
}

.segmentos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.segmento-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.segmento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.segmento-image {
    height: 250px;
    overflow: hidden;
}

.segmento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.segmento-card:hover .segmento-image img {
    transform: scale(1.1);
}

.segmento-content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.segmento-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.segmento-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.segmento-content p {
    color: #64748b;
    margin-bottom: 0;
}

.btn-segmento {
    display: inline-block;
    background: #4dca52;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-segmento:hover {
    background: #3db542;
    transform: translateY(-2px);
}

/* Depoimentos */
.depoimentos {
    padding: 5rem 0;
    background: white;
}

.depoimentos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.depoimentos-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.depoimentos-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.depoimentos-swiper .swiper-slide .depoimento {
    width: 100%;
}

.depoimentos-swiper .depoimentos-pagination {
    position: relative;
    margin-top: 2rem;
}

.depoimentos-swiper .depoimentos-pagination .swiper-pagination-bullet {
    background: #4dca52;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.depoimentos-swiper .depoimentos-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.depoimento {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #4dca52;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.depoimento-content p {
    font-style: italic;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.depoimento-autor strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.depoimento-autor span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Galeria */
.galeria {
    padding: 5rem 0;
    background: #f8fafc;
}

.galeria h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.galeria-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.galeria-item:hover {
    overflow: visible;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
    border-radius: 15px;
}

/* Modal da Galeria */
.galeria-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria-modal.active .modal-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8) rotateY(-10deg);
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.galeria-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-close:active {
    transform: scale(0.95) rotate(90deg);
    transition: all 0.1s ease;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.modal-close:hover .close-line {
    background: #4dca52;
    width: 22px;
}

/* Botões de navegação do modal */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.6;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.95);
    transition: all 0.15s ease;
}

.modal-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-nav:hover::before {
    opacity: 1;
}

/* Animação de entrada dos botões */
.modal-nav {
    animation: fadeInScale 0.6s ease-out 0.3s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    to {
        opacity: 0.6;
        transform: translateY(-50%) scale(1);
    }
}

/* Efeito de brilho sutil no hover */
.modal-nav::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.modal-nav:hover::after {
    opacity: 1;
}

/* Transições suaves para aparecer/desaparecer */
.modal-nav {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.3s ease, 
                visibility 0.3s ease;
}

.modal-nav.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.8);
    pointer-events: none;
}

/* Efeito de foco para acessibilidade */
.modal-nav:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Indicador de posição sutil */
.modal-nav .nav-indicator {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-nav:hover .nav-indicator {
    opacity: 1;
    transform: translateX(-50%) scale(1.5);
    background: rgba(255, 255, 255, 0.7);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

/* Ocultar botões de navegação em telas muito pequenas */
@media (max-width: 480px) {
    .modal-nav {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
        opacity: 0.8;
    }
    
    .modal-prev {
        left: 15px;
    }
    
    .modal-next {
        right: 15px;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-caption {
        padding: 15px;
    }
    
    .modal-caption p {
        font-size: 0.9rem;
    }
    
    .modal-caption::after {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

.modal-image-container {
    width: 100%;
    height: auto;
    max-height: 80vh;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.modal-image.loading {
    opacity: 0.6;
}

.modal-caption {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.modal-caption p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Indicador de posição da imagem */
.modal-caption::after {
    content: attr(data-counter);
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Instagram */
.instagram {
    padding: 5rem 0;
    background: #f8fafc;
}

.instagram h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.instagram-post {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.instagram-post:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-post.loading {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-placeholder {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #4dca52;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post {
    position: relative;
    cursor: pointer;
}

.post-likes,
.post-comments {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.post-likes i,
.post-comments i {
    color: #ff6b6b;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 2rem auto 0;
    max-width: 300px;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.3);
}

/* CTA Final */
.cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    color: white;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section {
    position: relative;
    z-index: 5;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #4dca52;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 5;
    align-items: center;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #4dca52;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(77, 202, 82, 0.3);
    border: 2px solid transparent;
    position: relative;
    z-index: 10;
    min-height: 50px;
    min-width: 50px;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.social-links a i {
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
}

.social-links a .fab {
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.social-links a .fa-instagram,
.social-links a .fa-whatsapp {
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.social-links a:hover,
.social-links a:focus {
    background: #3db542;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 202, 82, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-links a:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(77, 202, 82, 0.4), 0 0 0 3px rgba(77, 202, 82, 0.3);
}





.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #cbd5e1;
}

/* Página Sobre */
.main-content {
    margin-top: 80px;
}

.sobre-section {
    padding: 4rem 0;
}

.sobre-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.sobre-imagem {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sobre-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sobre-imagem:hover img {
    transform: scale(1.05);
}

.sobre-texto-destaque {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.missao-visao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.missao-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.missao-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.missao-card p {
    color: #64748b;
    line-height: 1.6;
}

.conquistas-content {
    text-align: center;
    margin: 3rem 0;
}

.conquistas-content h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.conquistas-content p {
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.conquistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.conquista-item {
    text-align: center;
    padding: 1.5rem;
}

.conquista-item i {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.conquista-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.conquista-item p {
    color: #64748b;
}

.diferenciais-pedagogicos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.diferencial-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diferencial-item.reverse {
    grid-template-columns: auto 1fr;
}

.diferencial-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.diferencial-content p {
    color: #64748b;
    line-height: 1.6;
}

.diferencial-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-imagem {
    width: 300px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diferencial-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.diferencial-imagem:hover img {
    transform: scale(1.05);
}

.diferencial-icon i {
    font-size: 2.5rem;
    color: white;
}

.diferencial-logo .sas-logo {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(86deg) brightness(104%) contrast(97%);
}

.diferencial-logo .red-balloon-logo {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.filosofia-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.filosofia-content h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
}

.filosofia-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.sobre-cta {
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

.sobre-cta h2 {
    margin-bottom: 2rem;
}

/* Página Ensino */
.ensino-intro {
    padding: 4rem 0;
    background: #f8fafc;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.segmento-ensino {
    padding: 4rem 0;
}

.segmento-header {
    text-align: center;
    margin-bottom: 3rem;
}

.segmento-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.segmento-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    scroll-margin-top: 100px; /* Ensures proper scroll positioning */
}

.segmento-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.segmento-texto p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.segmento-destaques h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.destaque-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.destaque-item i {
    font-size: 2rem;
    color: #4dca52;
    margin-bottom: 1rem;
}

.destaque-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.destaque-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.red-balloon-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.red-balloon-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.red-balloon-texto h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.red-balloon-texto p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.red-balloon-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-balloon-icon i {
    font-size: 3rem;
    color: white;
}

.segmento-galeria {
    margin-top: 3rem;
    text-align: center;
}

.segmento-galeria h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 2rem;
}

.segmento-galeria .galeria-grid {
    margin-top: 2rem;
}

.segmento-galeria .galeria-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.segmento-galeria .galeria-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.segmento-galeria .galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.segmento-galeria .galeria-item:hover img {
    transform: scale(1.05);
    border-radius: 15px;
}

.ensino-cta {
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

.ensino-cta h2 {
    margin-bottom: 1rem;
}

.ensino-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Página Contraturno */
.contraturno-intro {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon i {
    font-size: 1.5rem;
    color: white;
}

.monitorias-section,
.esportes-section {
    padding: 4rem 0;
}

.monitorias-content,
.esportes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Ajuste específico para alinhar os cards com o título */
.esportes-content {
    align-items: start;
}

.esportes-content .esportes-texto {
    margin-top: 0;
    padding-top: 0;
}

.esportes-content .modalidades-grid {
    margin-top: 0;
    padding-top: 0;
    align-self: start;
}

/* Ajuste para alinhar o topo dos cards com o topo do título */
.esportes-section .section-header + .esportes-content {
    margin-top: 0;
}

.esportes-section .section-header + .esportes-content .modalidades-grid {
    margin-top: 0;
    padding-top: 0;
}

/* Força o alinhamento absoluto com o topo do título */
.esportes-section .section-header {
    margin-bottom: 0;
    padding-bottom: 0;
}

.esportes-section .esportes-content {
    margin-top: 0;
    padding-top: 0;
}

.esportes-section .modalidades-grid {
    margin-top: 0;
    padding-top: 0;
    transform: translateY(-2rem);
}

.monitorias-texto p,
.esportes-texto p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Ajuste específico para o texto da seção de esportes */
.esportes-texto {
    margin-bottom: 2rem;
}

.horario-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.horario-card h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.horario-item {
    background: white;
    padding: 1.5rem 2rem; /* Diminuí o padding vertical para um visual mais elegante */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    /* Propriedades para o alinhamento horizontal */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.horario-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
}

.horario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.modalidade-card {
    background: white;
    padding: 1.2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

/* Centraliza o último card quando há número ímpar */
.modalidade-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 200px;
}

.modalidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.modalidade-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

.modalidade-icon i {
    font-size: 1.5rem;
    color: white;
}

.modalidade-card h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.modalidade-card p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.beneficios-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.beneficios-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.beneficio-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.beneficio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.beneficio-icon i {
    font-size: 2rem;
    color: white;
}

.beneficio-item h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.beneficio-item p {
    color: #64748b;
    line-height: 1.6;
}

.monitorias-galeria,
.esportes-galeria {
    margin-top: 3rem;
    text-align: center;
}

.monitorias-galeria h3,
.esportes-galeria h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 2rem;
}

/* Aplicar os mesmos estilos da galeria principal */
.monitorias-galeria .galeria-grid,
.esportes-galeria .galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.monitorias-galeria .galeria-item,
.esportes-galeria .galeria-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.monitorias-galeria .galeria-item:hover,
.esportes-galeria .galeria-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.monitorias-galeria .galeria-item img,
.esportes-galeria .galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.monitorias-galeria .galeria-item:hover img,
.esportes-galeria .galeria-item:hover img {
    transform: scale(1.05);
    border-radius: 15px;
}

.contraturno-cta {
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

/* Página Contato */
.contato-info {
    padding: 4rem 0;
    background: #f8fafc;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contato-detalhes h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contato-detalhes p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contato-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contato-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-icon i {
    color: white;
    font-size: 1.2rem;
}

.contato-texto h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contato-texto p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.btn-whatsapp,
.btn-email,
.btn-instagram {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: #4dca52;
    color: white;
}

.btn-whatsapp:hover {
    background: #3db542;
}

.btn-email {
    background: #4dca52;
    color: white;
}

.btn-email:hover {
    background: #3db542;
}

.contato-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contato-form h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4dca52;
    box-shadow: 0 0 0 3px rgba(77, 202, 82, 0.1);
}

.btn-enviar {
    width: 100%;
    background: #4dca52;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-enviar:hover {
    background: #3db542;
    transform: translateY(-2px);
}

.btn-enviar:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.btn-enviar:disabled:hover {
    background: #94a3b8;
    transform: none;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mapa-section {
    padding: 4rem 0;
    background: white;
}

.mapa-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.mapa-section p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.mapa-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.mapa-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.mapa-detalhes h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.mapa-detalhes p {
    color: #64748b;
    margin-bottom: 0.5rem;
    text-align: left;
}

.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4dca52;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-mapa:hover {
    background: #3db542;
    transform: translateY(-2px);
}

.horario-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.horario-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.horario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.horario-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.horario-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
}

.horario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.horario-dia {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinhamos o conteúdo do dia (ícone + texto) à esquerda */
    gap: 0.75rem;
    margin-bottom: 0; /* REMOVIDO: a margem que empurrava o horário para baixo */
}

.horario-dia i {
    color: #4dca52;
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 202, 82, 0.1);
    border-radius: 50%;
    padding: 8px;
}

.horario-dia span {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

.horario-tempo {
    padding: 0.8rem 1.2rem; /* Ajustei o padding para um visual de "pílula" */
    background: #f8fafc;
    border-radius: 50px; /* Borda arredondada para o efeito pílula */
    margin-top: 0; /* REMOVIDO: a margem extra */
}

.horario-tempo span {
    color: #4dca52;
    font-size: 1.1rem; /* Ajustei o tamanho da fonte */
    font-weight: 700;
}

.contato-galeria {
    padding: 4rem 0;
    background: white;
}

.contato-galeria h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
}

.contato-cta {
    background: linear-gradient(135deg, #4dca52 0%, #3db542 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 3rem;
}

.contato-cta h2 {
    margin-bottom: 1rem;
}

.contato-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateText {
    0%, 15% { transform: translateY(0); }
    20%, 35% { transform: translateY(-1.6em); }
    40%, 55% { transform: translateY(-3.2em); }
    60%, 75% { transform: translateY(-4.8em); }
    80%, 95% { transform: translateY(-6.4em); }
    100% { transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-18px) translateX(6px); opacity: 1; }
    100% { transform: translateY(0) translateX(0); opacity: 0.6; }
}

@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(77, 202, 82, 0.45); }
    70% { box-shadow: 0 0 0 18px rgba(77, 202, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(77, 202, 82, 0); }
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* Responsividade */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .diferenciais-swiper {
        padding: 10px 30px 50px 30px;
    }
    
    .swiper-slide {
        width: 300px !important;
    }
}

/* Dispositivos médios */
@media (max-width: 900px) {
    .container {
        max-width: 90%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .section-header h2 {
        font-size: 2.1rem;
    }
    
    .diferenciais-swiper {
        padding: 10px 25px 50px 25px;
    }
    
    .swiper-slide {
        width: 290px !important;
    }
    
    /* Ajustes para grids intermediários */
    .segmentos-grid,
    .beneficios-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    /* Ajustes para galerias intermediárias */
    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        min-height: 45px;
        min-width: 45px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .diferenciais-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .diferencial-card {
        width: 280px;
        height: auto;
        min-height: 300px;
        margin-bottom: 1rem;
    }
    
    /* Centralização dos cards do Swiper em mobile */
    .diferenciais-swiper {
        padding: 10px 60px 50px 60px;
        overflow: visible;
    }
    
    .swiper-slide {
        width: 280px !important;
        height: 380px;
        display: flex;
        justify-content: center;
    }
    
    .diferencial-card {
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }
    
    /* Ajustes para grids responsivos */
    .segmentos-grid,
    .beneficios-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* Ajustes para galerias responsivas */
    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .segmentos-grid {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-swiper {
        padding: 0 15px;
    }
    
    .depoimentos-swiper .depoimentos-pagination {
        margin-top: 1.5rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .segmento-content {
        grid-template-columns: 1fr;
    }
    
    .destaques-grid {
        grid-template-columns: 1fr;
    }
    
    .red-balloon-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .monitorias-content,
    .esportes-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Em tablets, os cards ficam abaixo do texto mas alinhados */
    .esportes-content .modalidades-grid {
        margin-top: 2rem;
        justify-self: center;
    }
    
    /* Em tablets, ajusta o alinhamento do título */
    .esportes-section .section-header {
        margin-bottom: 0;
    }
    
    /* Em tablets, remove o transform para manter o layout normal */
    .esportes-section .modalidades-grid {
        transform: none;
        margin-top: 2rem;
    }
    
    /* Ajustes para seções responsivas */
    .monitorias-section,
    .esportes-section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .modalidades-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
    
    /* Ajuste para o card centralizado em tablets */
    .modalidade-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 200px;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .mapa-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .horario-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .horario-item {
        padding: 2rem 1.5rem;
    }
    
    .horario-dia span {
        font-size: 1rem;
    }
    
    .horario-tempo span {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    /* Ajustes para botões em dispositivos pequenos */
    .hero-actions {
        gap: 1rem;
    }
    
    .hero-actions .cta-button {
        width: 100%;
        max-width: 280px;
    }
    
    .missao-visao-grid {
        grid-template-columns: 1fr;
    }
    
    .diferencial-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .diferencial-item.reverse {
        grid-template-columns: 1fr;
    }
    
    .sobre-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .diferencial-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .sobre-imagem {
        order: -1;
    }
    
    .diferencial-imagem {
        width: 100%;
        height: 200px;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Ajustes da galeria para tablets */
    .galeria-item:hover {
        transform: scale(1.01);
        z-index: 5;
    }
    
    .galeria-item:hover img {
        transform: scale(1.03);
    }
    
    /* Ajustes das galerias das seções para tablets */
    .segmento-galeria .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .segmento-galeria .galeria-item:hover {
        transform: scale(1.01);
        z-index: 5;
    }
    
    .segmento-galeria .galeria-item:hover img {
        transform: scale(1.03);
    }
    
    /* Ajustes das galerias de monitorias e esportes para tablets */
    .monitorias-galeria .galeria-grid,
    .esportes-galeria .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .monitorias-galeria .galeria-item:hover,
    .esportes-galeria .galeria-item:hover {
        transform: scale(1.01);
        z-index: 5;
    }
    
    .monitorias-galeria .galeria-item:hover img,
    .esportes-galeria .galeria-item:hover img {
        transform: scale(1.03);
    }
    
    /* Modal responsivo para tablets */
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .close-line {
        width: 18px;
    }
    
    .diferencial-imagem {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
    
    /* Ajustes para imagens responsivas */
    .sobre-imagem img,
    .diferencial-imagem img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
    
    /* Ajustes para logos responsivos */
    .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .footer-logo {
        height: 40px;
        max-width: 120px;
    }
}

/* Dispositivos muito pequenos */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .modalidades-grid {
        max-width: 280px;
    }
    
    .modalidade-card {
        padding: 1rem;
    }
    
    .modalidade-icon {
        width: 45px;
        height: 45px;
    }
    
    .modalidade-icon i {
        font-size: 1.3rem;
    }
}

/* Orientação landscape em dispositivos móveis */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .monitorias-section,
    .esportes-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        min-height: 40px;
        min-width: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    
    .modalidades-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    /* Em mobile, todos os cards ficam em uma coluna */
    .modalidade-card:last-child:nth-child(odd) {
        grid-column: 1;
        justify-self: center;
        max-width: 200px;
    }
    
    /* Em mobile, os cards ficam centralizados e alinhados */
    .esportes-content .modalidades-grid {
        margin-top: 2rem;
        justify-self: center;
    }
    
    /* Em mobile, ajusta o alinhamento do título */
    .esportes-section .section-header {
        margin-bottom: 0;
    }
    
    /* Em mobile, remove o transform para manter o layout normal */
    .esportes-section .modalidades-grid {
        transform: none;
        margin-top: 2rem;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .galeria-item {
        aspect-ratio: 3/2;
    }
    
    /* Ajustes da galeria para celulares pequenos */
    .galeria-item:hover {
        transform: scale(1.005);
        z-index: 3;
    }
    
    .galeria-item:hover img {
        transform: scale(1.02);
    }
    
    /* Ajustes das galerias das seções para celulares pequenos */
    .segmento-galeria .galeria-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .segmento-galeria .galeria-item {
        aspect-ratio: 3/2;
    }
    
    .segmento-galeria .galeria-item:hover {
        transform: scale(1.005);
        z-index: 3;
    }
    
    .segmento-galeria .galeria-item:hover img {
        transform: scale(1.02);
    }
    
    /* Ajustes das galerias de monitorias e esportes para celulares pequenos */
    .monitorias-galeria .galeria-grid,
    .esportes-galeria .galeria-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .monitorias-galeria .galeria-item,
    .esportes-galeria .galeria-item {
        aspect-ratio: 3/2;
    }
    
    .monitorias-galeria .galeria-item:hover,
    .esportes-galeria .galeria-item:hover {
        transform: scale(1.005);
        z-index: 3;
    }
    
    .monitorias-galeria .galeria-item:hover img,
    .esportes-galeria .galeria-item:hover img {
        transform: scale(1.02);
    }
    
    /* Modal responsivo para celulares pequenos */
    .modal-content {
        max-width: 98vw;
        max-height: 98vh;
        border-radius: 15px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .close-line {
        width: 16px;
    }
    
    .modal-caption {
        padding: 15px;
    }
    
    .modal-caption p {
        font-size: 0.9rem;
    }
    
    /* Ajustes para dispositivos muito pequenos */
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .segmento-galeria h3,
    .monitorias-galeria h3,
    .esportes-galeria h3 {
        font-size: 1.5rem;
    }
    
    /* Ajustes adicionais para dispositivos muito pequenos */
    .diferenciais-swiper {
        padding: 10px 15px 50px 15px;
    }
    
    .swiper-slide {
        width: 260px !important;
    }
    
    .diferencial-card {
        padding: 25px;
    }
    
    .diferencial-icon {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .diferencial-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .diferencial-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}
