:root {
    --color-white: #F8F6F2;
    --color-offwhite: #F1EFEA;
    --color-black: #111111;
    --color-gold: #C8A96B;
    --color-gold-dark: #b09152;
    --color-text-dark: #2A2A2A;
    --color-text-light: #E0E0E0;
    --color-gray: #7A7A7A;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Performance hint */
    --gpu-hint: transform, opacity;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

/* Accessibility: Focus States */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* Custom Selection */
::selection {
    background-color: var(--color-gold);
    color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-black);
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.bg-dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.bg-dark h2,
.bg-dark h3 {
    color: var(--color-white);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: var(--gpu-hint);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.bg-offwhite {
    background-color: var(--color-offwhite);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(200, 169, 107, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* Navbar Wrapper & Floating Pill */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    will-change: var(--gpu-hint);
}

.navbar-wrapper.hidden {
    transform: translateY(-150%) !important;
    opacity: 0 !important;
}

.navbar {
    width: 100%;
    max-width: 1000px;
    background: rgba(248, 246, 242, 0.25);
    /* Mais transparente */
    backdrop-filter: blur(30px) saturate(180%);
    /* Efeito premium de vidro */
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Borda mais suave */
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.navbar:hover {
    box-shadow: 0 12px 40px rgba(200, 169, 107, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Spotlight que segue o mouse */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
            rgba(255, 255, 255, 0.6),
            transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.navbar:hover::before {
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    padding-left: 10px;
    height: 40px;
    /* Altura fixa controlada para o container */
}

.logo img {
    height: 100%;
    /* Imagem respeita a altura do container */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:not(.btn):hover {
    color: var(--color-gold-dark);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions .btn-outline {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: 500;
    background: transparent;
}

.nav-actions .btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
    z-index: 1001;
    margin-right: 10px;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-black);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn.open span {
    background: var(--color-white);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 8px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 16px;
}

.mobile-menu-btn.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.mobile-menu-btn.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg picture,
.hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.hero-overlay {
    display: none;
    /* Overlay removido para teste de visibilidade da imagem */
}

.hero-content {
    color: var(--color-black);
    /* Alterado para preto */
    width: 100%;
}

.hero-text {
    max-width: 800px;
}

.credentials {
    position: relative;
    height: 1.5rem;
    /* Reserve space */
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.credential-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

.credential-item.active {
    opacity: 1;
    transform: translateY(0);
}

.credential-item.exit {
    opacity: 0;
    transform: translateY(-20px);
}

.credentials:hover .credential-item.active {
    transform: scale(1.05);
    color: var(--color-gold-dark);
}

.hero h1 {
    font-size: 3.0rem;
    font-weight: 300;
    color: var(--color-black);
    /* Alterado para preto */
    margin-bottom: 1.0rem;
    line-height: 1.2;
    max-width: 80%;
}

.subheadline {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-gray);
    /* Alterado para cinza escuro para melhor legibilidade */
    margin-bottom: 2.5rem;
    line-height: 1.2;
    /* Acompanhando o parágrafo da sessão sobre */
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Sobre Section */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.sobre-text p {
    margin-bottom: 1.2rem;
    color: var(--color-gray);
    font-size: 1.05rem;
}

.sobre-text .highlight-text {
    font-size: 1.2rem;
    color: var(--color-black);
    font-weight: 400;
    margin-top: 2rem;
    border-left: 2px solid var(--color-gold);
    padding-left: 1.5rem;
}

.sobre-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    transition: transform 10s ease;
}

.sobre-image:hover .image-wrapper img {
    transform: scale(1.05);
}

.authority-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    padding: 20px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-black);
}

.badge-subtitle {
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ============================================
   SCROLL STORYTELLING — Classes Base Compartilhadas
   ============================================ */

/* Cria o espaço de scroll necessário para o efeito sticky */
.story-scroller {
    position: relative;
}

/* Painel que fica colado na viewport durante o scroll */
.story-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

/* Painel de conteúdo (cards) */
.story-content-pane {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background: var(--color-white);
}

/* Cards individuais: todos empilhados, apenas .active visível */
.story-card {
    position: absolute;
    left: 8%;
    right: 8%;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    will-change: opacity, transform, filter;
}

.story-card.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.story-card.exit-up {
    opacity: 0;
    transform: translateY(-40px);
    filter: blur(4px);
}

/* Label dourado acima do título */
.story-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.story-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
    vertical-align: middle;
    margin-right: 10px;
    opacity: 0.7;
}

/* Barra de progresso vertical/horizontal */
.story-progress-bar {
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background: rgba(200, 169, 107, 0.15);
    border-radius: 2px;
}

.story-progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-gold-dark));
    border-radius: 2px;
    transition: height 0.1s ease;
}

/* Dots de navegação */
.story-dots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    right: 8%;
    bottom: 10%;
}

.story-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(200, 169, 107, 0.25);
    transition: background 0.4s ease, transform 0.4s ease;
}

