/* Landing Aeria Apps (design-taste-frontend: software · white-link-blue · Host Grotesk) */
:root {
  --bg: #ffffff;
  --surface: #f4f5f7;
  --ink: #111111;
  --muted: #5d6470;
  --line: #e3e5ea;
  --accent: #1a4be0;
  --accent-ink: #ffffff;
  --navy: #14284b;          /* azul do logo */
  --navy-ink: #ffffff;
  --navy-muted: #b8c3d9;
  --ok: #0f7a3d;
  --ok-bg: #e3f5ea;
  --beta: #8a5a00;
  --beta-bg: #fff1d6;
  --soon: #4a5160;
  --soon-bg: #eceef2;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
p { margin: 0; }

.skip-to-content {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none;
}
.skip-to-content:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Botões ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(26, 75, 224, .6); }
.btn-primary:hover { background: #143ec0; }
.btn-secondary { background: transparent; color: var(--ink); border-color: #c9ced8; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eefb; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: wait; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--accent); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1.5px no-repeat;
  transition: background-size .25s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

/* ── Cabeçalho ────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; background: var(--navy); border-radius: 10px; padding: 4px 8px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--muted); text-decoration: none; font-size: 15px; border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vh, 88px) 0 clamp(48px, 8vh, 96px); min-height: calc(100svh - 72px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { font: 500 13px/1.4 var(--mono); color: var(--muted); letter-spacing: .02em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -0.04em; max-width: 13ch; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); margin-top: 22px; max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fact { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #18a957; box-shadow: 0 0 0 4px rgba(24, 169, 87, .18); flex: none; }

.app-frame {
  display: block; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(20, 40, 75, .35), 0 2px 6px rgba(20, 40, 75, .06);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.app-frame:hover { transform: translateY(-2px); box-shadow: 0 36px 70px -30px rgba(20, 40, 75, .42), 0 2px 6px rgba(20, 40, 75, .06); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d7de; }
.frame-bar span { margin-left: 12px; font: 400 12px/1 var(--mono); color: var(--muted); }
.app-frame img { transition: transform .5s var(--ease); }
.app-frame:hover img { transform: scale(1.02); }

[data-enter] .hero-copy > * { animation: enter .7s var(--ease) both; }
[data-enter] .hero-copy > *:nth-child(2) { animation-delay: .06s; }
[data-enter] .hero-copy > *:nth-child(3) { animation-delay: .12s; }
[data-enter] .hero-copy > *:nth-child(4) { animation-delay: .18s; }
[data-enter] .hero-copy > *:nth-child(5) { animation-delay: .24s; }
[data-enter] .hero-shot { animation: enter-shot .9s .15s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
@keyframes enter-shot { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* ── Seções ───────────────────────────────────────── */
.section { padding: clamp(72px, 11vh, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vh, 56px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Produtos */
.products { background: var(--surface); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(20, 40, 75, .3); }
.product-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.product-shot { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.product-card.is-featured .product-shot { border-bottom: 0; border-right: 1px solid var(--line); }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; aspect-ratio: 16 / 10; transition: transform .5s var(--ease); }
.product-card:hover .product-shot img { transform: scale(1.025); }
.product-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card.is-featured .product-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-top h3 { font-size: 24px; }
.product-top { flex-wrap: wrap; }
.product-card.is-featured h3 { font-size: clamp(28px, 3vw, 38px); }
.audience { font: 500 13px/1.5 var(--mono); color: var(--muted); }
.price { font-size: 15px; color: var(--ink); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; }
.product-body .link-arrow { margin-top: auto; align-self: flex-start; }

.status { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: 999px; font: 500 12px/1.4 var(--mono); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-no-ar { color: var(--ok); background: var(--ok-bg); }
.status-beta { color: var(--beta); background: var(--beta-bg); }
.status-em-breve { color: var(--soon); background: var(--soon-bg); }

.lab { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.lab h3 { font-size: 18px; margin-bottom: 14px; }
.lab ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.lab li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 15px; }
.lab li strong { color: var(--ink); font-weight: 500; }
.lab-text { flex-basis: 100%; }

/* Sob medida */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step-n { font: 500 14px/1 var(--mono); color: var(--accent); }
.step h3 { font-size: 22px; margin: 14px 0 10px; }
.step p { color: var(--muted); }

.examples { margin-top: clamp(40px, 6vh, 64px); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); background: var(--surface); }
.examples h3 { font-size: 22px; margin-bottom: 16px; }
.examples ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.examples li { position: relative; padding-left: 26px; }
.examples li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Anúncio manual: afastado de botões e formulário */
.ad-slot { margin: 72px 0 0; padding-top: 16px; border-top: 1px solid var(--line); min-height: 120px; }
.ad-label { display: block; font: 400 12px/1 var(--mono); color: var(--muted); margin-bottom: 10px; }

/* Contato */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.contact-copy > p { color: var(--muted); font-size: 18px; margin: 16px 0 28px; max-width: 46ch; }
.contact-alt { margin-top: 16px; color: var(--muted); font-size: 15px; }
.contact-alt a { color: var(--ink); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #c9ced8; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26, 75, 224, .18); }
.field.check { grid-template-columns: 24px 1fr; align-items: start; gap: 10px; }
.field.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.field.check label { font-weight: 400; font-size: 14px; color: var(--muted); }
.field.check .field-error { grid-column: 2; }
.field-error { color: #b42318; font-size: 13px; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; color: var(--muted); min-height: 1.4em; }

/* Grupo Aeria */
.group-band { background: var(--navy); color: var(--navy-ink); padding: 40px 0; }
.group-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 16px 32px; align-items: stretch; }
.group-grid h2 { font-size: 22px; align-self: center; padding-right: 16px; }
.group-card {
  display: grid; gap: 6px; text-decoration: none;
  padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .2s var(--ease), background-color .2s, border-color .2s;
}
.group-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); }
.group-card strong { font-weight: 500; font-size: 18px; }
.group-card span { color: var(--navy-muted); font-size: 15px; }

/* Rodapé */
.site-footer { background: #0d1b33; color: var(--navy-muted); padding: 36px 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.site-footer strong { color: #fff; font-weight: 500; font-size: 17px; }
.site-footer p { margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--navy-muted); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; font-size: 13px; }

/* ── Responsivo ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero h1 { max-width: 16ch; }
  .product-card.is-featured { grid-template-columns: 1fr; }
  .product-card.is-featured .product-shot { border-right: 0; border-bottom: 1px solid var(--line); }
  .group-grid { grid-template-columns: 1fr 1fr; }
  .group-grid h2 { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .product-grid, .steps, .examples ul, .contact-grid, .lab ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 30px; }
  .btn-sm { padding: 0 14px; font-size: 14px; }
  .actions .btn, .contact-copy .btn { width: 100%; }
  .group-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-body { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.product-card.is-featured .product-shot img { object-position: center; }
