/* =========================================================
   Tally — site (landing + autorizadas)
   Direção aprovada: site/direcoes/final.html · guia: docs/redesign/tally-v2.md
   Mobile-first. Fonte única: Archivo (wdth 62..125, wght 400..900).
   ========================================================= */

:root {
  color-scheme: light dark;
  --paper: #FAF7F2;
  --surface: #FFFFFF;
  --mist: #F3EEE7;
  --mist-2: #EAE3D9;
  --line: #E5DDD2;
  --line-2: #D3CABD;
  --ink: #1A1411;
  --ink-2: #3A322D;
  --ink-soft: #5C534D;
  --night: #17110E;
  --red: #CB1D2C;
  --red-deep: #A3141F;
  --red-tint: #FCEBE8;
  --red-text: #CB1D2C;      /* vermelho usado como texto (kicker, ícones) */
  --yellow: #FFC21A;
  --yellow-tint: #FFF3CC;
  --amber-ink: #7A4E00;
  --green: #16884D;
  --green-ink: #126339;
  --green-tint: #E4F3EA;
  --bubble-out: #DCF5E5;
  --shadow-lg: 0 30px 60px -22px rgba(26, 20, 17, .45);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-chip: 6px; --r-btn: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px;
  --gutter: 20px;
  --header-h: 64px;
}