.story-dot.active {
    background: var(--color-gold);
    transform: scale(1.4);
}

/* ============================================
   TERAPIA — Scroll Storytelling
   ============================================ */

.terapia-story {
    background: var(--color-black);
    /* fundo escuro premium */
}

/* Reutiliza .story-scroller e .story-sticky do bloco anterior */
.terapia-story .story-scroller {
    height: 700vh;
    /* 6 cards × 100vh + espaço extra */
}

/* Painel esquerdo: título âncora escuro */
.terapia-anchor-pane {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 8%;
    background: var(--color-black);
    position: relative;
}

.terapia-anchor-inner {
    max-width: 420px;
}

.terapia-anchor-inner .story-label {
    color: var(--color-gold);
}

.terapia-anchor-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.terapia-anchor-sub {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* Barra de progresso no painel escuro */
.terapia-anchor-inner .story-progress-bar {
    position: relative;
    right: auto;
    top: auto;
    height: 3px;
    width: 100%;
    background: rgba(200, 169, 107, 0.15);
}

/* Painel direito da terapia: fundo levemente off-black */
.terapia-story .story-content-pane {
    background: #1a1a1a;
}

/* Numeração dos pain cards */
.pain-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 200;
    color: rgba(200, 169, 107, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Títulos e textos dos pain cards — invertidos (claro no escuro) */
.terapia-story .story-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.terapia-story .story-card p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 420px;
}

/* Dots do storytelling — versão clara p/ fundo escuro */
.terapia-story .story-dots {
    bottom: 10%;
    right: 8%;
}

.terapia-story .story-dot {
    background: rgba(255, 255, 255, 0.15);
}

.terapia-story .story-dot.active {
    background: var(--color-gold);
}

/* Responsividade */
@media (max-width: 768px) {
    .terapia-story .story-sticky {
        grid-template-columns: 1fr;
        grid-template-rows: 38vh 62vh;
    }

    .terapia-anchor-pane {
        padding: 30px 24px;
        align-items: flex-end;
    }

    .terapia-anchor-inner h2 {
        font-size: 1.4rem;
    }

    .terapia-story .story-content-pane {
        padding: 32px 24px;
    }

    .terapia-story .story-card {
        left: 24px;
        right: 24px;
    }
}


/* Modalidades Section */
.modalidades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.modalidade-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.modalidade-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.modalidade-img {
    height: 350px;
    overflow: hidden;
}

.modalidade-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.modalidade-content {
    padding: 3rem;
}

.modalidade-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.modalidade-content p {
    color: var(--color-gray);
    font-size: 1rem;
}

/* Grupos Terapêuticos Section */
.grupos {
    color: var(--color-white);
}

.grupos-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    border: 1px solid rgba(200, 169, 107, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.grupos-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.grupos-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* Grid de duas colunas */
.grupos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
    align-items: start;
}

/* Coluna esquerda */
.grupos-temas h3,
.grupos-beneficios h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(200, 169, 107, 0.2);
}

.grupos-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Lista de temas */
.temas-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.temas-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.temas-list li:hover {
    color: var(--color-white);
}

.tema-icon {
    color: var(--color-gold);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Cards de benefícios */
.beneficios-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grupo-beneficio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 22px 20px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.grupo-beneficio-card:hover {
    background: rgba(200, 169, 107, 0.06);
    border-color: rgba(200, 169, 107, 0.25);
}

.card-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 200;
    color: rgba(200, 169, 107, 0.3);
    line-height: 1;
    margin-bottom: 10px;
}

.grupo-beneficio-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Fecho com blockquote */
.grupos-closing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.grupos-closing blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.btn-outline-gold {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid rgba(200, 169, 107, 0.5);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

/* Responsividade Grupos */
@media (max-width: 768px) {
    .grupos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .beneficios-cards {
        grid-template-columns: 1fr;
    }
}

/* Beneficios Section */

/* Benefícios — Section Header */
.beneficios-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 5rem;
}

.section-tag-dark {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-dark);
    border: 1px solid rgba(176, 145, 82, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.beneficios-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.beneficios-subtitle {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* Grid Premium — 5 colunas em desktop */
.beneficios-premium-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

/* Card Base */
.beneficio-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 28px 20px 24px;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.45s ease,
        z-index 0s;
    z-index: 1;
}

/* Linha decorativa inferior que cresce no hover */
.beneficio-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Glow de fundo que se expande */
.beneficio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 110%, rgba(200, 169, 107, 0.08) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Hover: cresce e eleva com z-index alto */
.beneficio-card:hover,
.beneficio-card:focus-visible {
    transform: scale(1.07) translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(200, 169, 107, 0.3);
    border-color: rgba(200, 169, 107, 0.4);
    z-index: 10;
}

.beneficio-card:hover::before,
.beneficio-card:focus-visible::before {
    width: 80%;
}

.beneficio-card:hover::after,
.beneficio-card:focus-visible::after {
    opacity: 1;
}

/* Face frontal: número + ícone + título */
.bc-front {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: transform 0.4s ease;
}

.beneficio-card:hover .bc-front {
    transform: translateY(-4px);
}

.bc-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(200, 169, 107, 0.5);
    letter-spacing: 0.1em;
}

