/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-color: #FF6B35; /* Laranja */
    --secondary-color: #1a1a1a; /* Preto */
    --light-color: #ffffff; /* Branco */
    --gray-light: #f8f9fa;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --transition-default: all 0.3s ease;
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --whatsapp-color: #25D366;
    
    /* Cores para a grade horária */
    --iniciante-color: #e6f7ff;
    --intermediario-color: #fff2e6;
    --avancado-color: #f0e6ff;
    --todos-color: #e6ffe6;
    --nogi-color: #ffe6e6;
}

body {
    background-color: var(--light-color);
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container Principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Botões e Links */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-default);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo-header {
    width: 180px;
    height: auto;
    transition: var(--transition-default);
}

.navbar.scrolled .logo-header {
    width: 150px;
}

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

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-default);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-default);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition-default);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/hero-bg.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--light-color), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-default);
    display: inline-block;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--light-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Seção Sobre Nós */
.about {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

/* Novos estilos para a seção Sobre */
.about-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-block {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
}

.about-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-subtitle {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.about-block p {
    margin-bottom: 1rem;
}

.about-facilities {
    margin: 3rem 0;
}

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

.facility-item {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
}

.facility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.facility-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.facility-title i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Seção Horários */
.horarios {
    padding: 6rem 0;
    background-color: var(--gray-light);
}

.schedule-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.schedule-table-container {
    margin: 2rem 0;
    overflow-x: auto;
}

.schedule-table-wrapper {
    min-width: 100%;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.schedule-table thead {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.schedule-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.schedule-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #ddd;
    background-color: var(--light-color);
}

.schedule-table th:first-child,
.time-cell {
    background-color: var(--secondary-color);
    color: var(--gray-dark);
    font-weight: 600;
    min-width: 80px; /* Garante uma largura mínima para a coluna de horário */
    position: sticky; /* Tenta manter a coluna visível na rolagem horizontal */
    left: 0; /* Fixa a coluna à esquerda */
    z-index: 1; /* Garante que fique acima das outras células */
}

.class-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.class-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.class-prof {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.legend-color.iniciante {
    background-color: var(--iniciante-color);
    border: 1px solid #b3e0ff;
}

.legend-color.intermediario {
    background-color: var(--intermediario-color);
    border: 1px solid #ffd9b3;
}

.legend-color.avancado {
    background-color: var(--avancado-color);
    border: 1px solid #d9b3ff;
}

.legend-color.todos {
    background-color: var(--todos-color);
    border: 1px solid #b3ffb3;
}

.legend-color.nogi {
    background-color: var(--nogi-color);
    border: 1px solid #ffb3b3;
}

.legend-text {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Estilos originais */
.features {
    margin: 3rem 0;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.mission-statement {
    text-align: center;
    margin: 4rem 0;
}

.mission-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

.target-audience {
    background-color: var(--gray-light);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
}

.audience-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.audience-item {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
    border-bottom: 3px solid var(--primary-color);
}

.audience-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.call-to-action {
    text-align: center;
    margin: 4rem 0 2rem;
}

.cta-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-sub {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Seção Professores */
.professores {
    padding: 6rem 0;
    background-color: var(--gray-light);
    position: relative;
}

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

.professor-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
    text-align: center;
    position: relative;
}

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

.professor-photo {
    width: 200px; /* Tamanho fixo para a foto */
    height: 200px; /* Tamanho fixo para a foto */
    border-radius: 50%; /* Torna a imagem circular */
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    border: 5px solid var(--primary-color); /* Adiciona a borda laranja */
    margin: 0 auto 1.5rem; /* Centraliza a foto e adiciona margem abaixo */
    display: block; /* Garante que a margem auto funcione */
    box-shadow: var(--shadow-sm); /* Adiciona uma leve sombra */
}

.professor-info {
    padding: 2rem;
}

.professor-name {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.professor-rank {
    color: var(--gray-medium);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.professor-bio {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.professor-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition-default);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Seção Contato */
.contact {
    padding: 6rem 0 0; /* Removido padding inferior para reduzir espaço antes do footer */
    background-color: var(--light-color);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-details p {
    font-size: 1.1rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: var(--border-radius-md);
    transition: var(--transition-default);
    margin-bottom: 3rem;
}

.contact-details p:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

/* WhatsApp Contact Section */
.whatsapp-contact {
    background-color: var(--gray-light);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
}

.whatsapp-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.whatsapp-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.whatsapp-buttons {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: var(--whatsapp-color);
    color: var(--light-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background-color: #1da851;
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Mapa */
.map-container {
    height: 400px;
    margin-top: 3rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer Aprimorado */
.site-footer {
    background-color: var(--secondary-color);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    align-items: start; /* Alinha os itens ao topo */
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo-section {
    text-align: center; /* Centraliza o logo em sua coluna */
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo-section p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact p,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-default);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 0.7rem;
    width: 15px; /* Alinha os ícones */
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem; /* Espaço acima dos ícones sociais */
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition-default);
    font-size: 1.1rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.copyright {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.dev-credits {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.dev-credits a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.dev-credits a:hover {
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background-color: var(--whatsapp-color);
    color: var(--light-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-default);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-lg);
}

.whatsapp-float i {
    font-size: 2rem;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .benefits-list,
    .audience-list,
    .about-blocks,
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .class-prof {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-default);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .benefits-list,
    .audience-list,
    .professores-grid,
    .about-blocks,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1.3rem;
    }
    
    .cta-main {
        font-size: 1.8rem;
    }
    
    .whatsapp-buttons {
        width: 100%;
    }
    
    .schedule-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
    }
    
    .class-prof {
        font-size: 0.6rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .benefit-item,
    .audience-item,
    .contact-details p,
    .about-block,
    .facility-item {
        padding: 1.5rem;
    }
    
    .target-audience,
    .whatsapp-contact {
        padding: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    .schedule-table-container {
        margin: 1rem -1rem;
        width: calc(100% + 2rem);
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .class-name {
        font-size: 0.7rem;
    }
    
    .class-prof {
        font-size: 0.6rem;
    }
}


/* Animação Fade-in */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transform: translateY(20px);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}



/* Estilos para Grade de Horários Dinâmica */
.schedule-table td .class-info {
    transition: opacity 0.3s ease, transform 0.3s ease; /* Suaviza a transição */
}

.schedule-table.highlighting td:not(.highlighted):not(.time-cell) .class-info {
    opacity: 0.3; /* Diminui a opacidade dos não destacados */
}

.schedule-table td.highlighted .class-info {
    transform: scale(1.05); /* Aumenta levemente o tamanho */
    opacity: 1; /* Garante opacidade total */
}

.legend-item {
    cursor: pointer; /* Indica que é interativo */
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: scale(1.1); /* Efeito de zoom no hover da legenda */
}


.schedule-table-wrapper {
    overflow-x: auto; /* Permite rolagem horizontal se a tabela for larga */
    -webkit-overflow-scrolling: touch; /* Melhora a rolagem em iOS */
}
/* Adicione ao final do arquivo CSS */
.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-default);
    
}

.btn-whatsapp:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-alt {
    background-color: transparent;
    border: 2px solid var(--whatsapp-color);
    color: var(--whatsapp-color);
    margin-bottom: 3rem
}

.btn-whatsapp-alt:hover {
    background-color: var(--whatsapp-color);
    color: var(--light-color);
}

.newsletter input {
    padding: 0.8rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid #ddd;
    width: 100%;
    margin-bottom: 0.5rem;
}

.newsletter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-default);
}

.newsletter button:hover {
    background-color: #e55a25;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Animação pulsante para células destacadas na tabela de horários */
@keyframes pulse-highlight {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 5px rgba(255, 107, 53, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.schedule-table td.highlighted {
    border: 2px solid #ff6b35 !important;
    background-color: rgba(255, 107, 53, 0.15) !important;
    animation: pulse-highlight 1.5s infinite;
    position: relative;
    z-index: 2;
}

.schedule-table.highlighting td:not(.highlighted):not(.time-cell) {
    opacity: 0.4;
    filter: grayscale(30%);
}
