/* --- Reset & Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Dark mode (default) */
:root,
[data-theme="dark"] {
    --cor-primaria: #a0e9b5;
    --cor-preto: #FFFFFF;
    --cor-branco: #282828;
    --cor-cinza-claro: #1a1a1a;
    --cor-cinza-escuro: #e0e0e0;
    --cor-texto: #e0e0e0;
}

/* Light mode */
[data-theme="light"] {
    --cor-primaria: #a0e9b4;
    --cor-preto: #000000;
    --cor-branco: #FFFFFF;
    --cor-cinza-claro: #f5f5f5;
    --cor-cinza-escuro: #333333;
    --cor-texto: #333333;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--cor-texto);
    line-height: 1.4;
    overflow-x: hidden;
}

[data-theme="dark"] body {
    background-color: var(--cor-branco);
}

[data-theme="light"] body {
    background-color: #ececec;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

.big-text {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
}

.medium-text {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

.small-text {
    font-size: 1rem;
    font-weight: 300;
}

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

/* Guard rails: ensure images and sections don't overflow on mobile */
img, video, iframe { max-width: 100%; height: auto; }
.grid-section, .page-hero, .team-section, .map-section, .form-section, .thank-you-section { overflow: hidden; }

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] header {
    background-color: rgba(40, 40, 40, 0.95);
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    height: 64px;
}

[data-theme="dark"] .logo {
    content: url('../images/logopreto.png');
}

[data-theme="light"] .logo {
    content: url('../images/logo.png');
}

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

nav a {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: var(--cor-texto);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--cor-preto);
}

.mobile-cta { display: none; }

/* Header actions container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme toggle button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--cor-texto);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
    transform: rotate(20deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--cor-texto);
    stroke: var(--cor-texto);
    stroke-width: 2;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.theme-toggle:hover svg {
    fill: var(--cor-branco);
    stroke: var(--cor-branco);
}

/* Show/hide icons based on theme */
[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

/* Page hero backgrounds */
[data-theme="dark"] .page-hero {
    background: #a0e9b5;
}

[data-theme="light"] .page-hero {
    background: linear-gradient(135deg, #a0e9b4 0%, #b5f0c3 100%);
}

[data-theme="dark"] .grid-section {
    background-color: var(--cor-branco);
}

[data-theme="light"] .grid-section {
    background-color: transparent;
}

[data-theme="dark"] table {
    background-color: var(--cor-cinza-claro);
}

[data-theme="light"] table {
    background-color: #FFFFFF;
}

th {
    background-color: var(--cor-primaria);
}

[data-theme="dark"] td {
    background-color: var(--cor-cinza-claro);
    border-color: var(--cor-cinza-escuro);
}

[data-theme="light"] td {
    background-color: #FFFFFF;
    border-color: #e0e0e0;
}

/* Dark mode footer */
footer {
    background-color: #282828;
}

.social-links a {
    background-color: var(--cor-primaria);
}

.social-links a:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-preto);
}

nav a:hover,
nav a.active {
    color: var(--cor-primaria);
}

.cta-button {
    background-color: var(--cor-primaria);
    color: #000000;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--cor-preto);
    color: var(--cor-branco);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-attachment: scroll; /* evita efeito de deslocamento rápido em desktop */
    color: #FFFFFF;
    overflow: hidden;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center / cover;
}

[data-theme="light"] .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center / cover;
}

/* Home: hero fixo com conteúdo a passar por cima */
.hero-section.hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 0;
}

main > section:not(.hero-section) {
    position: relative;
    z-index: 1;
}

/* Aplicar fundo branco apenas às seções que precisam sobrepor o hero */
main > section:not(.hero-section):not(.info-section):not(.page-hero) {
    background-color: var(--cor-branco);
}

/* Light mode: use the same grey background as Sobre Nós for all inner sections */
[data-theme="light"] main > section:not(.hero-section):not(.info-section):not(.page-hero) {
    background-color: #efefef;
}

/* Dark mode: ensure page background overrides any inline light backgrounds */
[data-theme="dark"] main {
    background-color: var(--cor-branco) !important;
}

/* Dark mode: ensure sections like Sobre Nós team section don't keep light inline bg */
[data-theme="dark"] .team-section {
    background-color: var(--cor-branco) !important;
}

.hero-spacer {
    height: 100vh;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 700;
    line-height: 0.85;
    margin-bottom: 2rem;
}

