@font-face {
    font-family: 'Muller Regular';
    src: url('../fonts/Muller Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Muller Light';
    src: url('../fonts/Muller Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

:root {

    --primary-color: #6f6f6e;
    --primary-dark: #565655;
    --secondary-color: #d8d8d7;
    --dark-bg: #ffffff;
    --dark-card: #f2f2f1;
    --light-bg: #ececeb;
    --light-text: #FFFFFF;
    --dark-text: #1f1f1f;
    --gray-text: #5f5f5f;
    --border-color: #cfcfce;
    --section-white: #ffffff;
    --section-silver: #e2e2e1;
    --section-light-gray: #f4f4f3;
    --section-dark-gray: #d1d1d0;
    --header-bg: #9d9d9c;
    --footer-bg: #858584;
    --success-color: #16a34a;
    --success-rgb: 22, 163, 74;
    --success-bg: #ecfdf3;
    --success-border: rgba(var(--success-rgb), 0.42);
    --error-color: #e11d48;
    --error-rgb: 225, 29, 72;
    --error-bg: #fff1f2;
    --error-border: rgba(var(--error-rgb), 0.46);

    --font-heading: 'Muller Regular', sans-serif;

    --font-body: 'Muller Light', sans-serif;
    --font-accent: 'Muller Regular', sans-serif;

    --section-padding: 80px 0;
    --container-width: 1200px;

    --transition: all 0.45s ease;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 18px 46px rgba(0, 0, 0, 0.16);
    --card-hover-transition: transform 0.45s ease, box-shadow 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    --hero-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--section-white);
    overflow-x: hidden;
}

.page-index {
    background-color: var(--section-white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-dark {
    background-color: var(--section-silver);
}

.text-center {
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background-color: transparent;
    color: var(--dark-text);
    border-color: var(--dark-text);
}

.btn--outline:hover {
    background-color: var(--dark-text);
    color: var(--light-text);
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 40px;
    font-size: 16px;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 215, 215, 0.45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(215, 215, 215, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 215, 215, 0);
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.scroll-progress__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    transition: width 0.1s ease;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
    transition: var(--transition);
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav__logo-image {
    width: 90px;
    height: 60px;
    display: block;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 26px;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    color: var(--light-text);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-text);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.active {
    color: var(--light-text);
}

.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav__item--has-submenu {
    position: relative;
}

.nav__item--has-submenu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 18px;
    background: transparent;
}

.nav__link--submenu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav__link-caret {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: var(--transition);
    transform-origin: center;
    margin-top: -2px;
}

.nav__link--submenu::after {
    bottom: -2px;
}

.nav__item--has-submenu:hover .nav__link-caret,
.nav__item--has-submenu:focus-within .nav__link-caret {
    transform: rotate(225deg);
}

.nav__submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    width: min(920px, calc(100vw - 40px));
    padding: 28px 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.45s ease, visibility 0.35s ease;
    backdrop-filter: blur(14px);
    z-index: 20;
}

.nav__item--has-submenu:hover .nav__submenu,
.nav__item--has-submenu:focus-within .nav__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__submenu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.nav__submenu-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.nav__submenu-heading,
.nav__submenu-link {
    color: var(--dark-text);
}

.nav__submenu-heading {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 3px;
}

.nav__submenu-heading strong {
    font-weight: 300;
}

.nav__submenu-link {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.4;
    opacity: 0.82;
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 3px;
}

.nav__submenu-link::after,
.nav__submenu-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.35s ease;
}

.nav__submenu-link:hover,
.nav__submenu-heading:hover {
    opacity: 1;
    color: var(--primary-dark);
}

.nav__submenu-link:hover::after,
.nav__submenu-heading:hover::after {
    width: 100%;
}

.nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0;
    padding: 12px 15px;
    min-height: 38px;
    line-height: 1;
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.nav__btn:hover {
    background-color: var(--light-text);
    color: var(--dark-text);
}

.nav__account {
    flex: 0 0 auto;
}

.nav__account::after {
    width: 100%;
}

.nav__account-trigger {
    gap: 8px;
    white-space: nowrap;
}

.nav__account .nav__submenu {
    left: auto;
    right: 0;
    width: 230px;
    padding: 16px;
    display: grid;
    gap: 10px;
    transform: translateY(14px);
}

.nav__account:hover .nav__submenu,
.nav__account:focus-within .nav__submenu {
    transform: translateY(0);
}

.nav__submenu-link--logout {
    margin-top: 4px;
    padding-top: 10px;
    color: var(--error-color);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.nav__hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--light-text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__hamburger span:nth-child(1) {
    top: 0;
}

.nav__hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav__hamburger span:nth-child(3) {
    bottom: 0;
}

.nav__hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.nav__hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    margin-top: 90px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    color: var(--light-text);
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3)), var(--slide-bg);   
}

.hero-slide > .container {
    width: 100%;
}

.hero__content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 4.4rem;
    margin-bottom: 20px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: var(--shadow);
}

.hero__text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .btn--outline,
.page-membership .hero-membership .btn--outline,
.page-payment .hero-membership .btn--outline,
.page-schedule .hero-schedule .btn--outline,
.page-about .hero-about .btn--outline,
.page-contact .hero-contact .btn--outline,
.page-client-area .hero-client .btn--outline,
.page-client-panel .hero-client .btn--outline {
    color: var(--light-text);
    border-color: var(--light-text);
}

.hero .btn--outline:hover,
.page-membership .hero-membership .btn--outline:hover,
.page-payment .hero-membership .btn--outline:hover,
.page-schedule .hero-schedule .btn--outline:hover,
.page-about .hero-about .btn--outline:hover,
.page-contact .hero-contact .btn--outline:hover,
.page-client-area .hero-client .btn--outline:hover,
.page-client-panel .hero-client .btn--outline:hover {
    background-color: var(--light-text);
    color: var(--dark-text);
}

