/* ==========================================================================
   Clara Wellness – Complete Front-End Stylesheet
   Faithfully ported from the TypeScript/Next.js source project.
   ========================================================================== */

/* ----------------------------------------------------------------
   1. FONT FACE – Praktika OTF (heading)
   ---------------------------------------------------------------- */
@font-face {
    font-family: 'Praktika';
    src: url('../fonts/Praktika-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Praktika';
    src: url('../fonts/Praktika-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Praktika';
    src: url('../fonts/Praktika-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Praktika';
    src: url('../fonts/Praktika-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Praktika';
    src: url('../fonts/Praktika-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------------------------
   2. CSS VARIABLES (matching TypeScript theme.sectionColorMapping)
   ---------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-heading: 'Praktika', 'Outfit', serif;
    --font-body: 'Praktika', 'Plus Jakarta Sans', sans-serif;

    /* Gold palette */
    --gold-1: #b99229;
    --gold-2: #fff9bf;
    --gold-gradient: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    --gold-border: rgba(185, 146, 41, 0.4);

    /* Brand colours */
    --dark: #2f2d2d;
    --cream: #f6efe7;

    /* Typography scale rem (base 10px = 62.5%) */
}

/* ----------------------------------------------------------------
   3. RESET & BASE
   ---------------------------------------------------------------- */
html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

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

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    color: var(--dark);
    background-color: #f6efe7;
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

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

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

ul { list-style: none; }

.uppercase { text-transform: uppercase; }

/* ----------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES (from typography-global-styles.ts)
   ---------------------------------------------------------------- */
.font-10, .font-11, .font-12, .font-13, .font-14 { font-size: 1.4rem; }
.font-15 { font-size: 1.5rem; }
.font-16 { font-size: 1.6rem; }
.font-17 { font-size: 1.7rem; }
.font-18 { font-size: 1.8rem; }
.font-19 { font-size: 1.9rem; }
.font-20 { font-size: 2rem; }
.font-22 { font-size: 2.2rem; }
.font-24 { font-size: 2.4rem; }
.font-28 { font-size: 2.8rem; }
.font-30 { font-size: 3rem; }
.font-32 { font-size: 3.2rem; }
.font-34 { font-size: 3.4rem; }
.font-36 { font-size: 3.6rem; }
.font-40 { font-size: 4rem; }

@media (max-width: 1024px) {
    .mb-font-13 { font-size: 1.3rem; }
    .mb-font-15 { font-size: 1.5rem; }
    .mb-font-16 { font-size: 1.6rem; }
    .mb-font-18 { font-size: 1.8rem; }
    .mb-font-19 { font-size: 1.9rem; }
    .mb-font-20 { font-size: 2rem; }
    .mb-font-34 { font-size: 3.4rem; }
    .mb-font-36 { font-size: 3.6rem; }
    .mb-font-40 { font-size: 4rem; }
}

@media (max-width: 480px) {
    .ph-font-14 { font-size: 1.4rem; }
    .ph-font-16 { font-size: 1.6rem; }
    .ph-font-17 { font-size: 1.7rem; }
    .ph-font-18 { font-size: 1.8rem; }
    .ph-font-20 { font-size: 2rem; }
    .ph-font-22 { font-size: 2.2rem; }
    .ph-font-30 { font-size: 3rem; }
    .ph-font-32 { font-size: 3.2rem; }
    .ph-font-34 { font-size: 3.4rem; }
}
/* ----------------------------------------------------------------
   5. HEADER
   ---------------------------------------------------------------- */
html.cw-loading,
body.cw-loading {
    overflow: hidden;
}

.cw-site-loader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    box-sizing: border-box;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem;
    background: #2f2d2d;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cw-site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cw-site-loader-content {
    display: flex;
    width: min(24rem, 64vw);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
    margin: 0 auto;
    transform: translateY(-1.5rem);
}

.cw-site-loader-logo {
    display: block;
    width: min(20rem, 54vw);
    height: auto;
    object-fit: contain;
}

.cw-site-loader-track {
    position: relative;
    width: 100%;
    height: 0.2rem;
    overflow: hidden;
    background: rgba(202, 164, 62, 0.2);
}

.cw-site-loader-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #b78b21 0%, #efd77c 50%, #b78b21 100%);
    transform: scaleX(0);
    transform-origin: center;
    animation: cw-loader-expand 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes cw-loader-expand {
    0% { transform: scaleX(0); opacity: 0.45; }
    75%, 100% { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .cw-site-loader-track::after {
        animation-duration: 2s;
    }
}

.cw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 0 10rem;
    height: 9.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0) 100%);
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}

.cw-header.scrolled,
.cw-header.cw-header-solid,
body:not(.home):not(.front-page) .cw-header {
    background: rgba(22, 22, 23, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    height: 8.4rem;
}

.cw-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 144rem;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.cw-header .cw-logo {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cw-logo-img {
    height: 5.2rem;
    width: auto;
    object-fit: contain;
}

.cw-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.cw-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cw-nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-synthesis: none;
    font-size: 1.35rem;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: color 0.25s ease, transform 0.2s ease;
}

.cw-header.scrolled .cw-nav-link {
    color: #ffffff;
    text-shadow: none;
}

.cw-nav-link:hover { 
    color: var(--gold-1); 
    transform: translateY(-1px);
}

.cw-menu-toggle {
    display: none;
    width: 4.4rem;
    height: 4.4rem;
    padding: 1rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.cw-menu-toggle span {
    display: block;
    width: 2.4rem;
    height: 0.2rem;
    border-radius: 999px;
    background: var(--gold-1);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.cw-header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cw-btn {
    height: 3.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.3rem;
    padding: 0 1.8rem;
    border-radius: 1rem;
    transition: filter 0.25s ease;
    gap: 6px;
}

.cw-btn:hover { filter: brightness(1.1); }

.cw-btn-gold {
    background: var(--gold-gradient);
    color: #262626;
}

.cw-btn-dark {
    background: var(--dark);
    color: #ffffff;
}

/* ----------------------------------------------------------------
   6. HERO SECTION (from hero/styles.ts)
   ---------------------------------------------------------------- */
.cw-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 64rem;
    overflow: hidden;
}

.cw-hero-section .hero-swiper,
.cw-hero-section .swiper-wrapper,
.cw-hero-section .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(30, 28, 28, 0.82) 0%,
        rgba(30, 28, 28, 0.72) 32%,
        transparent 65%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 144rem;
    width: 100%;
    padding: 0 10rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 3.2rem;
    color: #ffffff;
    line-height: 1.15;
    max-width: 44rem;
    margin-bottom: 2.2rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

.hero-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 36rem;
    margin-bottom: 3.6rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.4rem;
    height: 4.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #262626;
    letter-spacing: 0.08rem;
    padding: 0 3.2rem;
    border-radius: 2.1rem;
    background-image: var(--gold-gradient);
    opacity: 0;
    transform: translateY(30px);
    transition: filter 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 18px rgba(185, 146, 41, 0.3);
}

.hero-cta:hover { filter: brightness(1.1); transform: scale(1.02); }

/* Slide-specific offsets (matching TypeScript transforms) */
.hero-slide--first .hero-content {
    transform: translate(0, calc(-50% - 2rem));
}

.hero-slide--first .hero-title,
.hero-slide--first .hero-description {
    color: #ffffff;
}

.hero-slide--first .hero-cta {
    color: #262626;
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
}

.hero-slide--second .hero-content {
    transform: translate(0, calc(-50% + 4rem));
}

.hero-slide--second .hero-title {
    max-width: 48rem;
}

.hero-slide--second .hero-description {
    max-width: 40rem;
}

.hero-slide--fourth .hero-content {
    transform: translate(0, -50%);
}

/* Active slide: animate in */
.swiper-slide-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.swiper-slide-active .hero-description {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.swiper-slide-active .hero-cta {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s, filter 0.3s ease;
}

/* Swiper pagination */
.cw-hero-section .swiper-pagination {
    position: absolute;
    z-index: 3;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    gap: 1rem;
}

.cw-hero-section .swiper-pagination-bullet {
    width: 0.9rem;
    height: 0.9rem;
    margin: 0 !important;
    background-color: #ffffff;
    opacity: 0.45;
    transition: opacity 0.3s ease, width 0.3s ease;
    border-radius: 0.5rem;
}

.cw-hero-section .swiper-pagination-bullet-active {
    opacity: 1;
    width: 2.8rem;
    border-radius: 0.5rem;
    background: var(--gold-gradient);
}

/* WhatsApp floating button */
.hero-whatsapp {
    position: fixed;
    z-index: 900;
    right: 3rem;
    bottom: 3rem;
    width: 5.6rem;
    height: 5.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background-color: #25d366;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-whatsapp:hover { transform: scale(1.1); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4); }

.hero-whatsapp svg {
    width: 2.8rem;
    height: 2.8rem;
}

/* ----------------------------------------------------------------
   7. STATS SECTION (from stats/styles.ts)
   ---------------------------------------------------------------- */
.cw-stats-section {
    width: 100%;
    background-color: #1d1e1f;
}

.stats-band {
    max-width: 144rem;
    margin: 0 auto;
    padding: 3rem 10rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.stats-intro {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.7rem;
    color: #ffffff;
    line-height: 1.35;
    max-width: 38rem;
    text-align: left;
    flex-shrink: 0;
}

.stats-items {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4.8rem;
    flex: 1;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.stats-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2rem;
    color: transparent;
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stats-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.15rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* ----------------------------------------------------------------
   8. DIFFERENTIALS SECTION (from differentials/styles.ts)
   ---------------------------------------------------------------- */
.cw-differentials-section {
    position: relative;
    width: 100%;
    min-height: 52rem;
    display: flex;
    align-items: flex-start;
    background-color: #262525;
    background-image: url('../images/clara/tracos-clara.png');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 7rem 0 9rem;
    overflow: hidden;
}

.differentials-inner {
    position: relative;
    z-index: 2;
    max-width: 132rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.differentials-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.differentials-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffffff;
    font-size: 3.2rem;
    line-height: 1.15;
    max-width: 46rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.differentials-description {
    font-family: var(--font-body);
    font-weight: 400;
    color: #d0d0d0;
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 44rem;
    margin-bottom: 3.2rem;
}

.differentials-description strong { 
    font-weight: 700; 
    color: #ffffff;
}

.differentials-cta {
    font-family: var(--font-body);
    font-weight: 600;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #262626;
    font-size: 1.4rem;
    letter-spacing: 0.08rem;
    padding: 0 3.2rem;
    border-radius: 2rem;
    background-image: var(--gold-gradient);
    transition: filter 0.3s ease, transform 0.25s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(185, 146, 41, 0.25);
}

.differentials-cta:hover { filter: brightness(1.1); transform: scale(1.02); }

.differentials-services {
    width: 100%;
    max-width: 48rem;
    justify-self: center;
    border: 1px solid rgba(185, 146, 41, 0.45);
    border-radius: 1.8rem;
    overflow: hidden;
    background-color: #F6EFE7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.differentials-services-title {
    padding: 2.2rem 2rem 1.6rem;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #b99229;
    letter-spacing: 0.08rem;
    border-bottom: 1px solid rgba(185, 146, 41, 0.35);
}

.differentials-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.differentials-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    padding: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: #2f2d2d;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    white-space: nowrap;
}

.differentials-tag:nth-child(n + 3) {
    border-top: 1px solid rgba(185, 146, 41, 0.35);
}

.differentials-tag:nth-child(odd) {
    border-right: 1px solid rgba(185, 146, 41, 0.35);
}

/* ----------------------------------------------------------------
   9. RITUAL SECTION (from ritual/styles.ts)
   ---------------------------------------------------------------- */
.cw-ritual-section {
    position: relative;
    width: 100%;
    height: 75rem;
    overflow: hidden;
    background-color: #1a1a1a;
}

.ritual-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ritual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.45) 30%,
        transparent 65%
    );
    z-index: 1;
}

.ritual-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 144rem;
    width: 100%;
    padding: 0 10rem;
}

.ritual-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 3.2rem;
    color: #ffffff;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    max-width: 40rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* ----------------------------------------------------------------
   10. PLANS SECTION (from plans/styles.ts)
   ---------------------------------------------------------------- */
.cw-plans-section {
    position: relative;
    width: 100%;
    background-color: #f6efe7;
    padding: 8rem 0 10rem;
    scroll-margin-top: 8.4rem;
}

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

.plans-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 500;
    color: #2f2d2d;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
}

.plans-inner {
    max-width: 132rem;
    margin: 0 auto;
    padding: 0 6rem;
}

.plans-carousel-wrapper {
    position: relative;
}

.plans-carousel {
    width: 100%;
}

.plans-arrow {
    display: none;
}

.plans-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.6rem;
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    background-color: rgba(246, 239, 231, 0.5);
    border: 1px solid rgba(185, 146, 41, 0.45);
    border-radius: 2.2rem;
    padding: 3.6rem 2.8rem;
    min-height: 54rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(185, 146, 41, 0.18);
    border-color: rgba(185, 146, 41, 0.85);
}

.plan-head {
    text-align: center;
    margin-bottom: 2.4rem;
}

.plan-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #2f2d2d;
    line-height: 1.1;
    font-size: 2.8rem;
    text-transform: none;
}

