/* ==========================================================================
   EasySync Technology — Design System
   --------------------------------------------------------------------------
   Estratégia visual: escuro, editorial, tipografia grande, cantos retos,
   réguas finas, rótulos em caixa alta com tracking. Deliberadamente evita
   o vocabulário "SaaS genérico" (gradientes roxos, cards flutuantes 3D,
   glassmorphism, bordas super arredondadas).

   Para trocar a marca inteira: altere apenas o bloco --brand-* abaixo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* --------------------------------------------------------------
     Marca — extraída da logo EasySync (petróleo #124B5F)
     --brand-deep  = cor exata da logo, usada em fundos e superfícies
     --brand       = versão viva da mesma matiz, para acento sobre escuro
     -------------------------------------------------------------- */
  --brand-deep:       #124B5F;
  --brand-deeper:     #0D3949;
  --brand:            #2EA9CC;
  --brand-strong:     #1B7E9C;
  --brand-soft:       rgba(46, 169, 204, 0.14);
  --brand-ink:        #04202B;   /* texto sobre fundo --brand */

  /* Superfícies — preto com leve carga de petróleo, não neutro */
  --ink:              #05161C;   /* fundo mais escuro (hero, footer) */
  --bg:               #08202A;   /* fundo padrão da página */
  --surface:          #0D2A35;   /* cards */
  --surface-2:        #123542;   /* cards em hover / nested */
  --surface-light:    #F2F5F6;   /* seções claras */
  --surface-light-2:  #E4EAEC;

  /* Texto */
  --text:             #E8EFF2;
  --text-dim:         #93A8B1;
  --text-faint:       #6A828D;
  --text-on-light:    #0A2029;
  --text-on-light-dim:#415A66;

  /* Traços */
  --line:             rgba(255, 255, 255, 0.10);
  --line-strong:      rgba(255, 255, 255, 0.18);
  --line-on-light:    rgba(11, 14, 19, 0.12);

  /* Tipografia */
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.80rem, 0.78rem + 0.10vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --step-1:  clamp(1.12rem, 1.05rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.40rem, 1.25rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.80rem, 1.50rem + 1.50vw, 2.90rem);
  --step-4:  clamp(2.30rem, 1.75rem + 2.75vw, 4.20rem);
  --step-5:  clamp(2.80rem, 1.90rem + 4.50vw, 6.00rem);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);

  --radius: 3px;
  --radius-lg: 5px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: var(--brand-ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { max-width: 1440px; }

.section { padding-block: var(--section-y); position: relative; }

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--light {
  background: var(--surface-light);
  color: var(--text-on-light);
}

.section--ink { background: var(--ink); }

.section--line { border-top: 1px solid var(--line); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Tipografia utilitária
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section--light .eyebrow { color: var(--brand-deep); }

.display   { font-size: var(--step-5); }
.title-xl  { font-size: var(--step-4); }
.title-lg  { font-size: var(--step-3); }
.title-md  { font-size: var(--step-2); }
.title-sm  { font-size: var(--step-1); letter-spacing: -0.02em; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-dim);
  font-weight: 400;
  max-width: 58ch;
}

.section--light .lead { color: var(--text-on-light-dim); }

.muted { color: var(--text-dim); }
.section--light .muted { color: var(--text-on-light-dim); }

.accent { color: var(--brand); }

/* Cabeçalho de seção: título à esquerda, apoio à direita */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--brand-ink);
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary:hover { --btn-bg: var(--brand-strong); --btn-bd: var(--brand-strong); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bd: var(--text); --btn-bg: rgba(255,255,255,0.04); }

.btn--outline-dark {
  --btn-bg: transparent;
  --btn-fg: var(--text-on-light);
  --btn-bd: var(--line-on-light);
}
.btn--outline-dark:hover { --btn-bd: var(--text-on-light); }

.btn--solid-dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}

/* Botão sobre a faixa da marca */
.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--brand-deep);
  --btn-bd: #fff;
}
.btn--white:hover { --btn-bg: #E8EFF2; --btn-bd: #E8EFF2; }

.btn--on-brand {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
}
.btn--on-brand:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.08); }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Link com seta — usado em cards e listas */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; }
.section--light .link-arrow { color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   6. Header + navegação
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-faint);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
  height: 38px;
}

.topbar a { transition: color 0.2s var(--ease); }
.topbar a:hover { color: var(--text); }

@media (max-width: 860px) { .topbar { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.header.is-scrolled { background: rgba(6, 8, 11, 0.97); }

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  height: var(--header-h);
}

/* Logo — marca tipográfica + chevrons, reproduzindo o lockup oficial.
   Para usar o arquivo oficial: troque o conteúdo do <a class="logo"> por
   <img src="assets/img/logo-branco.svg" alt="EasySync" class="logo__file"> */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  flex: none;
}