.page-membership .hero-membership,
.page-payment .hero-membership,
.page-schedule .hero-schedule,
.page-about .hero-about,
.page-contact .hero-contact,
.page-client-area .hero-client,
.page-client-panel .hero-client {
    color: var(--light-text);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    opacity: 0.7;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--light-text);
    margin-top: 10px;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.3;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.stats {
    padding: 60px 0;
    background-color: var(--section-silver);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 30px 20px;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #2f2f2f;
    margin-bottom: 10px;
    line-height: 1;
}

.stat__label {
    font-family: var(--font-accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a4a4a;
    opacity: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--dark-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: transform 0.45s ease;
    will-change: transform;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.16;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

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

.feature-card:hover::after {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card__icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-card__icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card__text {
    opacity: 0.8;
    font-size: 0.95rem;
}

.trainers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.trainer-card {
    background-color: var(--section-white);
    border-radius: 8px;
    overflow: visible;
    transition: transform 0.45s ease;
    position: relative;
    will-change: transform;
}

.trainer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    opacity: 0.18;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

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

.trainer-card:hover::after {
    opacity: 1;
}

.trainer-card > * {
    position: relative;
    z-index: 1;
}

.trainer-card__image {
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.trainer-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-card__image img {
    transform: scale(1.05);
}

.trainer-card__info {
    padding: 25px;
    text-align: center;
}

.trainer-card__info p:not(.trainer-card__specialty) {
    font-size: 0.95rem;
    opacity: 0.8;
}

.trainer-card__name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.trainer-card__specialty {
    color: var(--primary-color);
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.services-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.services-actions .btn {
    min-width: 180px;
}

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

.cta__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta__text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) minmax(240px, 1fr);
    gap: 36px 48px;
    align-items: start;
    margin-bottom: 60px;
}

.footer__col {
    min-width: 0;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer__logo-image {
    width: 90px;
    height: 60px;
    display: block;
    object-fit: contain;
}

.footer__about {
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: 15px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social a:hover {
    background-color: rgba(255, 255, 255, 0.24);
    color: var(--light-text);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--light-text);
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer__list a:hover {
    opacity: 1;
    color: var(--light-text);
    padding-left: 5px;
}

.footer__contact {
    list-style: none;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    opacity: 0.7;
}

.footer__contact i {
    color: var(--light-text);
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__bottom p {
    opacity: 0.7;
    font-size: 14px;
    margin: 0;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links a {
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--light-text);
}

.footer__links strong {
    color: var(--light-text);
}

.page-index .stats {
    background-color: var(--section-silver);
}

.page-index #servicos {
    background-color: var(--section-white);
}

.page-index #servicos .trainer-card {
    background-color: var(--section-light-gray);
}

.page-index .features.section-padding {
    background-color: var(--section-light-gray);
}

.page-index .features.section-padding .feature-card {
    background-color: var(--section-white);
}

.page-index #protocolos.features.section-padding {
    background-color: var(--section-dark-gray);
}

.page-index #protocolos.features.section-padding .feature-card {
    background-color: var(--section-white);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero__title {
        font-size: 4rem;
    }

    .hero {
        min-height: 600px;
    }
}
@media (max-width: 930px){
    .nav__list{
        gap: 16px;
    }
    .nav__logo{
        font-size: 20px;
    }
    .nav__submenu {
        width: min(760px, calc(100vw - 32px));
    }
    .nav__submenu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 500px;
        margin-top: 80px;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__buttons .btn {
        width: 100%;
        text-align: center;
    }

    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--header-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 28px 20px 40px;
        transition: var(--transition);
        overflow-y: auto;
        gap: 24px;
        z-index: 998;
    }

    .nav__item--has-submenu {
        width: 100%;
        display: block;
    }

    .nav__account {
        width: 100%;
    }

    .nav__item--has-submenu::after {
        display: none;
    }

    .nav__account .nav__submenu {
        width: 100%;
        padding: 0 18px;
        display: grid;
        gap: 16px;
        transform: none;
    }

    .nav__account:hover .nav__submenu,
    .nav__account:focus-within .nav__submenu {
        transform: none;
    }

    .nav__submenu {
        position: static;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0 18px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.14);
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        backdrop-filter: none;
        overflow: hidden;
        transition: max-height 0.45s ease, opacity 0.3s ease, visibility 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    }

    .nav__item--has-submenu:hover .nav__submenu,
    .nav__item--has-submenu:focus-within .nav__submenu {
        transform: none;
    }

    .nav__item--submenu-open .nav__submenu {
        max-height: 760px;
        margin-top: 14px;
        padding: 18px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__item--has-submenu:hover .nav__link-caret,
    .nav__item--has-submenu:focus-within .nav__link-caret {
        transform: rotate(45deg);
    }

    .nav__item--submenu-open .nav__link-caret {
        transform: rotate(225deg);
    }

    .nav__submenu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav__submenu-heading,
    .nav__submenu-link {
        color: var(--light-text);
    }

    .nav__submenu-heading {
        font-size: 1.05rem;
        margin-bottom: 2px;
    }

    .nav__submenu-link {
        font-size: 0.88rem;
        opacity: 0.86;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        text-align: left;
        gap: 18px;
    }

    .nav__item {
        width: 100%;
        justify-content: flex-start;
    }

    .nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 10px 0;
    }

    .nav__link::after {
        bottom: 4px;
    }

    .nav__hamburger {
        display: block;
    }

    .nav__btn {
        width: 100%;
    }

    .nav__account-trigger {
        justify-content: space-between;
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        min-height: 450px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__text {
        font-size: 1rem;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .trainers__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media print {
    .header,
    .footer,
    .hero__scroll,
    .btn,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination,
    .nav__hamburger {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

.btn--small {
    padding: 8px 20px;
    font-size: 13px;
}

.btn--block {
    display: block;
    width: 100%;
}

.page-membership .hero-membership,
.page-payment .hero-membership,
.page-schedule .hero-schedule,
.page-about .hero-about,
.page-contact .hero-contact {
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    text-align: center;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
}

.page-membership .hero-membership__content,
.page-payment .hero-membership__content,
.page-schedule .hero-schedule__content,
.page-about .hero-about__content,
.page-contact .hero-contact__content {
    max-width: 820px;
    margin: 0 auto;
}

.page-membership .hero-membership__title,
.page-payment .hero-membership__title,
.page-schedule .hero-schedule__title,
.page-about .hero-about__title,
.page-contact .hero-contact__title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.page-membership .hero-membership__text,
.page-payment .hero-membership__text,
.page-schedule .hero-schedule__text,
.page-about .hero-about__text,
.page-contact .hero-contact__text {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 680px;
    margin: 0 auto;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.page-membership .hero-membership {
    background-image: var(--hero-overlay),
        url('../images/hero-comprar.jpg');
}

.page-payment .hero-membership {
    background-image: var(--hero-overlay),
        url('../images/hero-comprar.jpg');
}

.page-membership .hero-membership,
.page-schedule .hero-schedule {
    min-height: 480px;
    margin-top: 0;
    padding-top: 200px;
}

.page-schedule .hero-schedule {
    background-image: var(--hero-overlay),
        url('../images/hero-reservar.jpg');
}

.page-about .hero-about {
    background-image: var(--hero-overlay),
        url('../images/hero-404.jpg');
}

.page-contact .hero-contact {
    background-image: var(--hero-overlay),
        url('../images/hero-contato.jpg');
}

.page-recovery .hero-about {
    background-image: var(--hero-overlay),
        url('../images/hero-recovery.jpg');
}

.page-classes .hero-about {
    background-image: var(--hero-overlay),
        url('../images/hero-aulas.jpg');
}

.page-therapies .hero-about {
    background-image: var(--hero-overlay),
        url('../images/hero-terapias.jpg');
}

.page-events .hero-contact {
    background-image: var(--hero-overlay),
        url('../images/hero-eventos.jpg');
}

.page-legal .hero-contact {
    background-image: var(--hero-overlay),
        url('../images/hero-legal.jpg');
}

.page-not-found .hero-contact {
    background-image: var(--hero-overlay),
        url('../images/hero-404.jpg');
}

.membership-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 50px 0;
}

.membership-filter__btn {
    min-width: 150px;
    padding: 14px 22px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--section-white);
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.membership-filter__btn:hover {
    background-color: var(--section-silver);
    border-color: var(--primary-color);
}

.membership-filter__btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}

.page-membership .plans {
    background-color: var(--section-light-gray);
}

.page-membership .plans .membership-filter {
    margin-top: 0;
}

.page-membership .plan-card,
.page-membership .membership-filter__btn {
    background-color: var(--section-white);
}

.page-membership .membership-filter__btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}

.page-membership .services {
    background-color: var(--section-white);
}

.page-membership .services .service-card {
    background-color: var(--section-light-gray);
}

.page-membership .how-it-works {
    background-color: var(--section-light-gray);
}

.page-membership .how-it-works__card {
    background-color: var(--section-white);
}

.page-membership .faq {
    background-color: var(--section-white);
}

.page-membership .faq-item {
    background-color: var(--section-light-gray);
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    --plan-filter-y: 0px;
    --plan-hover-y: 0px;
    background-color: var(--dark-card);
    border-radius: 8px;
    overflow: visible;
    transition: opacity 0.22s ease, transform 0.45s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(calc(var(--plan-filter-y) + var(--plan-hover-y)));
    will-change: transform, opacity;
}

.plan-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.16;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

.plan-card:hover {
    --plan-hover-y: -4px;
}

.plan-card[data-aos].aos-animate {
    transition: opacity 0.22s ease, transform 0.45s ease;
}

.plan-card[data-aos].aos-animate:hover {
    transform: translateY(calc(var(--plan-filter-y) - 4px));
}

.plan-card:hover::after {
    opacity: 1;
}

.plan-card > * {
    position: relative;
    z-index: 1;
}

.plan-card__header {
    padding: 40px 30px 30px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.plan-card__category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan-card__title {
    font-size: 1.8rem;
    margin-bottom: 18px;
    color: var(--dark-text);
    min-height: 58px;
}

.plan-card__price {
    margin-bottom: 8px;
}

.plan-card__amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
}

.plan-card__installment {
    font-size: 13px;
    opacity: 0.72;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: var(--font-accent);
    font-weight: 400;
}

.plan-card__description {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 0;
    min-height: 88px;
}

.plan-card__features {
    padding: 30px;
    flex-grow: 1;
}

.plan-card__features::before {
    content: 'Itens do plano';
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-text);
}

.plan-features {
    list-style: none;
}

.plan-features__item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features__item:last-child {
    border-bottom: none;
}

.plan-features__item i {
    color: var(--primary-color);
    font-size: 14px;
}

.plan-card__footer {
    padding: 0 30px 30px;
}

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

.service-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: transform 0.45s ease;
    will-change: transform;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.16;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card__icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card__icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card__description {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.how-it-works__card {
    background-color: var(--dark-card);
    border-radius: 10px;
    padding: 32px 28px;
    transition: transform 0.45s ease, box-shadow 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: var(--shadow-soft);
    will-change: transform, box-shadow;
}

.how-it-works__card:hover {
    transition: transform 0.45s ease, box-shadow 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.how-it-works__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.04);
}

.how-it-works__icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.how-it-works__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.how-it-works__text {
    opacity: 0.82;
    line-height: 1.7;
    margin-bottom: 0;
}

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

.faq-item {
    background-color: var(--dark-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item__question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item__question:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.faq-item__question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: var(--font-accent);
}

.faq-item__question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-item__question i {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
    padding: 0 30px 20px;
    max-height: 500px;
}

.faq-item__answer p {
    opacity: 0.9;
    line-height: 1.6;
}

:root {
    --schedule-orange: #ff8a5b;
    --schedule-orange-rgb: 255, 138, 91;
    --schedule-green: #6ccf8a;
    --schedule-green-rgb: 108, 207, 138;
    --schedule-blue: #69a8ff;
    --schedule-blue-rgb: 105, 168, 255;
}

.weekly-schedule {
    background-color: var(--section-light-gray);
}

.weekly-schedule .schedule-filter__buttons {
    margin-top: 0;
}

.weekly-schedule .section-title,
.weekly-schedule .section-subtitle,
.weekly-schedule .schedule-day__title,
.weekly-schedule .schedule-day__text,
.weekly-schedule .schedule-legend__item {
    color: var(--dark-text);
}

.schedule-filter__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 50px 0;
}

.schedule-filter__btn {
    min-width: 150px;
    padding: 14px 22px;
    background-color: var(--section-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.schedule-filter__btn:hover {
    border-color: var(--primary-color);
    background-color: var(--section-silver);
}

.schedule-filter__btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}

.schedule-days {
    max-width: 1120px;
    margin: 0 auto;
}

.schedule-days__header {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    gap: 18px;
    align-items: center;
    margin: 0 0 40px;
}

.schedule-days__nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--section-white);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.schedule-days__nav:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--dark-card);
}

