:root {
    --primary: #1e40af; /* Deep Blue - Trust */
    --primary-light: #eff6ff;
    --secondary: #10b981; /* Emerald Green - Health/Action */
    --secondary-hover: #059669;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --border: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s ease;
    --border-hover-gradient: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--secondary) 100%);
    --topbar-height: 3.5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--topbar-height);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10001;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.hero-h1-kicker {
    display: block;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.hero-h1-title {
    display: block;
}

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

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.bg-light { background-color: var(--bg-light); }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/* Typography */
h1, h2, h3, h4 {
    color: #111827;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.subtitle--zoom-chunks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4em 0.55em;
    line-height: 1.6;
    min-height: 4.2em;
}

.subtitle--zoom-chunks .zoom-chunk {
    display: inline-block;
    padding: 0.25em 0.5em;
    border-radius: 8px;
    white-space: nowrap;
    transform: scale(1);
    transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.65s ease,
                font-weight 0.5s ease,
                background-color 0.65s ease,
                box-shadow 0.65s ease;
}

.subtitle--zoom-chunks .zoom-chunk--active {
    transform: scale(1.06);
    color: var(--primary);
    font-weight: 600;
    background-color: rgba(30, 64, 175, 0.12);
    box-shadow: 0 2px 12px rgba(30, 64, 175, 0.15);
}

@media (max-width: 480px) {
    .subtitle--zoom-chunks .zoom-chunk {
        white-space: normal;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .subtitle--zoom-chunks .zoom-chunk {
        transition: none;
    }

    .subtitle--zoom-chunks .zoom-chunk--active {
        transform: none;
        font-weight: inherit;
        color: inherit;
        background-color: transparent;
        box-shadow: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover { background-color: #1e3a8a; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); background-color: var(--primary-light); }

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-size: 1.25rem;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(30, 64, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

@keyframes pulse-strong-animation {
    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); }
}

/* Sections */
.section {
    padding: 5rem 0;
}
.section-header {
    margin-bottom: 3.5rem;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--topbar-height) + 2.5rem);
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Trust Bar */
.trust-bar {
    background-color: #3b82f6; /* Blue matching screenshot */
    padding: 1.5rem 0;
    color: white;
}

.trust-bar-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.5rem;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-card .icon-box {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-card .card-text {
    display: flex;
    flex-direction: column;
}
.floating-card .card-text strong { color: var(--text-main); font-weight: 700; }
.floating-card .card-text span { color: var(--text-muted); font-size: 0.875rem; }

/* Top bar fixa (substitui header) */
.pain-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, var(--primary) 0%, #2563eb 50%, var(--primary) 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
}

.pain-ticker__viewport {
    position: relative;
    height: var(--topbar-height);
    overflow: hidden;
    width: 100%;
}

.pain-ticker__slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: max-content;
    max-width: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
}

.pain-ticker__slide.is-running {
    opacity: 1;
    visibility: visible;
}

@keyframes ticker-marquee-pass {
    0% {
        transform: translate3d(100vw, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.pain-ticker__slide i {
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
    opacity: 0.95;
}

.pain-ticker__slide strong {
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .pain-ticker__viewport {
        height: auto;
        padding: 0.85rem 0;
    }

    .pain-ticker__slide {
        position: static;
        width: auto;
        max-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        animation: none;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        padding: 0.5rem 1rem;
        display: none;
        justify-content: center;
    }

    .pain-ticker__slide:first-child {
        display: inline-flex;
    }
}

/* Pain Section */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pain-card,
.testimonial-card,
.faq-item,
.benefit-item {
    position: relative;
    isolation: isolate;
}

.pain-card::before,
.testimonial-card::before,
.faq-item::before,
.benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--border-hover-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.pain-card:hover::before,
.testimonial-card:hover::before,
.faq-item:hover::before,
.benefit-item:hover::before {
    opacity: 1;
}

.pain-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-align: center;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.pain-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem auto;
}

.pain-cta {
    text-align: center;
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.pain-cta p { font-size: 1.125rem; color: var(--primary); }

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

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--secondary);
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.benefit-item > div {
    position: relative;
    z-index: 1;
}

.benefit-item h4 { margin-bottom: 0.5rem; }
.benefit-item p { color: var(--text-muted); }

/* Pricing Banner */
.pricing-banner {
    background-color: #d1fae5;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    box-shadow: var(--shadow-sm);
}

.pricing-banner h3 {
    color: #065f46;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.pricing-banner p {
    color: #059669;
    font-size: 1rem;
    margin: 0;
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    box-shadow: 0 0 0 8px var(--primary-light);
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: var(--primary-light);
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.step h4 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(to right, #991b1b, #7f1d1d); /* Deep Red gradient for urgency */
    color: white;
    padding: 5rem 0;
}
.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 800px; margin-left: auto; margin-right: auto; }

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-cta-call {
    background-color: #10b981; /* Emerald/Green */
    color: white;
}
.btn-cta-call:hover {
    background-color: #059669;
}

.btn-cta-whatsapp {
    background-color: #0d9488; /* Teal */
    color: white;
}
.btn-cta-whatsapp:hover {
    background-color: #0f766e;
}

.btn-cta-alert {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-alert-box {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-alert-box h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-alert-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Structure Section */
.structure-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #eff6ff 40%, #f0fdf4 100%);
}

.structure-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

.structure-deco--1 {
    width: 420px;
    height: 420px;
    background: rgba(30, 64, 175, 0.12);
    top: -120px;
    right: -80px;
}

.structure-deco--2 {
    width: 320px;
    height: 320px;
    background: rgba(16, 185, 129, 0.1);
    bottom: -60px;
    left: -60px;
}

.structure-header {
    position: relative;
    z-index: 1;
    margin-bottom: 3.5rem;
}

.structure-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.structure-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    min-height: 540px;
}

.structure-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 250px;
    cursor: default;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.structure-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 3px solid transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    pointer-events: none;
    z-index: 4;
}

.structure-card:hover::after {
    border-color: var(--secondary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.structure-card--tall {
    grid-row: 1 / -1;
}

.structure-card--highlight::after {
    border-color: rgba(16, 185, 129, 0.5);
}

.structure-card--highlight:hover::after {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
}

.structure-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 48px rgba(30, 64, 175, 0.18);
}

.structure-card__media {
    position: absolute;
    inset: 0;
}

.structure-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.structure-card:hover .structure-card__media img {
    transform: scale(1.1);
}

.structure-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.15) 0%,
        rgba(15, 23, 42, 0.55) 50%,
        rgba(15, 23, 42, 0.92) 100%
    );
    transition: opacity 0.4s ease;
}

.structure-card:hover .structure-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(30, 64, 175, 0.2) 0%,
        rgba(15, 23, 42, 0.65) 45%,
        rgba(15, 23, 42, 0.95) 100%
    );
}

