/* KesiAGV — landing page
   Base: Apple (diagramação, tipografia, respiro) · Cores: AGV (azul #0029BC / laranja #FFA811) */

:root {
  --blue: #0029bc;
  --blue-600: #0136d6;
  --blue-deep: #001b5e;
  --blue-ink: #041033;
  --orange: #ffa811;
  --ocre: #b8790c;
  --ocre-light: #ffb01f;
  --kesi-light: #7aa2ff;
  --green: #25d366;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: rgba(0, 0, 0, 0.09);
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.05; margin: 0; font-weight: 700; }

.wrap { width: min(1120px, 100% - 44px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 44px); }
.muted { color: #86868b; }
.muted-body { color: var(--ink-2); font-size: 19px; max-width: 46ch; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(8, 14, 38, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s var(--ease);
}
.nav-inner {
  width: min(1120px, 100% - 44px); margin-inline: auto;
  height: 52px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(145deg, #2b57ff, var(--blue));
  display: grid; place-items: center; font-size: 15px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 14px rgba(0, 41, 188, 0.45);
}
.logo-text { font-size: 17px; letter-spacing: -0.02em; display: inline-flex; gap: 1px; }
.logo-text .l-kesi { color: var(--kesi-light); }
.logo-text .l-agv { color: var(--ocre-light); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, 0.82); font-size: 13.5px; letter-spacing: 0; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.btn-ghost { color: #fff; font-size: 13.5px; opacity: 0.85; }
.btn-ghost:hover { opacity: 1; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: #241500;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  padding: 15px 30px; border-radius: 980px; border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  box-shadow: 0 10px 30px rgba(255, 168, 17, 0.28);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(255, 168, 17, 0.36); background: #ffb62f; }
.btn:active { transform: scale(0.985); }
.btn-small { font-size: 13.5px; padding: 9px 18px; box-shadow: none; }
.btn-full { width: 100%; margin-top: 6px; }
.btn-wa { background: var(--green); color: #04240f; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { background: #1ebe5d; }
.btn-link { color: #fff; font-size: 17px; opacity: 0.9; }
.btn-link:hover { opacity: 1; }
.btn-link span { color: var(--orange); }

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #0a2ea8 0%, #001b5e 45%, #000d2e 100%);
  color: #fff;
  padding: 148px 0 0;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 620px; height: 620px; background: rgba(0, 74, 255, 0.55); top: -240px; left: 50%; transform: translateX(-62%); }
.glow-b { width: 460px; height: 460px; background: rgba(255, 168, 17, 0.18); top: 120px; right: -140px; }
.hero-inner { position: relative; z-index: 2; text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: #8fb0ff; text-transform: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 980px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin: 0 0 26px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.eyebrow.dark { color: var(--blue); background: rgba(0, 41, 188, 0.07); border-color: rgba(0, 41, 188, 0.12); }
.eyebrow.dark::before { background: var(--orange); box-shadow: none; }

.hero h1 {
  font-size: clamp(42px, 7.6vw, 88px);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.02;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #fff 30%, #b9c8ef 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #7fa2ff 0%, #ffffff 40%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  font-size: clamp(17px, 2.1vw, 21px); color: #bfcdf0; max-width: 640px;
  margin: 0 auto 34px; line-height: 1.5; letter-spacing: -0.012em;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.hero-stats {
  list-style: none; display: flex; justify-content: center; gap: clamp(20px, 6vw, 72px);
  margin: 64px 0 54px; padding: 0; flex-wrap: wrap;
}
.hero-stats li { text-align: center; min-width: 110px; }
.hero-stats strong { display: block; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.04em; line-height: 1; }
.hero-stats span { display: block; font-size: 13px; color: #93a6d4; margin-top: 8px; letter-spacing: 0; }
.hero-strip { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); }
.strip-inner {
  display: flex; gap: 34px; justify-content: center; flex-wrap: wrap;
  padding: 18px 0; font-size: 12.5px; color: #9fb2dd; letter-spacing: 0.02em;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner span::before { content: "✓"; color: var(--green); font-size: 11px; }

/* ---------------- sections ---------------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tint { background: var(--bg-alt); }
.h2 { font-size: clamp(32px, 4.6vw, 56px); margin: 14px 0 44px; font-weight: 700; }
.eyebrow.dark + .h2 { margin-top: 14px; }
.grid-cards {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px 32px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07); }
.card.big { grid-column: span 3; background: linear-gradient(120deg, #f7f9ff, #eef3ff); border-color: rgba(0, 41, 188, 0.12); }
.card.big h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.card.big p { max-width: 54ch; }
.card-icon { font-size: 26px; margin-bottom: 18px; filter: saturate(0.9); }
.card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.025em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step-n { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; }
.steps h3 { font-size: 20px; margin: 14px 0 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------------- cotação ---------------- */
.quote-section { background: linear-gradient(180deg, #fff 0%, #f2f5ff 100%); }
.quote-wrap { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink); align-items: flex-start; }
.check-list li::before {
  content: "✓"; flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: rgba(37, 211, 102, 0.14); color: #128a41; font-size: 11px;
  display: grid; place-items: center; margin-top: 3px; font-weight: 700;
}
.quote-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 26px; padding: 28px 26px 26px;
  box-shadow: 0 24px 70px rgba(9, 30, 90, 0.12), 0 2px 6px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(20px);
  position: sticky; top: 76px;
}
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.progress-bar { flex: 1; height: 4px; border-radius: 4px; background: #e8eaf0; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 50%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #3d6bff); transition: width 0.45s var(--ease); }
.progress-label { font-size: 11.5px; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }
.step-title { font-size: 25px; letter-spacing: -0.03em; margin-bottom: 6px; }
.step-sub { margin: 0 0 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.back-link { background: none; border: 0; padding: 0; color: var(--blue); font-size: 13.5px; cursor: pointer; margin-bottom: 12px; font-weight: 500; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; letter-spacing: 0; }
.field small { font-weight: 400; color: #a1a1a6; }
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #d8dbe4; border-radius: 12px;
  padding: 13px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 41, 188, 0.1); }
.field input::placeholder { color: #a8adb9; }
.field.invalid input { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.1); }
.err { display: none; font-size: 12px; color: #d93036; font-style: normal; margin-top: 5px; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.micro { font-size: 11.5px; color: #8e8e93; text-align: center; margin: 12px 0 0; line-height: 1.4; }
.hidden { display: none !important; }
.success-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(37, 211, 102, 0.15); color: #0f8f43; font-size: 24px; margin-bottom: 18px;
}

/* faq */
.faq {
  border-bottom: 1px solid var(--line); padding: 20px 0; cursor: pointer;
}
.faq summary { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }

/* footer */
.footer { background: #070d1f; color: #fff; padding: 56px 0 34px; }
.footer-inner { display: grid; gap: 26px; grid-template-columns: 1fr auto; align-items: start; }
.footer-logo { font-size: 19px; font-weight: 600; display: inline-flex; gap: 1px; }
.footer-logo .l-kesi { color: var(--kesi-light); }
.footer-logo .l-agv { color: var(--ocre-light); }
.footer-note { color: #7d8bb0; font-size: 12.5px; margin: 10px 0 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #b9c4de; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; color: #63708f; font-size: 11.5px; margin: 22px 0 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-card { position: static; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .card.big { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow, .nav-inner { width: calc(100% - 36px); }
  .hero { padding-top: 110px; }
  .hero-stats { gap: 10px; margin: 40px 0 34px; justify-content: space-between; }
  .hero-stats li { min-width: 0; flex: 1; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats span { font-size: 11px; line-height: 1.3; }
  .grid-cards { grid-template-columns: 1fr; }
  .card.big { grid-column: span 1; }
  .quote-card { padding: 24px 20px; border-radius: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 10px; margin-left: auto; }
  .nav-actions .btn-ghost { font-size: 12.5px; }
  .logo-text { font-size: 15px; }
  .section { padding: 64px 0; }
  .strip-inner { gap: 12px 20px; justify-content: flex-start; padding: 16px 0; }
  .strip-inner span { font-size: 11.5px; }
  .h2 { margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* nav sólida ao rolar (seções claras) */
.nav.solid { background: rgba(255, 255, 255, 0.86); border-bottom-color: rgba(0, 0, 0, 0.07); }
.nav.solid .logo-text, .nav.solid .btn-ghost, .nav.solid .nav-links a { color: #1d1d1f; }
.nav.solid .logo-text .l-kesi { color: var(--blue); }
.nav.solid .logo-text .l-agv { color: var(--ocre); }
.nav.solid .nav-links a { color: #4a4a4f; }
.nav.solid .nav-links a:hover { color: #000; }