.schedule-days__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.schedule-days__tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 1fr);
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.schedule-days__tabs::-webkit-scrollbar {
    display: none;
}

.schedule-days__tab {
    background-color: var(--section-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 13px 12px;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.schedule-days__tab:hover {
    border-color: var(--primary-color);
    background-color: var(--section-silver);
}

.schedule-days__tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}

.schedule-days__weekday,
.schedule-days__date {
    display: block;
}

.schedule-days__weekday {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.schedule-days__date {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    line-height: 1;
}

.schedule-day__meta {
    margin-bottom: 30px;
}

.schedule-day__title {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.schedule-day__text {
    opacity: 0.78;
    margin-bottom: 0;
}

.schedule-list {
    display: grid;
    gap: 16px;
}

.schedule-class {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: var(--section-white);
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--primary-color);
    border-top: none;
    border-right: none;
    border-bottom: none;
    transition: var(--card-hover-transition);
    box-shadow: var(--shadow-soft);
}

.schedule-class[hidden],
.schedule-empty[hidden] {
    display: none !important;
}

.schedule-class.color-orange {
    border-left-color: var(--schedule-orange);
}

.schedule-class.color-green {
    border-left-color: var(--schedule-green);
}

.schedule-class.color-blue {
    border-left-color: var(--schedule-blue);
}

.schedule-class:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.schedule-class__time {
    display: grid;
    align-content: center;
    min-width: 112px;
    padding-right: 22px;
    border-right: 1px solid var(--border-color);
}

.schedule-class__hour {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.42rem;
    line-height: 1;
    margin-bottom: 6px;
}

.schedule-class__duration {
    font-size: 12px;
    letter-spacing: 0.4px;
    opacity: 0.65;
    text-transform: uppercase;
}

.schedule-class__info {
    flex: 1;
    padding: 0 24px;
}

.schedule-class__name {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.schedule-class__trainer {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 12px;
}

.schedule-class__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.schedule-class__type,
.schedule-class__level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.schedule-class__type {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--dark-text);
}

.schedule-class.color-orange .schedule-class__type {
    background-color: rgba(var(--schedule-orange-rgb), 0.16);
    color: var(--schedule-orange);
}

.schedule-class.color-green .schedule-class__type {
    background-color: rgba(var(--schedule-green-rgb), 0.16);
    color: var(--schedule-green);
}

.schedule-class.color-blue .schedule-class__type {
    background-color: rgba(var(--schedule-blue-rgb), 0.16);
    color: var(--schedule-blue);
}

.schedule-class__level {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--dark-text);
}

.schedule-class__action {
    min-width: 210px;
    text-align: center;
}

.schedule-class__spots {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.7;
    text-transform: uppercase;
}

.schedule-empty {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 26px;
    text-align: center;
    opacity: 0.82;
}

.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.schedule-legend__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.schedule-legend__color {
    width: 18px;
    height: 18px;
    border-radius: 5px;
}

.schedule-legend__color.color-orange {
    background-color: var(--schedule-orange);
}

.schedule-legend__color.color-green {
    background-color: var(--schedule-green);
}

.schedule-legend__color.color-blue {
    background-color: var(--schedule-blue);
}

.class-types {
    background-color: var(--section-white);
}

.class-types__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.class-type-card {
    background-color: var(--section-light-gray);
    border-radius: 12px;
    padding: 34px 28px;
    text-align: left;
    transition: var(--card-hover-transition);
    box-shadow: var(--shadow-soft);
}

.class-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.class-type-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background-color: rgba(0, 0, 0, 0.05);
}

