/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --secondary-color: #212121;
    --accent-color: #ff9800;
    --light-color: #f5f5f5;
    --dark-color: #111;
    --gray-color: #757575;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;

}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.text-center {
    text-align: center;
}

/* Header e Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar {
    width: 100%;
    margin-left: 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0 12px;
    font-weight: 300;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-login, .btn-agendar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-left: 15px;
    white-space: nowrap;
}

.btn-login {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-left: 15px;
    transition: var(--transition);
}

.btn-login:hover {
    background-color: var(--primary-color);
}

.btn-agendar {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    margin-left: 30px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-agendar:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-video iframe {
        width: 100vw;
        height: 100vh;
        left: 50%;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Seção Quem Somos */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Seção Modalidades */
.modalities {
    background-color: #f0f0f0;
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.modality-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.modality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modality-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modality-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.modality-card p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.modality-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.modality-link:hover {
    color: var(--primary-dark);
}

/* Seção Professores - Design Limpo (SEM BOTÃO) */
.teachers {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.teacher-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px 25px;
    color: white;
}

.teacher-card:hover .teacher-overlay {
    opacity: 1;
}

.teacher-overlay .teacher-info {
    transform: translateY(20px);
    transition: transform 0.5s ease;
    width: 100%;
}

.teacher-card:hover .teacher-overlay .teacher-info {
    transform: translateY(0);
}

.teacher-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.teacher-overlay .teacher-title {
    color: #ffcc00;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.teacher-overlay .teacher-belt {
    color: #ddd;
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

.teacher-overlay .teacher-achievements {
    max-height: 210px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
}

.teacher-overlay .teacher-achievements p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #ffcc00;
    font-weight: 600;
}

.teacher-overlay .teacher-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.teacher-overlay .teacher-achievements li {
    font-size: 0.8rem;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
    color: #eee;
}

.teacher-overlay .teacher-achievements li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.teacher-name {
    padding: 25px;
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--primary-color);
    text-align: center;
}

.teacher-name h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.teacher-name p {
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Badge de faixa no card (mantido) */
.teacher-card:before {
    content: attr(data-belt);
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilização da scrollbar (mantida) */
.teacher-overlay .teacher-achievements::-webkit-scrollbar {
    width: 4px;
}

.teacher-overlay .teacher-achievements::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.teacher-overlay .teacher-achievements::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.teacher-overlay .teacher-achievements::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsividade */
@media (max-width: 1200px) {
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .teacher-image {
        height: 500px;
    }

    .teacher-name {
        padding: 20px;
    }

    .teacher-name h3 {
        font-size: 1.2rem;
    }

    .teacher-overlay {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .teacher-image {
        height: 500px;
    }

    .teacher-overlay {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .teachers-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .teacher-card {
        max-width: 100%;
    }

    .teacher-image {
        height: 500px;
    }
}

/* Animações (mantidas) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teacher-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Delay para cada card */
.teacher-card:nth-child(1) {
    animation-delay: 0.1s;
}

.teacher-card:nth-child(2) {
    animation-delay: 0.2s;
}

.teacher-card:nth-child(3) {
    animation-delay: 0.3s;
}

.teacher-card:nth-child(4) {
    animation-delay: 0.4s;
}

.teacher-card:nth-child(5) {
    animation-delay: 0.5s;
}

.teacher-card:nth-child(6) {
    animation-delay: 0.6s;
}

.teacher-card:nth-child(7) {
    animation-delay: 0.7s;
}

/* Documentário */
.documentary {
    background-color: var(--secondary-color);
    color: white;
}

.doc-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.doc-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
}

.doc-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.doc-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.doc-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Estilos da grade de horários - DESKTOP */
.schedule-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.schedule-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.schedule-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ff0000;
}

/* Tabela para desktop */
.schedule-table-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.438);
    background-color: white;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    background-color: #222;
    color: white;
    padding: 1.2rem 0.5rem;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    border-right: 1px solid #333;
}

.schedule-table th:last-child {
    border-right: none;
}

