:root {
    /* Cores */
    --color-bg: #f9f8f5;
    --color-surface: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --color-primary: #162A4B;
    --color-accent: #62C9CF;
    --color-accent-hover: #0B9DC7;
    
    /* Tipografia */
    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Espaçamento e Bordas */
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --space-4: 1rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    
    /* Layout */
    --container-width: 1100px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

a, button, .btn, [role="button"] {
    cursor: none !important;
}

#cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--color-primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
  transition: background 0.15s;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo svg {
    width: 32px;
    height: 32px;
}

.hero {
  padding: calc(var(--space-24) + 70px) 0 var(--space-16);
  position: relative; 
  z-index: 10;
  min-height: 100vh;
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  text-align: center;
}

#rain-canvas, #trail-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-primary);
    max-width: 800px;
    margin: 0 auto var(--space-4);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.trust-line {
    margin-top: var(--space-4);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trust-item span {
    color: var(--color-accent);
    font-weight: bold;
}

/* Seções Gerais */
section {
    padding: var(--space-16) 0;
}

.section-header {
    margin-bottom: var(--space-12);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

/* Grid de Cards - Seção Incluso */
.incluso-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .incluso-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .incluso-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #f9f8f5;
    border-radius: 24px;
    border: none;
    padding: var(--space-8);
    transition: all 0.3s ease;
    box-shadow: 9px 9px 18px #d4d3d0, -9px -9px 18px #ffffff;
}

.card:hover {
    transform: translateY(0);
    box-shadow: inset 6px 6px 12px #d4d3d0, inset -6px -6px 12px #ffffff;
}

.card i {
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    width: 32px;
    height: 32px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Como Funciona */
.como-funciona {
    background-color: #f0f2f5;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    position: relative;
}

@media (min-width: 1024px) {
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .step-item:not(:last-child)::after {
        content: '→';
        position: absolute;
        top: 20%;
        right: -5%;
        font-size: 2rem;
        color: var(--color-accent);
        opacity: 0.5;
    }
}

.step-item {
    flex: 1;
    position: relative;
}

.step-badge {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    display: block;
}

.step-item h3 {
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--color-text-muted);
}

/* Por que FlowBits */
.por-que-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .por-que-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.diff-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diff-item i {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.diff-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.diff-item p {
    color: var(--color-text-muted);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-4);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent;
}

.icon-wrapper svg {
    width: 32px !important;  /* Aumenta o tamanho do ícone */
    height: 32px !important;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.diff-item:hover .icon-wrapper {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.diff-item:hover .icon-wrapper svg {
    color: white;
}

.counters {
    background: #f9f8f5;
    border-radius: 24px;
    padding: var(--space-8);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-8);
    box-shadow: 9px 9px 18px #d4d3d0, -9px -9px 18px #ffffff;
}

.counter-item {
    text-align: center;
}

.counter-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.counter-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    display: block;
}

/* Formulário Section */
.formulario-section {
    background-color: #f0f2f5;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-container p {
    margin-bottom: var(--space-8);
    color: var(--color-text-muted);
}

.security-note {
    margin-top: var(--space-4);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.security-note i {
    width: 14px;
    height: 14px;
}

/* Footer */
footer {
    background-color: var(--color-accent-hover);
    color: white;
    padding: var(--space-12) 0;
    /* padding: 30px; */
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--space-4);
    display: inline-block;
}

.footer-logo svg {
    width: 120px;
    height: auto;
}

.footer-copy {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
}

/* Utilitários */
.text-accent { color: var(--color-accent); }