.highlight {
    color: #a0e9b5;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-cta {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--cor-branco);
    color: var(--cor-preto);
}

/* --- Grid Sections --- */
.grid-section {
    padding: 5rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
}

/* --- Home Info Section --- */
.info-section {
    padding: 5rem 0;
}

[data-theme="dark"] .info-section {
    background-color: var(--cor-cinza-claro);
}

[data-theme="light"] .info-section {
    background-color: #efefef;
}

.info-vertical-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .stat-item {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .stat-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-item:hover {
    transform: translateY(-3px);
}

[data-theme="dark"] .stat-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .stat-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-item h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-preto);
}

.info-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--cor-primaria);
    transition: all 0.3s ease;
}

[data-theme="dark"] .service-item {
    background-color: var(--cor-cinza-claro);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .service-item {
    background-color: #FFFFFF;
    border-right: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-item:hover {
    transform: translateX(5px);
}

[data-theme="dark"] .service-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .service-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 1.1rem;
    color: var(--cor-texto);
}

@media (max-width: 768px) {
    .info-stats {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.grid-item {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.grid-item.black {
    background-color: var(--cor-preto);
    color: var(--cor-branco);
}

.grid-item.white {
    background-color: var(--cor-branco);
    color: var(--cor-preto);
}

.grid-item.green {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
}

[data-theme="dark"] .grid-item.gray {
    background-color: var(--cor-cinza-claro);
    color: var(--cor-preto);
}

[data-theme="light"] .grid-item.gray {
    background-color: #FFFFFF;
    color: var(--cor-preto);
}

.grid-content {
    padding: 3rem;
    text-align: center;
    z-index: 2;
    position: relative;
}

.grid-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.grid-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

[data-theme="dark"] .cta-section {
    background-color: var(--cor-cinza-claro);
}

[data-theme="light"] .cta-section {
    background-color: #efefef;
}

/* add space below small lead text before CTA button on internal pages */
.cta-section .grid-text {
    margin-bottom: 1.25rem;
}

/* --- Home: Features & Map Teaser --- */
.features-section {
    padding: 5rem 0 0;
}

[data-theme="light"] .features-section {
    background-color: #efefef;
}

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

.feature-card {
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .feature-card {
    background: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .feature-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-3px);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--cor-texto);
}

.map-teaser-section {
    padding: 3rem 0 5rem;
}

[data-theme="light"] .map-teaser-section {
    background-color: #efefef;
}

.map-teaser {
    border-radius: 15px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

[data-theme="dark"] .map-teaser {
    background: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .map-teaser {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.map-teaser .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
}

[data-theme="dark"] .map-teaser .header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .map-teaser .header {
    border-bottom: 1px solid #e0e0e0;
}

.map-teaser .header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--cor-primaria);
}

.map-teaser .header a {
    text-decoration: none;
    color: var(--cor-primaria);
    font-weight: 600;
}

.map-teaser iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 520px;
    border: 0;
}

/* Lead text on features section aligned to the left */
.features-section .features-lead {
    text-align: left;
    max-width: 900px;
    margin: 0 0 1.5rem 0;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 2rem;
    color: var(--cor-primaria);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

/* add space between lead text and form on free-trial section */
.cta-section .form-container::before {
    content: '';
    display: block;
    height: 10px;
}

.form-input {
    padding: 1.5rem;
    border: 2px solid var(--cor-texto);
    background-color: var(--cor-branco);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-button {
    background-color: var(--cor-preto);
    color: var(--cor-branco);
    padding: 1.5rem;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    background-color: var(--cor-primaria);
}

/* --- Page Sections --- */
.page-hero {
    padding: 10rem 0 5rem;
    background: #282828;
    color: var(--cor-branco);
    text-align: center;
}

.page-title {
    font-size: clamp(3.2rem, 6vw, 6rem);
    margin-bottom: 2rem;
    color: var(--cor-primaria);
}

.page-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

[data-theme="dark"] .page-subtitle {
    color: #000000;
}

[data-theme="light"] .page-subtitle {
    color: #000000;
}

/* --- Footer --- */
footer {
    background-color: #282828; /* base */
    color: #FFFFFF;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Dark mode: footer slightly darker than page background */
[data-theme="dark"] footer {
    background-color: #0f0f0f;
}

.footer-content {
    font-weight: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Facebook logo ligeiramente maior */
.social-links a[href*="facebook"] .social-icon {
    width: 28px;
    height: 28px;
}

.social-links a:hover {
    background-color: var(--cor-branco);
    color: var(--cor-primaria);
    transform: translateY(-3px);
}

/* --- Full Story Toggle --- */
.clickable-testimonial {
    cursor: pointer;
    position: relative;
}

.testimonial-content {
    transition: opacity 0.3s ease;
}

.story-full-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cor-branco);
    color: var(--cor-preto);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

[data-theme="dark"] .story-full-text {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .story-full-text {
    border: 1px solid #e0e0e0;
}

.story-full-text.hidden {
    opacity: 0;
    pointer-events: none;
}

.story-full-text.visible {
    opacity: 1;
    pointer-events: all;
}

.clickable-testimonial.story-mode .testimonial-content {
    opacity: 0;
    pointer-events: none;
}

/* --- Tables --- */
.schedule-table {
    overflow-x: auto;
    margin: 3rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Oswald', sans-serif;
}

th {
    background-color: var(--cor-preto);
    color: var(--cor-branco);
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: center;
}

.class-item {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Grelha mais compacta para merchandise (mantém “grossura” anterior mesmo com 2 itens) */
.card-grid.merch-compact {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

@media (max-width: 1024px) {
    .card-grid.merch-compact {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .card-grid.merch-compact {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

.card {
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .card {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

[data-theme="dark"] .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cor-primaria);
}

/* --- Desafios Page --- */
.challenge-current {
    margin-bottom: 3rem;
}

.challenge-details {
    padding: 2rem;
    border-left: 5px solid var(--cor-primaria);
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .challenge-details {
    background-color: var(--cor-cinza-claro);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .challenge-details {
    background-color: #FFFFFF;
    border-right: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.challenge-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.ranking-section {
    margin-bottom: 3rem;
}

.ranking-list {
    max-width: 800px;
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] .ranking-item {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .ranking-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ranking-item:hover {
    transform: translateX(5px);
}

[data-theme="dark"] .ranking-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .ranking-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ranking-item .position {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-primaria);
    min-width: 40px;
}

.ranking-item .name {
    flex: 1;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.ranking-item .wins {
    font-size: 1.1rem;
    color: var(--cor-primaria);
    font-weight: 700;
}

.past-challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.past-challenge-item {
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--cor-primaria);
    transition: all 0.3s ease;
}

[data-theme="dark"] .past-challenge-item {
    background-color: var(--cor-cinza-claro);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .past-challenge-item {
    background-color: #FFFFFF;
    border-right: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.past-challenge-item:hover {
    transform: translateY(-3px);
}

[data-theme="dark"] .past-challenge-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .past-challenge-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.past-challenge-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--cor-preto);
}

.past-challenge-item p {
    font-size: 1rem;
    color: var(--cor-cinza-escuro);
}

/* --- Classes Page --- */
.classes-description {
    max-width: 1000px;
    margin: 0 auto;
}

.class-item-full {
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--cor-primaria);
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .class-item-full {
    background-color: var(--cor-cinza-claro);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .class-item-full {
    background-color: #FFFFFF;
    border-right: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.class-item-full:hover {
    transform: translateX(5px);
}

[data-theme="dark"] .class-item-full:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .class-item-full:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.class-item-full h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.class-item-full p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--cor-texto);
}

/* --- Testimonials Page --- */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-box {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 450px;
    width: 320px;
    flex-shrink: 0;
}

[data-theme="dark"] .testimonial-box {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .testimonial-box {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.testimonial-box:hover {
    transform: translateY(-5px);
}

[data-theme="dark"] .testimonial-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .testimonial-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-image-container {
    position: relative;
    width: 100%;
    height: 320px; /* Aumentar altura da imagem */
    overflow: hidden;
}

.testimonial-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.image-before {
    opacity: 1;
}

/* Mostrar "depois" apenas ao hover */
.image-after {
    opacity: 0;
}

.testimonial-image-container:hover .image-before {
    opacity: 0;
}

.testimonial-image-container:hover .image-after {
    opacity: 1;
}

.testimonial-info {
    padding: 1rem 1.5rem; /* Reduzir padding vertical */
    text-align: center;
}

.testimonial-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--cor-cinza-escuro);
    margin-bottom: 1rem;
}

.testimonial-info blockquote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--cor-texto);
    border-left: 3px solid var(--cor-primaria);
    padding-left: 1rem;
    margin: 0;
}

/* --- Services Page --- */
.services-visual-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-visual {
    display: flex;
    gap: 3rem;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .service-visual {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .service-visual {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-visual:hover {
    transform: translateY(-3px);
}

[data-theme="dark"] .service-visual:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .service-visual:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-visual.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 400px;
    position: relative;
    height: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(190,224,198,0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--cor-branco);
}

.service-overlay h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-overlay p {
    font-size: 1.1rem;
}

.service-details {
    flex: 1;
    padding: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: "✓";
    color: var(--cor-primaria);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .service-visual {
        flex-direction: column !important;
    }
    
    .service-image {
        flex: none;
        width: 100%;
    }
}

/* --- CTA Testimonial --- */
.cta-testimonial {
    height: 450px; /* Igualar altura com outros testemunhos */
}

[data-theme="dark"] .cta-testimonial .testimonial-image-container,
[data-theme="light"] .cta-testimonial .testimonial-image-container {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    position: relative;
    height: 100%;
}

[data-theme="light"] .cta-testimonial .testimonial-image-container {
    background: var(--cor-primaria);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
    transition: opacity 0.3s ease;
}

.cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cor-preto);
    color: var(--cor-branco);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Remove "rodapé"/sombra no CTA do ícones: caixa sólida sem gradientes extras */
[data-theme="dark"] .cta-testimonial,
[data-theme="light"] .cta-testimonial {
    box-shadow: none;
    background: transparent;
    border: none;
}

.cta-testimonial:hover .cta-hover {
    opacity: 1;
}

.cta-hover h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
}

.cta-button-small {
    background-color: var(--cor-primaria);
    color: #000000;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button-small:hover {
    background-color: var(--cor-branco);
    color: #000000;
}

/* --- Form Page --- */
.form-section {
    padding: 5rem 0;
}

[data-theme="dark"] .form-section {
    background-color: var(--cor-cinza-claro);
}

[data-theme="light"] .form-section {
    background-color: transparent;
}

.form-container-page {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* --- Thank You Page --- */
.thank-you-section {
    padding: 5rem 0;
}

[data-theme="dark"] .thank-you-section {
    background-color: var(--cor-cinza-claro);
}

[data-theme="light"] .thank-you-section {
    background-color: transparent;
}

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

.thank-you-box {
    padding: 3rem;
    border-radius: 15px;
}

[data-theme="dark"] .thank-you-box {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .thank-you-box {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.thank-you-box h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--cor-primaria);
}

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

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--cor-preto);
}

.step p {
    font-size: 0.9rem;
    color: var(--cor-cinza-escuro);
}

/* --- About Page --- */
.team-section {
    padding: 5rem 0;
}

[data-theme="light"] .team-section {
    background-color: #efefef;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .team-member {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .team-member {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.team-member:hover {
    transform: translateY(-3px);
}

[data-theme="dark"] .team-member:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .team-member:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-member.reverse {
    flex-direction: row-reverse;
}

.member-image {
    flex: 0 0 300px;
}

.member-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--cor-preto);
}

.member-info {
    flex: 1;
}

.member-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.member-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--cor-preto);
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--cor-texto);
}

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

.qualifications span {
    font-size: 0.9rem;
    color: var(--cor-cinza-escuro);
    font-style: italic;
}

@media (max-width: 768px) {
    .team-member {
        flex-direction: column !important;
        text-align: center;
    }
    
    .member-image {
        flex: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .cta-button { padding: 0.6rem 1rem; font-size: 0.85rem; }
    
    .hero-title { font-size: clamp(2.6rem, 12vw, 3.5rem); line-height: 1.05; }
    .page-title { font-size: clamp(2.4rem, 10vw, 3.2rem); line-height: 1.05; }
    .grid-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .hero-subtitle { max-width: 90%; }
    
    .grid-content {
        padding: 2rem;
    }
    .logo { height: 52px; }
    header { padding: 0.5rem 0; }
    nav { top: 56px; }
}

/* Mobile navigation behavior */
@media (max-width: 900px) {
    .menu-toggle { display: inline-block; }
    .header-actions .cta-button { display: none; }
    .header-actions { gap: 0.5rem; }
    .theme-toggle { width: 36px; height: 36px; }
    .theme-toggle svg { width: 18px; height: 18px; }
    nav { position: fixed; top: 56px; left: 0; right: 0; background: var(--cor-branco); border-bottom: 1px solid #333; display: none; padding: 1rem 1.25rem; transition: all 0.3s ease; }
    nav.open { display: block; }
    nav ul { flex-direction: column; gap: 1rem; }
    .mobile-cta { display: block; }
}

/* Improve mobile hero perf: disable fixed background */
@media (max-width: 900px) {
    .hero-section { background-attachment: scroll; }
}

/* Map teaser mobile height */
@media (max-width: 768px) {
    .map-teaser iframe { min-height: 360px; aspect-ratio: 16 / 10; }
}

/* Merchandise grid single column on very small screens */
@media (max-width: 480px) {
    .card-grid.merch-compact { grid-template-columns: 1fr; }
}

/* --- Map Section (Sobre Nós) --- */
.map-section {
    padding: 4rem 0 6rem;
}

[data-theme="light"] .map-section {
    background-color: transparent;
}

.map-card {
    border-radius: 15px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

[data-theme="dark"] .map-card {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .map-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.map-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

[data-theme="dark"] .map-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .map-header {
    border-bottom: 1px solid #e0e0e0;
}

.map-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--cor-primaria);
}

.map-embed {
    width: 100%;
    aspect-ratio: 1 / 1; /* quadrado interativo */
    border: 0;
}

.map-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

[data-theme="dark"] .map-meta {
    background: var(--cor-cinza-claro);
}

[data-theme="light"] .map-meta {
    background: #f5f5f5;
}

.map-meta a {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
}

/* Merchandise coming soon - disabled link */
.nav-disabled {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--cor-texto) !important;
    cursor: not-allowed !important;
    pointer-events: none;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.nav-disabled::after {
    content: "Brevemente";
    font-size: 0.7em;
    color: var(--cor-primaria);
    font-style: italic;
    margin-top: 0.2rem;
}

/* Mobile menu adjustments for nav-disabled */
@media (max-width: 900px) {
    .nav-disabled {
        display: inline;
        flex-direction: row;
        align-items: baseline;
        line-height: 1.4;
        font-size: 0.9rem; /* Mesmo tamanho que nav a no mobile */
    }
    
    .nav-disabled::after {
        content: " - Brevemente";
        font-size: 0.8em;
        margin-top: 0;
        margin-left: 0.5rem;
    }
}

/* Consultation type toggle */
.consultation-type-toggle {
    margin: 1rem 0;
    padding: 1.5rem;
    border: 2px solid var(--cor-texto);
    background-color: var(--cor-branco);
}

.toggle-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--cor-texto);
    text-align: center;
}

.toggle-container {
    display: flex;
    border: 2px solid var(--cor-texto);
    border-radius: 0;
    overflow: hidden;
    background-color: var(--cor-branco);
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    color: var(--cor-texto);
    padding: 1rem;
    transition: all 0.3s ease;
    background-color: var(--cor-branco);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-label:first-of-type {
    border-right: 2px solid var(--cor-texto);
}

.radio-custom {
    display: none;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .radio-label {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
}

input[type="radio"]:checked + .radio-label:hover {
    background-color: var(--cor-primaria);
}

[data-theme="dark"] .radio-label:hover {
    background-color: var(--cor-cinza-claro);
}

[data-theme="light"] .radio-label:hover {
    background-color: #f5f5f5;
}

input[type="radio"]:checked + .radio-label:hover {
    background-color: var(--cor-primaria);
}

@media (max-width: 480px) {
    .toggle-container {
        flex-direction: column;
    }
    
    .radio-label:first-of-type {
        border-right: none;
        border-bottom: 2px solid var(--cor-texto);
    }
}

/* Dropdown navigation */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--cor-texto);
    border-top: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0; /* remove qualquer espaçamento vertical entre itens */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu li { margin: 0; padding: 0; line-height: 1; }

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1rem; /* mais compacto */
    color: var(--cor-texto);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0;
    border: 0;
    line-height: 1;
}

.dropdown-menu a:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
}

/* Mobile dropdown adjustments */
@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        background: none;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding-left: 2rem;
        border-bottom: 1px solid #eee;
    }
}

/* --- Schedule Section --- */
.schedule-section {
    padding: 4rem 0;
}

[data-theme="dark"] .schedule-section {
    background-color: transparent;
}

[data-theme="light"] .schedule-section {
    background-color: transparent;
}

.schedule-card {
    padding: 2rem;
    border-radius: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

[data-theme="dark"] .schedule-card {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .schedule-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.schedule-header {
    margin-bottom: 2rem;
    text-align: center;
}

.schedule-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--cor-primaria);
}

.schedule-content {
    display: flex;
    gap: 2rem;
}

.schedule-column {
    flex: 1;
}

.schedule-column h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    text-align: center;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--cor-primaria);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(245, 245, 245, 1));
    transform: translateX(5px);
}