.plan-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    color: #666666;
    margin-top: 0.6rem;
    font-size: 1.45rem;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3.2rem;
    flex: 1;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: #333333;
    line-height: 1.45;
    font-size: 1.35rem;
}

.plan-feature span strong {
    color: #2f2d2d;
    font-weight: 700;
}

.plan-bullet {
    flex-shrink: 0;
    color: #b99229;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.1;
}

.plan-cta {
    align-self: center;
    margin-top: auto;
    font-family: var(--font-body);
    font-weight: 600;
    width: 100%;
    max-width: 24rem;
    height: 4.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #262626;
    letter-spacing: 0.08rem;
    padding: 0 2.4rem;
    border-radius: 2.1rem;
    font-size: 1.35rem;
    background-image: var(--gold-gradient);
    transition: filter 0.25s ease, transform 0.25s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(185, 146, 41, 0.25);
}

.plan-cta:hover { filter: brightness(1.1); transform: scale(1.02); }

.plans-dots {
    display: none;
}

/* ----------------------------------------------------------------
   11. MOBILE CLINIC SECTION (from mobile-clinic/styles.ts)
   ---------------------------------------------------------------- */
.cw-mobile-clinic-section {
    width: 100%;
    min-height: 48rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #f6efe7;
    scroll-margin-top: 8.4rem;
}

.mobile-clinic-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mobile-clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mobile-clinic-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 9rem;
    color: #2f2d2d;
    background-color: #f6efe7;
    background-image: url('../images/clara/tracos-clara.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}

.mobile-clinic-content {
    max-width: 54rem;
}

.mobile-clinic-title {
    max-width: 48rem;
    margin-bottom: 2.8rem;
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1.15;
    color: #2f2d2d;
    text-transform: uppercase;
    white-space: pre-line;
    letter-spacing: 0.04rem;
}

.mobile-clinic-highlight {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #2f2d2d;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.mobile-clinic-description {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.35;
    color: #4a4643;
    letter-spacing: 0.02rem;
}

.mobile-clinic-disclaimer {
    margin-top: 2rem;
    margin-bottom: 3rem;
    max-width: 52rem;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.4;
    color: #8c827a;
}

/* ----------------------------------------------------------------
   12. CTA SECTION (from cta/styles.ts)
   ---------------------------------------------------------------- */
.cw-cta-section {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 2788 / 1360;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    background-color: #e8c2a6;
    scroll-margin-top: 8.4rem;
}

.cta-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 46%;
    margin-left: 18%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #2f2d2d;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    color: #3f3d3d;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 2.8rem;
}

.cta-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.4rem;
    height: 4.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    letter-spacing: 0.08rem;
    padding: 0 3.2rem;
    border-radius: 2.1rem;
    background: #2f2d2d;
    transition: background 0.3s ease, transform 0.25s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-button:hover { background: #1a1a1a; transform: translateY(-2px); }

/* ----------------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------------- */
.cw-footer {
    background: #1c1d1e;
    color: #ffffff;
    padding: 6rem 0 3rem;
}

.cw-container {
    max-width: 132rem;
    margin: 0 auto;
    padding: 0 8rem;
}

.cw-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-bottom: 4rem;
}

.cw-footer-brand .cw-logo {
    position: static;
    display: inline-flex;
    align-items: center;
}

.cw-footer-brand .cw-logo-img {
    height: 5.4rem;
    width: auto;
    object-fit: contain;
}

.cw-footer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.8rem;
}

.cw-footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
}

.cw-footer-phone {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.25s;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.cw-footer-phone:hover { color: var(--gold-1); }

.cw-footer-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s;
}

.cw-footer-item:hover { color: var(--gold-1); }

.cw-footer-icon {
    color: #b99229;
    flex-shrink: 0;
}

.cw-footer-loc-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
}

.cw-footer-icon-pin {
    color: #b99229;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.cw-footer-loc-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    line-height: 1.4;
}

.cw-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2.4rem;
    text-align: left;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
}