.structure-card__body {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #ffffff;
}

.structure-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.35s ease;
}

.structure-card:hover .structure-card__icon {
    transform: scale(1.08) rotate(-4deg);
}

.structure-card__icon--blue {
    background: rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

.structure-card__icon--green {
    background: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.structure-card__icon--teal {
    background: rgba(20, 184, 166, 0.35);
    color: #5eead4;
}

.structure-card__tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: -0.05em;
    user-select: none;
}

.structure-card__body h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.structure-card__body p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 95%;
}

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

/* Unidades */
.units-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.units-toolbar {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: -0.5rem auto 2rem;
}

.units-tab {
    appearance: none;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-main);
    padding: 0.65rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.units-tab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(30, 64, 175, 0.25);
}

.units-tab.is-active {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.2);
}

.units-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.25rem 0;
}

.units-card {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    isolation: isolate;
}

.units-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--border-hover-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.units-card:hover::before {
    opacity: 1;
}

.units-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.units-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.units-card__slider {
    position: relative;
    background: #0b1220;
}

.units-card__slider-viewport {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    width: 100%;
    transform: translateX(calc(var(--idx, 0) * -100%));
    transition: transform 0.45s ease;
}

.units-card__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(17, 24, 39, 0.55);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
    z-index: 2;
}

.units-card__arrow:hover {
    background: rgba(17, 24, 39, 0.75);
    transform: translateY(-50%) scale(1.05);
}

