﻿/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --primary-color: #10B981;
    --primary-dark: #059669;
    --secondary-color: #3B82F6;
    --text-color: #475569;
    --heading-color: #1E293B;
    --bg-light: #F9FAFB;
    --bg-body: #FFFFFF;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --text-muted: #64748b;
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

[data-theme="dark"] {
    --text-color: #94a3b8;
    --text-muted: #94a3b8;
    --heading-color: #e2e8f0;
    --bg-light: #111827;
    --bg-body: #0f172a;
    --white: #1e293b;
    --card-bg: #1e293b;
    --border-color: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-body);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

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

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

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

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

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

.btn-white:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-body);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border-color);
    transition: background-color 0.3s ease;
}

/* Dark mode toggle button */
.theme-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
}

.theme-toggle {
    background: var(--border-color);
    border: none;
    border-radius: 50px;
    width: 44px;
    height: 24px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    top: 3px;
    left: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle {
    background: var(--primary-color);
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(20px);
}

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

.logo-img {
    height: 75px;
    width: auto;
    display: block;
}

/* Alternância automática de logo por tema */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: var(--heading-color);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-body);
    z-index: 1001;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: 60px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-body) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 24px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-group {
    margin-bottom: 30px;
}

.secondary-text {
    font-size: 0.875rem;
    margin-top: 12px;
    color: var(--text-muted, #64748b);
}

.security-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    color: #94a3b8;
    font-size: 0.875rem;
}

.security-icons span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    padding-bottom: 40px;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.yellow {
    background: #fef9c3;
    border: 1px solid #fde68a;
}