.cw-footer-rt {
    margin-top: 0.6rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

/* ----------------------------------------------------------------
   14. HEADER SCROLL EFFECT (JavaScript-triggered class)
   ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
   15. MEMBER AREA (Minha Conta)
   ---------------------------------------------------------------- */
.cw-member-header {
    background: linear-gradient(135deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cw-member-header-logo img { height: 5rem; }

.cw-member-header-user {
    font-size: 1.4rem;
    color: #2f2d2d;
    font-weight: 600;
}

.cw-member-logout {
    font-size: 1.3rem;
    color: #2f2d2d;
    font-weight: 500;
    padding: 0.8rem 1.6rem;
    border: 1px solid #2f2d2d;
    border-radius: 0.8rem;
}

.cw-member-wrapper {
    min-height: 100vh;
    background: #f6efe7;
    display: flex;
    gap: 0;
}

.cw-member-sidebar {
    width: 38rem;
    min-height: 100vh;
    background: #f6efe7;
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(185, 146, 41, 0.2);
}

.cw-member-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.cw-member-card {
    background: #f6efe7;
    border: 1px solid rgba(185, 146, 41, 0.25);
    border-radius: 1.6rem;
    padding: 2.4rem 2rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cw-member-card:hover {
    border-color: var(--gold-1);
    box-shadow: 0 6px 20px rgba(185, 146, 41, 0.15);
    transform: translateY(-2px);
}

.cw-member-card--wide {
    grid-column: 1 / -1;
}

.cw-member-card-icon {
    width: 3.6rem;
    height: 3.6rem;
    color: var(--gold-1);
}

.cw-member-card-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #2f2d2d;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.cw-member-main {
    flex: 1;
    padding: 3rem 4rem;
}

.cw-member-banner {
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    border-radius: 1.6rem;
    padding: 3.2rem 4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.cw-member-banner-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2f2d2d;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

.cw-member-welcome-title {
    font-size: 2.6rem;
    font-weight: 600;
    color: #2f2d2d;
    margin-bottom: 1rem;
}

.cw-member-welcome-sub {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Sub-view back button & tables */
.cw-back-btn {
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    color: var(--dark);
    background: rgba(47, 45, 45, 0.08);
    border: 1px solid rgba(47, 45, 45, 0.2);
    padding: 0.8rem 1.6rem;
    border-radius: 0.8rem;
    margin-bottom: 2.4rem;
    cursor: pointer;
    transition: background 0.2s;
}

.cw-back-btn:hover { background: rgba(47, 45, 45, 0.14); }

.cw-member-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.cw-member-table th,
.cw-member-table td {
    padding: 1.2rem 1.6rem;
    border: 1px solid rgba(185, 146, 41, 0.35);
    text-align: left;
}

.cw-member-table th {
    background: rgba(185, 146, 41, 0.1);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #2f2d2d;
}

.cw-member-table a {
    color: var(--gold-1);
    font-weight: 600;
}

/* Gold tag pill */
.cw-gold-tag {
    display: inline-block;
    background: var(--gold-gradient);
    color: #262626;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    letter-spacing: 0.05rem;
}

/* ----------------------------------------------------------------
   16. CADASTRO / CHECKOUT PAGE
   ---------------------------------------------------------------- */
.cw-checkout-section {
    min-height: 100vh;
    background: #f6efe7;
    padding: 12rem 0 6rem;
}

.cw-checkout-inner {
    max-width: 74rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.cw-checkout-title {
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.cw-checkout-subtitle {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 4rem;
}

/* Step indicators */
.cw-step-indicators {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 0;
}

.cw-step-indicator {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(185, 146, 41, 0.2);
    color: #666;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cw-step-indicator.active {
    background: var(--gold-gradient);
    color: #262626;
}

.cw-step-indicator.done {
    background: rgba(185, 146, 41, 0.9);
    color: #fff;
}

.cw-step-line {
    height: 2px;
    background: rgba(185, 146, 41, 0.2);
    flex: 1;
}

/* Form fields */
.cw-form-box {
    background: #ffffff;
    border-radius: 2rem;
    padding: 4rem;
    border: 1px solid rgba(185, 146, 41, 0.2);
}

.cw-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cw-field-row.single { grid-template-columns: 1fr; }

.cw-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cw-field label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
}

.cw-field input,
.cw-field select {
    height: 4.8rem;
    padding: 0 1.6rem;
    border: 1.5px solid rgba(185, 146, 41, 0.35);
    border-radius: 1rem;
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--dark);
    background: #f6efe7;
    transition: border-color 0.25s;
    outline: none;
}

.cw-field input:focus,
.cw-field select:focus {
    border-color: var(--gold-1);
}

.cw-form-btn {
    width: 100%;
    height: 5.2rem;
    background: var(--gold-gradient);
    color: #262626;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    border: none;
    border-radius: 1.2rem;
    cursor: pointer;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    transition: filter 0.25s;
    margin-top: 2rem;
}

.cw-form-btn:hover { filter: brightness(1.1); }

/* ----------------------------------------------------------------
   17. GRUPO FAPES PAGE
   ---------------------------------------------------------------- */
.fapes-section {
    width: 100%;
    background-color: #f6efe7;
    padding: 14rem 0 10rem;
}

.fapes-inner {
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 8rem;
}

.fapes-head {
    margin-bottom: 6rem;
    max-width: 80rem;
}

.fapes-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 500;
    color: #2f2d2d;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.fapes-description {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
    max-width: 74rem;
}

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

.fapes-card {
    background: #fff;
    border-radius: 2rem;
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(185, 146, 41, 0.25);
    display: flex;
    flex-direction: column;
}

.fapes-card-logo-wrapper {
    height: 5.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.fapes-card-logo {
    max-height: 4.6rem;
    max-width: 18rem;
    object-fit: contain;
}

.fapes-card-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: #2f2d2d;
    margin-bottom: 1.2rem;
}

.fapes-card-text {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.fapes-card-link {
    color: var(--gold-1);
    font-weight: 700;
    font-size: 1.4rem;
    transition: opacity 0.2s;
}

.fapes-card-link:hover { opacity: 0.75; }

/* ----------------------------------------------------------------
   18. PARABÉNS PAGE
   ---------------------------------------------------------------- */
.cw-parabens-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    background: #f6efe7;
    text-align: center;
}

.cw-parabens-inner {
    max-width: 60rem;
}

.cw-parabens-icon {
    width: 8rem;
    height: 8rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    font-size: 3.2rem;
}

.cw-parabens-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.6rem;
}

.cw-parabens-text {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3.2rem;
}

/* ----------------------------------------------------------------
   19. RESPONSIVE – LAPTOP (max 1280px)
   ---------------------------------------------------------------- */
@media (max-width: 1280px) {
    .cw-header { padding: 0 7rem; }
    .stats-band { padding-right: 7rem; padding-left: 7rem; gap: 4rem; }
    .stats-items { gap: 3.2rem; }
    .differentials-inner { padding: 0 6rem; gap: 7rem; }
    .ritual-content { padding: 0 10rem; }
    .plans-inner { padding: 0 4rem; }
    .plans-track { gap: 3rem; }
    .plan-card { min-height: 52rem; padding: 2.6rem 2.2rem; }
    .cw-mobile-clinic-section { height: clamp(40rem, 35vw, 48rem); }
    .mobile-clinic-panel { padding: 4rem 5rem; }
    .mobile-clinic-title { margin-bottom: 2rem; font-size: clamp(3rem, 2.55vw, 3.6rem); }
    .mobile-clinic-description { font-size: clamp(1.9rem, 1.65vw, 2.3rem); }
    .mobile-clinic-disclaimer { left: 5rem; bottom: 3rem; max-width: calc(100% - 10rem); font-size: clamp(1.4rem, 1.1vw, 1.6rem); }
    .cw-cta-section { min-height: 0; padding: 0; }
    .cta-title { font-size: clamp(3.4rem, 2.8vw, 4rem); }
    .cta-subtitle { font-size: clamp(2rem, 1.75vw, 2.5rem); }
}

/* ----------------------------------------------------------------
   20. RESPONSIVE – TABLET (max 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .cw-header { padding: 0 4rem; }

    .cw-hero-section { height: 100svh; min-height: 60rem; }
    .hero-content { padding: 0 4rem; }
    .hero-slide--first .hero-content,
    .hero-slide--fourth .hero-content { transform: translate(0, -50%); }
    .hero-slide--second .hero-content { transform: translate(0, calc(-50% + 5rem)); }
    .cw-hero-section .swiper-pagination { bottom: 2.8rem; }

    .stats-band { flex-direction: column; align-items: center; text-align: center; padding: 4rem; gap: 3rem; }
    .stats-intro { max-width: 52rem; text-align: left; width: 100%; }
    .stats-items { width: 100%; justify-content: center; flex-wrap: wrap; gap: 3rem 4rem; }

    .differentials-inner { grid-template-columns: 1fr; gap: 4.2rem; padding: 0 4rem; }
    .cw-differentials-section { min-height: 54rem; padding: 5.5rem 0 6.5rem; background-size: cover; background-position: center calc(100% + 6rem); }
    .differentials-services { max-width: 56rem; }

    .ritual-content { padding: 0 4rem; }
    .cw-ritual-section { height: 56rem; }

    .plans-inner { padding: 0 4rem; }
    .plans-track { gap: 3rem; }

    .cw-mobile-clinic-section { height: auto; grid-template-columns: 1fr; }
    .mobile-clinic-image { aspect-ratio: 16 / 9; }
    .mobile-clinic-panel { min-height: 42rem; padding: 6rem 4rem 9rem; }
    .mobile-clinic-disclaimer { left: 4rem; bottom: 4rem; max-width: calc(100% - 8rem); }

    .cw-cta-section { min-height: 0; padding: 0; }
    .cta-photo { object-position: center; }
    .cta-content { max-width: 46%; margin-left: 18%; padding: 0 2rem; }

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

@media (max-width: 767px) {
    .cw-hero-section {
        height: clamp(62rem, 178.7vw, 76rem);
        min-height: 62rem;
    }

    .hero-photo {
        object-position: center;
    }

    .hero-overlay {
        background: none;
    }

    .hero-content,
    .hero-slide--first .hero-content,
    .hero-slide--second .hero-content,
    .hero-slide--fourth .hero-content {
        top: auto;
        bottom: clamp(7.5rem, 12vw, 9rem);
        left: 0;
        width: 100%;
        max-width: none;
        padding-inline: clamp(1.8rem, 6vw, 3.2rem);
        align-items: flex-start;
    }

    .hero-content,
    .hero-slide--fourth .hero-content {
        transform: none;
    }

    .hero-slide--first .hero-content {
        transform: translateY(-2rem);
    }

    .hero-slide--second .hero-content {
        transform: translateY(2rem);
    }

    .hero-title,
    .hero-slide--second .hero-title {
        width: 100%;
        max-width: 100%;
        margin-bottom: clamp(1.2rem, 3.5vw, 1.6rem);
        font-size: clamp(2.5rem, 7.5vw, 3rem);
        line-height: 1.12;
    }

    .hero-title,
    .hero-description {
        text-shadow:
            0 3px 10px rgba(0, 0, 0, 0.55),
            0 8px 28px rgba(0, 0, 0, 0.35);
    }

    .hero-description,
    .hero-slide--second .hero-description {
        width: 100%;
        max-width: 100%;
        margin-bottom: clamp(1.8rem, 5vw, 2.4rem);
        font-size: clamp(1.35rem, 4vw, 1.6rem);
        line-height: 1.4;
    }

    .hero-cta {
        max-width: 100%;
        min-height: 4.2rem;
        height: auto;
        padding: 1.1rem clamp(1.8rem, 6vw, 2.4rem);
        border-radius: 1rem;
        font-size: clamp(1.2rem, 3.6vw, 1.5rem);
        line-height: 1.2;
        text-align: center;
    }

    .cw-hero-section .swiper-pagination {
        left: 50%;
        bottom: clamp(2.8rem, 8vw, 4rem);
        gap: 0.8rem;
    }

    .cw-hero-section .swiper-pagination-bullet {
        width: 0.8rem;
        height: 0.8rem;
    }

    .cw-hero-section .swiper-pagination-bullet-active {
        width: 2.4rem;
    }

    .cw-header,
    .cw-header.scrolled,
    .cw-header.cw-header-solid,
    body:not(.home):not(.front-page) .cw-header {
        height: 7.2rem;
        padding: 0 1.6rem;
        background: rgba(18, 18, 18, 0.96);
        backdrop-filter: blur(12px);
    }

    .cw-header-inner {
        justify-content: space-between;
    }

    .cw-header .cw-logo {
        position: static;
        z-index: 2;
    }

    .cw-logo-img {
        width: auto;
        height: 4rem;
        max-width: 13rem;
    }

    .cw-menu-toggle {
        display: flex;
        position: relative;
        margin-right: 1.2rem;
        z-index: 2;
    }

    .cw-header.menu-open .cw-menu-toggle span:nth-child(1) {
        transform: translateY(0.7rem) rotate(45deg);
    }

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

    .cw-header.menu-open .cw-menu-toggle span:nth-child(3) {
        transform: translateY(-0.7rem) rotate(-45deg);
    }

    .cw-nav {
        position: fixed;
        top: 7.2rem;
        left: 0;
        right: 0;
        display: block;
        margin: 0;
        padding: 1.2rem 1.6rem 2rem;
        background: rgba(18, 18, 18, 0.98);
        border-top: 1px solid rgba(202, 164, 62, 0.22);
        box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-1rem);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .cw-header.menu-open .cw-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .cw-header .cw-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .cw-nav-menu li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cw-nav-link {
        display: flex;
        align-items: center;
        min-height: 5.2rem;
        width: 100%;
        padding: 0 0.8rem;
        font-size: 1.35rem;
        text-shadow: none;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .cw-hero-section {
        height: max(48rem, 100svh);
        min-height: 48rem;
    }

    .hero-content,
    .hero-slide--first .hero-content,
    .hero-slide--second .hero-content,
    .hero-slide--fourth .hero-content {
        top: 50%;
        bottom: auto;
        padding-inline: clamp(3.2rem, 7vw, 6rem);
        transform: translateY(-42%);
    }

    .hero-title,
    .hero-slide--second .hero-title {
        max-width: 42rem;
        font-size: clamp(2.4rem, 4.5vw, 3rem);
    }

    .hero-description,
    .hero-slide--second .hero-description {
        max-width: 42rem;
        font-size: clamp(1.35rem, 2.6vw, 1.6rem);
    }
}

/* ----------------------------------------------------------------
   21. RESPONSIVE – PHONE (max 480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
    .cw-header { padding: 0 1.6rem; }
    .cw-nav-menu { display: none; }
    .cw-header-actions { gap: 0.8rem; }
    .cw-btn { font-size: 1.1rem; padding: 0 1.2rem; height: 3.2rem; }

    .hero-whatsapp { right: 1.6rem; bottom: 1.6rem; width: 4.8rem; height: 4.8rem; }
    .hero-whatsapp svg { width: 2.5rem; height: 2.5rem; }

    .stats-band {
        align-items: stretch;
        padding: 3.6rem 2rem 4rem;
        gap: 3.2rem;
    }
    .stats-intro {
        max-width: 32rem;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 2.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 1.6rem;
        line-height: 1.45;
        text-align: center;
    }
    .stats-items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        width: 100%;
        gap: 3rem 1.2rem;
    }
    .stats-item {
        min-width: 0;
        align-items: center;
        gap: 0.7rem;
        text-align: center;
    }
    .stats-number {
        font-size: clamp(2.7rem, 8vw, 3.2rem);
        white-space: nowrap;
    }
    .stats-label {
        max-width: 15rem;
        font-size: 1rem;
        line-height: 1.35;
        letter-spacing: 0.035rem;
    }

    .cw-differentials-section { min-height: 0; padding: 4.8rem 0 5.6rem; background-size: auto 58%; background-position: center bottom -2.4rem; }
    .differentials-inner { min-height: 0; padding: 0 2rem; display: flex; flex-direction: column; gap: 3.2rem; }
    .differentials-intro { width: 100%; transform: none; }
    .differentials-title { font-size: 2.6rem; line-height: 1.18; margin-bottom: 1.6rem; max-width: 100%; }
    .differentials-description { font-size: 1.5rem; line-height: 1.55; margin-bottom: 2.4rem; max-width: 100%; }
    .differentials-cta { width: 100%; height: 4.4rem; padding: 0 2rem; border-radius: 1rem; font-size: 1.4rem; font-weight: 600; }
    .differentials-services { width: 100%; max-width: none; border-radius: 1.6rem; background-color: #F6EFE7; }
    .differentials-services-title { padding: 2.4rem 1.6rem 1.8rem; font-size: 2.2rem; line-height: 1.1; }
    .differentials-tags { grid-template-columns: 1fr 1fr; padding: 0 1.2rem 1.6rem; }
    .differentials-tag { min-width: 0; min-height: 5.2rem; padding: 1rem 0.6rem; font-size: clamp(1.4rem, 3.5vw, 1.5rem); line-height: 1.25; text-align: center; white-space: normal; }

    .cw-ritual-section {
        height: auto;
        min-height: 0;
        aspect-ratio: 1376 / 768;
    }
    .ritual-photo {
        object-position: center;
    }
    .ritual-overlay {
        background: linear-gradient(90deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.42) 38%, transparent 68%);
    }
    .ritual-content {
        top: 50%;
        transform: translateY(-50%);
        padding: 0 2rem;
    }
    .ritual-title {
        max-width: 17rem;
        font-size: clamp(1.8rem, 5.4vw, 2.4rem);
        line-height: 1.12;
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.55);
    }

    .cw-plans-section { padding: 5rem 0; }
    .plans-inner { padding: 0 2.4rem; }
    .plans-label { font-size: 3rem; margin-bottom: 2.6rem; }
    .plans-track { display: flex; gap: 0; width: 100%; transition: transform 0.4s ease; }
    .plan-card { flex: 0 0 100%; width: 100%; min-width: 100%; min-height: 50rem; padding: 2.4rem 2rem; }
    .plans-arrow {
        position: absolute;
        z-index: 3;
        top: 50%;
        display: flex;
        width: 4rem;
        height: 4rem;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(185, 146, 41, 0.65);
        border-radius: 50%;
        color: #2f2d2d;
        background: rgba(246, 239, 231, 0.94);
        box-shadow: 0 4px 14px rgba(47, 45, 45, 0.12);
        transform: translateY(-50%);
        transition: opacity 0.2s ease, background-color 0.2s ease;
    }
    .plans-arrow span { width: 1rem; height: 1rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; display: block; }
    .plans-arrow-previous { left: 0.6rem; }
    .plans-arrow-previous span { transform: translateX(2px) rotate(-135deg); }
    .plans-arrow-next { right: 0.6rem; }
    .plans-arrow-next span { transform: translateX(-2px) rotate(45deg); }
    .plans-arrow:disabled { opacity: 0.28; }
    .plans-carousel { width: 100%; overflow: hidden; }
    .plans-carousel-wrapper { width: 100%; }
    .plans-dots { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1.8rem; }
    .plans-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background-color: var(--gold-1); opacity: 0.35; transition: width 0.3s ease, opacity 0.3s ease; border: none; cursor: pointer; }
    .plans-dot.active { width: 2.4rem; border-radius: 1rem; opacity: 1; }
    .plan-name { font-size: 2.4rem; }
    .plan-subtitle { font-size: 1.4rem; }
    .plan-feature { font-size: 1.4rem; line-height: 1.3; }
    .plan-cta { font-size: 1.4rem; padding: 0 2rem; }

    .mobile-clinic-panel { min-height: 0; padding: 4rem 2.4rem 3.2rem; flex-direction: column; align-items: stretch; }
    .mobile-clinic-content { width: 100%; max-width: none; }
    .mobile-clinic-title { max-width: 32rem; margin-bottom: 2.4rem; font-size: 3.2rem; line-height: 1.12; }
    .mobile-clinic-description { font-size: 1.8rem; line-height: 1.45; }
    .mobile-clinic-disclaimer { position: static; width: 100%; max-width: none; margin-top: 2.8rem; margin-bottom: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.24); font-size: 1.4rem; line-height: 1.45; }

    .cw-cta-section { min-height: 54rem; padding: 4.4rem 0 4rem; align-items: center; justify-content: flex-start; }
    .cw-cta-section::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(232, 194, 166, 0.96) 0%, rgba(232, 194, 166, 0.88) 46%, rgba(232, 194, 166, 0.2) 68%, transparent 82%);
    }
    .cta-photo { object-fit: cover; object-position: 84% center; }
    .cta-content { width: 64%; max-width: 27rem; margin-left: 2rem; padding: 0; align-items: flex-start; text-align: left; }
    .cta-title { font-size: 2.9rem; line-height: 1.12; margin-bottom: 2.4rem; }
    .cta-subtitle { max-width: 21rem; font-size: 1.8rem; line-height: 1.4; margin-bottom: 2.4rem; color: #171717; font-weight: 500; }
    .cta-button { min-width: 17.2rem; height: 4.2rem; padding: 0 1.8rem; border-radius: 1rem; font-size: 1.4rem; font-weight: 600; }

    .fapes-inner { padding: 0 2rem; }
    .fapes-grid { grid-template-columns: 1fr; }
    .fapes-title { font-size: 2.6rem; }

    .cw-container { padding: 0 2.4rem; }
    .cw-footer {
        padding: 4rem 0 2.4rem;
    }
    .cw-footer .cw-container {
        padding: 0 2rem;
    }
    .cw-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 3.2rem;
    }
    .cw-footer-brand {
        display: flex;
        justify-content: center;
        padding-bottom: 3rem;
        margin-bottom: 2.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .cw-footer-brand .cw-logo-img {
        width: auto;
        height: 4.6rem;
        max-width: 15rem;
    }
    .cw-footer-contact {
        width: 100%;
    }
    .cw-footer-title {
        margin-bottom: 1.6rem;
        font-size: 1.2rem;
        letter-spacing: 0.14rem;
        color: #d2aa3e;
    }
    .cw-footer-info {
        gap: 1.4rem;
        font-size: 1.35rem;
    }
    .cw-footer-phone {
        width: fit-content;
        margin-bottom: 0.4rem;
        font-size: 2.4rem;
    }
    .cw-footer-item {
        width: fit-content;
        max-width: 100%;
        gap: 1.2rem;
        line-height: 1.45;
    }
    .cw-footer-item span {
        overflow-wrap: anywhere;
    }
    .cw-footer-location {
        margin-top: 2.8rem;
        padding-top: 2.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .cw-footer-loc-item {
        gap: 1.2rem;
        font-size: 1.35rem;
    }
    .cw-footer-bottom {
        padding: 2.4rem 0 5.6rem;
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.55;
    }
    .cw-footer-rt {
        margin-top: 0.8rem;
        font-size: 1.05rem;
        line-height: 1.5;
    }
}

/* ================================================================
   MINHA CONTA – LOGIN, MEMBER AREA, SUB-VIEWS
   ================================================================ */

/* ---------- Login Screen ---------- */
.cw-login-section {
    min-height: 100vh;
    background: #f6efe7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rem 2rem 6rem;
}

.cw-login-card {
    background: #ffffff;
    border-radius: 2.4rem;
    padding: 5rem 4.8rem;
    width: 100%;
    max-width: 52rem;
    border: 1px solid rgba(185, 146, 41, 0.25);
    box-shadow: 0 8px 32px rgba(47, 45, 45, 0.08);
}

.cw-login-header {
    margin-bottom: 3.2rem;
}

.cw-login-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    color: #2f2d2d;
    margin-bottom: 0.8rem;
}

.cw-login-subtitle {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.55;
}

.cw-login-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cw-login-footer {
    margin-top: 2.4rem;
    font-size: 1.4rem;
    color: #666;
    text-align: center;
}

.cw-first-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: #262626;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    margin-bottom: 0.4rem;
}

/* ---------- Form Groups ---------- */
.cw-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cw-form-label {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
}

.cw-form-input {
    height: 4.8rem;
    padding: 0 1.6rem;
    border: 1.5px solid rgba(185, 146, 41, 0.35);
    border-radius: 1rem;
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #2f2d2d;
    background: #f6efe7;
    outline: none;
    transition: border-color 0.25s;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.cw-form-input:focus {
    border-color: #b99229;
}

.cw-btn-full {
    width: 100%;
    height: 5.2rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
}

/* ---------- Alerts ---------- */
.cw-alert {
    padding: 1.4rem 1.8rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.cw-alert-error {
    background: #fef0f0;
    border: 1px solid #f5c6c6;
    color: #c0392b;
}

.cw-alert-warning {
    background: #fffbea;
    border: 1px solid #ffe082;
    color: #7a5f00;
}

.cw-alert-success {
    background: #f0faf3;
    border: 1px solid #a8d5b5;
    color: #1e6f3e;
}

/* ---------- Member Top Bar ---------- */
.cw-member-topbar {
    background: #232222;
    height: 8rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cw-member-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3rem;
}

.cw-member-topbar-left {
    display: flex;
    align-items: center;
}

.cw-member-topbar .cw-logo,
.cw-member-topbar-left .cw-logo {
    position: static !important;
    display: flex !important;
    align-items: center !important;
}

.cw-member-topbar .cw-logo-img,
.cw-member-topbar-left .cw-logo-img {
    height: 4.8rem !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
}

.cw-member-topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cw-welcome-user {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05rem;
}

.cw-btn-logout {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1.4rem;
    border-radius: 0.8rem;
    letter-spacing: 0.04rem;
    transition: all 0.2s ease;
    gap: 4px;
}

.cw-btn-logout:hover {
    background: var(--gold-1);
    border-color: var(--gold-1);
    color: #2f2d2d;
}

/* ---------- Member Portal Wrapper ---------- */
.cw-member-portal-wrapper {
    background: #f6efe7;
    min-height: calc(100vh - 7rem);
    padding: 4rem 0 6rem;
}

/* ---------- Dashboard Layout ---------- */
.cw-member-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    padding: 2rem 0;
}

/* ---------- Sidebar Cards Grid (left) ---------- */
.cw-member-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cw-portal-card {
    background: #f6efe7;
    border: 1px solid rgba(185, 146, 41, 0.3);
    border-radius: 1.6rem;
    padding: 2.8rem 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cw-portal-card:hover {
    border-color: #b99229;
    box-shadow: 0 6px 20px rgba(185, 146, 41, 0.18);
    transform: translateY(-2px);
}

.cw-portal-card-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    padding: 2rem 3rem;
    gap: 1.4rem;
}

.cw-portal-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-portal-card-text {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: #2f2d2d;
    line-height: 1.35;
}

/* ---------- Dashboard Right Column ---------- */
.cw-member-dashboard-right {
    padding: 2rem 0;
}

.cw-right-gold-tag {
    display: inline-block;
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    color: #262626;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    padding: 0.6rem 1.8rem;
    border-radius: 2rem;
    margin-bottom: 2.4rem;
}

.cw-dashboard-welcome-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 500;
    color: #2f2d2d;
    line-height: 1.2;
    margin-bottom: 1.4rem;
}

.cw-dashboard-welcome-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #666;
    line-height: 1.55;
}