.logo__text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo__chev {
  color: var(--brand);
  flex: none;
  transition: color 0.25s var(--ease);
}

.logo:hover .logo__chev { color: #fff; }

.logo__file { height: 34px; width: auto; }
.logo__file--full { height: 64px; }
.logo:hover .logo__file { opacity: 0.85; }

.section--light .logo,
.section--light .logo__text { color: var(--brand-deep); }

.nav { display: none; }

@media (min-width: 1040px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 100%;
    margin-right: auto;
  }
}

.nav__item { height: 100%; display: flex; align-items: center; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease);
  cursor: pointer;
  background: none;
  border: 0;
}

.nav__link:hover,
.nav__link[aria-expanded="true"],
.nav__link.is-active { color: #fff; }

.nav__link .chev { transition: transform 0.25s var(--ease); opacity: 0.6; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

@media (min-width: 1040px) { .header__actions { margin-left: 0; } }

.header__actions .btn--ghost { display: none; }
@media (min-width: 1200px) { .header__actions .btn--ghost { display: inline-flex; } }

/* Mega menu */
.megamenu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
              visibility 0.22s var(--ease);
}

.megamenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.megamenu__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: 2.75rem 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1040px) {
  .megamenu__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; }
}

.megamenu__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.megamenu__list { display: grid; gap: 0.15rem; }

.mega-link {
  display: block;
  padding: 0.6rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease);
}
.mega-link:hover { background: rgba(255, 255, 255, 0.05); }

.mega-link__name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.015em;
}
.mega-link:hover .mega-link__name { color: var(--brand); }

.mega-link__desc {
  display: block;
  font-size: 0.79rem;
  line-height: 1.45;
  color: var(--text-faint);
  margin-top: 0.15rem;
}

.megamenu__feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Botão hambúrguer */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

@media (min-width: 1040px) { .burger { display: none; } }

.burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--ink);
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 4rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
}

.drawer.is-open { transform: translateX(0); visibility: visible; }

@media (min-width: 1040px) { .drawer { display: none; } }

.drawer__group { border-bottom: 1px solid var(--line); }

.drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: left;
}

.drawer__toggle .chev { transition: transform 0.25s var(--ease); opacity: 0.6; }
.drawer__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.drawer__panel {
  display: grid;
  gap: 0.25rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.drawer__panel.is-open { max-height: 900px; padding-bottom: 1.25rem; }

.drawer__panel a {
  padding: 0.55rem 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.drawer__panel a:hover { color: var(--brand); }

.drawer__cta { margin-top: 2rem; display: grid; gap: 0.75rem; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 8.5rem) clamp(4rem, 8vw, 7rem);
}

/* Malha técnica de fundo — sutil, evita o "blob" de gradiente */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero h1 {
  font-size: var(--step-5);
  margin-bottom: 1.5rem;
}

.hero .lead { margin-bottom: 2.25rem; }

.hero__media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
}

.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Faixa de indicadores no rodapé do hero */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 7vw, 5rem);
  background: var(--line);
  border: 1px solid var(--line);
}

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

.hero__stat {
  background: var(--ink);
  padding: 1.5rem clamp(1rem, 2vw, 1.75rem);
}

.hero__stat b {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-faint);
}

/* Hero interno (páginas secundárias) */
.page-hero {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 1.75rem;
}
.crumbs a:hover { color: var(--brand); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.45; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs [aria-current] { color: var(--text-dim); }

/* --------------------------------------------------------------------------
   8. Segmentos (tiras horizontais)
   -------------------------------------------------------------------------- */

.segments {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.segment {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline 0.3s var(--ease), background 0.3s var(--ease);
}

.segment:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

.segment__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.segment__body { min-width: 0; }

.segment__name {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: color 0.2s var(--ease);
}
.segment:hover .segment__name { color: var(--brand); }

.segment__desc {
  font-size: 0.88rem;
  color: var(--text-faint);
  margin-top: 0.3rem;
  display: none;
}

@media (min-width: 760px) { .segment__desc { display: block; } }

.segment__go {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-dim);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.segment:hover .segment__go {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Cards de solução
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-3px); }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 0.4rem;
}

.card__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--brand-soft);
  background: var(--brand-soft);
  border-radius: 100px;
  padding: 0.28rem 0.7rem;
}

.card h3 { font-size: var(--step-1); }

.card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

.card__foot { margin-top: auto; padding-top: 0.75rem; }

