/* ==========================================================================
   Futuron Labs — estilos globais
   Mobile first. Sem frameworks.
   ========================================================================== */

:root {
  --navy: #0B1B3A;
  --navy-2: #13284F;
  --navy-3: #1C3566;
  --accent: #19C3B2;
  --accent-dark: #0B7A6F;   /* versão escura do destaque para texto sobre fundo claro (contraste AA) */
  --accent-soft: #E3F7F5;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --text: #1A2233;
  --muted: #4A5568;
  --border: #E2E8F0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .04), 0 8px 24px rgba(11, 27, 58, .06);
  --container: 1120px;
  --header-h: 68px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #3DD3C4; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--border); color: var(--navy); background: var(--surface); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
/* O desfoque fica num pseudo-elemento: backdrop-filter no próprio cabeçalho
   prenderia o menu móvel (position: fixed) dentro dele. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}
.logo:hover { color: var(--navy); }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo strong { font-weight: 800; }
.logo span { font-weight: 400; color: var(--muted); margin-left: .2rem; }
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: #A9B7D0; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: var(--surface);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  padding: .9rem .75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 550;
  font-size: 1.1rem;
  text-decoration: none;
}
.main-nav a:hover { color: var(--accent-dark); }
.main-nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 700; }
.main-nav .nav-cta { margin-top: 1.25rem; border: 0; }
.main-nav .nav-cta a { border: 0; text-align: center; color: #fff; }

body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .main-nav ul { display: flex; align-items: center; gap: .25rem; }
  .main-nav a {
    padding: .5rem .8rem;
    border: 0;
    border-radius: 999px;
    font-size: .95rem;
  }
  .main-nav a[aria-current="page"] { background: var(--accent-soft); }
  .main-nav .nav-cta { margin: 0 0 0 .75rem; }
  .main-nav .nav-cta a { min-height: 42px; padding: .5rem 1.15rem; background: var(--navy); }
  .main-nav .nav-cta a:hover { background: var(--navy-3); color: #fff; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #D5DEEE;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { padding: 72px 0 80px; max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: #C3CEE2; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: currentColor;
}
.hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow { color: var(--accent); }

.hero-art {
  position: absolute;
  right: -180px; top: 50%;
  width: 560px; height: 560px;
  transform: translateY(-50%);
  opacity: .35;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-inner { padding: 112px 0 120px; }
  .hero-art { right: -120px; opacity: .55; }
}
@media (min-width: 1100px) {
  .hero-art { right: 0; opacity: 1; width: 520px; height: 520px; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #C3CEE2;
}
.page-hero-inner { position: relative; z-index: 1; padding: 56px 0 60px; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.8rem); }
.page-hero p { font-size: 1.1rem; margin: 0; }
.page-hero .grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(25, 195, 178, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 195, 178, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
@media (min-width: 768px) { .page-hero-inner { padding: 80px 0 84px; } }

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (min-width: 768px) { .section { padding: 104px 0; } }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(25, 195, 178, .55); transform: translateY(-2px); }
.card p { margin: 0; color: var(--muted); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

/* Etapas */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 28px 24px 24px;
  border-top: 3px solid var(--accent);
  background: var(--bg);
  border-radius: 0 0 var(--radius) var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: .75rem;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent-dark);
}
.step p { margin: 0; color: var(--muted); }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
  border-radius: 20px;
  background: var(--navy);
  color: #C3CEE2;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { max-width: 560px; margin: 0 auto 1.75rem; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(25, 195, 178, .25);
  pointer-events: none;
}
.cta::before { width: 320px; height: 320px; left: -120px; top: -160px; }
.cta::after { width: 420px; height: 420px; right: -180px; bottom: -240px; }
.cta > * { position: relative; }
@media (min-width: 768px) { .cta { padding: 72px 48px; } }

/* Split / texto */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.lead { font-size: 1.15rem; color: var(--text); }
.text-muted { color: var(--muted); }