/* ---------- Sub-view Banner ---------- */
.cw-subview-gold-banner {
    width: 100%;
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    padding: 2.8rem 0;
    text-align: center;
}

.cw-subview-banner-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: #2f2d2d;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

/* ---------- Gold Table ---------- */
.cw-gold-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(185, 146, 41, 0.4);
}

.cw-gold-table th,
.cw-gold-table td {
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(185, 146, 41, 0.3);
    text-align: left;
    color: #2f2d2d;
}

.cw-gold-table th {
    background: rgba(185, 146, 41, 0.1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

/* A tabela administrativa usa melhor a largura disponivel no desktop. */
.cw-admin-portal-container {
    width: 100%;
    max-width: 160rem;
    padding-right: 2.4rem;
    padding-left: 2.4rem;
}

.cw-admin-table-wrap {
    margin-top: 1.5rem;
    overflow-x: auto;
    border: 1px solid rgba(185, 146, 41, 0.22);
    border-radius: 1.4rem;
    background: #ffffff;
}

.cw-admin-panel {
    padding: 2.8rem;
    border: 1px solid rgba(185, 146, 41, 0.2);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1.2rem 3.5rem rgba(67, 54, 29, 0.08);
}

.cw-admin-panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid rgba(185, 146, 41, 0.18);
}

.cw-admin-eyebrow {
    display: block;
    margin-bottom: 0.6rem;
    color: #a77d19;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cw-admin-panel-heading h2 {
    margin: 0 0 0.6rem;
    color: #292724;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 2.2vw, 3rem);
    line-height: 1.15;
}

.cw-admin-panel-heading p {
    max-width: 68rem;
    margin: 0;
    color: #716b63;
    font-size: 1.35rem;
    line-height: 1.55;
}

.cw-admin-result-count {
    display: flex;
    min-width: 12rem;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1.6rem;
    border: 1px solid rgba(185, 146, 41, 0.28);
    border-radius: 1.2rem;
    background: #f9f4e9;
    color: #5e5545;
}

.cw-admin-result-count strong {
    color: #9b741b;
    font-size: 2.4rem;
    line-height: 1;
}

.cw-admin-result-count span {
    margin-top: 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

.cw-admin-panel .cw-admin-filter-tabs {
    margin: 2.2rem 0 1.8rem !important;
}

.cw-admin-panel .cw-admin-filter-btn {
    min-height: 4.2rem;
    padding: 0.9rem 1.8rem !important;
    border-radius: 1rem !important;
}

.cw-admin-table-wrap .cw-gold-table {
    border: 0;
    border-radius: 0;
}

.cw-admin-table-wrap .cw-gold-table th {
    border-top: 0;
    background: #302e2b;
    color: #ffffff;
    letter-spacing: 0.07em;
    text-align: center !important;
    vertical-align: middle;
}

.cw-admin-table-wrap .cw-gold-table tbody tr:nth-child(even) {
    background: #fcfaf6;
}

.cw-admin-table-wrap .cw-gold-table tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.cw-admin-table-wrap .cw-gold-table tbody tr:hover {
    background: #fff9e9;
    box-shadow: inset 0.3rem 0 #c6a045;
}

.cw-admin-table-wrap .cw-gold-table td:first-child strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4rem;
    min-height: 3.4rem;
    border-radius: 50%;
    background: #f3ead3;
    color: #8f6b17;
}

.cw-admin-table-wrap .cw-gold-table td:nth-child(2) strong {
    color: #242321;
    font-size: 1.35rem;
    line-height: 1.45;
}

@media (min-width: 1100px) {
    .cw-admin-table-wrap {
        overflow-x: hidden;
    }

    .cw-admin-table-wrap .cw-gold-table {
        table-layout: fixed;
    }

    .cw-admin-table-wrap .cw-gold-table th,
    .cw-admin-table-wrap .cw-gold-table td {
        padding: 1.2rem 1rem;
        overflow-wrap: anywhere;
    }

    .cw-admin-table-wrap .cw-gold-table th:nth-child(1) { width: 4%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(2) { width: 10%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(3) { width: 15%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(4) { width: 9%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(5) { width: 9%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(6) { width: 8%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(7) { width: 9%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(8) { width: 9%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(9) { width: 12%; }
    .cw-admin-table-wrap .cw-gold-table th:nth-child(10) { width: 15% !important; }

    .cw-admin-table-wrap .cw-status-badge,
    .cw-admin-table-wrap .cw-admin-btn-sm {
        width: 100%;
        height: auto !important;
        min-height: 3.4rem;
        padding: 0.6rem 0.8rem !important;
        white-space: normal !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cw-admin-panel {
        padding: 1.8rem;
        border-radius: 1.4rem;
    }

    .cw-admin-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cw-admin-result-count {
        align-items: flex-start;
    }
}

.cw-table-action {
    color: #b99229;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: underline;
}

/* ---------- Back Button ---------- */
.cw-btn-back {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: #2f2d2d;
    background: rgba(47, 45, 45, 0.08);
    border: 1px solid rgba(47, 45, 45, 0.2);
    padding: 0.9rem 2rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    letter-spacing: 0.04rem;
}

.cw-btn-back:hover {
    background: rgba(47, 45, 45, 0.16);
}

/* ---------- Member area responsive ---------- */
@media (max-width: 768px) {
    .cw-login-card {
        padding: 3.6rem 2.8rem;
    }

    .cw-member-topbar-inner {
        padding: 0 2.4rem;
    }

    .cw-member-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cw-member-dashboard-right {
        order: -1;
    }

    .cw-dashboard-welcome-title {
        font-size: 2.6rem;
    }

    .cw-gold-table {
        font-size: 1.2rem;
    }

    .cw-gold-table th,
    .cw-gold-table td {
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .cw-login-section {
        padding: 10rem 1.6rem 4rem;
    }

    .cw-login-card {
        padding: 3rem 2rem;
    }

    .cw-login-title {
        font-size: 2.4rem;
    }

    .cw-member-sidebar-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .cw-portal-card {
        padding: 2rem 1.2rem 1.8rem;
    }

    .cw-portal-card-text {
        font-size: 1.2rem;
    }

    .cw-welcome-user {
        display: none;
    }

    .cw-subview-banner-title {
        font-size: 2rem;
    }
}

/* ================================================================
   CHECKOUT & PARABÉNS PAGES STYLES
   ================================================================ */
.cw-checkout-page {
    min-height: 100vh;
    background-color: #f6efe7;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.cw-plan-banner-header {
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    padding: 3rem 0;
    text-align: center;
}

.cw-chosen-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: #262626;
    text-transform: uppercase;
}

.cw-chosen-plan-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #2f2d2d;
    margin: 0.4rem 0;
}

.cw-chosen-plan-price {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 600;
    color: #2f2d2d;
}

.cw-stepper-wrapper {
    background: #ffffff;
    border-bottom: 1px solid rgba(185, 146, 41, 0.2);
    padding: 2rem 0;
}

.cw-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 600px;
    margin: 0 auto;
}

.cw-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.cw-step-item.active {
    opacity: 1;
}

.cw-step-circle {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #262626;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.cw-step-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2f2d2d;
}

.cw-form-card {
    background: #ffffff;
    border-radius: 2rem;
    padding: 4rem;
    max-width: 68rem;
    margin: 4rem auto 0;
    border: 1px solid rgba(185, 146, 41, 0.25);
    box-shadow: 0 8px 30px rgba(47, 45, 45, 0.06);
}

.cw-form-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: #2f2d2d;
    margin-bottom: 2.4rem;
}

.cw-summary-box {
    background: #f6efe7;
    border-radius: 1.2rem;
    padding: 2rem;
    border: 1px solid rgba(185, 146, 41, 0.3);
    margin-bottom: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cw-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    color: #444;
}

.cw-checkbox-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 1.3rem;
    color: #555;
    margin: 2rem 0;
}

/* Parabéns Success Card */
.cw-success-card {
    background: #ffffff;
    border-radius: 2.4rem;
    padding: 5rem 4rem;
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(185, 146, 41, 0.25);
    box-shadow: 0 10px 35px rgba(47, 45, 45, 0.08);
}

.cw-success-icon {
    width: 7.2rem;
    height: 7.2rem;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #262626;
    font-size: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.4rem;
    font-weight: 700;
}

.cw-success-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #2f2d2d;
    margin-bottom: 1.2rem;
}

.cw-success-desc {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* ================================================================
   CADASTRO (ESCOLHA DO PRODUTO) LANDING PAGE
   ================================================================ */
.cw-cadastro-landing {
    padding-top: 7rem;
    background-color: #f6efe7;
    overflow-x: hidden;
}

/* 1. Hero 50/50 Banner */
.cw-cad-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background-color: #F6EFE7;
    min-height: 36rem;
    max-height: 40rem;
}

.cw-cad-hero-text-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4.5rem 6rem 4.5rem 4rem;
}

.cw-cad-hero-text-inner {
    max-width: 52rem;
    width: 100%;
}

.cw-cad-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 3.4vw, 3.8rem);
    font-weight: 300;
    color: #2f2d2d;
    line-height: 1.25;
}

.cw-cad-hero-title strong {
    font-weight: 600;
}

.cw-cad-hero-image-col {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 36rem;
    max-height: 40rem;
    overflow: hidden;
}

.cw-cad-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    border-radius: 0 !important;
}

@media (min-width: 992px) {
    .cw-cad-hero-section {
        height: clamp(48rem, 40vw, 58rem);
        min-height: 0;
        max-height: none;
    }

    .cw-cad-hero-image-col {
        height: clamp(48rem, 40vw, 58rem);
        min-height: 0;
        max-height: none;
        background: #F6EFE7;
    }

    .cw-cad-hero-text-inner {
        transform: translateX(6rem);
    }

    .cw-cad-hero-image {
        object-fit: contain;
        object-position: right center;
    }
}

/* 2. Dark Plans Section */
.cw-cad-plans-section {
    background-color: #282828;
    padding: 8rem 0 10rem;
}

.cw-cad-plans-inner {
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 4rem;
}

.cw-cad-plans-header {
    text-align: center;
    margin-bottom: 5.4rem;
}

.cw-cad-plans-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cw-cad-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem;
    align-items: stretch;
}