.schedule-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--cor-primaria);
}

[data-theme="dark"] .schedule-note {
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .schedule-note {
    background: rgba(160, 233, 180, 0.1);
    border-right: 1px solid rgba(160, 233, 180, 0.3);
    border-top: 1px solid rgba(160, 233, 180, 0.3);
    border-bottom: 1px solid rgba(160, 233, 180, 0.3);
}

.schedule-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--cor-texto);
}

.schedule-note strong {
    color: var(--cor-primaria);
}

.schedule-day {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #000000;
}

.schedule-time {
    font-weight: 500;
    color: #000000;
    font-size: 0.9rem;
}

.schedule-divider {
    width: 2px;
    background-color: var(--cor-cinza-escuro);
    margin: 0 1rem;
}

/* --- Plans Section --- */
.plans-section {
    padding: 4rem 0;
}

[data-theme="dark"] .plans-section {
    background-color: transparent;
}

[data-theme="light"] .plans-section {
    background-color: transparent;
}

.plans-card {
    padding: 2rem;
    border-radius: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

[data-theme="dark"] .plans-card {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .plans-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.plans-header {
    margin-bottom: 2rem;
    text-align: center;
}

.plans-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--cor-primaria);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.plan-item {
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .plan-item {
    background-color: var(--cor-cinza-claro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .plan-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.plan-item:hover {
    transform: translateY(-2px);
}

[data-theme="dark"] .plan-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .plan-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.plan-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.plan-item p {
    font-size: 0.95rem;
    color: var(--cor-texto);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .schedule-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .schedule-divider {
        width: 100%;
        height: 2px;
        margin: 0;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}


/* Keep hero texts white in dark mode for readability */
.hero-title {
    color: #FFFFFF;
}

.hero-subtitle {
    color: #FFFFFF;
}

.page-title {
    color: #FFFFFF;
}

.page-subtitle {
    color: #000000;
}

.hero-content {
    color: #FFFFFF;
}

.hero-cta {
    background-color: var(--cor-primaria);
    color: #000000;
}

.hero-cta:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* Keep highlight text green in dark mode */
.highlight {
    color: #a0e9b5;
}

/* Keep service overlay text white for readability */
.service-overlay {
    color: #FFFFFF;
}

.service-overlay h2 {
    color: #FFFFFF;
}

.service-overlay p {
    color: #FFFFFF;
}

/* Keep CTA content white */
.cta-content {
    color: #FFFFFF;
}

.cta-content h2 {
    color: #FFFFFF;
}

/* Keep footer text white for readability */
footer {
    color: #FFFFFF;
}

.footer-content {
    color: #FFFFFF;
}

.contact-info p {
    color: #FFFFFF;
}


/* --- Dark mode form readability and CTA adjustments --- */
/* Ensure form fields and controls have white text in dark mode */
[data-theme="dark"] .form-input {
    color: #FFFFFF;
}

[data-theme="dark"] .form-input::placeholder {
    color: #FFFFFF;
    opacity: 0.7;
}

[data-theme="dark"] .checkbox-container label,
[data-theme="dark"] .toggle-label,
[data-theme="dark"] .radio-label {
    color: #FFFFFF;
}

/* Checked radio label should keep white text on green background in dark mode */
[data-theme="dark"] input[type="radio"]:checked + .radio-label {
    color: #FFFFFF !important;
}

/* Make form submit buttons green across the site */
.form-button {
    background-color: var(--cor-primaria);
    color: #000000;
}

.form-button:hover {
    background-color: var(--cor-primaria);
    color: #000000;
}

/* Map address should be green */
.map-meta span {
    color: var(--cor-primaria);
}