.units-card__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.units-card__arrow--prev {
    left: 10px;
}

.units-card__arrow--next {
    right: 10px;
}

.units-card__dots {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    gap: 6px;
    justify-content: center;
    z-index: 2;
}

.units-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
}

.units-dot.is-active {
    background: rgba(255, 255, 255, 0.95);
}

.units-card__body {
    padding: 1.25rem 1.25rem 1.35rem;
}

.units-card__city {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0 0 0.35rem;
}

.units-card__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.units-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.78rem;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-muted);
}

.units-pill--state {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    border-color: rgba(30, 64, 175, 0.18);
}

.units-pill--fem {
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.18);
    color: #9d174d;
}

.units-pill--masc {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.18);
    color: #1d4ed8;
}

.units-footnote {
    margin-top: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

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

    .units-card__img {
        height: 165px;
    }
}

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

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

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.author-info strong {
    display: block;
    color: var(--text-main);
}
.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.45;
}

.faq-question i {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.faq-item.active::before {
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 300px;
}

/* Form Section */
.form-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/img/grupo.png') center / cover no-repeat;
    opacity: 0.55;
    z-index: 0;
}

.form-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(243, 244, 246, 0.5) 100%
    );
    z-index: 0;
}

.form-section .container {
    position: relative;
    z-index: 1;
}

.form-section .container-form {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-section .container-form h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

#internacaoForm {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#internacaoForm label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-top: 0.75rem;
}

#internacaoForm label:first-of-type {
    margin-top: 0;
}

#internacaoForm input,
#internacaoForm select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: var(--transition);
}

#internacaoForm input:focus,
#internacaoForm select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

#internacaoForm input::placeholder {
    color: #9ca3af;
}

#enviarWhatsApp {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    background-color: #25D366;
    color: white;
}

#enviarWhatsApp:not(:disabled):hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#enviarWhatsApp:disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

#enviarWhatsApp:not(:disabled) {
    animation: pulse-strong-animation 2s infinite;
}

.pain-closing {
    margin-top: 2rem;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.pain-closing span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #f3f4f6;
    padding: 5rem 0 2rem 0;
}

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

.footer .logo { color: white; }
.footer p { color: #9ca3af; }

.footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}
.footer-col a:hover { color: white; }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.footer-contact-row__icon {
    flex-shrink: 0;
    width: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 0.1rem;
}

.footer-contact-row__numbers {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
    text-align: left;
}

.footer-contact-link {
    display: block;
    margin-bottom: 0;
    color: #9ca3af;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #ffffff;
}