.cw-cad-carousel-controls {
    display: none;
}

.cw-cad-plan-card {
    background: #ffffff;
    border-radius: 2.4rem;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(185, 146, 41, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cw-cad-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.cw-cad-plan-name {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 500;
    color: #2f2d2d;
    margin-bottom: 0.4rem;
}

.cw-cad-plan-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1.8rem;
}

.cw-cad-plan-price-box {
    font-size: 1.4rem;
    color: #444;
    margin-bottom: 2.4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(185, 146, 41, 0.3);
}

.cw-cad-plan-price-label {
    margin-bottom: 0.2rem;
    color: #2F2D2D;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.cw-cad-plan-price {
    margin-top: 0.4rem;
    color: #2F2D2D;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.cw-cad-plan-period {
    margin-top: 0.4rem;
    color: #777;
    font-size: 1.5rem;
    font-weight: 600;
}

.cw-cad-plan-price-box strong {
    font-size: 2.6rem;
    color: #2f2d2d;
    font-family: var(--font-heading);
}

.cw-cad-plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 3rem;
    padding: 0;
}

.cw-cad-plan-features li {
    font-size: 1.4rem;
    color: #444;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    display: flex;
    gap: 0.8rem;
}

.cw-cad-plan-features li span {
    color: #b99229;
    font-weight: bold;
}

