/* ==========================================================================
   TE INDIQUEI - LANDING PAGE MODERNA COM SCROLL REVEAL & DESIGN SYSTEM
   ========================================================================== */

/* --- VARIÁVEIS DO TEMA (MEU DINHEIRO DESIGN SYSTEM) --- */
:root {
    --primary: #7f56d9;
    --primary-shade: #693ec6;
    --primary-tint: #9e77ed;
    --primary-soft: rgba(127, 86, 217, 0.1);
    --primary-glow: rgba(127, 86, 217, 0.35);

    --success: #28a745;
    --success-soft: rgba(40, 167, 69, 0.12);
    --success-glow: rgba(40, 167, 69, 0.3);

    --danger: #dc3545;
    --danger-soft: rgba(220, 53, 69, 0.12);

    --warning: #ff9500;
    --warning-soft: rgba(255, 149, 0, 0.12);

    --info: #007bff;
    --info-soft: rgba(0, 123, 255, 0.1);

    --bg-app: #fcfcfd;
    --bg-surface: #ffffff;
    --bg-dark: #0e0c1a;
    --bg-card-dark: #17132a;

    --text-primary: #101828;
    --text-secondary: #475467;
    --text-tertiary: #98a2b3;
    --text-white: #ffffff;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: #eaecf0;
    --border-dark: rgba(255, 255, 255, 0.1);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 6px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(16, 24, 40, 0.12);
    --shadow-glow: 0 0 35px var(--primary-glow);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-app);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- AMBIENT BACKGROUND GLOWS (SEM OVERFLOW) --- */
