/* ==========================================================================
   ACADEMIA MASTER - DESIGN SYSTEM V2.1 (FIXED)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* Cores da Marca */
    --master-red: #d01221;
    --master-dark: #1a1a1a;
    --master-gray: #e0e0e0;
    --sport-yellow: #f1c40f;

    /* Sombras */
    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-red: 0 10px 20px rgba(208, 18, 33, 0.2);
}

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

body {
    background-color: transparent; /* CORREÇÃO: Fundo transparente para ver as formas atrás */
    font-family: 'Open Sans', sans-serif;
    color: var(--master-dark);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.fw-black { font-weight: 900; }

/* ==========================================================================
   1. BACKGROUND ORGÂNICO (AGORA VISÍVEL)
   ========================================================================== */
.organic-bg-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: -10; /* Bem ao fundo */
    overflow: hidden;
    background-color: #f9f9f9; /* A cor de fundo base fica AQUI agora */
}

/* Bolhas (Orbs) - Aumentadas e mais fortes */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px); /* Blur reduzido um pouco para definir mais a cor */
    opacity: 0.8; /* Aumentado para aparecer mais */
    animation: floatOrb 25s infinite ease-in-out alternate;
    mix-blend-mode: multiply; /* Melhor mistura de cores */
}

.orb-red-1 {
    width: 90vh; height: 90vh; /* Gigante */
    background: radial-gradient(circle, rgba(208,18,33,0.15) 0%, rgba(255,255,255,0) 70%);
    top: -20%; left: -10%;
    animation-delay: 0s;
}

.orb-yellow-1 {
    width: 80vh; height: 80vh;
    background: radial-gradient(circle, rgba(241,196,15,0.15) 0%, rgba(255,255,255,0) 70%);
    top: 30%; right: -15%;
    animation-delay: -5s;
}

.orb-gray-1 {
    width: 100vw; height: 100vw;
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0) 70%);
    bottom: -30%; left: 10%;
    animation-delay: -10s;
}

.orb-red-2 {
    width: 60vh; height: 60vh;
    background: radial-gradient(circle, rgba(208,18,33,0.1) 0%, rgba(255,255,255,0) 70%);
    bottom: 10%; right: 20%;
    animation-delay: -2s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 20px) scale(1.05); }
}

/* ==========================================================================
   2. NAVBAR & MEGA MENU (CORREÇÃO DA FLECHINHA)
   ========================================================================== */
.master-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.master-navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #333 !important;
    padding: 10px 15px !important;
    position: relative;
    transition: 0.3s;
}

/* CORREÇÃO: Usar ::before para o sublinhado, evitando conflito com a flecha (::after) do Bootstrap */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px; left: 50%;
    width: 0; height: 2px;
    background-color: var(--master-red);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::before, .nav-link.active::before {
    width: 25px; /* Tamanho do traço vermelho */
}

/* Ajuste específico para o Dropdown não quebrar */
.dropdown-toggle::after {
    vertical-align: 0.255em;
    margin-left: 0.4em; /* Espaço da flechinha */
    transition: transform 0.2s;
}

/* Gira a flechinha quando aberto */
.nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Estilo do Dropdown Mega Menu */
.dropdown-menu.mega-menu {
    background-color: white;
    border-top: 3px solid var(--master-red) !important;
    margin-top: 15px; /* Espaço para não colar no menu */
    border-radius: 0 0 8px 8px;
    border-left: none; border-right: none; border-bottom: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.dropdown-header {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.dropdown-item {
    font-size: 0.9rem;
    color: #555;
    padding: 8px 15px;
    border-radius: 4px;
    transition: 0.2s;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(208,18,33,0.05);
    color: var(--master-red);
    padding-left: 20px; /* Efeito de slide */
}

.btn-master-cta {
    background-color: var(--master-red);
    color: white !important;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--master-red);
    transition: 0.3s;
}

.btn-master-cta:hover {
    background-color: transparent;
    color: var(--master-red) !important;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 120px 0;
    /* Fundo da imagem */
    background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070') center/cover no-repeat;
    /* Corte diagonal moderno */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente branco suave para ler o texto */
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--master-dark);
}

