/* ═══════════════════════════════════════════════════════════
   TRUCK FROTAS — Design System CSS
   Tema escuro preferencial · Mobile-first · Inter font
═══════════════════════════════════════════════════════════ */

/* ─── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }

/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  /* Brand */
  --brand-50:  #EEF0FF;
  --brand-100: #DDE1FF;
  --brand-200: #BBC6FF;
  --brand-300: #8FA3FF;
  --brand-400: #6B82FF;
  --brand-500: #4762FF;
  --brand-600: #3450E0;
  --brand-700: #2539B8;
  --brand-800: #182690;
  --brand-900: #0E1660;

  /* Surfaces */
  --bg-base:     #080C18;
  --bg-default:  #0F1626;
  --bg-surface:  #182033;
  --bg-elevated: #1E2A3D;
  --bg-overlay:  #253248;

  /* Text */
  --text-primary:   #F0F4FF;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --text-disabled:  #3D4F6A;
  --text-brand:     #6B82FF;
  --text-on-brand:  #FFFFFF;

  /* Borders */
  --border-subtle:  #182033;
  --border-default: #253248;
  --border-strong:  #3D4F6A;
  --border-focus:   #4762FF;

  /* Feedback */
  --success: #22C55E;
  --warning: #F59E0B;
  --error:   #EF4444;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.6);
  --shadow-brand: 0 0 24px rgba(71,98,255,0.25);

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   120ms ease-out;
  --transition-normal: 200ms ease-in-out;
  --transition-slow:   300ms ease-in-out;
}

/* ─── UTILITIES ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

.text-gradient {
  background: linear-gradient(135deg, #4762FF 0%, #8FA3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 12px;
}

.overline--light { color: var(--brand-300); }

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn--sm  { height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn--md  { height: 44px; padding: 0 20px; font-size: 1rem; }
.btn--lg  { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--brand-500);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover  { background: var(--brand-600); box-shadow: 0 0 32px rgba(71,98,255,0.35); }
.btn--primary:active { background: var(--brand-700); }

.btn--secondary {
  background: transparent;
  color: var(--brand-400);
  border: 1px solid var(--brand-500);
}
.btn--secondary:hover { background: rgba(71,98,255,0.08); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}
.btn--ghost:hover { background: var(--bg-overlay); color: var(--text-primary); border-color: var(--border-strong); }

/* ─── BADGE ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}

.badge--brand {
  background: rgba(71,98,255,0.12);
  color: var(--brand-300);
  border: 1px solid rgba(71,98,255,0.25);
}

.badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

@media (prefers-reduced-motion: no-preference) {
  .badge__dot {
    animation: pulse 2s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge__dot { animation: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(1.25); }
}

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card--problem {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card--problem:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon--error {
  background: rgba(239,68,68,0.12);
  color: var(--error);
}

.card__icon--warning {
  background: rgba(245,158,11,0.12);
  color: var(--warning);
}

.card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── SECTION COMMONS ─────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__title--left { text-align: left; }

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section__subtitle--left {
  margin: 0;
  max-width: 480px;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,24,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
  /* logo já é branca — sem filtro necessário */
}

.navbar__links {
  display: none;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  font-weight: 500;
}

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

.navbar__cta { display: none; }

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  border-radius: var(--radius-md);
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.navbar__mobile.is-open { display: flex; }