.green {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.mockup-body {
    display: flex;
    gap: 16px;
    flex: 1;
}

.sidebar {
    width: 60px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.sidebar-item {
    height: 36px;
    border-radius: 6px;
    background: #e2e8f0;
}

.sidebar-item.active {
    background: var(--primary-color);
    opacity: 0.5;
}

/* Icon cycling animation for mockup placeholders */
.icon-cycle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cycle-icon {
    position: absolute;
    opacity: 0;
    animation: iconCycle 6s ease-in-out infinite;
    font-size: 14px;
}

.sidebar-item .cycle-icon {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.sidebar-item:not(.active) .cycle-icon {
    color: rgba(100, 116, 139, 0.7);
}

.profile-icon .cycle-icon {
    color: rgba(100, 116, 139, 0.8);
    font-size: 16px;
}

/* Stagger: 3 icons, each visible for 2s in a 6s cycle */
.cycle-icon:nth-child(1) { animation-delay: 0s; }
.cycle-icon:nth-child(2) { animation-delay: 2s; }
.cycle-icon:nth-child(3) { animation-delay: 4s; }

/* Offset animation timing per row for visual variety */
.sidebar-item:nth-child(2) .cycle-icon { animation-delay: 0.8s; }
.sidebar-item:nth-child(2) .cycle-icon:nth-child(2) { animation-delay: 2.8s; }
.sidebar-item:nth-child(2) .cycle-icon:nth-child(3) { animation-delay: 4.8s; }

.sidebar-item:nth-child(3) .cycle-icon { animation-delay: 1.6s; }
.sidebar-item:nth-child(3) .cycle-icon:nth-child(2) { animation-delay: 3.6s; }
.sidebar-item:nth-child(3) .cycle-icon:nth-child(3) { animation-delay: 5.6s; }

@keyframes iconCycle {
    0%, 5% { opacity: 0; transform: scale(0.5) translateY(4px); }
    10%, 28% { opacity: 1; transform: scale(1) translateY(0); }
    33%, 100% { opacity: 0; transform: scale(0.5) translateY(-4px); }
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    height: 40px;
}

.search-bar {
    width: 70%;
    background: var(--bg-light);
    border-radius: 8px;
}

.profile-icon {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
}

.stats-row {
    display: flex;
    gap: 16px;
}

.stat-card {
    flex: 1;
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
}

.stat-label {
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
}

.stat-value.positive {
    color: var(--primary-color);
}

.chart-area {
    background: var(--bg-light);
    flex: 1;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 16px 16px 0;
    gap: 8px;
}

.chart-bar {
    width: 100%;
    background: var(--primary-color);
    opacity: 0.2;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.h-30 {
    height: 30%;
}

.h-40 {
    height: 40%;
}

.h-50 {
    height: 50%;
}

.h-60 {
    height: 60%;
}

.h-70 {
    height: 70%;
}

.h-80 {
    height: 80%;
}

.whatsapp-overlay {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    width: 320px;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.wa-message {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.wa-message:last-child {
    margin-bottom: 0;
}

.wa-icon {
    font-size: 24px;
}

.wa-text {
    background: #DCF8C6;
    padding: 10px;
    border-radius: 8px;
    border-top-left-radius: 0;
    font-size: 0.875rem;
    color: #111b21;
}

.wa-message.response .wa-text {
    background: #f0f9ff;
    border-radius: 8px;
    border-top-right-radius: 0;
    border-top-left-radius: 8px;
}

.badge-float {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 11;
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-left: 4px solid var(--primary-color);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--heading-color);
}

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

/* ==========================================================================
   How It Works
   ========================================================================== */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

/* Line connecting steps */
.timeline-line {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}

[data-theme="dark"] .timeline-line {
    background-color: #334155;
}

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

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #e2e8f0;
    position: relative;
    z-index: 1;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

[data-theme="dark"] .step-number {
    color: #334155;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.9rem;
}

.link-cta {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   Social Proof
   ========================================================================== */
.testimonial-card .stars {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.author-info {
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--heading-color);
}

.author-info span {
    color: var(--text-muted, #64748b);
    font-size: 0.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logos-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #cbd5e1;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

/* ==========================================================================
   Features (Accordion Style)
   ========================================================================== */
.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-module {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.module-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--card-bg);
}

.module-header:hover {
    background: var(--bg-light);
}

.module-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.module-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.module-title h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.module-title p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.toggle-icon {
    color: #cbd5e1;
    transition: var(--transition);
}

.feature-module.active .toggle-icon {
    transform: rotate(180deg);
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 24px;
    background: var(--bg-light);
}

.feature-module.active .module-content {
    padding: 0 24px 24px;
    /* max-height handled by JS */
}

.module-content ul {
    margin: 16px 0;
}

.module-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.module-content ul li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-subheadline {
    margin-bottom: 16px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-app-link {
    margin: 0 auto 32px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.pricing-app-link a {
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-app-link a:hover {
    color: var(--primary-dark);
}

.plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 6px;
    margin: 0 auto 40px;
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 28px;
    align-items: stretch;
}

.pricing-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin: 0 auto;
    gap: 28px;
    margin-bottom: 28px;
    align-items: stretch;
}

#monthly-plans {
    display: grid;
}

#annual-plans {
    display: none;
}

.pricing-card-new {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.08), transparent 42%),
        var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(190px, auto) minmax(190px, auto) 74px 1fr;
    row-gap: 18px;
    padding: 28px 24px 24px;
    text-align: left;
}

.pricing-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.35);
}

.pricing-card-free {
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 42%),
        var(--card-bg);
}

.pricing-card-new.recommended {
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 24px 60px rgba(16, 185, 129, 0.16);
    transform: none;
}

.pricing-card-new.recommended:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 70px rgba(16, 185, 129, 0.22);
}

.recommended-badge {
    position: absolute;
    top: -18px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316 0%, #facc15 100%);
    color: #111827;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.35);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}

.recommended-badge-icon {
    font-size: 1rem;
    line-height: 1;
}

.recommended-badge-text {
    display: inline-flex;
    align-items: center;
}

.pricing-card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.plan-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--heading-color);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-kicker-highlight {
    background: rgba(16, 185, 129, 0.16);
    color: var(--primary-color);
}

.pricing-card-header h3 {
    font-size: 1.85rem;
    line-height: 1.05;
    color: var(--heading-color);
}

.plan-desc {
    max-width: 28ch;
    font-size: 0.97rem;
    line-height: 1.5;
    color: var(--text-color);
}