.footer-col p { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

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

.footer-credit a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { gap: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .structure-bento {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
    }

    .structure-card--tall {
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    :root {
        --topbar-height: 3rem;
    }

    /* Hero */
    .hero {
        padding-top: calc(var(--topbar-height) + 2rem);
        padding-bottom: 2rem;
        text-align: center;
    }

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

    .hero-image {
        order: -1;
        max-width: 100%;
        padding-bottom: 2rem;
    }

    .hero-h1-kicker {
        font-size: 0.9rem;
    }

    .hero-content {
        align-items: center;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
    }

    .floating-card {
        left: 50%;
        right: auto;
        bottom: -12px;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        width: min(100%, calc(100vw - 2rem));
        max-width: 320px;
    }

    .floating-card .icon-box {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .floating-card .card-text {
        align-items: flex-start;
        text-align: left;
    }

    @keyframes float {
        0% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-8px); }
        100% { transform: translateX(-50%) translateY(0); }
    }

    /* Trust bar */
    .trust-bar {
        padding: 1.25rem 0;
    }

    .trust-bar-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .trust-item {
        font-size: 1rem;
        justify-content: center;
    }

    /* Grids */
    .pain-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .structure-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.25rem;
        min-height: auto;
    }

    .structure-card--tall {
        grid-row: auto;
    }

    .structure-card__body {
        min-height: 240px;
        padding: 1.5rem;
    }

    .structure-card__tag {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }

    .structure-eyebrow {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step-connector {
        display: none;
    }

    .step {
        padding: 0;
    }

    /* Pricing */
    .pricing-banner {
        padding: 1.5rem;
        margin-top: 2.5rem;
    }

    .pricing-banner h3 {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }

    /* CTA banner */
    .cta-banner {
        padding: 3rem 0;
    }

    .cta-buttons-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .cta-buttons-row .btn {
        width: 100%;
        min-height: 48px;
    }

    .cta-alert-box {
        padding: 1.25rem;
    }

    .cta-alert-box h4 {
        flex-wrap: wrap;
        font-size: 1.1rem;
    }

    /* Form */
    .form-section::before {
        opacity: 0.4;
    }

    .form-section::after {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(243, 244, 246, 0.7) 100%
        );
    }

    .form-section .container-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    #internacaoForm input,
    #internacaoForm select {
        font-size: 16px;
        min-height: 48px;
    }

    #enviarWhatsApp {
        min-height: 52px;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col p {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact-row {
        justify-content: center;
    }

    .footer-contact-row__numbers {
        align-items: center;
        text-align: center;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: max(16px, env(safe-area-inset-bottom, 0px) + 12px);
        right: max(16px, env(safe-area-inset-right, 0px) + 12px);
    }

    .whatsapp-icon {
        width: 54px;
        height: 54px;
        font-size: 30px;
    }

    .whatsapp-bubble {
        width: min(280px, calc(100vw - 32px));
    }

    .pain-cta {
        padding: 1.5rem;
    }

    .pain-ticker__slide {
        font-size: 0.85rem;
        padding: 0 0.75rem;
        gap: 0.4rem;
        line-height: 1.35;
    }

    .units-toolbar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 0.35rem;
    }

    .units-tab {
        flex-shrink: 0;
        scroll-snap-align: start;
        font-size: 0.875rem;
        padding: 0.55rem 0.85rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.25rem;
    }

    .benefit-item i {
        margin: 0 auto;
    }

    .faq-question {
        padding: 1.15rem 1rem;
        font-size: 0.95rem;
    }

    .pricing-banner h3 {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .pain-card,
    .testimonial-card,
    .benefit-item {
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    h1,
    .hero-h1-title {
        font-size: 1.85rem;
    }

    .hero-h1-kicker {
        font-size: 0.82rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: calc(var(--topbar-height) + 1.5rem);
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }

    .btn-large {
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
    }

    .floating-card {
        padding: 0.75rem 0.9rem;
        gap: 0.65rem;
    }

    .floating-card .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .floating-card .card-text strong {
        font-size: 0.9rem;
    }

    .floating-card .card-text span {
        font-size: 0.75rem;
    }

    .subtitle--zoom-chunks {
        min-height: auto;
        gap: 0.35em 0.4em;
    }

    :root {
        --topbar-height: 2.85rem;
    }

    .pain-ticker__slide {
        font-size: 0.78rem;
    }

    .structure-card__body h3 {
        font-size: 1.25rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: max(30px, env(safe-area-inset-bottom, 0px) + 16px);
    right: max(30px, env(safe-area-inset-right, 0px) + 16px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    animation: pulse-strong-animation 2s infinite;
}

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

.whatsapp-bubble {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 280px;
    margin-bottom: 15px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border: 1px solid #e5e7eb;
}

.whatsapp-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
    display: block;
    width: 0;
}

.whatsapp-header {
    background-color: #075e54;
    color: white;
    padding: 10px 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.whatsapp-close {
    cursor: pointer;
}

.whatsapp-body {
    padding: 15px;
    min-height: 50px;
    color: #333;
    font-size: 0.95rem;
    position: relative;
    border-radius: 0 0 12px 12px;
}

.whatsapp-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 0;
}

.whatsapp-typing.hidden {
    display: none !important;
}

.whatsapp-typing .dot {
    width: 6px;
    height: 6px;
    background-color: #aaa;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.whatsapp-typing .dot:nth-child(1) { animation-delay: 0s; }
.whatsapp-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.whatsapp-typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.whatsapp-message {
    opacity: 0;
    transition: opacity 0.3s;
    line-height: 1.4;
}

.whatsapp-message.visible {
    opacity: 1;
}