.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .value-list { grid-template-columns: repeat(2, 1fr); } }
.value-list li {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-list h3 { display: flex; align-items: center; gap: .6rem; }
.value-list h3::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--accent);
  flex-shrink: 0;
}
.value-list p { margin: 0; color: var(--muted); }

.panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #C3CEE2;
}
.panel-dark h2, .panel-dark h3 { color: #fff; }

.notice {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 122, 111, .2);
  color: var(--text);
}
.notice svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent-dark); margin-top: 2px; }
.notice p { margin: 0; }
.notice p + p { margin-top: .5rem; }

/* Produtos — estado vazio */
.coming-soon {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px dashed #C7D2E0;
  border-radius: 20px;
  text-align: center;
}
.coming-soon svg { width: 140px; height: 140px; margin: 0 auto; }
.coming-soon h2 { margin-bottom: .4rem; }
.coming-soon p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
@media (min-width: 768px) {
  .coming-soon { grid-template-columns: auto 1fr; padding: 56px; text-align: left; }
  .coming-soon svg { width: 180px; height: 180px; }
  .coming-soon p { margin: 0; }
}

/* --------------------------------------------------------------------------
   Contato e formulário
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 380px 1fr; gap: 40px; } }

.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .card-icon { margin: 0; width: 44px; height: 44px; }
.contact-list strong { display: block; color: #fff; }
.contact-list a { color: var(--accent); word-break: break-all; }
.contact-list a:hover { color: #fff; }
.contact-list small { display: block; color: #A9B7D0; font-size: .88rem; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.field .req { color: #B42318; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .9rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(25, 195, 178, .3);
}
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { min-height: 1.2em; margin: 0; font-size: .86rem; color: #B42318; }
.field-hint { margin: 0; font-size: .86rem; color: var(--muted); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--muted); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-dark); flex-shrink: 0; }
.form-status { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 550; }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--accent-soft); color: #075B52; }
.form-status.is-error { background: #FEF3F2; color: #B42318; }

/* --------------------------------------------------------------------------
   Páginas legais
   -------------------------------------------------------------------------- */
.legal { display: grid; gap: 40px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 260px 1fr; gap: 56px; } }

.toc {
  align-self: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .92rem; }
.toc li { margin: .3rem 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-dark); text-decoration: underline; }
@media (min-width: 1000px) {
  .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
}

.prose { max-width: 760px; min-width: 0; }
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.6rem;
  padding-top: .5rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; font-size: 1.08rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin: .4rem 0; }
.prose strong { color: var(--navy); }
.updated {
  display: inline-block;
  margin-bottom: 2rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #075B52;
  font-size: .9rem;
  font-weight: 600;
}

.table-wrap { overflow-x: auto; margin: 0 0 1.25em; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .94rem; background: var(--surface); }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table-wrap th { background: var(--bg); color: var(--navy); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }

.howto { list-style: none; margin: 0 0 1.5em; padding: 0; counter-reset: howto; }
.howto li {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 18px 18px 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.howto li::before {
  counter-increment: howto;
  content: counter(howto);
  position: absolute;
  left: 18px; top: 16px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-weight: 800;
}
.howto strong { display: block; margin-bottom: .2rem; }

.email-template {
  margin: 0 0 1.5em;
  padding: 18px 20px;
  background: var(--navy);
  color: #D5DEEE;
  border-radius: var(--radius-sm);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .9rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #A9B7D0;
  font-size: .95rem;
}
.footer-top { display: grid; gap: 36px; padding: 56px 0 40px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-about p { margin: 1rem 0 0; max-width: 320px; }
.site-footer h2 {
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .5rem 0; }
.site-footer a { color: #C3CEE2; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: #C3CEE2;
  font: inherit;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { color: #8494B2; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --------------------------------------------------------------------------
   Banner de cookies
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  max-width: 560px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(11, 27, 58, .2);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1rem; margin-bottom: .4rem; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { min-height: 44px; padding: .55rem 1.2rem; font-size: .92rem; }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* Página 404 */
.not-found { text-align: center; padding: 96px 0; }
.not-found .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; color: var(--accent-dark); line-height: 1; margin-bottom: .5rem; }
