/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #333333;
    --color-light-gray: #f5f5f5;
    --color-border: #e0e0e0;
    --color-gold: #d4af37;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-gray);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: var(--color-black);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.navbar {
    padding: 0.75rem 0;
}

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

.logo h1,
.logo .brand-mark {
    font-size: 0;
    line-height: 0;
    width: 70px;
    height: 70px;
    background-image: url('/images/teste2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: var(--color-white);
    border-radius: 50%;
    padding: 0.5rem;
    box-sizing: border-box;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.14);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu - Mobile First */
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: rgba(0,0,0,0.95);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.35);
    flex-direction: column;
    gap: 4px;
    padding: 0.7rem;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    padding: 0;
}

.nav-menu a {
    display: block;
    padding: 0.7rem 0.9rem;
    color: var(--color-white);
    border-radius: 10px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.14);
    transform: translateX(3px);
}

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

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

.dropdown-toggle::after {
    content: '▾';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: var(--color-white);
    font-size: 0.72rem;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.25s ease, background-color 0.25s ease;
    flex-shrink: 0;
}

.dropdown-toggle:hover::after {
    background: rgba(255,255,255,0.2);
}

.dropdown-menu {
    display: none;
    background-color: rgba(255,255,255,0.06);
    margin-top: 0.35rem;
    border-radius: 12px;
    padding: 0.35rem;
    padding-left: 0.35rem;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-black);
    aspect-ratio: 16 / 9;
    min-height: 360px;
    max-height: 85vh;
    color: var(--color-white);
    padding: 0;
    text-align: center;
    display: grid;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.52));
    z-index: 1;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: -14%;
    left: -8%;
    width: 116%;
    height: 128%;
    filter: blur(2px) brightness(0.62);
    pointer-events: none;
    border: 0;
}

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

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-gold);
    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

/* Sections */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--color-black);
}

section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-black);
}

/* Modalidades Section */
.modalidades {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 4rem 0;
}

.modalidades h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

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

.modalidade-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modalidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.modalidade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.modalidade-card-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
}

.modalidade-card h3 {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.modalidade-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-link {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--color-black);
    transform: translateX(5px);
}

.modalidades-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Mission Banner Section */
.mission-banner {
    background: var(--color-white);
    color: var(--color-black);
    padding: 4rem 0;
    text-align: center;
    border-top: 4px solid var(--color-gold);
    border-bottom: 4px solid var(--color-gold);
}

.mission-banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-banner-quote {
    text-align: left;
}

.mission-quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 500;
    color: var(--color-black);
    margin: 0;
    padding: 0;
    border-left: 4px solid var(--color-gold);
    padding-left: 2rem;
    font-style: italic;
}

.mission-quote-author {
    margin-top: 1.5rem;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.mission-banner-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-banner-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

/* Intro Section */
.intro {
    background-color: var(--color-black);
}

.intro h2 {
    color: var(--color-white);
}

.intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--color-white);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.08);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--color-white);
}

.feature h3 {
    color: var(--color-gold);
}

.feature p {
    color: rgba(255,255,255,0.9);
}

/* Gallery */
.gallery {
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background-color: var(--color-light-gray);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Units Section */
.units {
    background-color: var(--color-light-gray);
}

.units-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.unit-card {
    background-color: var(--color-white);
    padding: 0;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.unit-card-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
}

.unit-card h3 {
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.unit-card p {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
    flex: 1;
}

.unit-card .btn {
    margin-top: auto;
}

/* Units Showcase Grid */
.units-showcase {
    margin: 4rem 0;
}

.units-showcase h2 {
    margin-bottom: 0.5rem;
}

.units-showcase > p {
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.units-slider-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.units-slider-images {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--color-light-gray);
    min-height: 350px;
}

.units-slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.units-slide {
    min-width: 100%;
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.units-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.units-slide-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
    padding: 1.5rem;
    text-align: center;
}

.units-slide-label h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.75rem;
    color: var(--color-white);
}

.units-slide-label p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-gold);
    font-weight: 600;
}

.units-slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: var(--color-white);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.units-slider-button:hover {
    background-color: rgba(0,0,0,0.8);
}

.units-slider-prev {
    left: 1rem;
}

.units-slider-next {
    right: 1rem;
}

.units-slider-benefits {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--color-border);
}

.units-slider-benefits h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--color-black);
}