.schedule-table td {
    padding: 1.5rem 0.5rem;
    text-align: center;
    vertical-align: top;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.schedule-table td:last-child {
    border-right: none;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Cards de atividades */
.activity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #222;
    text-align: center;
}

.activity-time {
    font-weight: 600;
    font-size: 1.4rem;
    color: #ff0000;
    margin-bottom: 5px;
}

.activity-age {
    font-size: 0.85rem;
    color: #666;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
}

.combined-activity .activity-name {
    font-size: 1rem;
    line-height: 1.3;
}

/* Cores diferentes para cada atividade */
.boxe-card {
    background-color: rgba(255, 0, 0, 0.1);
    border-top: 4px solid #ff0000;
}

.kickboxing-card {
    background-color: rgba(255, 0, 0, 0.1);
    border-top: 4px solid #ff0000;
}

.karate-card {
    background-color: rgba(255, 0, 0, 0.1);
    border-top: 4px solid #ff0000;
}

.jiujitsu-card {
    background-color: rgba(255, 0, 0, 0.1);
    border-top: 4px solid #ff0000;
}

.combined-card {
    background-color: rgba(255, 0, 0, 0.1);
    border-top: 4px solid #ff0000;
}

/* Botões de ação */
.schedule-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 2rem;
    padding: 0 1rem;
}

.action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.edit-btn {
    background-color: #db3434;
    color: white;
}

.edit-btn:hover {
    background-color: #b92929;
}

/* ACORDEÃO PARA MOBILE */
.schedule-accordion {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
}

.day-accordion-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.day-header {
    background-color: #222;
    color: white;
    padding: 1.2rem;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.day-header:hover {
    background-color: #333;
}

.day-header.active {
    background-color: #444;
}

.accordion-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.day-header.active .accordion-toggle {
    transform: rotate(45deg);
}

.day-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.day-content.active {
    max-height: 1000px;
}

.day-activities {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.day-activity {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.2rem;
    border-left: 4px solid #ff0000;
}

.day-activity-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 0.5rem;
}

.day-activity-time {
    font-weight: 600;
    font-size: 1.4rem;
    color: #ff0000;
    margin-bottom: 0.5rem;
}

.day-activity-age {
    font-size: 0.85rem;
    color: #666;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {

    .schedule-table th,
    .schedule-table td {
        padding: 1rem 0.5rem;
    }

    .activity-card {
        min-height: 110px;
        padding: 8px;
    }

    .activity-name {
        font-size: 1.1rem;
    }

    .activity-time {
        font-size: 1.2rem;
    }
}

/* Mobile (até 768px) - Acordeão ativo */
@media (max-width: 768px) {

    /* Header mobile */
    .header {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .agende-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* Breadcrumb mobile */
    .breadcrumb {
        padding: 10px 15px;
        margin-top: 70px;
    }

    .breadcrumb-link {
        padding: 4px 8px;
        font-size: 13px;
    }

    .breadcrumb-link span:not(:first-child) {
        display: none;
    }

    .breadcrumb-link i {
        margin-right: 0;
    }

    /* Esconder tabela, mostrar acordeão */
    .schedule-table-container {
        display: none;
    }

    .schedule-accordion {
        display: flex;
    }

    .schedule-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .schedule-actions {
        justify-content: center;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    /* Botão voltar ao topo mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .schedule-title {
        font-size: 1.5rem;
    }

    .day-header {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .day-activities {
        padding: 1rem;
    }

    .day-activity {
        padding: 1rem;
    }

    .day-activity-name {
        font-size: 1.1rem;
    }

    .day-activity-time {
        font-size: 1.3rem;
    }

    .breadcrumb {
        padding: 8px 10px;
    }

    .breadcrumb-list {
        font-size: 12px;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Galeria */
.gallery {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

footer {
    background-color: #000000;
    color: #ddd;
    padding: 3rem 0 1.5rem;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo-section {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #aaa;
}

.footer-social-section {
    flex: 1;
    min-width: 300px;
}

.social-title {
    font-family: 'Roboto', sans-serif;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    text-align: center;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    width: 50px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.whatsapp-icon {
    background-color: #25D366;
}

.facebook-icon {
    background-color: #3b5998;
}

.waze-icon {
    background-color: #33ccff;
}

.instagram-icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.icon-label {
    font-size: 0.8rem;
    text-align: center;
    color: #ccc;
}

.footer-contact {
    flex: 1;
    min-width: 300px;
}

.contact-title {
    font-family: 'Roboto', sans-serif;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-info {
    list-style: none;
    margin-bottom: 1.5rem;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: #ff6b35;
    width: 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #888;
    font-size: 0.8rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #000000;
        padding: 1rem;
        z-index: 100;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-content,
    .doc-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 0;
        display: flex;
    }

    .btn-login,
    .btn-agendar {
        margin: 0 25px;
        display: block;
        width: auto;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3131318a;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #3131318a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animação fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.institute-content,
.institute-stats {
    opacity: 0;
}

.modality-card,
.teacher-card,
.gallery-item,
.feature,
.stat-item {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}