.plan-price-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), transparent);
    border: 1px solid rgba(148, 163, 184, 0.18);
    margin-bottom: 0;
}

[data-theme="dark"] .plan-price-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
    border-color: rgba(148, 163, 184, 0.12);
}

.pricing-card-new.recommended .plan-price-box {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.02));
    border-color: rgba(16, 185, 129, 0.22);
}

.price-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-mainline {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.price-main,
.price-free {
    font-size: clamp(2.15rem, 4vw, 3.15rem);
    font-weight: 900;
    line-height: 0.95;
    color: var(--heading-color);
    letter-spacing: -0.04em;
}

.pricing-card-new.recommended .price-main {
    color: var(--primary-color);
}

.price-period {
    padding-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.price-renewal {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-color);
}

.price-renewal strong {
    color: var(--heading-color);
}

.price-renewal span {
    color: var(--heading-color);
    font-weight: 700;
}

.pricing-cta {
    margin: 0;
    min-height: 74px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.plan-features.compact li {
    margin-bottom: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-color);
    line-height: 1.45;
}

.plan-features li.included i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.btn-outline-plan {
    display: inline-flex;
    width: 100%;
    margin: 0;
    padding: 15px 20px;
    border-radius: 14px;
    border: 1.5px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.02);
    color: var(--heading-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-plan:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.08);
}

.pricing-card-new.recommended .btn-outline-plan {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-color), #34d399);
    color: #052e2b;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.22);
}

.pricing-card-new.recommended .btn-outline-plan:hover {
    background: linear-gradient(135deg, #34d399, var(--primary-color));
    color: #031b18;
}

.pricing-footnote {
    margin: 12px auto 0;
    max-width: 720px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted, #64748b);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    /* To make X */
}

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

.faq-answer .answer-content {
    padding: 0 24px 24px;
    color: var(--text-color);
}

/* ==========================================================================
   CTA Final & Footer
   ========================================================================== */

/* --- CTA Final --- */
.cta-final {
    position: relative;
    min-height: auto !important;
    padding: 80px 0 0;
    background: linear-gradient(135deg, #059669 0%, #10B981 45%, #0d9488 100%);
    color: #ffffff;
    overflow: hidden;
}

/* Decorative floating shapes */
.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: #ffffff;
    top: -120px;
    left: -100px;
}

.cta-shape-2 {
    width: 280px;
    height: 280px;
    background: #ffffff;
    bottom: 60px;
    right: -60px;
}

.cta-shape-3 {
    width: 160px;
    height: 160px;
    background: #ffffff;
    top: 40px;
    right: 25%;
}

.cta-final-inner {
    position: relative;
    z-index: 1;
    padding-bottom: 72px;
}

/* Badge above heading */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.cta-heading {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-white {
    color: #ffffff;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

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

/* Trust indicators row */
.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    flex-wrap: wrap;
    row-gap: 12px;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0 20px;
}

.cta-trust-item i {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
}

.cta-trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Wave SVG divider */
.cta-wave {
    position: relative;
    line-height: 0;
    margin-top: 0;
}

.cta-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Footer --- */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 56px 0 0;
}

/* Top section: brand + columns */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.375rem;
}

.footer-logo .logo-icon {
    color: #10B981;
    font-size: 1.25rem;
}

.footer-tagline {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 240px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    width: fit-content;
    transition: all 0.25s ease;
}

.footer-whatsapp:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: #10B981;
    color: #10B981;
    transform: translateY(-1px);
}

.footer-whatsapp i {
    font-size: 1rem;
}

/* ==========================================================================
   Floating WhatsApp CTA
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(18, 140, 126, 0.35);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 46px rgba(18, 140, 126, 0.45);
}

.floating-whatsapp:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.3);
    outline-offset: 4px;
}

.floating-whatsapp i {
    font-size: 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Column links */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col-title {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #10B981;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 0.8125rem;
    color: #475569;
    border-top: 1px solid #1e293b;
}

.footer-social {
    display: flex;
    gap: 14px;
    font-size: 1.1rem;
}