/* ==========================================================================
   4. CARDS & SEÇÕES (TRANSPARENTES PARA VER O FUNDO)
   ========================================================================== */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px; height: 5px;
    background-color: var(--sport-yellow);
    margin-top: 10px;
}

/* Cards com fundo branco para contrastar com as bolhas */
.card-modalidade {
    background: white;
    padding: 30px;
    border-left: 5px solid var(--master-red);
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 2; /* Fica acima das bolhas */
}

.card-modalidade:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-modalidade::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #f4f4f4 transparent transparent;
    transition: 0.3s;
}

.card-modalidade:hover::before {
    border-color: transparent var(--master-red) transparent transparent;
}

/* ==========================================================================
   5. RODAPÉ
   ========================================================================== */
.footer-master {
    background-color: #111;
    color: white;
    position: relative;
    z-index: 10;
    margin-top: 0; /* Remove margem negativa antiga */
}

.footer-list li { margin-bottom: 8px; }

.footer-list a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-list a:hover {
    color: white;
    transform: translateX(5px);
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--master-red);
    transform: translateY(-3px);
}

.text-master-red { color: var(--master-red) !important; }

/* ==========================================================================
   6. BOTÕES
   ========================================================================== */
.btn-master {
    background-color: var(--master-red);
    color: white !important;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    text-transform: uppercase;
    box-shadow: var(--shadow-red);
    transition: 0.3s;
}

.btn-master:hover {
    background-color: #a00e19;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(208, 18, 33, 0.4);
}

/* ==========================================================================
   7. RESPONSIVIDADE (LEGACY V2)
   ========================================================================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 10px;
        border-radius: 8px;
    }

    .dropdown-menu.mega-menu {
        border-top: none !important;
        padding: 0;
        box-shadow: none !important;
        margin-top: 0;
    }

    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding-top: 120px;
    }
    .hero-title { font-size: 2.5rem; }

    /* Ajuste das bolhas no mobile para não pesar */
    .orb { opacity: 0.5; filter: blur(50px); }
    .orb-red-1 { width: 50vh; height: 50vh; top: 0; left: -20%; }
}

/* ==========================================================================
   ACADEMIA MASTER - EXTENSÃO PREMIUM (V3.0)
   Adicione ao final do arquivo style.css
   ========================================================================== */

/* --- 1. HERO & ANIMAÇÕES DE ENTRADA --- */
.hero-image-wrapper {
    perspective: 1000px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--master-red);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 10;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Texto Gradiente Vermelho */
