/* =========================================
   CSS Variables & Theming
   ========================================= */
:root {
    /* Colors - Dark Premium Palette */
    --bg-color: #0A0A0A;
    /* Primary Background (Almost black) */
    --card-bg: #141414;
    /* Card/Section Alternate Background */
    --card-border: #27272A;
    /* Subtle borders for cards */
    --text-main: #FFFFFF;
    /* Primary Text */
    --text-muted: #A1A1AA;
    --brand-color: #e5b336;
    /* Primary Accent (WhatsApp Green) */
    --brand-color-hover: #25D366;
    /* Primary Accent Hover */

    /* Layout Constants */
    --max-width: 1200px;
    --section-padding: 6rem 1.5rem;

    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

.mobile-only {
    display: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--brand-color);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--brand-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(229, 179, 54, 0.6), 0 0 30px rgba(229, 179, 54, 0.3);
    filter: brightness(1.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

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

/* Micro-animations for buttons */
.btn:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
}

.btn-primary:active {
    box-shadow: 0 0 8px rgba(229, 179, 54, 0.4);
}

.btn-secondary:active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Core Animations (Triggered by JS) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.text-brand {
    color: var(--brand-color);
}

/* =========================================
   1. Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: padding var(--transition-normal), background-color var(--transition-normal);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.logo-link {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* =========================================
   2. Hero Section
   ========================================= */
.hero {
    padding-top: calc(80px + 4rem);
    /* Offset for sticky nav */
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Base Gradient Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(229, 179, 54, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

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

.hero-content {
    max-width: 60%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-dra.jpg');
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: top right;
    transform: scale(1.15) translate(30%, 1%);
    /* Pushed 30% right, shifted slightly down */
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 1) 45%, rgba(10, 10, 10, 0) 85%),
        linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 25%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(229, 179, 54, 0.1);
    color: var(--brand-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(229, 179, 54, 0.2);
    box-shadow: 0 4px 20px rgba(229, 179, 54, 0.1);
}

.hero-badge.badge-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.hero-badges-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.stat-number,
.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-plus {
    color: var(--brand-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-icon {
    color: var(--brand-color);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--card-border);
}

.desktop-flex-end {
    align-items: flex-end;
}

.d-flex-row {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
}

.stat-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
    text-align: left;
}

.stat-item-crm {
    padding-bottom: 4px;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .stars {
        justify-content: center !important;
    }
}

.stars-text {
    color: #FFB800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Removed .hero-image-wrapper and placeholder styles */

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container {
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-bg {
        width: 100%;
        background-position: center top;
        /* Reset for mobile */
        transform: scale(1) translate(0);
        /* Reset transform on mobile */
    }

    .hero-bg-overlay {
        background: linear-gradient(to top, var(--bg-color) 0%, var(--bg-color) 40%, rgba(10, 10, 10, 0.7) 100%);
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        background-color: var(--bg-color);
        border-bottom: 1px solid var(--card-border);
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

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

    .nav-main-btn {
        display: inline-flex !important;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .mobile-only {
        display: block !important;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
    }

    .hero {
        padding-top: 70px !important;
        /* Navbar height approximate */
        min-height: auto;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding-bottom: 1.5rem;
        background-color: var(--bg-color);
    }

    .hero-bg,
    .hero-bg-overlay {
        display: none !important;
    }

    .hero-mobile-photo {
        display: block !important;
        width: 100%;
        margin-top: 60px;
        margin-bottom: 0;
        position: relative;
    }

    .hero-mobile-photo img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .hero-mobile-photo::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.85) 20%, transparent 100%);
        pointer-events: none;
    }

    .hero-container {
        padding: 0 1.5rem !important;
        width: 100% !important;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badges-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
    }

    .hero-badges-group .hero-badge {
        margin-bottom: 0;
        width: fit-content;
        justify-content: center;
    }

    .hero-container {
        margin-top: 0;
        position: relative;
        z-index: 2;
        padding: 0 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-badges-group {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 0.5rem;
        padding-top: 1.5rem;
    }

    .stat-item,
    .d-flex-row,
    .stat-text-col,
    .stars {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .desktop-flex-end {
        align-items: center;
    }

    .patient-avatars img {
        width: 40px;
        height: 40px;
        margin-left: -8px;
    }

    /* Marquee overflow fix */
    .struggles-marquee-wrapper {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .struggle-pill {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .impact-text {
        font-size: 1.6rem;
    }

    .perfil-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .perfil-card {
        padding: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        align-items: center;
    }
}

/* =========================================
   3. Para Quem É (Perfis)
   ========================================= */
.bg-card {
    background-color: var(--card-bg);
}

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

.perfil-card {
    background-color: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.perfil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(229, 179, 54, 0.2);
    border-color: var(--brand-color);
}

.perfil-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(229, 179, 54, 0.1);
    color: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.perfil-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.perfil-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   4. Frase de Impacto & SEO
   ========================================= */
.impact-section {
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(229, 179, 54, 0.05) 0%, transparent 80%);
    z-index: -1;
}

.impact-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
}

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

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.benefits-interaction {
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.benefits-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.benefit-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid var(--card-border);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.benefit-tab:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

.benefit-tab.active {
    background-color: var(--card-bg);
    color: var(--brand-color);
    border-color: var(--brand-color);
    box-shadow: 0 0 20px rgba(229, 179, 54, 0.3);
    transform: scale(1.08);
}

.benefits-content-area {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.benefit-content {
    display: none;
}

.benefit-content.active {
    display: block;
    animation: smoothFade 1.2s ease-out forwards;
}

.benefit-content p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
}

@keyframes smoothFade {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.99);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   5. Suporte / Mesclar
   ========================================= */
.border-top {
    border-top: 1px solid var(--card-border);
}

.border-bottom {
    border-bottom: 1px solid var(--card-border);
}

.suporte-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mockup-placeholder {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 20px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.credentials-list i,
.credentials-list svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.benefits-list li i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================
   6. Como Funciona (Steps)
   ========================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: dashed 1px var(--card-border);
    z-index: 0;
}

@media (max-width: 992px) {
    .steps-grid::before {
        display: none;
    }
}

.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: var(--bg-color);
    padding: 2rem 1rem;
    border-radius: 16px;
}

.step-number {
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--brand-color);
    box-shadow: 0 0 0 10px var(--bg-color);
    /* To cover the dashed line */
    transition: transform var(--transition-normal);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    border-color: var(--brand-color);
    box-shadow: 0 0 20px rgba(229, 179, 54, 0.2);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .perfil-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .suporte-container {
        display: block;
        text-align: center;
    }

    .suporte-container>.suporte-image {
        display: none !important;
    }

    .benefits-list li {
        text-align: left;
    }

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

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

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

/* =========================================
   7. Sobre Mim (Quem Sou Eu)
   ========================================= */
.sobre-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
}

.sobre-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--card-border);
}

.sobre-content h2 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.sobre-subtitle {
    font-size: 1.25rem;
    color: var(--brand-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

/* =========================================
   2.5 Struggles Marquee
   ========================================= */
.struggles-section {
    background-color: var(--bg-color);
    padding: 30px 0;
    overflow: hidden;
}

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

.struggles-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-color);
    background-color: rgba(229, 179, 54, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    /* Pill shape */
    margin-bottom: 1.5rem;
    border: 1px solid rgba(229, 179, 54, 0.2);
}

.struggles-subtitle i {
    color: var(--brand-color);
}

.struggles-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.struggles-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.struggles-marquee-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    overflow: hidden;
    margin-bottom: 24px;
}

.struggles-track-row {
    display: flex;
    width: max-content;
    gap: 12px;
    padding-right: 12px;
}

.row-odd {
    animation: scrollLeft 60s linear infinite;
}

.row-even {
    animation: scrollRight 50s linear infinite;
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.struggle-pill {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.struggle-pill:hover {
    background-color: var(--brand-color);
    color: #000;
    border-color: var(--brand-color);
}

.sobre-texto p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.credentials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.credentials-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

/* =========================================
   8. Depoimentos (Marquee)
   ========================================= */
/* Esconde nav de setas no desktop */
.testimonial-nav {
    display: none;
}

.testimonials-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2rem 0;
    margin-top: 3rem;
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
    padding: 0 1.5rem;
    flex-direction: row;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    width: 320px;
    flex-shrink: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--card-border);
    padding-top: 1rem;
}

.patient-avatars {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.patient-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--brand-color);
    /* Green brand border */
    object-fit: cover;
    margin-left: -12px;
    position: relative;
    flex-shrink: 0;
    background-color: var(--card-bg);
}