.cw-cad-plan-btn {
    display: block;
    width: 100%;
    background: #282828;
    color: #b99229;
    border: 1px solid rgba(185, 146, 41, 0.4);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1.4rem;
    border-radius: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cw-cad-plan-btn:hover {
    background: linear-gradient(90deg, #b99229 0%, #fff9bf 50%, #b99229 100%);
    color: #262626;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 146, 41, 0.25);
}

/* 3. Concierge Help 50/50 Banner */
.cw-cad-help-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: linear-gradient(115deg, #c7a440 0%, #ecd07a 45%, #c7a440 100%);
    min-height: 42rem;
}

.cw-cad-help-text-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6rem 6rem 6rem 4rem;
}

.cw-cad-help-text-inner {
    max-width: 52rem;
    width: 100%;
}

.cw-cad-help-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 3vw, 3.4rem);
    font-weight: 600;
    color: #262626;
    line-height: 1.2;
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
}

.cw-cad-help-desc {
    font-size: 1.5rem;
    color: #2f2d2d;
    line-height: 1.45;
    margin-bottom: 2.6rem;
    max-width: 48rem;
}

.cw-cad-help-btn {
    display: inline-block;
    background: #2a2a2a;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1.4rem 3.2rem;
    border-radius: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.cw-cad-help-btn:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cw-cad-help-image-col {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 38rem;
    overflow: hidden;
}

.cw-cad-help-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    border-radius: 0 !important;
}