.class-type-card__icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.class-type-card__title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.class-type-card__description,
.class-type-card__objective {
    opacity: 0.86;
    line-height: 1.65;
}

.class-type-card__objective {
    margin-bottom: 18px;
}

.class-type-card__cycle {
    display: grid;
    gap: 8px;
}

.class-type-card__cycle span {
    padding-left: 18px;
    position: relative;
    opacity: 0.82;
}

.class-type-card__cycle span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.84);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.booking-modal__content {
    background-color: var(--dark-bg);
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    position: relative;
}

.booking-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--dark-text);
    font-size: 28px;
    cursor: pointer;
}

.booking-modal__title {
    padding: 38px 38px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.9rem;
}

.booking-modal__info {
    padding: 28px 38px 38px;
}

.booking-info {
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.booking-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.booking-details i {
    color: var(--primary-color);
}

.booking-form__group {
    margin-bottom: 18px;
}

.booking-form__group input,
.booking-form__group select {
    width: 100%;
    padding: 15px;
    background-color: var(--section-light-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    font-family: var(--font-body);
}

.booking-form__group input:focus,
.booking-form__group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--section-white);
}

.booking-form__group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.booking-modal__message {
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.booking-modal__message.success {
    display: block;
    background-color: rgba(var(--success-rgb), 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.booking-modal__message.error {
    display: block;
    background-color: rgba(var(--error-rgb), 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.booking-modal__note {
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.04);
    font-size: 14px;
}

.booking-modal__note i {
    color: var(--primary-color);
    margin-right: 8px;
}

.page-schedule #book-class {
    background-color: var(--section-light-gray);
}

.payment {
    background-color: var(--section-light-gray);
}

.payment__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: start;
}

.payment-summary,
.payment-methods,
.payment-customer {
    background-color: var(--section-white);
    border-radius: 12px;
    padding: 34px 30px;
    position: relative;
    overflow: visible;
    transition: transform 0.45s ease;
    will-change: transform;
}

.payment-summary::after,
.payment-methods::after,
.payment-customer::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.14;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

.payment-summary:hover,
.payment-methods:hover,
.payment-customer:hover {
    transform: translateY(-4px);
}

.payment-summary:hover::after,
.payment-methods:hover::after,
.payment-customer:hover::after {
    opacity: 1;
}

.payment-summary > *,
.payment-methods > *,
.payment-customer > * {
    position: relative;
    z-index: 1;
}

.payment-summary__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--gray-text);
    font-family: var(--font-accent);
    font-size: 12px;
    text-transform: uppercase;
}