/* Card em superfície clara */
.section--light .card {
  background: #fff;
  border-color: var(--line-on-light);
}
.section--light .card:hover { background: #fff; border-color: rgba(11,14,19,0.28); }
.section--light .card p { color: var(--text-on-light-dim); }
.section--light .card__icon { background: rgba(18, 75, 95, 0.10); color: var(--brand-deep); }

/* Card destaque (ocupa 2 colunas) */
.card--wide { grid-column: 1 / -1; }
@media (min-width: 1024px) { .card--wide { grid-column: span 2; } }

/* --------------------------------------------------------------------------
   10. Lista de features numeradas
   -------------------------------------------------------------------------- */

.numbered {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

@media (min-width: 780px) { .numbered { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .numbered--3 { grid-template-columns: repeat(3, 1fr); } }

.numbered__item {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.numbered__item:first-child { padding-left: 0; }

.numbered__n {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.numbered__item h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.numbered__item p { color: var(--text-dim); font-size: 0.92rem; }

.section--light .numbered,
.section--light .numbered__item { border-color: var(--line-on-light); }
.section--light .numbered__item p { color: var(--text-on-light-dim); }

/* --------------------------------------------------------------------------
   11. Split editorial (texto + mídia)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 940px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > *:first-child { order: 2; }
}

.split__media {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.section--light .split__media { border-color: var(--line-on-light); background: #fff; }

.checklist { display: grid; gap: 0.9rem; margin-top: 2rem; }

.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.checklist svg { margin-top: 4px; color: var(--brand); }
.section--light .checklist li { color: var(--text-on-light-dim); }
.section--light .checklist svg { color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   12. Números / resultados
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}

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

.stat b {
  display: block;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.section--light .stat span { border-color: var(--line-on-light); color: var(--text-on-light-dim); }

/* --------------------------------------------------------------------------
   13. Depoimentos / cases
   -------------------------------------------------------------------------- */

.quote-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.quote-rail::-webkit-scrollbar { height: 4px; }
.quote-rail::-webkit-scrollbar-thumb { background: var(--line-strong); }

.quote {
  flex: 0 0 min(88vw, 420px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quote blockquote {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.quote__author {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brand);
  flex: none;
}

.quote__author strong { display: block; font-size: 0.9rem; }
.quote__author span { display: block; font-size: 0.8rem; color: var(--text-faint); }

.rail-nav { display: flex; gap: 0.5rem; }

.rail-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rail-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.rail-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.rail-btn:disabled:hover { background: none; border-color: var(--line-strong); color: inherit; }

/* Logos de clientes */
.logo-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}

.logo-rail img,
.logo-rail span {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text-faint);
  opacity: 0.75;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.logo-rail *:hover { opacity: 1; color: var(--text); }

/* --------------------------------------------------------------------------
   14. Acordeão (FAQ / especificações)
   -------------------------------------------------------------------------- */

.accordion { border-top: 1px solid var(--line); }
.section--light .accordion,
.section--light .accordion__item { border-color: var(--line-on-light); }

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.accordion__trigger:hover { color: var(--brand); }
.section--light .accordion__trigger:hover { color: var(--brand-deep); }

.accordion__icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.section--light .accordion__icon { border-color: var(--line-on-light); }

.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s var(--ease);
}
.accordion__panel > div { padding-bottom: 1.6rem; max-width: 70ch; color: var(--text-dim); }
.section--light .accordion__panel > div { color: var(--text-on-light-dim); }

/* --------------------------------------------------------------------------
   15. Faixa de CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--brand-deep);
  color: #fff;
  overflow: hidden;
}

/* Chevrons da marca como textura de fundo da faixa */
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 auto;
  right: -4%;
  width: 46%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='16' opacity='.07'%3E%3Cpath d='M40 30 L110 100 L40 170'/%3E%3Cpath d='M110 30 L180 100 L110 170'/%3E%3Cpath d='M180 30 L250 100 L180 170'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band__inner {
  display: grid;
  gap: 2rem clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.4fr) auto; }
}

.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin-top: 1rem; max-width: 55ch; opacity: 0.75; font-weight: 500; }

/* --------------------------------------------------------------------------
   16. Formulário
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form__row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: repeat(2, 1fr); } }

.field { display: grid; gap: 0.45rem; }

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #000;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239BA6B4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field--error input,
.field--error select,
.field--error textarea { border-color: #FF5D5D; }

.field__error {
  font-size: 0.78rem;
  color: #FF8A8A;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  display: none;
}
.field--error .field__error { display: block; }

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-faint);
}
.consent input { accent-color: var(--brand); margin-top: 3px; }
.consent a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }

.form__status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}
.form__status.is-ok { display: block; background: var(--brand-soft); color: var(--brand); }
.form__status.is-error { display: block; background: rgba(255,93,93,0.12); color: #FF8A8A; }

/* Blocos de contato */
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.contact-item { background: var(--bg); padding: 1.5rem; }
.contact-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.contact-item strong { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; }
.contact-item a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 780px)  { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.footer__brand { display: grid; gap: 1.25rem; align-content: start; max-width: 34ch; }
.footer__brand p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.6; }

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.footer__links { display: grid; gap: 0.7rem; }
.footer__links a { font-size: 0.9rem; color: var(--text-dim); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--brand); }

