

/* --- VARIÁVEIS DE CORES (ATUALIZADAS COM A COR DO LOGO) --- */
:root {
    --primary-color: #DC143C;
    /* Vermelho Crimson do Logo BFC */
    --primary-hover: #B91030;
    /* Vermelho mais escuro para hover */
    --primary-light: #FF1744;
    /* Vermelho mais claro para detalhes */
    --secondary-color: #121212;
    /* Preto Fundo */
    --accent-color: #F5F5F5;
    /* Branco/Cinza Claro */
    --text-color: #333333;
    --text-light: #F5F5F5;
    --border-radius: 4px;
    --container-width: 1400px;
    --whatsapp-green: #25D366;
    --sporting-green: #1B5E20;
    --sporting-light: #4CAF50;
}

/* --- RESET E BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

/* --- HEADER & NAV --- */
header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Ícone Área Reservada */
.area-reservada-icon {
    font-size: 1.4rem;
    color: var(--text-light);
    transition: 0.3s;
    padding: 5px;
}

.area-reservada-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.social-header {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    border-left: 1px solid #333;
    padding-left: 20px;
}

.social-header a {
    font-size: 1.1rem;
    color: #888;
}

.social-header a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(220, 20, 60, 0.8), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1599058945522-28d584b6f0ff?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 0;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SOBRE --- */
#sobre {
    background-color: white;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 20px;
}

/* --- BANNER/SLIDER SECTION --- */
#banner {
    position: relative;
    overflow: hidden;
    background-color: var(--secondary-color);
    padding: 0;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    width: 90%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(220, 20, 60, 0.9);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: 0.3s;
}

.slider-btn:hover {
    background-color: var(--primary-hover);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* --- MODALIDADES --- */
#modalidades {
    background-color: #f0f0f0;
}

.grid-modalidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-bottom: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- BANNER SPORTING BRAGA --- */
.sporting-banner {
    background: linear-gradient(135deg, var(--sporting-green) 0%, var(--sporting-light) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.sporting-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.sporting-banner .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sporting-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.sporting-content .badge {
    display: inline-block;
    background: white;
    color: var(--sporting-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.sporting-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.sporting-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.sporting-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sporting-benefits li i {
    color: #81C784;
}

.btn-sporting {
    background-color: white;
    color: var(--sporting-green);
    font-weight: bold;
    padding: 15px 40px;
}

.btn-sporting:hover {
    background-color: var(--secondary-color);
    color: white;
}

.sporting-image {
    text-align: center;
}

.sporting-image i {
    font-size: 15rem;
    opacity: 0.9;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- CTA BANNER INTERCALADO --- */
.cta-banner {
    background: linear-gradient(rgba(220, 20, 60, 0.9), rgba(185, 16, 48, 0.9)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* --- PREÇOS/PACOTES SECTION (4 POR LINHA - TAMANHO IGUAL) --- */
#precos {
    background-color: white;
    position: relative;
}

.precos-header {
    text-align: center;
    margin-bottom: 40px;
}

.precos-header p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.precos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.preco-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.preco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.2);
    border-color: var(--primary-color);
}

.preco-card.destaque {
    border-color: var(--primary-color);
    border-width: 3px;
    height: 620px;
}

.preco-card.destaque:hover {
    transform: translateY(-5px);
}

.preco-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.preco-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.preco-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.preco-card .descricao {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.preco {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Oswald', sans-serif;
}

.preco span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.preco-card ul {
    list-style: none;
    margin: 15px 0;
    text-align: left;
    flex-grow: 1;
}

.preco-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.preco-card ul li i {
    color: var(--primary-color);
    font-size: 0.75rem;
    min-width: 12px;
}

.preco-card ul li.inativo {
    color: #999;
    text-decoration: line-through;
}

.preco-card ul li.inativo i {
    color: #ccc;
}

.preco-card .btn-container {
    margin-top: auto;
}

.preco-card .btn {
    width: 100%;
}

/* --- EQUIPA SECTION --- */
#equipa {
    background-color: #f9f9f9;
}

.equipa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.equipa-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.equipa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220, 20, 60, 0.2);
}

.equipa-img {
    position: relative;
    height: 350px;
    overflow: hidden;
    background-color: #ddd;
}

.equipa-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.equipa-card:hover .equipa-img img {
    transform: scale(1.05);
}

.equipa-role {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary-color), transparent);
    color: white;
    padding: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
}

.equipa-info {
    padding: 25px;
    text-align: center;
}

.equipa-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.equipa-info .role {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.equipa-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- HORÁRIOS COM FILTRO --- */
#horarios {
    background-color: #f0f0f0;
}

.horario-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

th,
td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 0.85rem;
}

th {
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f5f5f5;
}

.horario-cell {
    white-space: nowrap;
}

.tr-boxe {
    display: table-row;
}

.tr-kickboxing {
    display: table-row;
}

.tr-muaythai {
    display: table-row;
}

.tr-kids {
    display: table-row;
}

.tr-mulheres {
    display: table-row;
}

.tr-competicao {
    display: table-row;
}

.tr-manutencao {
    display: table-row;
}

.tr-open {
    display: table-row;
}

/* --- CONTACTO --- */
#contacto {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

#contacto .section-title {
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info .social-footer {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.contact-info .social-footer a {
    font-size: 1.5rem;
    color: var(--text-light);
    border: 1px solid #444;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-info .social-footer a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea,
select {
    padding: 15px;
    border-radius: var(--border-radius);
    border: none;
    font-family: 'Roboto', sans-serif;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- FOOTER --- */
footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* --- WHATSAPP BUTTON --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1200px) {
    .precos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preco-card {
        height: 580px;
    }

    .preco-card.destaque {
        height: 600px;
    }
}

@media (max-width: 992px) {
    .social-header {
        display: none;
    }

    .sporting-banner .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sporting-image {
        display: none;
    }

    .preco-card.destaque {
        transform: scale(1);
    }

    .preco-card.destaque:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 20px;
        text-align: center;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .sobre-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slider-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .equipa-img {
        height: 300px;
    }

    .cta-banner h2,
    .sporting-content h2 {
        font-size: 2.2rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .precos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px auto;
    }

    .preco-card {
        height: auto;
        min-height: 500px;
    }

    .preco-card.destaque {
        height: auto;
        min-height: 520px;
    }

    .horario-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .preco {
        font-size: 1.8rem;
    }
}