.payment-summary__title {
    font-size: 2rem;
    margin-bottom: 24px;
}

.payment-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.payment-summary__row strong {
    text-align: right;
    font-family: var(--font-accent);
    font-weight: 400;
}

.payment-summary__note {
    margin: 24px 0 0;
    opacity: 0.78;
    line-height: 1.7;
}

.payment-customer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.payment-customer__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.payment-customer__edit,
.payment-customer__logout {
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.45s ease;
}

.payment-customer__edit:hover,
.payment-customer__logout:hover {
    color: var(--gray-text);
}

.payment-customer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.payment-customer__item {
    border-radius: 8px;
    background-color: var(--section-light-gray);
    padding: 14px 16px;
}

.payment-customer__item--wide,
.payment-customer__item--full {
    grid-column: 1 / -1;
}

.payment-customer__item span {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-text);
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
}

.payment-customer__item strong {
    display: block;
    color: var(--dark-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.45;
    word-break: break-word;
}

.payment-customer__logout {
    display: inline-flex;
}

.payment-method {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    margin-bottom: 24px;
    border-radius: 10px;
    background-color: var(--dark-bg);
    border: 3px solid var(--section-light-gray);
    cursor: pointer;
    transition: background-color 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

.payment-method:hover,
.payment-method:focus-within,
.payment-method:has(.payment-method__radio:checked) {
    background-color: var(--section-white);
    border-color: var(--primary-color);
}

.payment-method__radio {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.payment-method__logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.payment-method__logo img {
    display: block;
    height: auto;
    object-fit: contain;
}

.payment-method strong,
.payment-method small {
    display: block;
}

.payment-method small {
    opacity: 0.74;
    line-height: 1.5;
}

.payment-methods__actions {
    display: grid;
    gap: 14px;
}

.order-status {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
    padding: 36px 34px;
    border-radius: 12px;
    background-color: var(--section-white);
    position: relative;
    overflow: visible;
}

.order-status::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.order-status::before {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-accent);
    font-size: 9rem;
    line-height: 1;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.order-status--success::before {
    content: '\2713';
    color: var(--success-color);
}

.order-status--error::before {
    content: '!';
    color: var(--error-color);
}

.order-status > * {
    position: relative;
    z-index: 1;
}

.order-status__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    font-family: var(--font-accent);
    font-size: 52px;
    line-height: 1;
}

.order-status--success {
    background: linear-gradient(135deg, #ffffff 0%, var(--success-bg) 100%);
    border: 2px solid var(--success-border);
}

.order-status--success .order-status__icon {
    background-color: var(--success-color);
    color: var(--light-text);
    box-shadow: 0 18px 40px rgba(var(--success-rgb), 0.26);
}

.order-status--error {
    background: linear-gradient(135deg, #ffffff 0%, var(--error-bg) 100%);
    border: 2px solid var(--error-border);
}

.order-status--error .order-status__icon {
    background-color: var(--error-color);
    color: var(--light-text);
    box-shadow: 0 18px 40px rgba(var(--error-rgb), 0.28);
}

.order-status h2 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.order-status p {
    margin: 0;
    color: var(--gray-text);
    line-height: 1.7;
}

.order-status__actions {
    margin-top: 18px;
}

.order-error-detail {
    max-width: 100%;
    background-color: var(--section-white);
    border-radius: 12px;
    padding: 34px 30px;
    position: relative;
    overflow: visible;
}

.order-error-detail::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.order-error-detail > * {
    position: relative;
    z-index: 1;
}

.order-return__list {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.order-return__item {
    border-radius: 8px;
    background-color: var(--section-light-gray);
    padding: 14px 16px;
}

.order-return__item span {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-text);
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
}

.order-return__item strong {
    display: block;
    color: var(--dark-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.45;
    word-break: break-word;
}

.legal-content {
    background-color: var(--section-white);
}

.legal-content__body {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.legal-content__body h2 {
    font-size: 2.4rem;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.legal-content__body p {
    color: var(--dark-text);
    line-height: 1.75;
    margin-bottom: 18px;
    opacity: 0.86;
}

.legal-content__body p:last-child {
    margin-bottom: 0;
}

.mission {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

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

.mission__content {
    max-width: 600px;
}

.mission__text p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.text-free {
    line-height: 1em;
}

.text-free p {
    margin-bottom: 15px;
    line-height: 1.3;
    opacity: 1;
}


.mission__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 100%;
    opacity: 0.7;
    overflow: hidden;
}

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

.mission--reverse {
    background: var(--section-light-gray);
}

.mission--reverse .mission__image {
    right: auto; 
    left: 0;  
}

.mission--reverse .mission__content {
    margin-left: auto; 
}

.mission__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-stat {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    transition: var(--card-hover-transition);
    box-shadow: var(--shadow-soft);
}

.mission-stat:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.07);
}

.mission-stat__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.mission-stat__text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 80px;
    opacity: 1;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item__content {
    background-color: var(--dark-card);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 400px;
    position: relative;
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: var(--card-hover-transition);
}

.timeline-item:hover .timeline-item__content {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.timeline-item:nth-child(even) .timeline-item__content {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.timeline-item__year {
    position: absolute;
    top: -25px;
    left: -60px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(215, 215, 215, 0.18);
}

.timeline-item:nth-child(even) .timeline-item__year {
    left: auto;
    right: -60px;
}

.timeline-item__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.equipment__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.equipment-card {
    background-color: var(--dark-card);
    border-radius: 8px;
    overflow: visible;
    position: relative;
    transition: transform 0.45s ease;
    text-align: center;
    padding: 40px 30px;
    will-change: transform;
}

.equipment-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.16;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

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

.equipment-card:hover::after {
    opacity: 1;
}

.equipment-card > * {
    position: relative;
    z-index: 1;
}

.equipment-card__icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.equipment-card__icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.equipment-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.equipment-card__text {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-client-area .hero-client {
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image: var(--hero-overlay),
        url('../images/hero-contato.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0;
    text-align: center;
    padding: 200px 0 80px;
}

.page-client-area .hero-client__content,
.page-client-panel .hero-client__content {
    max-width: 860px;
    margin: 0 auto;
}

.page-client-area .hero-client__title,
.page-client-panel .hero-client__title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.page-client-area .hero-client__text,
.page-client-panel .hero-client__text {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.client-access {
    background-color: var(--section-light-gray);
}

.client-register {
    background-color: var(--section-light-gray);
    display: none;
}

.client-register--page {
    display: block;
}

.client-register:target {
    display: block;
}

.client-access .section-title,
.client-access .section-subtitle,
.client-register .section-title,
.client-register .section-subtitle {
    color: var(--dark-text);
}

.client-access__card,
.client-register__card {
    max-width: 560px;
    margin: 0 auto;
    background-color: var(--section-white);
    border-radius: 12px;
    padding: 34px 28px;
    position: relative;
    overflow: visible;
    transition: transform 0.45s ease;
    will-change: transform;
}

.client-access__card::after,
.client-register__card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.14;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

.client-access__card > *,
.client-register__card > * {
    position: relative;
    z-index: 1;
}

.client-register__card--wide {
    max-width: 1120px;
}

.client-access__card:hover,
.client-register__card:hover {
    transform: translateY(-4px);
}

.client-access__card:hover::after,
.client-register__card:hover::after {
    opacity: 1;
}

.client-form {
    display: grid;
    gap: 18px;
}

.client-form label {
    display: grid;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.client-form input {
    width: 100%;
    padding: 15px;
    background-color: var(--section-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    font-family: var(--font-body);
}

.client-register__card .client-form input {
    background-color: var(--section-light-gray);
}

.client-access__card .client-form input {
    background-color: var(--section-light-gray);
}

.client-form input:focus,
.client-form-grid input:focus,
.client-form-grid select:focus,
.client-form-grid textarea:focus,
.client-password input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.client-form__row {
    display: flex;
    justify-content: flex-end;
    margin-top: -6px;
}

.client-form__row .nav__link {
    color: var(--primary-dark);
}

.client-form__row .nav__link::after {
    background-color: var(--primary-dark);
}

.client-form__actions {
    display: grid;
    gap: 12px;
}

.client-form__actions .btn {
    width: 100%;
}

.client-form__note {
    font-size: 14px;
    text-align: center;
    opacity: 0.74;
    margin: 0;
}

.page-client-panel .hero-client {
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image: var(--hero-overlay),
        url('../images/hero-painel-cliente.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0;
    text-align: center;
    padding: 200px 0 80px;
}

.client-summary {
    background-color: var(--section-light-gray);
}

.client-panel-nav {
    position: sticky;
    top: 72px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
}

.client-panel-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
}

.client-panel-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: var(--section-light-gray);
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition);
}

.client-panel-nav__link:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.client-panel-nav__link.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.client-orders,
.client-profile {
    background-color: var(--section-light-gray);
}

.client-appointments {
    background-color: var(--section-light-gray);
}

.client-summary .section-title,
.client-summary .section-subtitle,
.client-orders .section-title,
.client-orders .section-subtitle,
.client-appointments .section-title,
.client-appointments .section-subtitle,
.client-profile .section-title,
.client-profile .section-subtitle {
    color: var(--dark-text);
}

.client-summary__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.client-summary__card,
.client-table-card,
.client-card-item,
.client-profile__card {
    border-radius: 12px;
    position: relative;
    overflow: visible;
    transition: transform 0.45s ease;
    will-change: transform;
}

.client-summary__card {
    background-color: var(--section-white);
    padding: 26px 24px;
    text-align: center;
}

.client-summary__card::after,
.client-table-card::after,
.client-card-item::after,
.client-profile__card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--shadow-hover);
    opacity: 0.14;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

.client-summary__card > *,
.client-table-card > *,
.client-card-item > *,
.client-profile__card > * {
    position: relative;
    z-index: 1;
}

.client-summary__card:hover,
.client-table-card:hover,
.client-card-item:hover,
.client-profile__card:hover {
    transform: translateY(-4px);
}

.client-card-item[data-aos].aos-animate {
    transition: transform 0.45s ease;
}

.client-card-item[data-aos].aos-animate:hover {
    transform: translateY(-4px);
}

.client-summary__card:hover::after,
.client-table-card:hover::after,
.client-card-item:hover::after,
.client-profile__card:hover::after {
    opacity: 1;
}

.client-summary__card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.client-summary__card span {
    display: block;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.78;
}

.client-table-card,
.client-profile__card {
    background-color: var(--section-white);
    padding: 30px 26px;
}

.client-card-list {
    display: grid;
    gap: 18px;
}

.client-filter {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.7fr) minmax(160px, 0.7fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 24px;
    padding: 22px;
    border-radius: 12px;
    background-color: var(--section-white);
}

.client-filter__field {
    display: grid;
    gap: 8px;
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.client-filter__field input,
.client-filter__field select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--section-light-gray);
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 15px;
}

.client-filter__field input:focus,
.client-filter__field select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--section-white);
}

.client-filter__button {
    min-height: 46px;
    padding-right: 24px;
    padding-left: 24px;
}

.client-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.client-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background-color: var(--section-white);
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-size: 13px;
    transition: var(--transition);
}

.client-pagination__link:hover,
.client-pagination__link.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.client-pagination__link--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.client-card-item {
    background-color: var(--section-white);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
}

.client-appointments .client-card-item {
    background-color: var(--section-white);
}

.client-card-item--success {
    border-left-color: var(--success-color);
}

.client-card-item--warning {
    border-left-color: #ffd86a;
}

.client-card-item--neutral {
    border-left-color: #69a8ff;
}

.client-appointment-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    row-gap: 10px;
    align-items: center;
}

.client-appointment-card .client-badge {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.client-appointment-card strong {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
}

.client-appointment-card p {
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 0;
}

.client-appointment-card__cancel {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    min-height: 44px;
    min-width: 190px;
    padding: 12px 22px;
    border: 2px solid var(--error-color);
    border-radius: 4px;
    background-color: var(--error-color);
    color: var(--light-text);
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.client-appointment-card__cancel:hover {
    background-color: #be123c;
    border-color: #be123c;
    color: var(--light-text);
    box-shadow: 0 14px 30px rgba(var(--error-rgb), 0.2);
    transform: translateY(-2px);
}

.client-card-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.45rem;
    color: var(--dark-text);
}

.client-card-item p {
    margin-bottom: 14px;
    opacity: 0.82;
}

.client-table {
    width: 100%;
    border-collapse: collapse;
}

.client-table th,
.client-table td {
    padding: 14px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
}

.client-table th {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.client-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-family: var(--font-accent);
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.client-badge--success {
    background-color: rgba(var(--success-rgb), 0.16);
    color: var(--success-color);
}

.client-badge--warning {
    background-color: rgba(255, 216, 106, 0.16);
    color: #ffd86a;
}

.client-badge--neutral {
    background-color: rgba(105, 168, 255, 0.14);
    color: #69a8ff;
}

.client-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.client-form-grid--register {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.client-field--span-1 {
    grid-column: span 1;
}

.client-field--span-2 {
    grid-column: span 2;
}

.client-field--span-3 {
    grid-column: span 3;
}

.client-field--span-4 {
    grid-column: 1 / -1;
}

.client-form-grid label,
.client-password label {
    display: grid;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.client-form-grid input,
.client-form-grid select,
.client-password input,
.client-form-grid textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--section-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    font-family: var(--font-body);
}

.client-form-grid input:disabled,
.client-form-grid select:disabled,
.client-form-grid textarea:disabled {
    background-color: #e7e7e6;
    color: var(--dark-text);
    font-family: var(--font-accent);
    font-weight: 400;
    opacity: 1;
    cursor: not-allowed;
}

.client-form-grid input.is-invalid,
.client-form-grid select.is-invalid,
.client-form-grid textarea.is-invalid {
    border-color: var(--error-color);
    background-color: var(--error-bg);
}

.client-form-error {
    display: block;
    min-height: 16px;
    margin-top: -2px;
    color: var(--error-color);
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.client-form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.client-form-grid .client-form-grid__full {
    grid-column: 1 / -1;
}

.client-form-terms {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 18px;
    border-radius: 10px;
    background-color: var(--section-light-gray);
}

.client-form-terms input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.client-form-terms label {
    display: block;
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}

.client-form-terms a {
    color: var(--primary-dark);
    font-family: var(--font-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.client-form-terms .client-form-error {
    grid-column: 1 / -1;
    margin-left: 30px;
}

.cf-turnstile {
    min-height: 65px;
}

.alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: var(--font-accent);
    font-size: 14px;
    line-height: 1.5;
}

.alert-danger {
    color: var(--error-color);
    background-color: var(--error-bg);
    border: 2px solid var(--error-border);
    border-left-width: 8px;
    box-shadow: 0 16px 36px rgba(var(--error-rgb), 0.16);
    font-size: 16px;
    font-weight: 400;
}

.alert-success {
    color: var(--success-color);
    background-color: var(--success-bg);
    border: 2px solid var(--success-border);
    border-left-width: 8px;
    box-shadow: 0 16px 36px rgba(var(--success-rgb), 0.14);
}

.terms-modal {
    z-index: 1100;
}

.terms-modal__content {
    width: min(860px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 48px));
    background-color: var(--section-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.terms-modal__panel,
.terms-modal__inner,
.terms-modal__box {
    height: 100%;
}

.terms-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
}

.terms-modal__header h4 {
    margin: 0;
    color: var(--dark-text);
    font-size: 1.45rem;
}

.terms-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background-color: var(--section-light-gray);
    color: var(--dark-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.terms-modal__close:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.terms-modal__body {
    max-height: calc(100vh - 170px);
    padding: 28px;
    overflow-y: auto;
    color: var(--dark-text);
    line-height: 1.75;
    text-align: left;
}

.client-password {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

@media (max-width: 1024px) {
    .plans__grid,
    .client-summary__grid,
    .payment__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-form-grid--register {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .schedule-class {
        flex-wrap: wrap;
    }

    .schedule-class__time,
    .schedule-class__info,
    .schedule-class__action {
        flex: 0 0 100%;
        padding: 0;
        border: none;
        text-align: left;
    }

    .schedule-class__time {
        margin-bottom: 18px;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--border-color);
    }

    .schedule-class__info {
        margin-bottom: 18px;
    }

    .mission__image {
        width: 40%;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .page-membership .hero-membership__title,
    .page-payment .hero-membership__title,
    .page-schedule .hero-schedule__title,
    .page-about .hero-about__title,
    .page-contact .hero-contact__title,
    .page-client-area .hero-client__title,
    .page-client-panel .hero-client__title {
        font-size: 2.8rem;
    }

    .page-membership .hero-membership__text,
    .page-payment .hero-membership__text,
    .page-schedule .hero-schedule__text,
    .page-about .hero-about__text,
    .page-contact .hero-contact__text,
    .page-client-area .hero-client__text,
    .page-client-panel .hero-client__text {
        font-size: 1rem;
    }

    .plans__grid,
    .how-it-works__grid,
    .client-summary__grid,
    .client-form-grid,
    .payment__grid {
        grid-template-columns: 1fr;
    }

    .client-filter {
        grid-template-columns: 1fr;
    }

    .client-filter__button {
        width: 100%;
    }

    .client-appointment-card {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .client-appointment-card strong,
    .client-appointment-card p,
    .client-appointment-card .client-badge,
    .client-appointment-card__cancel {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .client-appointment-card__cancel {
        width: 100%;
        justify-self: stretch;
        padding: 11px 14px;
        border: 2px solid var(--error-color);
        border-radius: 6px;
    }

    .client-field--span-2,
    .client-field--span-3,
    .client-field--span-4 {
        grid-column: 1 / -1;
    }

    .membership-filter {
        justify-content: flex-start;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .mission {
        padding: 60px 0;
    }

    .mission__image {
        display: none;
    }

    .mission__content {
        max-width: 100%;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 80px;
        justify-content: flex-start;
    }

    .timeline-item__year,
    .timeline-item:nth-child(even) .timeline-item__year {
        left: 0;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-item__content {
        border-left: 4px solid var(--primary-color);
        border-right: none;
    }

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

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta__buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .schedule-days__header {
        grid-template-columns: 44px 1fr 44px;
        gap: 10px;
    }

    .schedule-days__nav {
        width: 44px;
        height: 44px;
    }

    .schedule-days__tabs {
        grid-auto-columns: minmax(120px, 1fr);
    }

    .schedule-class {
        padding: 20px;
    }

    .schedule-day__title {
        font-size: 1.9rem;
    }

    .booking-modal__title {
        padding: 34px 22px 18px;
    }

    .booking-modal__info {
        padding: 24px 22px 28px;
    }

    .client-access__card,
    .client-register__card,
    .client-table-card,
    .client-profile__card,
    .payment-summary,
    .payment-methods,
    .payment-customer,
    .order-status,
    .order-error-detail {
        padding: 26px 20px;
    }

    .client-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .order-status {
        display: block;
    }

    .order-status__icon {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
        font-size: 34px;
    }

    .order-status h2 {
        font-size: 1.8rem;
    }

    .order-status::before {
        right: 16px;
        top: 18px;
        transform: none;
        font-size: 5rem;
    }

    .payment-method {
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .payment-customer__header {
        display: block;
    }

    .payment-customer__actions {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .payment-method__logo {
        width: 96px;
    }

    .payment-method > span:not(.payment-method__logo) {
        flex: 1 1 auto;
        min-width: 0;
    }

    .page-membership .hero-membership,
    .page-payment .hero-membership,
    .page-schedule .hero-schedule,
    .page-about .hero-about,
    .page-contact .hero-contact,
    .page-client-area .hero-client,
    .page-client-panel .hero-client {
        padding: 110px 0 64px;
    }

    .page-membership .hero-membership,
    .page-schedule .hero-schedule,
    .page-client-area .hero-client,
    .page-client-panel .hero-client {
        padding-top: 190px;
    }

    .page-membership .hero-membership__title,
    .page-payment .hero-membership__title,
    .page-schedule .hero-schedule__title,
    .page-about .hero-about__title,
    .page-contact .hero-contact__title,
    .page-client-area .hero-client__title,
    .page-client-panel .hero-client__title {
        font-size: 2.3rem;
    }

    .plan-card__amount {
        font-size: 2.8rem;
    }

    .faq-item__question {
        padding: 15px 20px;
    }

    .faq-item__question h3 {
        font-size: 1.1rem;
    }

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

    .equipment__grid {
        grid-template-columns: 1fr;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        margin-bottom: 60px;
    }

    .timeline-item__year {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -20px;
    }

    .schedule-filter__buttons,
    .schedule-legend {
        flex-direction: column;
    }

    .schedule-legend {
        align-items: center;
    }
}