.units-benefit-location {
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.units-benefit-content {
    margin-bottom: 1.5rem;
}

.units-benefit-content p {
    margin-bottom: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.units-benefit-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.units-benefit-content li {
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

.units-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: 2px solid var(--color-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

.dot:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

/* Page Header */
.page-header {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.page-header-about .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
}

.page-header-about h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header-about-text p {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.page-header-about-text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .page-header-about .container {
        grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
        gap: 2rem;
        align-items: stretch;
    }
}

/* About Page */
.about-content,
.classes-content,
.contact-content,
.unit-content {
    padding: 3rem 0;
}

.about-intro,
.class-intro,
.contact-intro,
.unit-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Values Grid */
.values {
    margin: 3rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.criteria-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
    color: inherit;
    list-style-position: outside;
}

.criteria-list li {
    margin-bottom: 0.6rem;
}

.value-item {
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--color-black);
}

.value-item.uniform-rule {
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
}

.proposal-grid {
    gap: 1.5rem;
}

.proposal-main-item {
    grid-column: 1 / -1;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.proposal-main-item img {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 1rem;
    border-radius: 8px;
    object-fit: cover;
}

.proposal-main-item h3,
.proposal-main-item p {
    text-align: center;
}

.proposal-pillars-item {
    height: 100%;
}

.logo-story-grid {
    align-items: stretch;
}

.logo-story-grid .value-item {
    height: 100%;
}

.logo-story-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-story-image img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    object-fit: contain;
}

.logo-story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mission Section */
.mission {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 8px;
    text-align: center;
}

.mission h2 {
    color: var(--color-white);
}

/* Team Section */
.team {
    margin: 3rem 0;
}

.team p {
    max-width: 800px;
    margin: 0 auto;
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.class-card {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--color-black);
}

.classes-grid-alt {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.class-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.classes-grid-alt .class-card,
.class-media {
    min-height: 220px;
}

.classes-grid-alt .class-card {
    margin: 0;
    border-radius: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    padding: 1.5rem 1.5rem 3.6rem;
}

.classes-grid-alt .class-row .class-media {
    order: 1;
}

.classes-grid-alt .class-row .class-card {
    order: 2;
}

.classes-grid-alt .class-card .btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.2;
    border-width: 1px;
    border-radius: 4px;
}

.class-media {
    background-color: #e8e8e8;
    border: 2px dashed #c6c6c6;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.class-media.has-image {
    padding: 0;
    border-style: solid;
}

.class-media.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.class-media span {
    color: #666666;
    font-weight: 600;
}

/* Schedule Page */
.schedule-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.schedule-units {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.schedule-units h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.schedule-units ul li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
}

.schedule-units ul li:last-child {
    border-bottom: none;
}

.schedule-unit-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--color-gray);
    font: inherit;
    font-weight: 700;
    padding: 0.5rem 0.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.schedule-unit-btn:hover,
.schedule-unit-btn.active {
    background-color: rgba(0,0,0,0.08);
    color: var(--color-black);
}

.schedule-image-placeholder {
    min-height: 0;
    height: auto;
    border: 2px dashed #c6c6c6;
    border-radius: 8px;
    background-color: #efefef;
    padding: 1rem;
}

.schedule-grid {
    display: block;
    width: 100%;
    height: auto;
}

.schedule-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 0.75rem;
    display: none;
    height: auto;
    overflow: hidden;
}

.schedule-card.active {
    display: block;
}

.schedule-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.schedule-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.schedule-image-frame {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
}

.class-age {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.class-schedule {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.class-schedule li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

/* Benefits Grid */
.class-benefits {
    margin: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
}

/* CTA Section */
.cta-section,
.unit-cta {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 8px;
    margin-top: 3rem;
}

.cta-section h2,
.unit-cta h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p,
.unit-cta p {
    margin-bottom: 1.5rem;
}

/* Trial Class Split Section */
.trial-class {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
}

.trial-class-content,
.trial-class-image {
    min-height: 220px;
}

.trial-class-content {
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
}

.trial-class-content h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 0;
}

.trial-class-content p {
    max-width: 560px;
    margin: 0;
}

.trial-class-content p + p {
    margin-top: 0.25rem;
}

.trial-class-content .btn {
    align-self: center;
}

.trial-class-image {
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trial-class-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.contact-info {
    background-color: var(--color-light-gray);
    border-radius: 12px;
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-methods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-align: left;
}

.contact-method > div {
    min-width: 0;
}

.contact-method h4 {
    margin-bottom: 0.25rem;
}

.contact-method p {
    margin: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method a {
    color: var(--color-black);
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-section {
    max-width: 600px;
    margin: 3rem auto;
}

.contact-layout .contact-form-section {
    max-width: none;
    margin: 0;
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form {
        padding: 1.25rem;
    }

    .contact-method {
        padding: 0.75rem 1rem;
        align-items: flex-start;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .units-slider-images {
        min-height: 280px;
    }

    .units-slide {
        height: 280px;
    }

    .units-slider-button {
        font-size: 1.5rem;
        padding: 0.25rem 0.75rem;
    }

    .units-slider-prev {
        left: 0.5rem;
    }

    .units-slider-next {
        right: 0.5rem;
    }

    .mission-banner {
        padding: 2.5rem 0;
    }

    .mission-banner h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .mission-banner p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .mission-quote-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .mission-quote-author {
        font-size: 0.95rem;
    }

    .mission-banner-image img {
        max-width: 200px;
    }
}

.contact-form {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

.contact-form button {
    width: 100%;
    border: none;
}

/* Units Contact */
.units-contact {
    margin: 3rem 0;
}

.units-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.unit-contact {
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    text-align: center;
}

.unit-contact h3 {
    margin-bottom: 0.75rem;
}

.unit-contact p {
    margin-bottom: 0.5rem;
}

.unit-contact .btn {
    margin-top: 1rem;
}

/* Unit Pages */
.unit-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.info-section {
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
}

.info-section h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-black);
}

.info-section p {
    margin-bottom: 0.5rem;
}

.unit-location {
    margin: 3rem 0;
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.unit-location h2 {
    margin-bottom: 1rem;
}

.unit-location iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: clamp(320px, 42vw, 620px);
    border: 0;
    border-radius: 8px;
}

.unit-location-actions {
    margin-top: 1rem;
    text-align: center;
}

/* Unit Features */
.unit-features {
    margin: 3rem 0;
}

.features-list {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-black);
    font-weight: bold;
}

/* Unit Gallery */
.unit-gallery {
    margin: 3rem 0;
}

/* Footer */
footer {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.site-footer {
    text-align: left;
    padding: 2.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand img {
    width: 170px;
    height: auto;
    margin: 0 auto 0.75rem;
}

.footer-brand img[src*="teste2.png"] {
    background-color: var(--color-white);
    padding: 0.25rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-brand p,
.footer-contact p,
.footer-social p,
.footer-social a {
    color: rgba(255,255,255,0.9);
}

.footer-contact h3,
.footer-social h3 {
    color: var(--color-white);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.footer-social a {
    display: inline-block;
    margin-top: 0.25rem;
    text-decoration: underline;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.instagram-link svg {
    width: 18px;
    height: 18px;
}

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

.footer-legal {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    justify-content: center;
}

.footer-legal a {
    color: rgba(255,255,255,0.88);
    text-decoration: underline;
    font-size: 0.92rem;
}

.footer-legal a:hover {
    color: var(--color-white);
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.5;
}

.form-consent input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.form-consent a {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1400;
    background-color: var(--color-black);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
    color: var(--color-white);
}

.cookie-banner-content {
    padding: 1rem;
}

.cookie-banner-content p {
    margin: 0;
    color: rgba(255,255,255,0.92);
}

.cookie-banner-actions {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.cookie-banner-actions .btn {
    padding: 0.45rem 0.9rem;
}

.cookie-banner-actions .cookie-policy-link {
    border-color: rgba(255,255,255,0.55);
    background-color: transparent;
}

.cookie-banner-actions .cookie-policy-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--color-white);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
    animation: whatsappPulse 1.8s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0,0,0,0.3);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 4px 10px rgba(0,0,0,0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 10px rgba(0,0,0,0.3);
    }
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .logo h1,
    .logo .brand-mark {
        width: 80px;
        height: 80px;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background-color: transparent;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-menu a {
        padding: 0.55rem 0.9rem;
        border-radius: 999px;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        transform: none;
        background-color: rgba(255,255,255,0.14);
    }

    .dropdown {
        padding-bottom: 0.55rem;
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% - 0.05rem);
        left: 0;
        background-color: rgba(0,0,0,0.96);
        min-width: 230px;
        margin-top: 0;
        padding: 0.45rem;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.14);
        box-shadow: 0 12px 28px rgba(0,0,0,0.32);
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        border-radius: 10px;
        padding: 0.7rem 0.85rem;
    }

    .dropdown:hover .dropdown-toggle::after,
    .dropdown:focus-within .dropdown-toggle::after,
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 460px;
    }

    .mission-banner h2 {
        font-size: 2rem;
    }

    .mission-banner p {
        font-size: 1.1rem;
    }

    .mission-banner-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .modalidades h2 {
        font-size: 2.8rem;
    }

    .modalidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modalidade-card {
        min-height: 380px;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .unit-card {
        min-height: 320px;
    }

    .units-slider-container {
        grid-template-columns: 2fr 1fr;
    }

    .units-slider-images {
        min-height: 420px;
    }

    .units-slide {
        height: 420px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proposal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .proposal-main-item {
        grid-column: 1 / -1;
    }

    .logo-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .classes-grid-alt {
        gap: 1.5rem;
    }

    .schedule-layout {
        grid-template-columns: 340px 1fr;
        align-items: start;
    }

    .schedule-image-placeholder {
        min-height: 0;
        height: auto;
    }

    .schedule-grid {
        display: block;
    }

    .class-row {
        grid-template-columns: 1fr 1fr;
    }

    .classes-grid-alt .class-row .class-media,
    .classes-grid-alt .class-row .class-card {
        order: initial;
    }

    .classes-grid-alt .class-card,
    .class-media {
        min-height: 220px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

    .units-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .unit-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .trial-class {
        grid-template-columns: 1fr 1fr;
        min-height: 35vh;
    }

    .trial-class-content,
    .trial-class-image {
        min-height: 35vh;
    }

    .trial-class-content {
        padding: 2rem;
        align-items: flex-start;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        align-items: start;
    }

    .cookie-banner {
        left: auto;
        max-width: 560px;
    }

    .footer-brand img {
        margin: 0 0 0.75rem;
    }

    .trial-class-content h2 {
        text-align: left;
    }

    .trial-class-content .btn {
        align-self: flex-start;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 540px;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .modalidades-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modalidade-card {
        min-height: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .units-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .unit-card {
        min-height: 350px;
    }

    .classes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .classes-grid .plan-black-card {
        grid-column: 2;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .units-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .schedule-grid {
        display: block;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .units-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .unit-card {
        min-height: 340px;
    }

    .modalidades-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .modalidade-card {
        min-height: 380px;
    }

    .mission-banner-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .mission-quote-text {
        font-size: 1.65rem;
    }

    .mission-banner-image img {
        max-width: 320px;
    }
}
/* Didatica Section - Metodologia e Graduacao */
.didatica-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Metodologia Box */
.metodologia-box {
    background: var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metodologia-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.metodologia-box h3 {
    color: var(--color-black);
    font-size: 1.3rem;
    margin: 0;
    padding: 1rem 1rem 0.75rem 1rem;
    text-align: center;
}

.metodologia-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.metodologia-left {
    width: 100%;
    padding: 0 1rem 0.75rem 1rem;
}

.metodologia-left img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 200px;
}

.metodologia-right {
    padding: 0 1rem 1rem 1rem;
}

.metodologia-right p {
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
}

/* Graduacao Box */
.graduacao-box {
    background: var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.graduacao-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.graduacao-box h3 {
    color: var(--color-black);
    font-size: 1.3rem;
    margin: 0;
    padding: 1rem 1rem 0.75rem 1rem;
    text-align: center;
}

.graduacao-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.graduacao-left {
    width: 100%;
    padding: 0 1rem 0.75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graduacao-layout img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

.graduacao-right {
    padding: 0 1rem 1rem 1rem;
}

.graduacao-right p {
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
}

/* Tablet */
@media (min-width: 768px) {
    .didatica-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metodologia-left img {
        max-height: 180px;
    }

    .graduacao-layout img {
        max-height: 180px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .didatica-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metodologia-layout {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }

    .metodologia-left {
        width: 45%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .metodologia-left img {
        max-height: 100%;
        width: 100%;
    }

    .metodologia-right {
        width: 55%;
        padding: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .metodologia-right p {
        font-size: 0.95rem;
    }

    .graduacao-layout {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }

    .graduacao-left {
        width: 45%;
        padding: 0;
    }

    .graduacao-layout img {
        max-height: 100%;
        width: 100%;
    }

    .graduacao-right {
        width: 55%;
        padding: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .graduacao-right p {
        font-size: 0.95rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .metodologia-left img {
        max-height: 280px;
    }

    .graduacao-layout img {
        max-height: 280px;
    }
}