.bg-glow {
    position: absolute;
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-glow-1 {
    top: 5%;
    left: 0;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 35%;
    right: 0;
    background: radial-gradient(circle, var(--success) 0%, transparent 70%);
}

.bg-glow-3 {
    top: 75%;
    left: 5%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- TYPOGRAPHY & UTILITIES --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 50%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-green { color: var(--success); }
.text-purple { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-xl { font-size: 1.4rem; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(127, 86, 217, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-shade);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(127, 86, 217, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: rotate(30deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    30%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d0d5dd;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, #693ec6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(127, 86, 217, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 160px 0 90px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--primary-soft);
    border: 1px solid rgba(127, 86, 217, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-shade);
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.guarantee-icon {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* --- HERO MEDIA & FLOATING CARDS --- */
.hero-media {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.glass-frame {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(127, 86, 217, 0.12);
    border: 1px solid var(--border-color);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-xl) - 8px);
    display: block;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.float-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

.float-3 {
    bottom: -20px;
    right: 20px;
    animation-delay: 2.5s;
}

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

.card-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bg-green { background: linear-gradient(135deg, #28a745, #20c997); }
.bg-purple { background: linear-gradient(135deg, #7f56d9, #9e77ed); }
.bg-yellow { background: linear-gradient(135deg, #ff9500, #ffc107); }
.bg-blue { background: linear-gradient(135deg, #007bff, #0dcaf0); }

.bg-purple-soft { background: var(--primary-soft); color: var(--primary); }
.bg-green-soft { background: var(--success-soft); color: var(--success); }
.bg-blue-soft { background: var(--info-soft); color: var(--info); }
.bg-yellow-soft { background: var(--warning-soft); color: var(--warning); }
.bg-red-soft { background: var(--danger-soft); color: var(--danger); }

.float-content {
    display: flex;
    flex-direction: column;
}

.float-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.float-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- METRICS RIBBON --- */
.metrics-ribbon {
    padding: 30px 0;
    background: #fff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
}

.metric-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.metric-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* --- MODALIDADES SECTION (4 PILARES) --- */
.modalities-section {
    background: #ffffff;
    padding: 110px 0;
}

.modalities-showcase {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.modality-card {
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.modality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.modality-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.modality-grid-reverse {
    grid-template-columns: 1fr 1.1fr;
}

.modality-grid-reverse .modality-media {
    order: 2;
}

.modality-grid-reverse .modality-content {
    order: 1;
}

.modality-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.modality-img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 6px);
    display: block;
    object-fit: cover;
}

.modality-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-cb {
    background: rgba(127, 86, 217, 0.9);
    color: #fff;
}

.badge-pts {
    background: rgba(255, 149, 0, 0.9);
    color: #fff;
}

.badge-stamp {
    background: rgba(40, 167, 69, 0.92);
    color: #fff;
}

.badge-ref {
    background: rgba(0, 123, 255, 0.9);
    color: #fff;
}

.modality-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.modality-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modality-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
}

.modality-header h3 {
    font-size: 1.55rem;
    color: var(--text-primary);
}

.modality-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modality-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bullet-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.bullet-item div {
    display: flex;
    flex-direction: column;
}

.bullet-item strong {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.bullet-item span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- SECTIONS COMMON --- */
.section {
    padding: 110px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    background: var(--primary-soft);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* --- COMO FUNCIONA (STEPS) --- */
.how-it-works {
    background-color: var(--bg-app);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.step-row-reverse .step-media {
    order: 2;
}

.step-row-reverse .step-info {
    order: 1;
}

.step-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-smooth);
}

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

.step-img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-xl) - 8px);
    display: block;
}

.step-badge-number {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(16, 24, 40, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.step-icon-round {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 1.6rem;
}

.step-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.step-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.step-features li i {
    width: 20px;
    height: 20px;
    color: var(--success);
    background: var(--success-soft);
    border-radius: 50%;
    padding: 3px;
    flex-shrink: 0;
}

/* --- ROI CALCULATOR SECTION --- */
.roi-section {
    background: linear-gradient(180deg, var(--bg-app) 0%, #f4f3ff 100%);
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.roi-title {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.roi-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.roi-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roi-hl-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calculator-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.calc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.calc-header-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.calc-header h4 {
    font-size: 1.25rem;
}

.calc-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.slider-group {
    margin-bottom: 24px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-header label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slider-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.custom-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: #e4e7ec;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform var(--transition-fast);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results-box {
    background: #f9fafb;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.result-row.total-highlight {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 2px dashed #d0d5dd;
}

.result-row.total-highlight span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.result-row.total-highlight strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success);
}

/* --- RECURSOS / FEATURES --- */
.features-section {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(127, 86, 217, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* DASHBOARD BANNER */
.dashboard-banner {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-dark);
    color: #fff;
}

.badge-mini {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-tint);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dash-text h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.dash-text p {
    color: #98a2b3;
    margin-bottom: 28px;
    font-size: 1rem;
}

.dash-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(127, 86, 217, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* --- COMPARISON SECTION --- */
.comparison-section {
    background: var(--bg-app);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.compare-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.compare-bad {
    border: 1px solid rgba(220, 53, 69, 0.2);
    background: #fffafb;
}

.compare-good {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(127, 86, 217, 0.15);
}

.compare-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.bad-badge {
    background: var(--danger-soft);
    color: var(--danger);
}

.good-badge {
    background: var(--primary);
    color: #fff;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

/* --- TESTIMONIALS --- */
.testimonials-section {
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-app);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-smooth);
}

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

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.star-filled {
    color: #ff9500;
    fill: #ff9500;
    width: 18px;
    height: 18px;
}

.test-quote {
    font-size: 0.98rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

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

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

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

/* --- FAQ ACCORDION --- */
.faq-section {
    background: var(--bg-app);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

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

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    gap: 16px;
}

.faq-arrow {
    transition: transform var(--transition-smooth);
    color: var(--primary);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- FINAL CTA SECTION --- */
.final-cta-section {
    padding: 80px 0 100px;
}

.final-cta-card {
    background: radial-gradient(circle at top right, #361763 0%, var(--bg-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(127, 86, 217, 0.2);
    border: 1px solid var(--border-dark);
}

.cta-glow-bg {
    position: absolute;
    top: -50%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.25;
    filter: blur(100px);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.badge-tag-light {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--success);
    background: rgba(40, 167, 69, 0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.final-cta-title {
    color: #fff;
    font-size: 2.7rem;
    margin-bottom: 20px;
}

.final-cta-desc {
    color: #d0d5dd;
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
    background: #fff;
    border-top: 1px solid var(--border-light);
    padding-top: 70px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-about {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 320px;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-text-small {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success-soft);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--success);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 24px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: 12px;
}

/* ==========================================================================
   SCROLL REVEAL & HERO ANIMATIONS
   ========================================================================== */

/* Hero inicial sempre visível com entrada fluida automática */
.hero-content {
    animation: heroFadeLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-media {
    animation: heroFadeRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

@keyframes heroFadeLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes heroFadeRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Animações de Scroll nos demais blocos */
.reveal {
    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);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Ativação pelo JS / Fallback */
.is-revealed,
.hero-content.reveal-left,
.hero-media.reveal-right {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* ==========================================================================
   RESPONSIVIDADE PREMIUM (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: 2.6rem; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
    .dashboard-banner { grid-template-columns: 1fr; padding: 36px; }
    .roi-wrapper { grid-template-columns: 1fr; gap: 36px; }
    .floating-card { display: none; }
}

@media (max-width: 768px) {
    /* Prevenir overflow horizontal em transformações */
    .reveal-left, .reveal-right {
        transform: translateY(20px) !important;
    }

    /* Header & Mobile Menu */
    .header {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-light);
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .logo-icon i {
        width: 20px;
        height: 20px;
    }

    .logo-title {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.62rem;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-primary {
        padding: 8px 14px;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .header-actions .btn-primary i {
        width: 14px;
        height: 14px;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: var(--primary-soft);
        color: var(--primary);
        border-radius: 10px;
        border: none;
    }

    .mobile-toggle i {
        width: 20px;
        height: 20px;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        transform: translateY(-130%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.mobile-open {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1rem;
        font-weight: 600;
        padding: 6px 0;
        width: 100%;
        border-bottom: 1px solid #f2f4f7;
    }

    /* Hero Section */
    .hero-section {
        padding: 95px 0 45px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-badge {
        padding: 6px 12px;
        margin-bottom: 16px;
        font-size: 0.75rem;
        max-width: 100%;
        line-height: 1.3;
    }

    .hero-badge .badge-text {
        font-size: 0.74rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 14px;
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
        justify-content: center;
    }

    .hero-guarantees {
        gap: 8px;
    }

    .guarantee-item {
        font-size: 0.82rem;
    }

    .hero-image-wrapper {
        margin-top: 10px;
    }

    .floating-card {
        display: none;
    }

    /* Metrics Ribbon */
    .metrics-ribbon {
        padding: 20px 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-card {
        padding: 10px 14px;
        background: #fafafa;
        border-radius: 12px;
        border: 1px solid var(--border-light);
    }

    .metric-number {
        font-size: 1.45rem;
    }

    .metric-desc {
        font-size: 0.8rem;
    }

    /* Sections Common */
    .section {
        padding: 55px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    /* Modalidades */
    .modalities-showcase {
        gap: 32px;
    }

    .modality-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .modality-grid, .modality-grid-reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modality-grid-reverse .modality-media {
        order: 1;
    }

    .modality-grid-reverse .modality-content {
        order: 2;
    }

    .modality-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .modality-icon-box {
        width: 44px;
        height: 44px;
    }

    .modality-header h3 {
        font-size: 1.25rem;
    }

    .modality-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .modality-bullets {
        gap: 12px;
    }

    .bullet-item strong {
        font-size: 0.88rem;
    }

    .bullet-item span {
        font-size: 0.8rem;
    }

    .modality-badge {
        bottom: 10px;
        left: 10px;
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Steps (Como Funciona) */
    .steps-container {
        gap: 40px;
    }

    .step-row, .step-row-reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        direction: ltr;
    }

    .step-badge-number {
        top: 14px;
        left: 14px;
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .step-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .step-icon-round {
        width: 40px;
        height: 40px;
    }

    .step-header h3 {
        font-size: 1.25rem;
    }

    .step-text {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .step-features li {
        font-size: 0.85rem;
    }

    /* Calculadora */
    .calculator-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .calc-header {
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .calc-header h4 {
        font-size: 1.1rem;
    }

    .slider-group {
        margin-bottom: 18px;
    }

    .slider-header label {
        font-size: 0.82rem;
    }

    .slider-value {
        font-size: 0.88rem;
        padding: 2px 8px;
    }

    .calc-results-box {
        padding: 14px;
        margin: 20px 0;
        gap: 8px;
    }

    .result-row {
        font-size: 0.85rem;
    }

    .result-row.total-highlight {
        margin-top: 6px;
        padding-top: 10px;
    }

    .result-row.total-highlight span {
        font-size: 0.88rem;
    }

    .result-row.total-highlight strong {
        font-size: 1.25rem;
    }

    /* Recursos Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 22px 18px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-desc {
        font-size: 0.88rem;
    }

    /* Dashboard Banner */
    .dashboard-banner {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .dash-text h3 {
        font-size: 1.45rem;
        margin-bottom: 10px;
    }

    .dash-text p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .dash-text .btn {
        width: 100%;
    }

    /* Comparativo */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .compare-card {
        padding: 22px 18px;
    }

    .compare-list li {
        font-size: 0.88rem;
    }

    /* Depoimentos */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 22px 18px;
    }

    .test-quote {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 16px;
    }

    .faq-answer p {
        font-size: 0.88rem;
    }

    /* Final CTA */
    .final-cta-section {
        padding: 50px 0 60px;
    }

    .final-cta-card {
        padding: 40px 18px;
        border-radius: 20px;
    }

    .final-cta-title {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .final-cta-desc {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .final-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding-top: 45px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 30px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

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

    .header-actions .btn-primary span {
        display: none;
    }

    .header-actions .btn-primary {
        padding: 8px 10px;
    }

    .hero-title {
        font-size: 1.85rem;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.55rem;
        word-break: break-word;
    }

    .calculator-card {
        padding: 16px 12px;
    }

    .calc-results-box {
        padding: 12px 10px;
    }

    .result-row {
        font-size: 0.82rem;
    }

    .result-row.total-highlight strong {
        font-size: 1.15rem;
    }

    .final-cta-card {
        padding: 30px 14px;
    }

    .final-cta-title {
        font-size: 1.45rem;
    }
}