.patient-avatars img:first-child {
    margin-left: 0;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   8.5 Formatos de Atendimento
   ========================================= */
.formatos-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.formatos-title h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0;
    text-align: left;
}

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

.formato-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formato-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(191, 162, 250, 0.1);
    color: var(--brand-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.formato-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.formato-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =========================================
   9. Planos (Pricing)
   ========================================= */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.plano-card {
    background-color: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

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

.plano-card.destaque {
    border-color: var(--brand-color);
    background: linear-gradient(180deg, rgba(191, 162, 250, 0.05) 0%, var(--bg-color) 100%);
    box-shadow: 0 10px 40px rgba(191, 162, 250, 0.1);
    transform: scale(1.05);
}

.plano-card.destaque:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-color);
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plano-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plano-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 2.85rem;
}

.plano-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 2.5rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plano-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.plano-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plano-features li i {
    color: var(--brand-color);
    width: 18px;
    height: 18px;
}

.plano-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.plano-features li.disabled i {
    color: var(--text-muted);
}

.w-full {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sobre-container {
        display: block;
        text-align: center;
    }

    .sobre-container>.sobre-image-wrapper {
        display: none !important;
    }

    .sobre-content h2 {
        text-align: center;
    }

    .sobre-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .credentials-list {
        text-align: left;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }

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

    .plano-card.destaque {
        transform: none;
    }

    .plano-card.destaque:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero.section-spacing {
        padding-top: 0 !important;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-content {
        padding-top: 0;
    }

    .logo-link {
        font-size: 1.15rem;
    }

    .nav-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

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

    .hero-badges-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        width: 100%;
        align-items: center;
    }

    .hero-badges-group .hero-badge {
        display: inline-flex;
        width: fit-content;
        justify-content: center;
        margin: 0 auto;
    }

    .hero-badges-group .hero-badge {
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .credentials-list {
        grid-template-columns: 1fr;
    }

    .testimonials-wrapper {
        height: 620px;
        padding: 1rem 0;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .testimonials-wrapper::-webkit-scrollbar {
        display: none;
    }

    .marquee-track {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0 1rem;
        animation: none;
        width: max-content;
        height: 600px;
    }

    .testimonial-card {
        width: 75vw;
        flex: 0 0 290px;
        padding: 1.25rem;
        scroll-snap-align: start;
        height: 290px;
    }

    .testimonial-card .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
        max-height: 135px;
        overflow: hidden;
        display: block;
    }

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

    .formatos-title h2 {
        text-align: center;
        margin-bottom: 2rem;
    }

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

    .formato-item {
        align-items: center;
        text-align: center;
    }

    .planos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .plano-card {
        padding: 2rem 1.5rem;
    }

    /* Mobile Menu Overlay */
    .nav-links.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 2000;
        animation: fadeIn 0.3s ease-in-out;
    }

    .nav-links.active a {
        font-size: 1.5rem;
        color: var(--text-main);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   10. Localização
   ========================================= */
.localizacao-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.info-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.info-icon {
    color: var(--brand-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-block h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.info-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .localizacao-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   11. FAQ Accordion Grid
   ========================================= */
.faq-desktop-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .faq-desktop-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.accordion-list {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--card-border);
    border-radius: 0;
}

.accordion-item:first-child {
    border-top: 1px solid var(--card-border);
}

.accordion-header {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.accordion-icon i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion-header[aria-expanded="true"] .accordion-icon i {
    transform: rotate(45deg);
    color: var(--brand-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body {
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   12. Footer
   ========================================= */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   13. Floating Elements
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        width: 28px;
        height: 28px;
    }

    /* Faster marquee on mobile */
    .row-odd,
    .row-even {
        animation-duration: 50s !important;
    }

    .struggles-section {
        padding-top: 15px;
    }

    .secure-note-mobile,
    .secure-note-modal {
        padding: 0 1rem;
    }

    /* Desktop: alinhar títulos à esquerda */
    .localizacao-info h2,
    .faq-left-col h2 {
        text-align: left !important;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .benefits-content-area {
        min-height: 225px;
        height: 225px;
    }

    .benefit-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* =========================================
   14. Modal Lead Form (CRM)
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-content {
    background-color: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
    /* Prevent overlap with absolute close button */
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.lead-form .form-group {
    margin-bottom: 1.25rem;
}

.lead-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.lead-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.lead-form input:focus {
    outline: none;
    border-color: var(--brand-color);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(229, 179, 54, 0.15);
}

/* =========================================
   Skeleton Loading Animation
   ========================================= */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--card-border) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.hero-loading .skeleton {
    opacity: 0.7;
}

/* Remove skeleton effect when content loads */
.hero-content.loaded .skeleton {
    animation: none;
    background: none;
}

/* =========================================
   Back to Top Button
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--brand-color);
    color: #000;
    border-color: var(--brand-color);
    transform: translateY(-2px);
}

@media (min-width: 769px) {
    .back-to-top {
        bottom: 30px;
        right: 30px;
    }
}

/* =========================================
   15. Mobile-First Enhancements (v3)
   ========================================= */

/* --- Sticky CTA Bar (Mobile) --- */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(to top, rgba(10,10,10,0.98) 60%, rgba(10,10,10,0) 100%);
        justify-content: center;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-sticky-cta.visible {
        transform: translateY(0);
    }

    .mobile-sticky-cta .btn {
        width: 100%;
        max-width: 320px;
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 0 16px rgba(229, 179, 54, 0.25), 0 2px 8px rgba(0,0,0,0.2);
        min-height: unset;
    }

    /* Move WhatsApp button above sticky bar */
    .whatsapp-float {
        bottom: 80px !important;
    }

    .back-to-top {
        bottom: 140px !important;
    }

    /* --- Navbar glass on mobile --- */
    .navbar {
        background-color: rgba(10, 10, 10, 0.75) !important;
        backdrop-filter: blur(20px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    }

    /* --- Esconde botão CTA do navbar no mobile (já tem sticky bar) --- */
    .nav-main-btn {
        display: none !important;
    }

    /* --- Compact Hero --- */
    .hero-mobile-photo img {
        max-height: 55vh !important;
        object-fit: cover;
        object-position: top center;
    }

    .hero-mobile-photo::after {
        height: 50% !important;
    }

    .hero-title {
        font-size: 1.9rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5;
    }

    .hero-badges-group {
        margin-top: 0 !important;
        margin-bottom: 0.25rem !important;
    }

    .hero-badges-group .hero-badge {
        font-size: 0.78rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* --- Stats compact row --- */
    .hero-stats {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        padding: 0.75rem 0 !important;
        margin-top: 0.5rem !important;
        justify-content: center !important;
        align-items: center !important;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .hero-stats .stat-divider {
        height: 32px !important;
        margin: 0 0.35rem !important;
    }

    .hero-stats .stat-item {
        flex: 1;
        min-width: 0;
        padding: 0.25rem 0.15rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats .d-flex-row {
        flex-direction: column !important;
        gap: 0.15rem !important;
        align-items: center !important;
    }

    .hero-stats .patient-avatars img {
        width: 24px !important;
        height: 24px !important;
        margin-left: -6px !important;
    }

    .hero-stats .patient-avatars {
        justify-content: center !important;
    }

    .hero-stats .stat-value {
        font-size: 1.3rem !important;
        line-height: 1.1;
    }

    .hero-stats .stat-number {
        font-size: 1.3rem !important;
    }

    .hero-stats .stat-label {
        font-size: 0.55rem !important;
        letter-spacing: 0.3px;
        line-height: 1.2;
    }

    .hero-stats .stars {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
    }

    .hero-stats .stars img {
        width: 20px !important;
        height: 20px !important;
    }

    .hero-stats .stars-text {
        font-size: 0.85rem !important;
        letter-spacing: -0.5px;
    }

    .hero-stats .stat-item-crm .stat-icon {
        display: none;
    }

    .hero-stats .stat-item-crm .stat-label {
        font-size: 0.6rem !important;
    }

    /* --- Tighter section padding --- */
    section {
        padding: 3rem 1.25rem !important;
    }

    .struggles-section {
        padding: 1.5rem 0 2rem 0 !important;
    }

    h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        margin-bottom: 1.5rem !important;
    }

    /* --- Perfil cards 1-col --- */
    .perfil-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .perfil-card {
        padding: 1.25rem 1rem !important;
    }

    .perfil-card h3 {
        font-size: 1rem !important;
    }

    .perfil-card p {
        font-size: 0.875rem !important;
        line-height: 1.5;
    }

    .perfil-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.75rem !important;
    }

    /* --- Steps single column (text too long for 2-col) --- */
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .step-card {
        padding: 1.5rem 1.25rem !important;
    }

    .step-number {
        font-size: 2.5rem !important;
    }

    .step-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.75rem !important;
    }

    .step-card h3 {
        font-size: 1.05rem !important;
        margin-bottom: 0.25rem !important;
    }

    .step-card p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    /* --- Benefits tabs 1-2-2 grid (sem sobreposição) --- */
    .benefits-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        overflow-x: visible !important;
        flex-wrap: unset !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 1ª tab ocupa linha inteira mas mantém tamanho natural centralizado */
    .benefit-tab:nth-child(1) {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: auto !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* demais: 1 coluna cada = 2 por linha */
    .benefit-tab:nth-child(n+2) {
        grid-column: span 1 !important;
    }

    .benefit-tab {
        white-space: nowrap;
        font-size: 0.82rem !important;
        padding: 0.6rem 0.25rem !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .benefits-content-area {
        padding: 1.5rem !important;
        margin-top: 1rem !important;
        height: 250px !important;
        min-height: unset !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* --- Impact text --- */
    .impact-text {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    /* --- Formatos compact grid (vertical cards) --- */
    .formatos-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .formato-item {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 1.25rem !important;
    }

    .formato-item h3 {
        font-size: 1.05rem !important;
    }

    .formato-item p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    .formato-icon {
        margin-bottom: 0.25rem !important;
    }

    /* --- Plans mobile --- */
    .planos-grid {
        gap: 1.5rem !important;
    }

    .plano-card {
        padding: 1.75rem 1.25rem !important;
    }

    /* Show highlighted plan first on mobile */
    .planos-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .plano-card.destaque {
        order: -1;
    }

    /* --- Testimonials horizontal swipe with snap --- */
    .testimonials-wrapper {
        display: flex !important;          /* wrapper vira o flex pai */
        flex-direction: row !important;
        width: 100% !important;
        height: auto !important;
        padding: 0.5rem 0 1rem !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .testimonials-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Track vira transparente — cards ficam filhos diretos do wrapper */
    .marquee-track {
        display: contents !important;
    }

    /* Esconde cards duplicados (7º em diante) */
    .testimonials-wrapper .testimonial-card:nth-child(n+7) {
        display: none !important;
    }

    .testimonial-card {
        flex: 0 0 100% !important;        /* 100% do WRAPPER, não do track */
        width: 100% !important;
        max-width: 100% !important;
        min-height: 260px !important;
        height: auto !important;
        padding: 1.75rem 1.5rem !important;
        scroll-snap-align: start;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .testimonial-card .testimonial-text {
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        max-height: none !important;
        display: block !important;
        flex-grow: 0 !important;
        margin-bottom: 1rem !important;
    }

    .testimonial-card .stars {
        margin-bottom: 0.75rem !important;
    }

    .testimonial-card .testimonial-author {
        margin-top: auto;
    }

    /* --- Testimonial nav (setas + dots) --- */
    .testimonial-nav {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .testimonial-arrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        color: var(--text-main);
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s;
        flex-shrink: 0;
    }

    .testimonial-arrow:active {
        background: var(--brand-color-alpha) !important;
        border-color: var(--brand-color) !important;
    }

    .testimonial-arrow svg {
        width: 20px;
        height: 20px;
    }

    .testimonial-dots {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .testimonial-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--card-border);
        transition: background 0.2s, transform 0.2s;
    }

    .testimonial-dot.active {
        background: var(--brand-color);
        transform: scale(1.3);
    }

    /* --- Sobre section compact --- */
    .sobre-texto p {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 0.75rem !important;
    }

    .sobre-image-wrapper {
        max-width: 80% !important;
        margin: 0 auto !important;
    }

    .sobre-image {
        border-radius: 16px !important;
        max-height: 45vh !important;
        object-fit: cover;
    }

    .sobre-subtitle {
        font-size: 1rem !important;
        margin-top: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* Espaço entre foto e nome na seção sobre (mobile) */
    .mobile-only.sobre-image-wrapper {
        margin-bottom: 0 !important;
    }

    .credentials-list {
        margin-top: 1rem !important;
    }

    .credentials-list li {
        font-size: 0.85rem !important;
        padding: 0.4rem 0 !important;
        gap: 0.5rem !important;
    }

    /* --- FAQ compact --- */
    .accordion-header {
        padding: 1.25rem 0 !important;
        font-size: 1rem !important;
    }

    .accordion-body {
        font-size: 0.92rem !important;
        padding-bottom: 1.25rem !important;
    }

    /* --- Better scroll animations --- */
    .animate-on-scroll {
        transform: translateY(20px) !important;
        transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .animate-on-scroll.is-visible {
        transform: translateY(0) !important;
    }

    /* --- Suporte section mobile --- */
    .suporte-content h2 {
        font-size: 1.5rem !important;
        text-align: center !important;
    }

    .benefits-list li {
        font-size: 0.95rem !important;
    }

    /* --- Tap feedback on interactive elements --- */
    .btn,
    .cta-plan-btn,
    .accordion-header,
    .benefit-tab,
    .perfil-card,
    .step-card {
        -webkit-tap-highlight-color: transparent;
    }

    .btn:active,
    .cta-plan-btn:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease !important;
    }

    .perfil-card:active,
    .step-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }

    /* --- Smaller back-to-top on mobile --- */
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 90px !important;
        right: 12px !important;
        opacity: 0.7 !important;
    }

    .back-to-top.visible {
        opacity: 0.7 !important;
    }

    /* --- Hero CTA group tighter --- */
    .hero-cta-group {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* --- Hero section override (header tag uses section-spacing) --- */
    .hero.section-spacing {
        padding-bottom: 1rem !important;
    }

    /* --- Struggles section less top space --- */
    .struggles-header {
        padding-top: 0 !important;
    }

    .struggles-subtitle {
        margin-bottom: 0.5rem !important;
    }

    /* --- All CTA buttons full width on mobile --- */
    .plano-card .btn,
    .text-center .btn,
    .hero-cta-group .btn {
        width: 100% !important;
        max-width: 360px !important;
        text-align: center !important;
        justify-content: center !important;
        min-height: 52px !important;
        font-size: 1rem !important;
    }

    /* --- Depoimentos section title smaller --- */
    #depoimentos h2 {
        font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
        line-height: 1.15 !important;
    }

    #depoimentos p {
        font-size: 1rem !important;
    }

    /* --- Suporte section - hide duplicate mockup on desktop view --- */
    .suporte-container > .suporte-image {
        display: none !important;
    }

    /* --- Footer compact --- */
    footer {
        padding: 2rem 1rem !important;
    }

    /* --- Location section tighter --- */
    .location-grid {
        gap: 1.5rem !important;
    }

    .location-info {
        gap: 1.5rem !important;
    }

    /* --- Benefits content area min-height remove --- */
    .benefits-content-area {
        min-height: auto !important;
    }
}

/* --- Extra small screens (iPhone SE etc) --- */
@media (max-width: 340px) {
    .hero-title {
        font-size: 1.65rem !important;
    }

    .perfil-grid {
        grid-template-columns: 1fr !important;
    }

    .steps-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-stats .stat-value,
    .hero-stats .stat-number {
        font-size: 1.3rem !important;
    }
}

/* cache buster v4.0-complete-mobile-review */

/* ─────────────────────────────────────────────
   Premium Animations v5.0
   ───────────────────────────────────────────── */

/* 1. FAQ chevron rotation */
.accordion-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

/* 2. Clip-path reveal on Sobre image */
.sobre-image-wrapper {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 1 !important;
    transform: none !important;
}
.sobre-image-wrapper.is-visible {
    clip-path: inset(0 0% 0 0);
}

/* 4. Badge shimmer on popular-badge */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.popular-badge {
    background: linear-gradient(
        90deg,
        var(--brand-color) 0%,
        #f5d77a 40%,
        var(--brand-color) 60%,
        #c89b1a 100%
    );
    background-size: 200% auto;
    animation: shimmer 2.8s linear infinite;
    color: #0a0a0a;
}

/* 6. Hero word-by-word reveal */
.text-brand .word-reveal {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.06em;
}
.text-brand .word-reveal .word-inner {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.text-brand.words-revealed .word-inner {
    transform: translateY(0);
    opacity: 1;
}

/* 7. Magnetic buttons — no extra CSS needed (handled in JS) */

/* 8. Step connector line animation */
.steps-connector {
    display: none;
}
@media (min-width: 769px) {
    .steps-connector {
        display: block;
        height: 2px;
        background: var(--brand-color);
        transform-origin: left center;
        transform: scaleX(0);
        opacity: 0.35;
        border-radius: 2px;
        margin: -2.5rem 0 2rem;
        transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    }
    .steps-connector.is-visible {
        transform: scaleX(1);
    }
}

/* 9. Hero gradient cursor glow */
.hero-cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,179,54,0.12) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    transition: left 0.12s ease, top 0.12s ease;
    z-index: 0;
    mix-blend-mode: screen;
}

/* 10. prefers-reduced-motion — disable all premium animations */
@media (prefers-reduced-motion: reduce) {
    .word-inner,
    .sobre-image-wrapper,
    .accordion-icon,
    .steps-connector,
    .popular-badge {
        transition: none !important;
        animation: none !important;
    }
    .word-inner {
        transform: none !important;
        opacity: 1 !important;
    }
    .sobre-image-wrapper {
        clip-path: inset(0 0% 0 0) !important;
    }
    .hero-cursor-glow {
        display: none !important;
    }
}