.footer-social a {
    color: #475569;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #10B981;
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive â€” Tablet (â‰¤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #monthly-plans .pricing-card-new:first-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .pricing-card-new.recommended {
        transform: none;
    }

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

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

/* ==========================================================================
   Responsive â€” Tablet pequeno (â‰¤900px)
   ========================================================================== */
@media (max-width: 900px) {
    .section-title {
        font-size: 1.75rem;
    }

    /* Esconder nav desktop, mostrar botÃ£o mobile */
    .nav {
        display: none;
    }

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

    .mobile-hide {
        display: none;
    }

    /* Hero em coluna Ãºnica */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .subheadline {
        margin: 0 auto 30px;
        text-align: left;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }

    .security-icons {
        justify-content: center;
    }

    .logo-img {
        height: 52px;
    }
}

/* ==========================================================================
   Responsive â€” Mobile (â‰¤768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* Em mobile, seções com muito conteúdo vertical não forçam 100vh */
    .section {
        min-height: auto;
    }

    .hero {
        min-height: 100svh;
    }

    /* Layout geral */
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 52px 0;
    }

    .section-title {
        font-size: 1.45rem;
        margin-bottom: 2rem;
    }

    /* Hero */
    .hero {
        padding: 40px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .subheadline {
        font-size: 0.95rem;
        text-align: left;
    }

    .btn-lg {
        font-size: 0.95rem;
        padding: 13px 20px;
        width: 100%;
        justify-content: center;
    }

    /* Grid */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 32px 0;
    }

    /* Timeline */
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        gap: 36px;
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50px;
    }

    .step-item {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .step-number {
        position: static;
        transform: none;
        order: -1;
        font-size: 2rem;
        min-width: 40px;
        margin-bottom: 0;
    }

    .step-icon {
        margin: 0;
        flex-shrink: 0;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 360px;
    }

    /* Pricing */
    .pricing-grid,
    .pricing-grid-2 {
        grid-template-columns: 1fr;
    }

    #monthly-plans .pricing-card-new:first-child {
        grid-column: auto;
        max-width: 100%;
    }

    .pricing-card-new {
        grid-template-rows: auto auto auto 1fr;
        row-gap: 16px;
        padding: 24px 20px 20px;
        border-radius: 20px;
    }

    .pricing-card-new.recommended {
        transform: none;
    }

    .recommended-badge {
        top: -14px;
        left: 20px;
        padding: 9px 14px;
        font-size: 0.72rem;
    }

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

    .plan-desc {
        max-width: none;
        font-size: 0.92rem;
    }

    .price-main,
    .price-free {
        font-size: 2.35rem;
    }

    .price-renewal {
        font-size: 0.88rem;
    }

    .pricing-app-link,
    .pricing-footnote {
        font-size: 0.84rem;
    }

    .plan-toggle {
        flex-direction: row;
        width: 100%;
        border-radius: 12px;
        justify-content: center;
    }

    .toggle-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.82rem;
        padding: 10px 12px;
    }

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

    /* Module accordion */
    .module-header {
        padding: 16px;
    }

    .module-header-content {
        gap: 12px;
    }

    .module-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* CTA Final */
    .cta-heading {
        font-size: 1.9rem;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-trust-divider {
        width: 40px;
        height: 1px;
    }

    .cta-trust-item {
        padding: 0;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        width: 58px;
        height: 58px;
    }

    .floating-whatsapp i {
        font-size: 1.8rem;
    }

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

    .footer-social {
        justify-content: center;
    }

    .logos-row {
        gap: 16px;
    }

    /* Header */
    .header {
        padding: 12px 0;
    }

    .logo-img {
        height: 44px;
    }
}

/* ==========================================================================
   Responsive â€” Mobile pequeno (â‰¤480px)
   ========================================================================== */