.bc-icon {
    font-size: 1.1rem;
    color: var(--color-gold);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.beneficio-card:hover .bc-icon {
    transform: rotate(45deg) scale(1.2);
    color: var(--color-gold-dark);
}

.bc-front h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.3;
    margin: 0;
}

/* Texto descritivo — aparece no hover */
.bc-back {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.4s ease 0.05s;
    margin-top: 0;
}

.beneficio-card:hover .bc-back,
.beneficio-card:focus-visible .bc-back {
    max-height: 120px;
    opacity: 1;
    margin-top: 14px;
}

.bc-back p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Responsividade Benefícios */
@media (max-width: 1024px) {
    .beneficios-premium-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .beneficios-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .beneficio-card:hover {
        transform: scale(1.04) translateY(-4px);
    }
}



/* Impact Section */
.impact {
    position: relative;
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(200, 169, 107, 0.1) 0%, transparent 70%);
}

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

.impact blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
}

.impact blockquote p {
    margin-bottom: 1.5rem;
}

.highlight-quote {
    color: var(--color-gold);
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--color-white);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Logo da Mara no footer */
.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    /* Logo preta — bom contraste no fundo branco */
}

.footer-brand p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact h4,
.footer-address h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-link {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--color-gold);
}

/* Logo Instituto Vires no footer */
.footer-vires-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-vires-logo:hover {
    opacity: 1;
}

.footer-address p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-gray);
    font-size: 0.85rem;
}

/* Animations & Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {

    .sobre-grid,
    .modalidades-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

/* Esconder overlay do mobile no desktop */
.mobile-nav-overlay {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide desktop links */
    }

    .nav-actions .btn-outline {
        display: none;
        /* Hide standard button on mobile menu, user uses links inside */
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar-wrapper {
        top: 10px;
    }

    /* Mobile Overlay Menu - Premium Megamenu Style */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(248, 246, 242, 0.98);
        /* Fundo off-white premium */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        padding: 120px 20px 40px;
        /* Espaço pro header */
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        overflow-y: auto;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-header {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-nav-header h3 {
        font-family: var(--font-heading);
        font-size: 1.1rem;
        color: var(--color-gray);
        text-transform: uppercase;
        letter-spacing: 0.15em;
        padding-left: 5px;
    }

    .mobile-nav-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .mobile-card {
        display: flex;
        align-items: flex-start;
        background: var(--color-white);
        padding: 24px;
        border-radius: 20px;
        border: 1px solid rgba(0, 0, 0, 0.03);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        text-decoration: none;
    }

    .mobile-card:active {
        transform: scale(0.98);
        border-color: rgba(200, 169, 107, 0.5);
    }

    .mobile-card .card-icon {
        color: var(--color-gold);
        font-size: 1.5rem;
        margin-right: 18px;
        line-height: 1;
        margin-top: 2px;
    }

    .mobile-card .card-text {
        display: flex;
        flex-direction: column;
    }

    .mobile-card .card-title {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        color: var(--color-black);
        font-weight: 500;
        margin-bottom: 6px;
    }

    .mobile-card .card-desc {
        font-family: var(--font-body);
        font-size: 0.9rem;
        color: var(--color-gray);
        line-height: 1.4;
    }

    .mobile-nav-footer {
        margin-top: auto;
        padding-top: 3rem;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 18px 20px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    /* Ensure the hamburger button turns dark if the background is white */
    .mobile-menu-btn.open span {
        background: var(--color-black);
    }

    .hero {
        align-items: flex-start;
        padding-top: 40vh; /* Ajustado de 50vh para garantir visibilidade */
        padding-bottom: 60px;
        height: auto;
        min-height: 100vh;
    }

    .hero .btn-secondary {
        color: var(--color-black);
        border-color: rgba(0, 0, 0, 0.2);
    }

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
        /* Reduzido em 20% */
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .sobre-text h2,
    .terapia-header h2,
    .beneficios h2 {
        font-size: 2rem;
    }

    .impact blockquote {
        font-size: 1.4rem;
    }
}
/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
    will-change: var(--gpu-hint);
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    position: relative;
}

.whatsapp-icon svg {
    width: 32px;
    height: 32px;
}

.whatsapp-message {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(200, 169, 107, 0.2);
}

.whatsapp-float:hover .whatsapp-message {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
}

/* Pulse animation */
.whatsapp-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-message {
        display: none;
    }
}
