/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --gradient:       linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-cta:   linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --primary:        #667eea;
    --primary-dark:   #764ba2;
    --bg:             #ffffff;
    --bg-light:       #f8fafc;
    --bg-subtle:      #f0f4ff;
    --text-heading:   #0f172a;
    --text-body:      #475569;
    --text-muted:     #94a3b8;
    --border:         #e2e8f0;
    --radius-sm:      10px;
    --radius:         16px;
    --radius-lg:      24px;
    --radius-xl:      32px;
    --shadow-sm:      0 1px 4px rgba(0,0,0,0.06);
    --shadow:         0 4px 24px rgba(0,0,0,0.07);
    --shadow-lg:      0 20px 60px rgba(0,0,0,0.09);
    --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

section {
    scroll-margin-top: 80px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
    color: var(--text-heading);
    line-height: 1.15;
    font-weight: 800;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.8px; }
h3 { font-size: 1.25rem; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-header h2 { margin: 0.75rem 0 1rem; }

.section-header p {
    font-size: 1.1rem;
    color: var(--text-body);
}

.section-tag {
    display: inline-block;
    background: var(--bg-subtle);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.section-tag.light {
    background: rgba(255,255,255,0.18);
    color: white;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-block;
    background: var(--gradient-cta);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.35);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.45);
}

.btn-ghost {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.35);
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    color: white;
}

/* =============================================
   HEADER
   ============================================= */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--gradient);
    transition: padding var(--transition), box-shadow var(--transition);
}

#header.scrolled {
    padding: 0.7rem 0;
    background: rgba(102, 126, 234, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.25);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

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

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

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: white; }