@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.35rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .pricing-card-new {
        padding: 22px 16px 18px;
    }

    .plan-toggle {
        flex-direction: column;
        border-radius: 10px;
    }

    .toggle-btn {
        font-size: 0.85rem;
    }

    .recommended-badge {
        left: 16px;
        right: 16px;
        justify-content: center;
    }

    .plan-kicker {
        font-size: 0.68rem;
    }

    .pricing-card-header h3 {
        font-size: 1.45rem;
    }

    .price-main,
    .price-free {
        font-size: 2.1rem;
    }

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

    .cta-heading {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Scroll Entrance Animations
   ========================================================================== */

/* Hidden state - applied by JS before observation */
.anim-hidden {
    opacity: 0;
    will-change: transform, opacity;
}

/* Direction variants - combined with .anim-hidden */
.anim-from-bottom {
    transform: translateY(60px);
}

.anim-from-left {
    transform: translateX(-80px);
}

.anim-from-right {
    transform: translateX(80px);
}

.anim-scale {
    transform: scale(0.7);
}

/* Visible state - added by IntersectionObserver */
.anim-visible {
    opacity: 1 !important;
    transform: none !important;
    transition:
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.7s ease;
    transition-delay: var(--anim-delay, 0s);
}

/* Accessibility: respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .anim-hidden {
        opacity: 1;
        transform: none;
    }

    .anim-visible {
        transition: none;
        transition-delay: 0s;
    }
}

/* ==========================================================================
   Hero Dashboard Live Animations
   ========================================================================== */

/* --- Keyframes --- */

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

@keyframes barPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.2;
    }
    50% {
        transform: scaleY(1.15);
        opacity: 0.4;
    }
}

@keyframes slideInLeft {
    0%,  15% { opacity: 0; transform: translateX(-20px); }
    25%, 85% { opacity: 1; transform: translateX(0);     }
    95%,100% { opacity: 0; transform: translateX(-20px); }
}

@keyframes slideInRight {
    0%,  25% { opacity: 0; transform: translateX(20px); }
    35%, 85% { opacity: 1; transform: translateX(0);    }
    95%,100% { opacity: 0; transform: translateX(20px); }
}

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

@keyframes valueGlow {
    0%, 100% { text-shadow: none; }
    50%       { text-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
}

/* --- 1. Floating mockup --- */
.dashboard-mockup {
    animation: float 6s ease-in-out infinite;
}

/* --- 2. Chart bars wave pulse --- */
.chart-bar {
    transform-origin: bottom;
    animation: barPulse 3s ease-in-out infinite;
}

.chart-bar:nth-child(1) { animation-delay: 0s;   }
.chart-bar:nth-child(2) { animation-delay: 0.3s; }
.chart-bar:nth-child(3) { animation-delay: 0.6s; }
.chart-bar:nth-child(4) { animation-delay: 0.9s; }
.chart-bar:nth-child(5) { animation-delay: 1.2s; }
.chart-bar:nth-child(6) { animation-delay: 1.5s; }

/* --- 3. WhatsApp message entrance loop --- */
.wa-message {
    animation: slideInLeft 8s ease-in-out infinite;
}

.wa-message.response {
    animation: slideInRight 8s ease-in-out infinite;
    animation-delay: 1s;
}

/* --- 4. Badge float bounce --- */
.badge-float {
    animation: badgeBounce 3s ease-in-out infinite;
}

/* --- 5. Stat value glow pulse --- */
.dashboard-mockup .stat-value {
    animation: valueGlow 4s ease-in-out infinite;
}

/* --- Accessibility: disable all hero animations when motion is reduced --- */
@media (prefers-reduced-motion: reduce) {
    .dashboard-mockup,
    .chart-bar,
    .wa-message,
    .wa-message.response,
    .badge-float,
    .dashboard-mockup .stat-value,
    .cycle-icon {
        animation: none;
    }

    .cycle-icon:first-child {
        opacity: 1;
    }
}

/* ==========================================================================
   Pulse Animation (BUG-002)
   ========================================================================== */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
}

.pulse-animation { animation: pulse 2s ease-in-out infinite; }

/* ==========================================================================
   Dark Mode — WhatsApp Bubble Colors (BUG-005)
   ========================================================================== */
[data-theme="dark"] .wa-text {
    background: #1a3a2a;
    color: #d1fae5;
}

[data-theme="dark"] .wa-message.response .wa-text {
    background: #1e293b;
    color: #e2e8f0;
}