/* Dark theme: opt-in only (html[data-theme="dark"]). The approved direction is light. */
html[data-theme="dark"] {
    --paper: #120E0B;
    --surface: #1C1612;
    --mist: #251E19;
    --mist-2: #30271F;
    --line: #362C25;
    --line-2: #4A3E35;
    --ink: #F6F0E9;
    --ink-2: #E0D6CC;
    --ink-soft: #B6AA9F;
    --night: #0B0806;
    --red-tint: #3A1A1A;
    --red-text: #FF6B70;
    --yellow-tint: #3A2E10;
    --amber-ink: #FFD666;
    --green-ink: #5FD394;
    --green-tint: #15301F;
    --bubble-out: #183A26;
    --shadow-lg: 0 30px 60px -22px rgba(0, 0, 0, .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
svg { flex: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.nw { white-space: nowrap; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); border-radius: 4px; }
.on-dark :focus-visible, .case :focus-visible, .fcta :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper);
  padding: 12px 16px; border-radius: var(--r-btn); font-weight: 600;
}
.skip:focus { top: 12px; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

/* ---------- type ---------- */
.h-xl, .h-l, .h-m, .h-s { font-family: var(--font); font-weight: 900; text-wrap: balance; }
.h-xl { font-size: clamp(40px, 12vw, 84px); line-height: .92; font-stretch: 118%; letter-spacing: -.045em; }
.h-l { font-size: clamp(34px, 4.2vw + 18px, 56px); line-height: 1; font-stretch: 115%; letter-spacing: -.04em; }
.h-m { font-size: clamp(26px, 2vw + 18px, 36px); line-height: 1.05; font-stretch: 112%; letter-spacing: -.03em; }
.h-s { font-size: clamp(20px, .5vw + 18px, 22px); font-weight: 800; line-height: 1.15; font-stretch: 110%; letter-spacing: -.02em; }
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }
.hl { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%); padding: 0 .05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[data-theme="dark"] .hl { background: var(--yellow); color: #1A1411; padding: 0 .12em; border-radius: 4px; }
.kicker {
  display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.2; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red-text);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
@media (max-width: 479px) { .kicker { letter-spacing: .06em; font-size: 11.5px; } }
.fcta .kicker { white-space: nowrap; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 768px) { .lead { font-size: 18px; } }

/* ---------- brand ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 24px; line-height: 1; font-stretch: 125%; letter-spacing: -.035em; color: var(--ink); min-height: 44px; }
.mk { width: 34px; height: 34px; border-radius: 9px; background: var(--red); display: grid; place-items: center; color: var(--yellow); flex: none; }
.mk svg { width: 23px; height: 23px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px;
  border-radius: var(--r-btn); font-size: 15px; font-weight: 600; line-height: 1; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer; text-align: center;
}
.btn .ic { width: 17px; height: 17px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-soft); }
.btn-white { background: #fff; color: #1A1411; }
.btn-white:hover { background: #FFF3CC; }
.btn-ghost-w { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-w:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #126339; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
@media (min-width: 1024px) { .btn-sm { min-height: 40px; } }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 16.5px; border-radius: 10px; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s, border-color .15s, transform .1s; }
  .btn:active { transform: scale(.98); }
}

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.hd-in .logo { margin-right: auto; }
.nav { display: none; }
.hd-r { display: flex; align-items: center; gap: 8px; }
.hd-r .login { display: none; }
.hd-r .btn-sm { display: none; }
.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-btn);
  background: var(--surface); cursor: pointer;
}
.menu-btn .ic { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mnav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); padding: 8px 0 20px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mnav[hidden] { display: none; }
.mnav ul { display: grid; }
.mnav a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 16px; }
@media (min-width: 560px) {
  .hd-r .btn-sm { display: inline-flex; }
}
@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  .nav { display: flex; gap: clamp(18px, 2.2vw, 34px); font-size: 15px; font-weight: 500; color: var(--ink-2); margin-right: auto; }
  .nav a, .hd-r .login { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .nav a:hover, .hd-r .login:hover { color: var(--red-text); }
  .hd-in { gap: clamp(20px, 3vw, 48px); }
  .hd-in .logo { margin-right: 0; }
  .hd-r { gap: 22px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
  .hd-r .login:not([hidden]) { display: inline-flex; }
  .menu-btn, .mnav { display: none !important; }
}

/* ---------- hero ---------- */
.hero { display: grid; gap: 40px; padding: 32px 0 56px; }
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); padding: 6px 14px 6px 6px; border-radius: 18px; max-width: 100%;
}
.eyebrow i { font-size: 11px; line-height: 1; font-style: normal; background: var(--yellow); color: #1A1411; padding: 5px 8px; border-radius: 999px; letter-spacing: .05em; flex: none; }
.eyebrow span { padding-top: 1px; }
.hero h1 { margin: 22px 0 20px; font-size: min(84px, calc((100vw - 2 * var(--gutter)) / 7.4)); }
.hero h1 .tl { display: inline-block; color: var(--red); margin-left: .16em; vertical-align: -.02em; }
.hero h1 .tl svg { width: 1.4em; height: .69em; }
.hero .lead { max-width: 520px; }
.ctas { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 22px; }
.assure { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.assure span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.assure .ic { width: 16px; height: 16px; color: var(--red-text); stroke-width: 2.4; }
@media (min-width: 480px) { .ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 640px) { .hero { padding-top: 48px; } .eyebrow { border-radius: 999px; align-items: center; } .eyebrow span { padding-top: 0; } }

/* hero visual */
.stage { position: relative; }
.stage .ph { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #140d08; aspect-ratio: 4 / 4.4; }
.stage .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.stage .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .45)); }
.wa-card {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; color: #1A1411; border-radius: 14px; padding: 13px 14px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); display: flex; gap: 12px; z-index: 2;
}
.wa-ico { width: 30px; height: 30px; border-radius: 50%; background: #E4F3EA; color: #16884D; display: grid; place-items: center; flex: none; }
.wa-ico svg { width: 17px; height: 17px; }
.wa-card b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.wa-card p { font-size: 13px; line-height: 1.45; color: #5C534D; }
.wa-card p strong { color: #1A1411; font-weight: 600; }
.wa-card .t { font-size: 11.5px; line-height: 1; font-weight: 500; color: #5C534D; margin-top: 8px; display: block; }
.count {
  position: absolute; right: 12px; top: 12px; background: var(--yellow); color: #1A1411; border-radius: 14px; padding: 12px 14px 13px;
  width: 158px; z-index: 2; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45);
}
.count small { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; }
.count small svg { width: 30px; height: 14px; }
.count strong { display: block; font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 6px 0 4px; }
.count span { font-size: 12px; line-height: 1.2; font-weight: 500; white-space: nowrap; }
.count em { display: block; margin-top: 6px; font-size: 11px; font-style: normal; font-weight: 500; color: #4A3B10; }
.mini { display: none; }

@media (min-width: 640px) {
  .stage { padding-bottom: 96px; }
  .stage .ph { aspect-ratio: 16 / 10; }
  .wa-card { left: 24px; right: auto; top: 24px; bottom: auto; width: 330px; }
  .count { right: 24px; top: 24px; width: 196px; padding: 14px 18px 15px; }
  .count small svg { width: 34px; height: 15px; }
  .count strong { font-size: 46px; }
  .mini {
    display: block; position: absolute; left: 0; bottom: 0; width: min(520px, 88%); background: #fff; color: #1A1411; border-radius: 14px;
    box-shadow: 0 30px 60px -22px rgba(26, 20, 17, .45), 0 0 0 1px rgba(26, 20, 17, .06); overflow: hidden; z-index: 3;
  }
}
.mini .bar { height: 30px; background: #F3EEE7; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #E5DDD2; }
.mini .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3CABD; }
.mini .bar span { font-size: 11px; font-weight: 500; color: #5C534D; margin-left: 10px; white-space: nowrap; }
.mini .in { padding: 14px 14px 16px; }
.mini .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 11px; }
.mini .top b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.mini .top span { font-size: 11.5px; color: #5C534D; white-space: nowrap; }
.mini .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini .col { background: #F3EEE7; border-radius: 9px; padding: 8px; min-width: 0; }
.mini .ch { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: #3A322D; margin: 0 2px 7px; white-space: nowrap; }
.mini .ch em { font-style: normal; color: #5C534D; }
.mini .o { background: #fff; border-radius: 7px; padding: 8px 8px 9px; margin-top: 6px; box-shadow: 0 0 0 1px #E5DDD2; }
.mini .o .r { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.mini .o b { font-size: 11.5px; font-weight: 600; line-height: 1; }
.mini .o p { font-size: 11px; color: #5C534D; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; line-height: 1; font-weight: 600; padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.c-wa { background: #E4F3EA; color: #126339; }
.c-if { background: #FCEBE8; color: #A3141F; }
.c-mesa { background: #EAE3D9; color: #3A322D; }

@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 40px; align-items: center; padding: 48px 0 72px; }
  .hero .h-xl { font-size: min(84px, calc((100vw - 2 * var(--gutter) - 40px) / 14.9)); }
  .stage .ph { aspect-ratio: 620 / 560; margin-left: auto; width: min(620px, 100%); }
  .stage { padding-bottom: 80px; }
  .wa-card { left: 9%; top: 19%; width: min(330px, 58%); }
}
@media (min-width: 1280px) { .hero { grid-template-columns: minmax(0, 624px) minmax(0, 1fr); } }

/* ---------- integrations strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.strip p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; max-width: 360px; }
.strip p b { color: var(--ink); font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.bdg {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px 0 9px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); font-size: 15px; font-weight: 700; line-height: 1; color: var(--ink); white-space: nowrap;
}
.bdg i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 800; font-style: normal; color: #fff; }
.bdg i svg { width: 15px; height: 15px; color: #fff; }
.bdg small { font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
@media (min-width: 1100px) {
  .strip .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; padding: 16px 0; }
  .badges { gap: 12px; flex-wrap: nowrap; }
}

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 768px) { .sec { padding: 96px 0; } }
@media (min-width: 1100px) { .sec { padding: 120px 0; } }
.sec-hd { display: grid; gap: 20px; margin-bottom: 40px; }
.sec-hd h2 { margin-top: 18px; }
.sec-hd .lead { max-width: 640px; }
.sec-hd--center { text-align: center; justify-items: center; }
@media (min-width: 1280px) {
  .sec-hd { grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; align-items: end; margin-bottom: 56px; }
}

/* AI block */
.ai { display: grid; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-bottom: 20px; }
.ai .pic { position: relative; }
.ai .pic picture, .ai .pic img { width: 100%; }
.ai .pic img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
.chat {
  position: relative; margin: -72px 14px 0; background: #fff; color: #1A1411; border-radius: 16px; padding: 14px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(26, 20, 17, .06);
}
.chat .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 0 2px 10px; border-bottom: 1px solid #E5DDD2; margin-bottom: 10px; white-space: nowrap; }
.chat .who svg { width: 16px; height: 16px; color: #16884D; }
.chat .who span { font-weight: 500; color: #5C534D; font-size: 12px; }
.bub { font-size: 13px; line-height: 1.45; padding: 9px 11px; border-radius: 12px; max-width: 88%; margin-top: 7px; }
.bub.in { background: #F3EEE7; border-top-left-radius: 4px; }
.bub.out { background: #DCF5E5; margin-left: auto; border-top-right-radius: 4px; }
.bub small { display: block; font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: .06em; color: #126339; margin-bottom: 5px; }
.ai .txt { padding: 32px 22px 30px; display: flex; flex-direction: column; }
.tagline { display: flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 1; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.tagline .ic { width: 15px; height: 15px; color: var(--red-text); }
.ai .txt h3 { margin: 16px 0 14px; }
.ai .txt .lead { font-size: 16.5px; }
.checks { margin: 24px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 11px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); align-items: flex-start; }
.checks .ic { color: var(--red-text); stroke-width: 2.4; margin-top: 2px; }
.big24 { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.big24 b { font-size: clamp(48px, 5vw, 64px); font-weight: 850; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.big24 > span { font-size: 15px; color: var(--ink-soft); max-width: 230px; line-height: 1.4; }
@media (min-width: 768px) {
  .ai .pic { min-height: 520px; }
  .ai .pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .chat { position: absolute; right: 28px; bottom: 28px; width: 340px; margin: 0; }
  .ai .txt { padding: 48px 48px 44px; }
}
@media (min-width: 1100px) {
  .ai { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .ai .pic { min-height: 600px; }
  .ai .txt { padding: 56px 52px 52px; }
}

/* feature cards */
.grid3 { display: grid; gap: 20px; margin-bottom: 20px; }
.grid2 { display: grid; gap: 20px; }
.card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.card .pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .bd { padding: 22px 22px 26px; }
.card h3 { margin: 12px 0 10px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pills span { font-size: 12.5px; font-weight: 500; background: var(--mist); color: var(--ink-2); padding: 6px 9px; border-radius: var(--r-chip); white-space: nowrap; }
@media (min-width: 640px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 .card:nth-child(3) { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grid3 .card:nth-child(3) .pic img { height: 100%; aspect-ratio: auto; }
  .card .bd { padding: 24px 26px 28px; }
}
@media (min-width: 768px) {
  .card.h { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
  .card.h .pic { position: relative; min-height: 300px; }
  .card.h .pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .card.h .bd { padding: 30px; }
}
@media (min-width: 1100px) {
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid3 .card:nth-child(3) { grid-column: auto; display: flex; }
  .grid3 .card .pic img { height: auto; aspect-ratio: 400 / 270; }
}
@media (min-width: 1100px) {
  .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.h { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* ---------- pilots (dark) ---------- */
.case { background: var(--night); color: #fff; position: relative; }
.case::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red); }
.case .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 72px 0; align-items: center; }
.case .pic { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.case .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 18% 50%; }
.case .cap { position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: max-content; background: #fff; color: #1A1411; border-radius: 12px; padding: 11px 14px; display: flex; gap: 11px; align-items: center; }
.case .cap .mk { width: 32px; height: 32px; border-radius: 8px; }
.case .cap .mk svg { width: 21px; height: 21px; }
.case .cap b { display: block; font-size: 14.5px; font-weight: 700; }
.case .cap div span { font-size: 12.5px; color: #5C534D; }
.pilot { display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff; font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.pilot .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.case h2 { margin: 22px 0 20px; color: #fff; }
.case .lead { color: #D9CFC5; max-width: 600px; }
.pilots { display: grid; gap: 1px; background: rgba(255, 255, 255, .16); border-radius: 14px; overflow: hidden; margin-top: 32px; }
.pilots li { background: var(--night); padding: 18px 20px 20px; min-width: 0; }
.pilots .nm { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pilots b { font-size: 19px; font-weight: 900; line-height: 1.1; font-stretch: 112%; letter-spacing: -.02em; color: var(--yellow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pilots .ex { flex: none; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1A1411; background: #fff; padding: 4px 7px; border-radius: var(--r-chip); }
.pilots small { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pilots span.d { display: block; margin-top: 12px; font-size: 14px; line-height: 1.4; color: #fff; }
.case .note { margin-top: 26px; font-size: 13px; line-height: 1.45; color: #B9AEA4; display: flex; align-items: flex-start; gap: 8px; }
.case .note .ic { width: 15px; height: 15px; margin-top: 1px; }
@media (min-width: 768px) {
  .pilots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pilots li { padding: 18px 18px 20px; }
  .pilots .nm { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
  .pilots b { font-size: 17px; max-width: 100%; }
}
@media (min-width: 768px) { .case .wrap { padding: 96px 0; } .case .pic img { aspect-ratio: 2 / 1; } }
@media (min-width: 1280px) {
  .case .wrap { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 72px; padding: 110px 0 104px; }
  .case .pic { height: 100%; max-height: 600px; min-height: 520px; }
  .case .pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ---------- pricing ---------- */
.plans { display: grid; gap: 28px; max-width: 620px; margin-inline: auto; }
.plan { background: var(--surface); border-radius: var(--r-lg); padding: 30px 24px 26px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; min-width: 0; }
.plan.pro { order: -1; box-shadow: 0 0 0 2px var(--red), 0 30px 60px -30px rgba(203, 29, 44, .45); }
.plan .badge { position: absolute; top: -14px; left: 24px; background: var(--yellow); color: #1A1411; font-size: 12.5px; font-weight: 700; line-height: 1; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; font-stretch: 110%; }
.plan .for { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; white-space: nowrap; }
.price small { font-size: 18px; font-weight: 700; line-height: 1; }
.price b { font-size: clamp(52px, 5vw, 60px); font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.price span { font-size: 15px; color: var(--ink-soft); }
.plan .terms { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.plan ul { margin: 22px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.plan li .ic { width: 17px; height: 17px; color: var(--red-text); stroke-width: 2.4; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; min-height: 50px; }
.plan-foot { display: grid; gap: 12px; max-width: 620px; margin: 30px auto 0; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 768px) { .plan-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; max-width: none; } }
.plan-foot span { display: flex; gap: 7px; align-items: center; }
.plan-foot .ic { width: 15px; height: 15px; color: var(--red-text); stroke-width: 2.4; }
@media (min-width: 640px) { .plan { padding: 34px 32px 32px; } .plan .badge { left: 32px; } }
@media (min-width: 1024px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: none; align-items: stretch; }
  .plan.pro { order: 0; }
  .plan .for { min-height: 44px; }
}

/* ---------- lead + resellers ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.form-card { background: var(--surface); border-radius: var(--r-xl); box-shadow: 0 0 0 1px var(--line); padding: 28px 22px; }
.form-card h2 { margin: 16px 0 12px; }
.form-card > p:not(.kicker) { color: var(--ink-soft); font-size: 15.5px; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-btn);
  background: var(--paper); font-size: 16px; color: var(--ink);
}
.field input::placeholder { color: var(--ink-soft); opacity: .8; }
.field input:focus-visible, .field select:focus-visible { border-color: var(--ink); border-radius: var(--r-btn); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field-row { display: grid; gap: 16px; }
.form .btn { margin-top: 4px; }
.form__status { font-size: 14px; color: var(--ink-soft); min-height: 1.5em; }
.form__status.is-error { color: var(--red-text); font-weight: 600; }
.form__status a { text-decoration: underline; color: var(--ink); }
.resell { background: var(--night); color: #fff; border-radius: var(--r-xl); padding: 28px 22px; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line); }
.resell .kicker { color: #FF8A8F; }
.resell h2 { margin: 16px 0 12px; color: #fff; }
.resell > p:not(.kicker) { color: #D9CFC5; font-size: 15.5px; }
.resell .checks li { color: #F3ECE4; }
.resell .checks .ic { color: var(--yellow); }
.resell .acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 640px) {
  .form-card, .resell { padding: 40px 36px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 32px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0; font-size: 17px; font-weight: 700; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--red-text); stroke-width: 2.2; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 760px; }
@media (prefers-reduced-motion: no-preference) { .faq summary .ic { transition: transform .2s; } }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 380px minmax(0, 1fr); gap: 60px; } }

/* ---------- final CTA ---------- */
.fcta-wrap { padding-bottom: 72px; }
.fcta { background: var(--red); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); color: #fff; }
.fcta .txt { padding: 40px 24px; }
.fcta .kicker { color: #fff; }
.fcta .kicker::before { background: var(--yellow); }
.fcta h2 { margin: 18px 0 16px; }
.fcta p { font-size: 17px; line-height: 1.55; color: #FFE9E6; max-width: 520px; }
.fcta .ctas { margin: 30px 0 0; }
.fcta .pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 640px) { .fcta .txt { padding: 56px 48px; } }
@media (min-width: 768px) { .fcta-wrap { padding-bottom: 96px; } }
@media (min-width: 1100px) {
  .fcta-wrap { padding-bottom: 110px; }
  .fcta { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
  .fcta .txt { padding: 72px 64px; }
  .fcta .pic { position: relative; }
  .fcta .pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); }
.ft .top { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 48px 0 40px; }
.ft .about { grid-column: 1 / -1; }
.ft .about p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 14px; max-width: 320px; }
.ft h2 { font-size: 11.5px; line-height: 1; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); margin-bottom: 10px; }
.ft ul { display: grid; font-size: 14.5px; color: var(--ink-2); }
.ft ul a { display: inline-flex; align-items: center; min-height: 44px; }
.ft ul a:hover { color: var(--red-text); }
.ft .bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding: 22px 0 26px; font-size: 13.5px; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .ft .top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 50px; }
  .ft .about { grid-column: auto; }
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 56px; height: 56px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(18, 99, 57, .65);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { display: none; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .wa-float { transition: opacity .2s, transform .2s, visibility .2s; } }
@media (min-width: 768px) {
  .wa-float { width: auto; height: 54px; padding: 0 22px 0 16px; right: 24px; bottom: 24px; }
  .wa-float svg { width: 22px; height: 22px; }
  .wa-float span { display: inline; }
}

/* ---------- autorizadas page ---------- */
.a-hero { display: grid; gap: 40px; padding: 32px 0 64px; align-items: center; }
.a-hero h1 { margin: 20px 0 20px; }
.a-hero .h-xl { font-size: min(76px, calc((100vw - 2 * var(--gutter)) / 9.2)); }
.a-vis { position: relative; }
.a-vis .ph { border-radius: var(--r-xl); overflow: hidden; }
.a-vis .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.calc {
  position: relative; margin: -64px 14px 0; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 18px 18px 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
.calc .h { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.calc .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.calc .row b { white-space: nowrap; color: var(--ink); }
.calc .row:last-of-type { border-bottom: 0; }
.calc .row.you b { background: var(--yellow); color: #1A1411; padding: 2px 8px; border-radius: var(--r-chip); }
.calc small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }
@media (min-width: 640px) { .a-hero { padding-top: 48px; } .a-vis .ph img { aspect-ratio: 16 / 10; } }
@media (min-width: 768px) { .calc { position: absolute; margin: 0; right: 24px; bottom: 24px; width: 340px; } }
@media (min-width: 1100px) {
  .a-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 56px 0 88px; }
  .a-hero .h-xl { font-size: min(76px, calc((min(100vw, 1320px) - 2 * var(--gutter) - 40px) / 18.6)); }
  .a-vis .ph img { aspect-ratio: 5 / 5.2; }
}
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: 26px 24px; }
.step .n { width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 900; font-stretch: 112%; }
.step h3 { margin: 16px 0 10px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ptable { background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ptable .r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ptable .r:last-child { border-bottom: 0; }
.ptable .r b { font-size: 18px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.ptable .r p { grid-column: 1; font-size: 14px; color: var(--ink-soft); }
.ptable .r .v { grid-row: 1 / span 2; grid-column: 2; text-align: right; white-space: nowrap; font-size: 26px; font-weight: 850; letter-spacing: -.04em; }
.ptable .r .v small { font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.ptable .r.pro { background: var(--yellow-tint); }
.ptable .r.pro .tagp { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; background: var(--yellow); color: #1A1411; padding: 4px 7px; border-radius: 999px; vertical-align: 3px; letter-spacing: 0; white-space: nowrap; }
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; } }
.roles { display: grid; gap: 20px; }
@media (min-width: 768px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role { border-radius: var(--r-lg); padding: 26px 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.role.dark { background: var(--night); color: #fff; box-shadow: none; }
.role .tagline { margin-bottom: 14px; }
.role.dark .tagline { color: #D9CFC5; }
.role.dark .tagline .ic { color: var(--yellow); }
.role .checks { margin: 16px 0 0; }
.role.dark .checks li { color: #F3ECE4; }
.role.dark .checks .ic { color: var(--yellow); }
.notebox { margin-top: 20px; border-left: 4px solid var(--yellow); background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; font-size: 15px; color: var(--ink-2); }
.sec--tight { padding-top: 0; }
.sp-h { margin: 18px 0; }
.form--flush { margin-top: 0; }
.ul { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