.socials { display: flex; gap: 0.6rem; }

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-dim);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-faint);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__legal a:hover { color: var(--text); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #062513;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* --------------------------------------------------------------------------
   18. Animação de entrada
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Logos de produto e botões das lojas de app
   -------------------------------------------------------------------------- */

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

.product-logo { margin: 1.25rem 0; line-height: 0; }
.product-logo img { height: clamp(40px, 5vw, 64px); width: auto; max-width: 100%; }
.product-logo--hero { margin: 0; }
.product-logo--hero img { height: clamp(52px, 7vw, 92px); }

.card__logo {
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}
.card__logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }

.store-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.15rem 0.55rem 0.9rem;
  background: #000;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  line-height: 1.1;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.store-btn:hover { border-color: var(--brand); transform: translateY(-2px); }
.store-btn svg { flex: none; }
.store-btn small { display: block; font-size: 0.66rem; letter-spacing: 0.03em; opacity: 0.8; }
.store-btn strong { display: block; font-size: 1.02rem; font-weight: 700; }

.store-list { display: grid; gap: 0.55rem; margin: 0.25rem 0 0.5rem; font-size: 0.86rem; }
.store-list li { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: baseline; }
.store-list strong { min-width: 6.5rem; }
.store-list a { color: var(--brand); }
.store-list a:hover { text-decoration: underline; }

.form__actions { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .form__actions { grid-template-columns: 1.4fr 1fr; } }
.btn--whatsapp { --btn-bg: #25D366; --btn-bd: #25D366; --btn-fg: #062513; }
.btn--whatsapp:hover { --btn-bg: #1fbd5a; --btn-bd: #1fbd5a; }

.map-embed {
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  filter: grayscale(0.35) contrast(1.05);
}

/* Texto longo (política de privacidade) */
.legal { max-width: 74ch; }
.legal h2 { font-size: var(--step-2); margin: 2.75rem 0 1rem; scroll-margin-top: 110px; }
.legal p, .legal li { color: var(--text-dim); line-height: 1.75; }
.legal p + p { margin-top: 1rem; }
.legal strong { color: var(--text); }
.legal ul { margin: 1rem 0 1.25rem; padding-left: 1.25rem; list-style: disc; display: grid; gap: 0.3rem; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--text-faint); }
.section--light .store-list a { color: var(--brand-deep); }

.store-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.85rem; font-size: var(--step--1); }
.store-legal a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.store-legal a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   20. Ajustes de celular
   -------------------------------------------------------------------------- */

.header__cta-short { display: none; }
.burger { flex: none; }

@media (max-width: 520px) {
  .header__inner { gap: 1rem; }
  .header__actions { gap: 0.5rem; }
  .logo__file { height: 28px; }
  .header__cta { padding-inline: 0.9rem; }
  .header__cta-long { display: none; }
  .header__cta-short { display: inline; }
}

@media (max-width: 340px) {
  .header__cta { display: none; }
}

/* O "+" de "iOS+Android" fica na mesma linha (não é a legenda do número) */
.hero__stat b span { display: inline; margin: 0; padding: 0 0.12em; font-size: inherit; line-height: inherit; }

/* Texto secundário dentro de um contato (ex.: observação do horário) não é rótulo */
.contact-item strong span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-dim);
}


@media (max-width: 560px) {
  /* Botões principais ocupam a largura toda, um embaixo do outro */
  .btn-row > .btn { flex: 1 1 100%; justify-content: center; }
  .store-row > .store-btn { flex: 1 1 0; justify-content: center; min-width: 0; padding-inline: 0.7rem; }

  .form { padding: 1.25rem; }
  .contact-item { padding: 1.15rem 1.25rem; }

  .hero__stat b { font-size: 1.55rem; }

  .wa-float { width: 48px; height: 48px; right: 0.85rem; bottom: 0.85rem; }
  .wa-float svg { width: 23px; height: 23px; }
}