.nav-links a.nav-login {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.nav-links a.nav-login:hover {
    background: rgba(255,255,255,0.25);
    border-color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 4px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
    background-image:
        linear-gradient(135deg, rgba(102,126,234,0.88) 0%, rgba(118,75,162,0.85) 100%),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.7s ease both;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero p {
    font-size: 1.2rem;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.65;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero p strong { color: white; font-weight: 700; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: white;
}

.trust-item strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.trust-item span {
    font-size: 0.78rem;
    opacity: 0.75;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   COMO FUNCIONA
   ============================================= */
.how-it-works {
    padding: 100px 0;
    background-color: #0f172a;
    background-image:
        radial-gradient(rgba(102, 126, 234, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(102,126,234,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(118,75,162,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.steps-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Linha conectora horizontal (desktop) */
.how-it-works .section-header h2 {
    color: white;
    text-shadow: 0 2px 40px rgba(102,126,234,0.5);
}

.how-it-works .section-header p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
}

.how-it-works .section-tag {
    background: rgba(102,126,234,0.3);
    color: #c7d2fe;
    border: 1px solid rgba(102,126,234,0.4);
}

.how-it-works .step-content h3 {
    color: white;
    font-size: 1.1rem;
}

.how-it-works .step-content p {
    color: rgba(255,255,255,0.65);
}

.how-it-works .step-badge {
    background: rgba(102,126,234,0.35);
    color: #c7d2fe;
    border: 1px solid rgba(102,126,234,0.4);
    font-weight: 800;
}

.steps-track {
    position: absolute;
    top: 44px;
    left: calc(12.5% - 4px);
    right: calc(12.5% - 4px);
    height: 3px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 50px;
    z-index: 0;
}

.step-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 0.75rem;
    transition-delay: var(--delay, 0s);
}

.step-node:nth-child(2) { --delay: 0s; }
.step-node:nth-child(4) { --delay: 0.1s; }
.step-node:nth-child(6) { --delay: 0.2s; }
.step-node:nth-child(8) { --delay: 0.3s; }

.step-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
    border: 4px solid white;
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.step-node:hover .step-circle {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 16px 36px rgba(102, 126, 234, 0.45);
}

.step-content { max-width: 200px; }

.step-badge {
    display: inline-block;
    background: var(--bg-subtle);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Seta entre os passos */
.step-arrow {
    font-size: 2rem;
    color: #a5b4fc;
    opacity: 0.5;
    margin-top: 28px;
    flex-shrink: 0;
    line-height: 1;
    align-self: flex-start;
}

/* =============================================
   FUNCIONALIDADES
   ============================================= */
.features {
    padding: 100px 0;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(102,126,234,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102,126,234,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: var(--transition);
    transition-delay: var(--fdelay, 0s);
}

.feature-soon {
    position: relative;
    opacity: 0.75;
}

.feature-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
}

.feature-card:nth-child(1) { --fdelay: 0s; }
.feature-card:nth-child(2) { --fdelay: 0.05s; }
.feature-card:nth-child(3) { --fdelay: 0.1s; }
.feature-card:nth-child(4) { --fdelay: 0.15s; }
.feature-card:nth-child(5) { --fdelay: 0.0s; }
.feature-card:nth-child(6) { --fdelay: 0.05s; }
.feature-card:nth-child(7) { --fdelay: 0.1s; }
.feature-card:nth-child(8) { --fdelay: 0.15s; }

.feature-icon-wrap {
    font-size: 2rem;
    margin-bottom: 1rem;
    width: 52px;
    height: 52px;
    background: var(--bg-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    background: var(--gradient);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
}

/* =============================================
   DASHBOARD
   ============================================= */
.dashboard-preview {
    padding: 100px 0;
    background-color: #0f172a;
    background-image:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(102,126,234,0.18) 0%, transparent 70%);
    position: relative;
}

.dashboard-preview .section-header h2 { color: white; }
.dashboard-preview .section-header p  { color: rgba(255,255,255,0.55); }
.dashboard-preview .section-tag {
    background: rgba(102,126,234,0.2);
    color: #a5b4fc;
}

.dashboard-mockup {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition-delay: 0.1s;
}

.dashboard-topbar {
    background: var(--gradient);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }

.dashboard-title-bar {
    flex: 1;
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 600;
}

.dashboard-date-bar {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

.dashboard-body {
    background: white;
    padding: 2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-subtle);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(102,126,234,0.1);
    transition: var(--transition);
}

.stat-card:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-recent h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    border: 1px solid var(--border);
}

.recent-time {
    font-weight: 700;
    color: var(--text-heading);
    min-width: 48px;
}

.recent-desc {
    flex: 1;
    color: var(--text-body);
}

.recent-status {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-received  { background: #d1fae5; color: #065f46; }
.status-delivered { background: #dbeafe; color: #1e40af; }
.status-notified  { background: #fef3c7; color: #92400e; }

/* =============================================
   PRICING / CALCULADORA
   ============================================= */
.pricing {
    padding: 72px 0;
    background-color: #fafbff;
    background-image:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(102,126,234,0.07) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(118,75,162,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(102,126,234,0.05) 0%, transparent 60%);
}

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

.pricing-includes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.pi-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
}

.pi-check {
    color: var(--primary);
    font-weight: 700;
}

.calculator-wrapper {
    max-width: 540px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow);
}

.calc-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.calc-input-row {
    display: flex;
    gap: 0.75rem;
}

.calc-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--text-heading);
    background: white;
    transition: border-color var(--transition);
    outline: none;
}

.calc-input:focus { border-color: var(--primary); }
.calc-input.error { border-color: #ef4444; }

.calc-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
}

.calc-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.calc-result {
    background: white;
    border: 1px solid rgba(102,126,234,0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.calc-result.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.result-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.calc-cta {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(160deg, #eef2ff 0%, #faf5ff 50%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118,75,162,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    transition-delay: var(--tdelay, 0s);
}

.testimonial-card:nth-child(1) { --tdelay: 0s; }
.testimonial-card:nth-child(2) { --tdelay: 0.1s; }
.testimonial-card:nth-child(3) { --tdelay: 0.2s; }

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.testimonial-featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(102,126,234,0.12);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.author-info strong {
    font-size: 0.9rem;
    color: var(--text-heading);
}

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

/* =============================================
   FAQ
   ============================================= */
.faq {
    padding: 100px 0;
    background-color: #0f172a;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(118,75,162,0.15) 0%, transparent 65%);
}

.faq .section-header h2 { color: white; }
.faq .section-header p  { color: rgba(255,255,255,0.55); }
.faq .section-tag {
    background: rgba(118,75,162,0.25);
    color: #c4b5fd;
}

.faq .faq-item {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
}

.faq .faq-item summary {
    color: rgba(255,255,255,0.9);
}

.faq .faq-item[open] {
    background: rgba(255,255,255,0.08);
    border-color: rgba(102,126,234,0.4);
}

.faq .faq-item[open] summary { color: #a5b4fc; }

.faq .faq-answer p { color: rgba(255,255,255,0.65); }

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition-delay: var(--fqdelay, 0s);
}

.faq-item:nth-child(1) { --fqdelay: 0s; }
.faq-item:nth-child(2) { --fqdelay: 0.05s; }
.faq-item:nth-child(3) { --fqdelay: 0.1s; }
.faq-item:nth-child(4) { --fqdelay: 0.15s; }
.faq-item:nth-child(5) { --fqdelay: 0.2s; }
.faq-item:nth-child(6) { --fqdelay: 0.25s; }

.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item[open] {
    border-color: rgba(102,126,234,0.2);
    background: white;
}

.faq-item[open] summary { color: var(--primary); }

.faq-answer {
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* =============================================
   SIGNUP
   ============================================= */
.signup {
    padding: 100px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.signup::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.signup-info h2 {
    color: white;
    margin: 1rem 0 1.2rem;
}

.signup-info > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.signup-benefits li span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.signup-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.signup-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: var(--text-heading);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-family: inherit;
    color: var(--text-heading);
    transition: var(--transition);
    outline: none;
    background: white;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error { border-color: #ef4444; }

.form-group .field-error {
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 0.3rem;
    display: block;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-cta);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.3);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.45);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

.form-disclaimer a { color: var(--primary); }

.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.form-success.visible { display: block; }

.success-icon {
    width: 64px;
    height: 64px;
    background: #d1fae5;
    color: #065f46;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.form-success h4 {
    font-size: 1.3rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-brand > p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 260px;
}

.footer-cnpj {
    font-size: 0.78rem;
    margin-top: 1.2rem;
    opacity: 0.5;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: white; }

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.45;
}

/* =============================================
   DASHBOARD REAL MOCKUP
   ============================================= */
.dashboard-body {
    background: #f3f4f6;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 4 stat cards */
.db-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.db-card-stat {
    background: white;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    border: 1px solid #e5e7eb;
}

.db-card-stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.db-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

.db-card-icon {
    font-size: 1rem;
    opacity: 0.5;
}

.db-card-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.db-card-value.orange { color: #f97316; }
.db-card-value.green  { color: #16a34a; }

.db-card-sub {
    font-size: 0.72rem;
    color: #6b7280;
}

.db-card-sub.blue   { color: #3b82f6; }
.db-card-sub.orange { color: #f97316; }
.db-card-sub.green  { color: #16a34a; }

/* Section cards (chart + metrics) */
.db-section-card {
    background: white;
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    border: 1px solid #e5e7eb;
}

.db-section-header {
    margin-bottom: 1.2rem;
}

.db-section-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.15rem;
}

.db-section-header p {
    font-size: 0.75rem;
    color: #3b82f6;
}

/* Bar chart */
.db-chart-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.db-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 22px;
    font-size: 0.65rem;
    color: #9ca3af;
    text-align: right;
    min-width: 24px;
    flex-shrink: 0;
}

.db-chart-area { flex: 1; }

.db-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 160px;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 2px;
    background-image: repeating-linear-gradient(
        to top,
        transparent,
        transparent calc(25% - 1px),
        #f3f4f6 calc(25% - 1px),
        #f3f4f6 25%
    );
}

.db-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 5px;
}

.db-bar {
    width: 100%;
    height: var(--h);
    background: #3b82f6;
    border-radius: 3px 3px 0 0;
    transition: opacity 0.2s;
    min-height: 4px;
}

.db-bar:hover { opacity: 0.75; }

.db-bar-group span {
    font-size: 0.62rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* Metrics row */
.db-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.db-metric {
    border-radius: 10px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.db-metric-blue  { background: #eff6ff; }
.db-metric-green { background: #f0fdf4; }
.db-metric-red   { background: #fef2f2; }

.db-metric-label {
    font-size: 0.75rem;
    font-weight: 600;
}

.db-metric-blue  .db-metric-label { color: #3b82f6; }
.db-metric-green .db-metric-label { color: #16a34a; }
.db-metric-red   .db-metric-label { color: #ef4444; }

.db-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.db-metric-blue  .db-metric-value { color: #1d4ed8; }
.db-metric-green .db-metric-value { color: #15803d; }
.db-metric-red   .db-metric-value { color: #dc2626; }

/* Distribution bars */
.db-distrib-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.db-distrib-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.db-distrib-label {
    font-size: 0.72rem;
    color: #374151;
    min-width: 52px;
}

.db-distrib-track {
    flex: 1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 50px;
    overflow: hidden;
}

.db-distrib-bar {
    height: 100%;
    border-radius: 50px;
    min-width: 6px;
}

.db-distrib-bar.green  { background: #22c55e; }
.db-distrib-bar.blue   { background: #3b82f6; }
.db-distrib-bar.yellow { background: #f59e0b; }
.db-distrib-bar.red    { background: #ef4444; }

.db-distrib-pct {
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
    min-width: 30px;
    text-align: right;
}

.db-distrib-count {
    font-size: 0.68rem;
    color: #9ca3af;
    min-width: 32px;
}

@media (max-width: 900px) {
    .db-cards { grid-template-columns: repeat(2, 1fr); }
    .db-metrics-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .db-cards { grid-template-columns: 1fr 1fr; }
    .db-bars { height: 120px; }
    .db-bar-group span { font-size: 0.55rem; }
}

/* =============================================
   MEDIA QUERIES
   ============================================= */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .steps-flow {
        flex-direction: column;
        align-items: center;
        max-width: 420px;
        margin: 0 auto;
        gap: 0;
    }
    .steps-track { display: none; }
    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
        font-size: 1.6rem;
    }
    .step-node { padding: 0; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .signup-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
    .signup-info { text-align: center; }
    .signup-benefits { align-items: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--gradient);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
        color: white;
        opacity: 0.85;
    }

    .nav-links a:hover { opacity: 1; }

    .nav-links a.nav-login {
        background: rgba(255,255,255,0.15);
        padding: 0.7rem 1.8rem;
    }

    .hamburger { display: flex; z-index: 1001; }

    .cta-button { display: none; }

    .hero { padding: 120px 0 70px; }
    .hero-trust { flex-direction: column; gap: 1rem; }
    .trust-divider { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 110px 0 60px; }
    .dashboard-stats { grid-template-columns: 1fr 1fr; }
    .dashboard-topbar { flex-wrap: wrap; gap: 0.5rem; }
    .dashboard-date-bar { display: none; }
    .calc-input-row { flex-direction: column; }
    .signup-form-card { padding: 1.75rem; }
    .result-value { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