.text-gradient-red {
    background: linear-gradient(45deg, var(--master-red), #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animações de Fade */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-down {
    animation: fadeDown 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    to { opacity: 1; transform: translateY(0); }
}

/* Botão Scroll Down */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    text-align: center;
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: 0.3s;
}
.scroll-down-btn:hover { opacity: 1; color: var(--master-red); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* --- 2. ESTATÍSTICAS (STATS BAR) --- */
.divide-cols > div {
    position: relative;
}

@media (min-width: 768px) {
    .divide-cols > div::after {
        content: '';
        position: absolute;
        top: 20%; right: 0;
        height: 60%; width: 1px;
        background-color: rgba(255,255,255,0.1);
    }
    .divide-cols > div:last-child::after { display: none; }
}

.counter {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

/* --- 3. CARDS DE MODALIDADES (ENHANCED) --- */
.card-modalidade {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    border-top: 1px solid #eee; /* Leve borda superior */
    border-right: 1px solid #eee;
}

.card-icon-wrapper {
    width: 70px; height: 70px;
    background-color: var(--bg-off-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}

.card-modalidade:hover .card-icon-wrapper {
    background-color: var(--master-red);
    color: white;
}

.card-modalidade:hover .card-icon-wrapper i {
    color: white !important;
}

.link-arrow {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--master-dark);
    display: flex; align-items: center; gap: 5px;
    transition: 0.3s;
    margin-top: auto; /* Empurra para baixo */
}

.link-arrow:hover {
    gap: 10px;
    color: var(--master-red);
}

.highlight-card {
    background-color: #f0faff; /* Leve azul para destaque da natação */
    border: 1px solid #bee3f8;
}

/* --- 4. LISTA DE DIFERENCIAIS --- */
.feature-item {
    transition: 0.3s;
    padding: 10px;
    border-radius: 8px;
}
.feature-item:hover {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon-circle {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

/* --- 5. TEAM CARDS --- */
.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}

.team-card:hover img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px; left: 0; width: 100%;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    display: flex; justify-content: center; gap: 15px;
    transition: 0.3s;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--master-dark);
    font-size: 1.2rem;
}
.team-social a:hover { color: var(--master-red); }

.team-info {
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.team-card:hover .team-info {
    border-bottom-color: var(--master-red);
}

/* --- 6. DEPOIMENTOS & ACCORDION --- */
.testimonial-card {
    transition: 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.accordion-master .accordion-item {
    overflow: hidden;
}
.accordion-master .accordion-button {
    background-color: white;
    color: var(--master-dark);
    box-shadow: none;
}
.accordion-master .accordion-button:not(.collapsed) {
    color: var(--master-red);
    background-color: rgba(208, 18, 33, 0.05);
}
.accordion-master .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

/* --- 7. BOTÕES EXTRAS --- */
.pulse-animation {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(208, 18, 33, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(208, 18, 33, 0); }
    100% { box-shadow: 0 0 0 0 rgba(208, 18, 33, 0); }
}

.btn-hover-slide {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-hover-slide::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: #000;
    transition: 0.3s;
    z-index: -1;
}
.btn-hover-slide:hover { color: white; }
.btn-hover-slide:hover::before { left: 0; }

/* Ajuste Responsivo do Mapa */
@media (max-width: 991px) {
    .map-overlay-card {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .hero-title { font-size: 2.8rem; }

    .counter { font-size: 2.5rem; }

    .divide-cols > div { margin-bottom: 20px; }
    .divide-cols > div::after { display: none; }
}

/* ==========================================================================
   ACADEMIA MASTER - EXTENSÃO FINAL (V3.0)
   Correções de Estilo para Index Otimizada
   ========================================================================== */

/* --- 1. HERO & TEXTOS --- */
.hero-title {
    font-size: 3.5rem; /* Ajuste para não quebrar em laptops */
}

@media (min-width: 1400px) {
    .hero-title { font-size: 4.5rem; }
}

.text-gradient-red {
    background: linear-gradient(45deg, var(--master-red), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 2. CARDS DE MODALIDADES (REFINADO) --- */
.card-modalidade {
    background: white;
    border: 1px solid rgba(0,0,0,0.05); /* Borda sutil */
    border-left: 5px solid var(--master-red); /* Mantém a identidade */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-icon-wrapper {
    width: 60px; height: 60px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
    font-size: 1.5rem;
}

.card-modalidade:hover .card-icon-wrapper {
    background-color: var(--master-red);
    color: white;
}

.card-modalidade:hover .card-icon-wrapper i {
    color: white !important; /* Força ícone branco no hover */
}

/* --- 3. LISTA DE DIFERENCIAIS (FEATURE LIST) --- */
.feature-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateX(10px);
    background-color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.03);
}

.icon-circle {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

/* --- 4. ACCORDION (FAQ) --- */
.accordion-master .accordion-item {
    border: none;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.accordion-master .accordion-button {
    background-color: white;
    color: var(--master-dark);
    font-weight: 700;
    box-shadow: none;
    padding: 20px;
}

.accordion-master .accordion-button:not(.collapsed) {
    color: var(--master-red);
    background-color: #fff5f5; /* Fundo vermelho bem claro */
    box-shadow: none;
}

.accordion-master .accordion-button:focus {
    border-color: rgba(208, 18, 33, 0.2);
    box-shadow: 0 0 0 0.25rem rgba(208, 18, 33, 0.1);
}

/* --- 5. EFEITOS GERAIS --- */
.btn-hover-scale:hover {
    transform: scale(1.05);
}

.pulse-animation {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(208, 18, 33, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(208, 18, 33, 0); }
    100% { box-shadow: 0 0 0 0 rgba(208, 18, 33, 0); }
}

/* --- 6. AJUSTES MOBILE FINAIS (LEGACY V3.0) --- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .map-overlay-card {
        /* No mobile, o card de mapa vira um bloco normal acima do mapa */
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        border-left: none !important;
        border-top: 5px solid var(--master-red);
    }
}
/* ==========================================================================
   FIXES V3.1 (BOTÕES, MAPA E Z-INDEX)
   Adicione ao final do style.css
   ========================================================================== */

/* 1. Correção dos Botões Transparentes no Hover */
.btn-outline-dark:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.btn-hover-solid:hover {
    background-color: #111 !important; /* Preto sólido */
    color: white !important;
    border-color: #111 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-master:hover {
    background-color: #b00d1b !important; /* Vermelho mais escuro sólido */
    color: white !important;
    opacity: 1 !important;
}

/* 2. Z-Index para garantir que o CTA final apareça sobre as bolhas */
section.bg-master-red {
    background-color: var(--master-red); /* Garante cor de fundo sólida */
    position: relative;
    z-index: 10 !important; /* Traz pra frente */
}

/* 3. Ajuste do Card de Mapa no Mobile */
@media (max-width: 991px) {
    .map-overlay-card {
        display: block !important; /* Mostra no mobile mas ajustado */
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        border-left: none !important;
        border-top: 5px solid var(--master-red);
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: #f8f9fa !important;
    }
}

/* 4. Arredondamento Global de Cards Novos */
.rounded-4 {
    border-radius: 1rem !important;
}

/* ==========================================================================
   FIXES V3.2 (MAPA DIREITA E ÍCONE NATAÇÃO)
   ========================================================================== */

/* 1. Correção Específica para o Card de Natação (Highlight) */
.highlight-card:hover .card-icon-wrapper {
    background-color: var(--master-red) !important; /* Força fundo vermelho no hover */
}

.highlight-card:hover .card-icon-wrapper i {
    color: white !important; /* Ícone branco sobre fundo vermelho */
}

/* 2. Garante que o botão Explore fique bem visível */
.scroll-down-btn {
    opacity: 1 !important;
    color: #000 !important;
    font-weight: 800;
}

/* 3. Ajuste do Card de Mapa para Mobile (caso não tenha ficado bom antes) */
@media (max-width: 991px) {
    .map-overlay-card {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        /* Remove posicionamento absoluto no mobile */
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
    }
}

/* ==========================================================================
   WHATSAPP FLUTUANTE & BOTÕES ARREDONDADOS
   Adicione ao final do style.css
   ========================================================================== */

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde Oficial */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* Animação de Radar Verde */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   PÁGINA DE MODALIDADES (CATÁLOGO COMPLETO)
   Adicionar ao final do style.css
   ========================================================================== */

/* --- 1. STICKY NAV --- */
.sticky-mod-nav {
    position: sticky;
    top: 80px; /* Abaixo do menu principal */
    z-index: 90;
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.9) !important;
}

.sticky-mod-nav .nav-link {
    color: #999;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: 0.3s;
}

.sticky-mod-nav .nav-link:hover,
.sticky-mod-nav .nav-link:focus {
    color: var(--master-red);
    background-color: rgba(208, 18, 33, 0.05);
}

/* --- 2. SECTION LABELS & DIVIDERS --- */
.mod-section {
    scroll-margin-top: 140px; /* Para o link não ficar escondido atrás do menu */
}

.section-label {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
}

.h-1px { height: 1px; }
.bg-gray-200 { background-color: #e9ecef; }
.bg-light-blue { background-color: #f0f8ff; }

/* --- 3. CARDS DETALHADOS (FITNESS & CROSS) --- */
.mod-card-detail {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s transform, 0.3s box-shadow;
    border: 1px solid rgba(0,0,0,0.02);
}

.mod-card-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mod-img-holder {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mod-img-holder img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.mod-card-detail:hover .mod-img-holder img {
    transform: scale(1.05);
}

.mod-category-badge {
    position: absolute;
    bottom: 15px; left: 15px;
    color: white;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.mod-body { padding: 25px; }

.icon-box-sm {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.btn-link-custom {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    text-decoration: none;
    color: var(--master-red);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-link-custom:hover { gap: 10px; color: #a00e19; }

/* --- 4. CARDS SIMPLES (LOCALIZADA, ETC) --- */
.mod-card-simple {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.mod-card-simple:hover {
    border-color: var(--master-red);
    box-shadow: 0 10px 30px rgba(208, 18, 33, 0.05);
}

.icon-box-md {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}

/* --- 5. TEMA AQUÁTICO --- */
.aqua-theme { border-bottom: 4px solid #0dcaf0; }
.aqua-theme:hover { border-color: #0dcaf0; }

.icon-box-lg {
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}

/* --- 6. TEMA DANÇA --- */
.dance-theme {
    border-left: 4px solid #ff6b81;
}
.dance-theme:hover {
    background-color: #fff0f3;
    border-color: #ff6b81;
}

/* --- 7. TEMA ESPORTES (DARK) --- */
.mod-card-sport {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
}

.mod-card-sport:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.sport-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* --- 8. AJUSTES RESPONSIVOS --- */
@media (max-width: 991px) {
    .sticky-mod-nav {
        top: 70px; /* Ajuste para header mobile menor */
        overflow-x: auto;
        white-space: nowrap;
    }

    .sticky-mod-nav .container {
        padding: 0;
    }

    .sticky-mod-nav ul {
        justify-content: flex-start !important;
        padding-left: 15px;
    }
}

/* Adicione isso ao final do arquivo style.css */

.bg-master-red {
    background-color: var(--master-red) !important;
}

/* ==========================================================================
   PÁGINA DE HORÁRIOS (MOBILE FIRST)
   Adicione ao final do style.css
   ========================================================================== */

/* Abas de Navegação (Pills) */
#pills-tab .nav-link {
    color: #666;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 10px 20px;
    transition: 0.3s;
}

#pills-tab .nav-link.active {
    background-color: var(--master-red);
    color: white;
    border-color: var(--master-red);
    box-shadow: 0 4px 10px rgba(208, 18, 33, 0.3);
}

#pills-tab .nav-link:hover:not(.active) {
    background-color: #e9ecef;
    color: #333;
}

/* Grid de Horários */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Card de Horário */
.schedule-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.schedule-header {
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-body {
    padding: 15px 20px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.time-row:last-child { margin-bottom: 0; }

.time-row .day {
    font-weight: 600;
    color: #555;
}

.time-row .time {
    background-color: #f8f9fa;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--master-red);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Esconder barra de rolagem nas abas mobile */
#pills-tab::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   OTIMIZAÇÃO MOBILE - PÁGINA DE HORÁRIOS
   Adicione ao final do style.css
   ========================================================================== */

@media (max-width: 991px) {

    /* 1. Ajuste da Navegação de Abas (Sticky) */
    .sticky-top {
        top: 70px !important; /* Ajuste fino para não bater no menu */
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #pills-tab {
        gap: 10px !important;
        padding-left: 15px; /* Espaço lateral para o primeiro item não colar */
        padding-right: 15px;
    }

    #pills-tab .nav-link {
        font-size: 0.9rem;
        padding: 8px 20px;
        flex: 0 0 auto; /* Impede que os botões encolham */
        box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Destaque sutil */
    }

    /* 2. Ajuste da Grade de Cards */
    .schedule-grid {
        /* Força uma única coluna para leitura vertical fluida */
        grid-template-columns: 1fr !important;
        gap: 15px; /* Espaçamento vertical entre cards */
        padding-bottom: 20px;
    }

    /* 3. Estilo dos Cards no Mobile */
    .schedule-card {
        border: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.06); /* Sombra mais elegante */
    }

    .schedule-header {
        padding: 15px;
        background-color: #fff;
        /* Fonte um pouco maior no título para hierarquia */
        font-size: 1.1rem;
    }

    .schedule-body {
        padding: 5px 15px 15px 15px;
    }

    /* 4. Linhas de Horário (Facilitador de Leitura) */
    .time-row {
        /* Adiciona uma linha pontilhada entre os horários */
        border-bottom: 1px dashed #f0f0f0;
        padding: 12px 0;
    }

    .time-row:last-child {
        border-bottom: none;
    }

    .time-row .day {
        font-size: 0.9rem; /* Tamanho legível */
    }

    .time-row .time {
        background-color: rgba(208, 18, 33, 0.08); /* Fundo vermelho bem claro */
        color: var(--master-red);
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    /* 5. Títulos da Página */
    .display-5 {
        font-size: 2rem; /* Reduz o tamanho do título principal */
    }

    .bg-light.py-5.mt-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        margin-top: 60px !important; /* Menos espaço no topo */
    }
}

/* ==========================================================================
   🚑 RESGATE MOBILE (ULTIMATE FIX - V4.1)
   Adicione isso ao FINAL do style.css para corrigir o Menu e Hero
   ========================================================================== */

@media (max-width: 991px) {

    /* --- 1. O CONTAINER DO MENU (A CAIXA QUE DESLIZA) --- */
    /* Isso garante que a caixa branca apareça e tenha tamanho certo */
    .offcanvas.offcanvas-end {
        width: 85vw !important; /* Ocupa 85% da largura da tela */
        max-width: 380px !important; /* Não deixa ficar gigante em celulares grandes */
        background-color: #ffffff !important; /* Fundo Branco Sólido */
        border-left: 5px solid var(--master-red) !important;
        height: 100vh !important; /* Altura total da tela */
        position: fixed !important;
        z-index: 1055 !important; /* Garante que fique acima de tudo */
        visibility: visible; /* Corrige bugs de invisibilidade */
    }

    /* Ajuste para quando o menu está fechado (padrão do Bootstrap) */
    .offcanvas:not(.show) {
        visibility: hidden !important;
    }

    /* --- 2. O CONTEÚDO DO MENU (LINKS) --- */
    .offcanvas-body {
        padding: 25px 20px !important;
        background-color: white !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        overflow-y: auto !important; /* Permite rolar se a tela for pequena */
    }

    .offcanvas-body .navbar-nav {
        width: 100%;
        margin-top: 10px;
    }

    .offcanvas-body .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .offcanvas-body .nav-link {
        font-size: 1.1rem;
        color: var(--master-dark) !important;
        padding: 15px 0 !important;
        display: block;
        text-align: left;
    }

    .offcanvas-body .nav-link.active {
        color: var(--master-red) !important;
        padding-left: 10px !important;
        border-left: 4px solid var(--master-red);
        font-weight: 700;
        background-color: #fafafa;
    }

    /* Botão "Matricular" dentro do menu */
    .offcanvas-body .btn-master-cta {
        margin-top: 30px;
        width: 100%;
        display: block;
        text-align: center;
        padding: 15px;
        background-color: var(--master-red);
        color: white !important;
        font-size: 1rem;
    }

    /* --- 3. HERO SECTION (INDEX) --- */
    .hero {
        clip-path: none !important;
        min-height: auto !important;
        padding-top: 130px !important;
        padding-bottom: 60px !important;
        background-position: 65% center;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .hero .lead {
        font-size: 1rem !important;
        text-align: left;
    }

    .floating-card, .scroll-down-btn {
        display: none !important;
    }

    /* --- 4. AJUSTES GERAIS --- */
    html, body {
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100vw !important;
    }

    /* Mapa e Imagens */
    .map-overlay-card {
        position: relative !important;
        top: 0 !important; transform: none !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        border-left: none !important;
        border-top: 5px solid var(--master-red);
    }

    .position-absolute.bottom-0.start-0 {
        position: relative !important;
        bottom: auto !important; left: auto !important;
        width: 100%;
    }

    /* Footer */
    footer { text-align: center !important; }
    .social-links { justify-content: center !important; }
}