.navbar__mobile a:not(.btn) {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.navbar__mobile a:not(.btn):hover { color: var(--text-primary); }
.navbar__mobile .btn { margin-top: 8px; }

@media (min-width: 768px) {
  .navbar__links { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__hamburger { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background: var(--bg-default);
}

.hero__bg-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(71,98,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(71,98,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,98,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg-glow {
    animation: hero-glow-breathe 16s ease-in-out infinite alternate;
  }

  .hero__grid-lines {
    animation: hero-grid-pan 50s linear infinite;
  }

  .hero__mockup.is-visible .phone {
    animation: hero-phone-float 6s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-glow,
  .hero__grid-lines,
  .hero__mockup .phone {
    animation: none;
  }
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero__mockup {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 96px 0 112px; }

  .hero__inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 64px;
  }

  .hero__content { flex: 1; }

  .hero__subtitle { margin-left: 0; margin-right: 0; }

  .hero__actions { flex-direction: row; align-items: flex-start; }

  .hero__trust { justify-content: flex-start; }

  .hero__mockup { flex: 0 0 420px; }
}

/* ═══════════════════════════════════════════════════════════
   PROBLEMA
═══════════════════════════════════════════════════════════ */
.problema {
  background: var(--bg-base);
}

.problema__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .problema__cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .problema__cards { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   MÉTRICAS
═══════════════════════════════════════════════════════════ */
.metricas {
  background: var(--bg-surface);
  padding: 56px 0;
}

.metricas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metrica__card {
  background: var(--bg-elevated);
  border: 1px solid rgba(71,98,255,0.2);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-brand);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metrica__numero {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--brand-400);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metrica__label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .metricas__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   FUNCIONALIDADES / TABS
═══════════════════════════════════════════════════════════ */
.funcionalidades {
  background: var(--bg-default);
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 6px;
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-normal);
  flex-shrink: 0;
}

.tab:hover { color: var(--text-primary); background: var(--bg-overlay); }

@media (prefers-reduced-motion: no-preference) {
  .tab:active { transform: scale(0.97); }
}

.tab--active {
  background: var(--brand-500);
  color: white;
  box-shadow: var(--shadow-brand);
}

.tab--active:hover { background: var(--brand-600); }

.tab-panel { display: none; }
.tab-panel--active { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .tab-panel--active .feature__layout {
    animation: tab-panel-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.feature__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.feature__content {
  flex: 1;
  max-width: 480px;
}

.feature__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.feature__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature__list li svg { flex-shrink: 0; margin-top: 2px; }
.feature__list li strong { color: var(--text-primary); }

.feature__image {
  width: 100%;
  max-width: 540px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-brand);
  width: 100%;
  border: 1px solid var(--border-default);
}

.feature__image--phone {
  max-width: 320px;
}

@media (min-width: 900px) {
  .feature__layout {
    flex-direction: row;
    gap: 64px;
    align-items: center;
  }
  .feature__content { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOS
═══════════════════════════════════════════════════════════ */
.custos {
  background: var(--bg-base);
}

.custos__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.custos__image {
  width: 100%;
  max-width: min(520px, 100%);
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.custos__content {
  flex: 1;
}

.custos__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.custos__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.custos__item-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(71,98,255,0.12);
  border: 1px solid rgba(71,98,255,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-400);
}

.custos__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.custos__item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .custos__inner {
    flex-direction: row;
    gap: 80px;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   COMO FUNCIONA / STEPS
═══════════════════════════════════════════════════════════ */
.como-funciona {
  background: var(--bg-surface);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto 56px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: 0 20px;
  padding-bottom: 40px;
}

.step:last-child { padding-bottom: 0; }

.step__number {
  grid-row: 1;
  grid-column: 1;
  width: 56px; height: 56px;
  background: var(--brand-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.step__connector {
  grid-row: 2;
  grid-column: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-500), var(--border-default));
  margin: 8px auto 0;
  height: 100%;
  min-height: 32px;
}

.step__connector--last { display: none; }

.step__title {
  grid-row: 1;
  grid-column: 2;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: 14px;
  margin-bottom: 8px;
}

.step__text {
  grid-row: 2;
  grid-column: 2;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.como-funciona__image {
  width: 100%;
  max-width: min(600px, 100%);
  min-width: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
  }

  .step {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
    padding-bottom: 0;
    align-items: start;
  }

  .step__number {
    margin: 0 auto 16px;
  }

  .step__connector {
    display: none;
  }

  .step__title {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    text-align: center;
  }

  .step__text {
    grid-column: 1;
    grid-row: 3;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARDS
═══════════════════════════════════════════════════════════ */
.dashboards {
  background: var(--bg-base);
}

.dashboards__image {
  max-width: 900px;
  margin: 0 auto;
}

.dashboards__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(71,98,255,0.1);
  border: 1px solid var(--border-default);
}

/* ═══════════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background: var(--bg-default);
  overflow: hidden;
}

.cta__bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(71,98,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

.cta__content { flex: 1; }

.cta__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.cta__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta__benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* FORM */
.cta__form {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form__input {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem; /* evita zoom no iOS */
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form__input::placeholder { color: var(--text-muted); }
.form__input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(71,98,255,0.2);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.form__select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.form__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .cta__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }

  .cta__form {
    flex: 0 0 420px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding-top: 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  /* logo já é branca — sem filtro necessário */
}

.footer__tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

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

@media (prefers-reduced-motion: no-preference) {
  .footer__links a:hover { transform: translateX(4px); }
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.875rem;
  color: var(--text-disabled);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOCUS STYLES (ACESSIBILIDADE)
═══════════════════════════════════════════════════════════ */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(71,98,255,0.5);
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */

@keyframes hero-glow-breathe {
  0%   { opacity: 0.85; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes hero-grid-pan {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 48px 48px, -48px -48px; }
}

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

@keyframes tab-panel-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes metric-pop {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes list-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .hero__mockup,
  .section__header,
  .card--problem,
  .metrica__card,
  .step,
  .feature__content,
  .feature__image,
  .custos__image,
  .custos__content,
  .como-funciona__image,
  .dashboards__image,
  .cta__content,
  .cta__form {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .feature__content {
    transform: translate(-18px, 20px);
  }

  .feature__image {
    transform: translate(18px, 20px);
  }

  .hero__content { transition-delay: 0.08s; }
  .hero__mockup  { transition-delay: 0.22s; }

  .is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }

  /* Hero: sequência interna após o reveal do bloco */
  .hero__content.is-visible .hero__badge {
    animation: content-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero__content.is-visible .hero__title {
    animation: content-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
  }

  .hero__content.is-visible .hero__subtitle {
    animation: content-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  }

  .hero__content.is-visible .hero__actions {
    animation: content-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
  }

  .hero__content.is-visible .hero__trust {
    animation: content-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
  }

  .card--problem:nth-child(1) { transition-delay: 0.05s; }
  .card--problem:nth-child(2) { transition-delay: 0.1s; }
  .card--problem:nth-child(3) { transition-delay: 0.15s; }
  .card--problem:nth-child(4) { transition-delay: 0.2s; }

  .metrica__card:nth-child(1) { transition-delay: 0.05s; }
  .metrica__card:nth-child(2) { transition-delay: 0.1s; }
  .metrica__card:nth-child(3) { transition-delay: 0.15s; }
  .metrica__card:nth-child(4) { transition-delay: 0.2s; }

  .metrica__card.is-visible .metrica__numero {
    animation: metric-pop 0.75s cubic-bezier(0.34, 1.4, 0.64, 1) 0.12s both;
  }

  .step:nth-child(1) { transition-delay: 0.05s; }
  .step:nth-child(2) { transition-delay: 0.15s; }
  .step:nth-child(3) { transition-delay: 0.25s; }

  .custos__content.is-visible .custos__items .custos__item:nth-child(1) {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  }

  .custos__content.is-visible .custos__items .custos__item:nth-child(2) {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
  }

  .custos__content.is-visible .custos__items .custos__item:nth-child(3) {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
  }

  .cta__content.is-visible .cta__benefit:nth-child(1) {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
  }

  .cta__content.is-visible .cta__benefit:nth-child(2) {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
  }

  .cta__content.is-visible .cta__benefit:nth-child(3) {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
  }

  .section__header.is-visible .overline {
    animation: list-fade 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .section__header.is-visible .section__title {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
  }

  .section__header.is-visible .section__subtitle {
    animation: list-fade 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  }
}