/* Responsive adjustments for Cadastro page */
@media (max-width: 991px) {
    .cw-cad-hero-section,
    .cw-cad-help-section {
        grid-template-columns: 1fr;
    }

    .cw-cad-hero-text-col,
    .cw-cad-help-text-col {
        justify-content: center;
        padding: 5rem 3rem;
    }

    .cw-cad-hero-image-col,
    .cw-cad-help-image-col {
        min-height: 32rem;
        aspect-ratio: 16 / 10;
    }

    .cw-cad-plans-grid {
        grid-template-columns: 1fr;
        max-width: 46rem;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .cw-cadastro-landing {
        padding-top: 7.2rem;
    }

    .cw-cad-hero-section {
        display: flex;
        min-height: 0;
        max-height: none;
        flex-direction: column;
    }

    .cw-cad-hero-text-col {
        min-height: 18rem;
        justify-content: flex-start;
        padding: 3.6rem 2rem 3.2rem;
    }

    .cw-cad-hero-text-inner {
        max-width: 42rem;
        margin: 0 auto;
    }

    .cw-cad-hero-title {
        font-size: clamp(2.6rem, 7.3vw, 3.2rem);
        line-height: 1.22;
    }

    .cw-cad-hero-image-col {
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    .cw-cad-hero-image {
        object-position: center 24%;
    }

    .cw-cad-plans-section {
        padding: 4.8rem 0 6.4rem;
    }

    .cw-cad-plans-inner {
        width: 100%;
        padding: 0 1.6rem;
    }

    .cw-cad-plans-header {
        margin-bottom: 3.2rem;
    }

    .cw-cad-plans-title {
        font-size: clamp(2.3rem, 7vw, 2.8rem);
        line-height: 1.15;
        letter-spacing: 0.12rem;
    }

    .cw-cad-plans-grid {
        display: flex;
        grid-template-columns: none;
        align-items: stretch;
        width: 100%;
        max-width: 44rem;
        gap: 0;
        margin: 0 auto;
        will-change: transform;
    }

    .cw-cad-plans-carousel {
        width: 100%;
        max-width: 44rem;
        margin: 0 auto;
        overflow: hidden;
    }

    .cw-cad-plan-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        padding: 3rem 2rem 2.2rem;
        border-radius: 1.8rem;
        box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.2);
    }

    .cw-cad-plan-card:hover {
        transform: none;
    }

    .cw-cad-plan-name {
        font-size: 2.8rem;
        line-height: 1.15;
    }

    .cw-cad-plan-subtitle {
        margin-bottom: 2rem;
        font-size: 1.4rem;
    }

    .cw-cad-plan-price-box {
        margin-bottom: 2.4rem;
        padding: 1.8rem 1rem 2.2rem;
        border-top: 1px solid rgba(185, 146, 41, 0.22);
    }

    .cw-cad-plan-price-label {
        font-size: 1.15rem;
    }

    .cw-cad-plan-price {
        margin-top: 0.6rem;
        font-size: clamp(3rem, 9vw, 3.6rem);
    }

    .cw-cad-plan-period {
        margin-top: 0.6rem;
        font-size: 1.3rem;
    }

    .cw-cad-plan-features {
        margin-bottom: 2.6rem;
    }

    .cw-cad-plan-features li {
        align-items: flex-start;
        margin: 0;
        padding: 1.1rem 0;
        border-bottom: 1px solid rgba(47, 45, 45, 0.08);
        font-size: 1.35rem;
        line-height: 1.45;
    }

    .cw-cad-plan-features li:first-child {
        border-top: 1px solid rgba(47, 45, 45, 0.08);
    }

    .cw-cad-plan-features li span {
        flex: 0 0 auto;
    }

    .cw-cad-plan-btn {
        min-height: 4.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.2rem 1.6rem;
        border-radius: 1rem;
        font-size: 1.3rem;
    }

    .cw-cad-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
        margin-top: 2.4rem;
    }

    .cw-cad-carousel-arrow {
        display: flex;
        width: 4.2rem;
        height: 4.2rem;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(210, 170, 62, 0.6);
        border-radius: 50%;
        background: transparent;
        color: #d2aa3e;
        cursor: pointer;
    }

    .cw-cad-carousel-arrow span {
        display: block;
        width: 0.9rem;
        height: 0.9rem;
        border-top: 0.2rem solid currentColor;
        border-right: 0.2rem solid currentColor;
    }

    .cw-cad-carousel-prev span {
        transform: translateX(0.2rem) rotate(-135deg);
    }

    .cw-cad-carousel-next span {
        transform: translateX(-0.2rem) rotate(45deg);
    }

    .cw-cad-carousel-arrow:disabled {
        opacity: 0.28;
        cursor: default;
    }

    .cw-cad-carousel-dots {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .cw-cad-carousel-dot {
        width: 0.8rem;
        height: 0.8rem;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.3);
        transition: width 0.25s ease, background 0.25s ease;
        cursor: pointer;
    }

    .cw-cad-carousel-dot.is-active {
        width: 2.4rem;
        background: linear-gradient(90deg, #b99229, #efd77c);
    }

    .cw-cad-help-section {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .cw-cad-help-text-col {
        justify-content: flex-start;
        padding: 4.8rem 2rem 4.4rem;
    }

    .cw-cad-help-text-inner {
        max-width: 42rem;
        margin: 0 auto;
    }

    .cw-cad-help-title {
        font-size: clamp(2.4rem, 7vw, 2.9rem);
        line-height: 1.15;
    }

    .cw-cad-help-desc {
        font-size: 1.5rem;
        line-height: 1.55;
    }

    .cw-cad-help-btn {
        display: flex;
        width: 100%;
        min-height: 4.8rem;
        align-items: center;
        justify-content: center;
        padding: 1.2rem 1.6rem;
        border-radius: 1rem;
    }

    .cw-cad-help-image-col {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .cw-cad-help-image {
        object-position: center 25%;
    }
}

@media (max-width: 480px) {
    .cw-cad-hero-text-col,
    .cw-cad-help-text-col {
        padding: 4rem 2rem;
    }

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

    .cw-cad-help-title {
        font-size: 2.4rem;
    }
}

/* ================================================================
   ADMIN USER APPROVAL DASHBOARD (FRONT-END)
   ================================================================ */
.cw-admin-filter-tabs {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cw-admin-filter-btn,
a.cw-admin-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    padding: 0.9rem 2.2rem;
    border-radius: 2.5rem;
    color: #2f2d2d !important;
    background: #F6EFE7;
    border: 1.5px solid #d5b667;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
}

.cw-admin-filter-btn:hover,
a.cw-admin-filter-btn:hover {
    background: #f0e6d2;
    border-color: #b99229;
    color: #1a1a1a !important;
    transform: translateY(-1px);
}

.cw-admin-filter-btn.active,
a.cw-admin-filter-btn.active {
    background: linear-gradient(90deg, #b99229 0%, #d5b667 50%, #b99229 100%);
    color: #ffffff !important;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(185, 146, 41, 0.35);
}

.cw-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.4rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.cw-status-badge.cw-status-pending {
    background: #fff8e5;
    color: #b7791f;
    border: 1px solid #fbd38d;
}

.cw-status-badge.cw-status-approved {
    background: #e6fffa;
    color: #234e52;
    border: 1px solid #b2f5ea;
}

.cw-admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cw-admin-actions form {
    margin: 0;
    display: inline-flex;
}

.cw-admin-table-wrap .cw-admin-actions form {
    display: flex !important;
    width: 100%;
}

.cw-admin-table-wrap .cw-admin-actions .cw-admin-btn-sm {
    width: 100%;
    min-height: 3.8rem;
    box-sizing: border-box;
}

.cw-term-download-btn {
    background: #2f2d2d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.cw-admin-term-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(20, 19, 17, 0.78);
    backdrop-filter: blur(0.5rem);
}

.cw-admin-term-modal.is-open {
    display: flex;
}

.cw-admin-term-dialog {
    position: relative;
    width: min(110rem, 96vw);
    height: min(90vh, 90rem);
    overflow: visible;
    border: 1px solid rgba(213, 182, 103, 0.7);
    border-radius: 1.6rem;
    background: #ffffff;
    box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.35);
}

.cw-admin-term-dialog iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
}

.cw-admin-term-close {
    position: absolute;
    top: -1.4rem;
    right: -1.4rem;
    z-index: 10;
    display: flex;
    width: 3.8rem;
    height: 3.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: #2f2d2d;
    color: #ffffff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .cw-admin-term-close {
        top: 0.6rem;
        right: 0.6rem;
    }
}

