/* ==========================================================================
   UP TECH 360 LTDA — folha de estilo principal
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-deep: #070c18;
  --ink: #101725;
  --ink-soft: #38435a;
  --muted: #616e85;
  --line: #e3e8f1;
  --brand: #1160f4;
  --brand-dark: #0a45bd;
  --brand-soft: #e9f0ff;
  --accent: #00b8d4;
  --accent-soft: #e2f8fc;
  --ok: #10a37f;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 23, 37, .06), 0 4px 14px rgba(16, 23, 37, .05);
  --shadow-md: 0 10px 40px rgba(16, 23, 37, .10);
  --wrap: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--bg-deep);
  color: #c4d0e6;
  font-size: .82rem;
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 26px;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .02em;
  display: grid; place-items: center;
}
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.brand-name small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-size: .93rem; font-weight: 500; }
.nav a:hover { color: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 44px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(17, 96, 244, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-block { width: 100%; }

/* ---------- Seções ---------- */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.03rem; margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 82% -12%, #10386e 0%, transparent 62%),
    radial-gradient(700px 400px at 8% 110%, #10254d 0%, transparent 60%),
    var(--bg-deep);
  color: #fff; padding: 80px 0 90px;
}
.hero .eyebrow { background: rgba(255, 255, 255, .1); color: #8ec7ff; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #59a6ff, #35e0f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #aebbd1; font-size: 1.08rem; max-width: 48ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.card-data {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg); padding: 26px 28px; backdrop-filter: blur(6px);
}
.card-data h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #8fa0c2; margin-bottom: 18px; }
.card-data dl { margin: 0; display: grid; gap: 14px; }
.card-data dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: #8797b7; }
.card-data dd { margin: 2px 0 0; color: #fff; font-weight: 600; font-size: .95rem; }

/* ---------- Faixa de confiança ---------- */
.trust { border-bottom: 1px solid var(--line); padding: 30px 0; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item .ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { font-size: .84rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .93rem; margin-bottom: 0; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.card .tag { font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.card ul { margin: 14px 0 0; padding-left: 20px; font-size: .9rem; color: var(--muted); }
.card ul li { margin-bottom: .35em; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #e4f6f1; color: var(--ok); font-size: .78rem; font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
}

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 830px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; padding: 18px 34px 18px 0;
  position: relative; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; color: var(--brand); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: .94rem; padding-bottom: 6px; margin-bottom: 8px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.contact-list strong { display: block; font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .93rem; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17, 96, 244, .14);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--brand), #00a6cc);
  color: #fff; border-radius: var(--radius-lg); padding: 52px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 52ch; }

/* ---------- Página de conteúdo (legais) ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 58px 0; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { margin-bottom: 0; color: var(--muted); }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

.legal { padding: 62px 0 80px; }
.legal .wrap { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.1em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal ul, .legal ol { padding-left: 22px; color: var(--ink-soft); margin: 0 0 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated {
  display: inline-block; font-size: .82rem; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 34px;
}
.callout {
  background: var(--brand-soft); border: 1px solid #d5e2ff; border-left: 4px solid var(--brand);
  border-radius: 10px; padding: 18px 22px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p { color: var(--ink); font-size: .94rem; }
.callout-accent { background: var(--accent-soft); border-color: #c9eef5; border-left-color: var(--accent); }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--bg-deep); color: #97a6c1; padding: 62px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { color: #97a6c1; font-size: .9rem; }
.site-footer a { color: #c2cee5; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #78869f; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: #7b8aa5;
}
.company-line { font-size: .84rem; line-height: 1.7; color: #8895b1; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4, .trust-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  section { padding: 62px 0; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .cta { padding: 38px 26px; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .trust-grid, .steps, .grid-2, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
}