.cw-admin-btn-sm {
    height: 3.4rem !important;
    padding: 0 1.4rem !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    border-radius: 0.8rem !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

@media (max-width: 768px) {
    .cw-admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cw-admin-btn-sm {
        width: 100%;
    }
}

/* ================================================================
   GRUPO FAPES PAGE (INFINITE SLOW-MOTION CAROUSEL & LUXURY CARDS)
   ================================================================ */
.cw-fapes-page {
    background-color: #2b2b2b;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 90px;
    overflow-x: hidden;
}

.fapes-hero-section {
    background-color: #2b2b2b;
    color: #ffffff;
    width: 100%;
}

.fapes-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.fapes-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px auto;
}

.fapes-description {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1.65;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
}

.fapes-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.fapes-carousel-wrapper::before,
.fapes-carousel-wrapper::after {
    display: none !important;
    content: none !important;
}

.fapes-carousel-track {
    display: flex;
    gap: 2.4rem;
    width: max-content;
    animation: cwFapesInfiniteScroll 35s linear infinite;
}

.fapes-carousel-wrapper:hover .fapes-carousel-track {
    animation-play-state: paused;
}

@keyframes cwFapesInfiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.fapes-card {
    flex: 0 0 340px;
    width: 340px;
    background-color: #808080;
    border-radius: 1.8rem;
    padding: 3rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

.fapes-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.fapes-card-logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.fapes-card-logo {
    max-height: 50px;
    max-width: 170px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.fapes-card-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.fapes-card-text {
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.55;
    margin-bottom: 2.4rem;
    flex-grow: 1;
}

.fapes-card-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.fapes-card-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .fapes-card {
        flex: 0 0 290px;
        width: 290px;
        padding: 2.4rem 2rem;
    }
}

/* ==========================================================================
   TERMO DE ADESÃO OFICIAL (11 PÁGINAS) & PRINT STYLES
   ========================================================================== */
.cw-dyn-termo-val {
    transition: all 0.2s ease;
}

.cw-dyn-termo-val.cw-filled {
    background: #fdf5e2 !important;
    color: #1a1a1a !important;
    border-bottom: 2px solid #b99229 !important;
    font-weight: 700 !important;
}

/* Container do Termo - Visualizador de Documentos com Folhas A4 */
.cw-termo-scroll-container {
    flex: 1;
    width: 100%;
    background: #4a4d50;
    overflow-y: auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}

/* Folha A4 do Termo */
.cw-termo-page {
    width: 100%;
    max-width: 800px;
    min-height: 1050px;
    background: #ffffff;
    padding: 45px 50px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2f2d2d;
    position: relative;
}

/* Cabeçalho da Página Oficial */
.cw-termo-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #777777;
    border-bottom: 1px solid #e0ded8;
    padding-bottom: 10px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.cw-termo-page-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Tipografia e Títulos */
.cw-termo-main-title-wrap {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #b99229;
}

.cw-termo-brand {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2f2d2d;
    text-transform: uppercase;
}

.cw-termo-brand span {
    color: #b99229;
    font-weight: 300;
}

.cw-termo-tagline {
    font-size: 12px;
    color: #777;
    font-style: italic;
    margin-top: 3px;
}

.cw-termo-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #2f2d2d;
    margin-top: 10px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cw-termo-clause-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #b99229;
    text-transform: uppercase;
    margin-top: 16px;
    margin-bottom: 6px;
}

.cw-termo-p {
    font-size: 12px;
    line-height: 1.65;
    color: #2f2d2d;
    margin-bottom: 10px;
    text-align: justify;
}

.cw-termo-quadro-resumo {
    background: #f6efe7;
    border-left: 3px solid #b99229;
    padding: 10px 14px;
    border-radius: 4px;
    margin: 12px 0;
}

/* Anexos */
.cw-termo-anexo-title-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.cw-termo-anexo-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #2f2d2d;
    margin: 0;
    text-transform: uppercase;
}

.cw-termo-anexo-subtitle {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    color: #b99229;
    margin: 4px 0 0;
    text-transform: uppercase;
}

/* Tabelas do Anexo I */
.cw-termo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.cw-termo-table th {
    background: #2f2d2d;
    color: #ffffff;
    padding: 8px 10px;
    border: 1px solid #333;
    font-weight: 700;
}

.cw-termo-table td {
    padding: 6px 10px;
    border: 1px solid #dedede;
    line-height: 1.35;
}

.cw-termo-table tr:nth-child(even) {
    background: #f6efe7;
}

/* Protocolos Listas do Anexo II */
.cw-termo-proto-header {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: #2f2d2d;
    text-transform: uppercase;
    margin-top: 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid #e5dec9;
    padding-bottom: 3px;
}

.cw-termo-proto-sub {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: #b99229;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cw-termo-proto-list {
    margin: 0;
    padding-left: 20px;
    font-size: 11px;
    line-height: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 18px;
}

.cw-termo-signatures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 25px auto 0;
    text-align: center;
}

.cw-termo-sig-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cw-termo-sig-line {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 5px;
}

.cw-termo-sig-role {
    font-size: 12px;
    color: #2f2d2d;
}

.cw-termo-sig-sub {
    font-size: 11px;
    color: #777;
}

/* Print Rules */
@media print {
    body {
        background: #ffffff !important;
    }
    body * {
        visibility: hidden !important;
    }
    #cw-modal-terms,
    #cw-modal-terms * {
        visibility: visible !important;
    }
    #cw-modal-terms {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        background: #ffffff !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        z-index: 9999999 !important;
    }
    #cw-modal-terms > div {
        max-width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #cw-modal-terms > div > div:first-child {
        display: none !important; /* Hide action header */
    }
    .cw-termo-scroll-container {
        padding: 0 !important;
        background: #ffffff !important;
        overflow: visible !important;
        gap: 0 !important;
    }
    .cw-termo-page {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        padding: 40px !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        page-break-after: always !important;
        break-after: page !important;
    }
    .cw-termo-page:last-child {
        page-break-after: auto !important;
        break-after: auto !important;
    }
}
