/* ==========================================================================
   Software Sob Medida: Design System
   ========================================================================== */

:root {
  /* Color */
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --bg-dark: #08111c;
  --bg-dark-alt: #0e1c2c;
  --ink: #10151c;
  --ink-soft: #4a5568;
  --ink-faint: #7c8797;
  --line: #e3e7ec;
  --line-dark: #1c2e40;
  --white: #ffffff;

  /* Brand colors, sampled from the sobmedida ribbon mark */
  --accent: #0067ba;       /* brand blue, primary */
  --accent-strong: #00518f;
  --accent-soft: #e5f1fb;
  --accent-ink: #052238;

  --teal: #0fc7b0;         /* brand teal, secondary accent */
  --teal-bright: #35e0c9;
  --teal-soft: #e0f9f4;

  --crimson: #e0004f;      /* brand crimson, sparing highlight/tag color */
  --crimson-soft: #fde7ee;

  --on-dark: #eef4f8;
  --on-dark-soft: #93a9bb;

  /* Type */
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 19, 0.06), 0 1px 1px rgba(16, 21, 19, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(16, 21, 19, 0.18);
  --shadow-lg: 0 24px 64px -20px rgba(16, 21, 19, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

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

section { position: relative; }

.section-pad { padding: 108px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 72px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.on-dark .eyebrow { color: var(--teal-bright); }
.on-dark .eyebrow::before { background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(53, 224, 201, 0.18); }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 650;
  color: var(--ink);
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.on-dark .section-head h2 { color: var(--on-dark); }
.on-dark .section-head p { color: var(--on-dark-soft); }

strong.accent { color: var(--accent-strong); font-weight: 650; }
.on-dark strong.accent { color: var(--teal-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.on-dark .btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.on-dark .btn-ghost:hover { border-color: var(--on-dark-soft); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand .logo-full {
  height: 40px;
  width: auto;
  display: block;
}
.brand .logo-dark { display: none; }
.brand .logo-light { display: block; }
.site-header.scrolled .brand .logo-dark { display: block; }
.site-header.scrolled .brand .logo-light { display: none; }
.site-footer .brand .logo-dark { display: none; }
.site-footer .brand .logo-light { display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--on-dark-soft);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--on-dark); background: rgba(255,255,255,0.08); }
.main-nav a.active { color: var(--teal-bright); background: rgba(53,224,201,0.14); }
.site-header.scrolled .main-nav a { color: var(--ink-soft); }
.site-header.scrolled .main-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.site-header.scrolled .main-nav a.active { color: var(--accent-strong); background: var(--accent-soft); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled .nav-toggle { border-color: var(--line); background: #fff; }
.nav-toggle span { width: 18px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease), background .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-primary.btn-sm { display: none; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px 28px 40px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 28px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: radial-gradient(120% 100% at 15% -10%, #16241a 0%, var(--bg-dark) 55%), var(--bg-dark);
  color: var(--on-dark);
  padding: 168px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 60px);
  font-weight: 680;
  color: var(--on-dark);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #35e0c9, #7ec4f2 45%, #35e0c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
  color: var(--on-dark-soft);
  max-width: 480px;
  line-height: 1.6;
}
.hero-trust strong { color: var(--on-dark); font-weight: 600; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  margin-bottom: 12px;
}
.hero-card-row:last-child { margin-bottom: 0; }
.hero-card-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); flex-shrink: 0; box-shadow: 0 0 0 5px rgba(53,224,201,0.18); }
.hero-card-row .txt { font-size: 14px; color: var(--on-dark-soft); }
.hero-card-row .txt b { color: var(--on-dark); font-weight: 600; }
.hero-card-badge {
  position: absolute;
  top: -18px; right: 20px;
  background: var(--teal);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(15,199,176,0.55);
}
.hero-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,103,186,0.35), transparent 70%);
  filter: blur(10px);
  top: -140px; right: -140px;
  pointer-events: none;
}

/* ==========================================================================
   Logo strip (trust bar right under hero)
   ========================================================================== */
.trustbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trustbar-inner { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: space-between; }
.trustbar-label { font-size: 13px; color: var(--ink-faint); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.trustbar-logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; opacity: 0.8; }
.trustbar-logos img { height: 30px; width: auto; filter: grayscale(1) contrast(1.4) brightness(0.7); opacity: 0.92; }

/* ==========================================================================
   Sobre / Pillars
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar .num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 18px; font-weight: 640; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ==========================================================================
   Serviços
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card.featured {
  background: linear-gradient(165deg, var(--accent-ink) 0%, #0a1c2e 65%, #081524 100%);
  border-color: transparent;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.service-card.featured::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px 220px at 90% -10%, rgba(53,224,201,0.22), transparent 70%);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card.featured .service-icon { background: rgba(255,255,255,0.1); color: var(--teal-bright); }
.service-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(224,0,79,0.18);
  color: #ff6b96;
  padding: 5px 12px;
  border-radius: 999px;
  position: relative;
}
.service-card h3 { font-size: 20px; font-weight: 640; position: relative; }
.service-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); position: relative; }
.service-card.featured p { color: var(--on-dark-soft); }

/* ==========================================================================
   Produtos
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
}
.product-card .service-icon { background: #fff; margin-bottom: 16px; }
.product-card h3 { font-size: 16.5px; font-weight: 640; margin-bottom: 4px; }
.product-card .sub { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.product-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ==========================================================================
   Diferenciais (accordion)
   ========================================================================== */
.diff-wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .diff-wrap { grid-template-columns: 1fr; gap: 36px; } }

.accordion-item {
  border-bottom: 1px solid var(--line-dark);
}
.accordion-item:first-child { border-top: 1px solid var(--line-dark); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.accordion-trigger .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  flex-shrink: 0;
  position: relative;
}
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--on-dark-soft);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-trigger .plus::before { width: 10px; height: 1.5px; }
.accordion-trigger .plus::after { width: 1.5px; height: 10px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.accordion-item.open .accordion-trigger .plus::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.accordion-item.open .accordion-trigger .plus { background: var(--teal-bright); border-color: var(--teal-bright); }
.accordion-item.open .accordion-trigger .plus::before, .accordion-item.open .accordion-trigger .plus::after { background: var(--accent-ink); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.accordion-panel p {
  color: var(--on-dark-soft);
  font-size: 14.5px;
  line-height: 1.65;
  padding: 0 2px 24px;
  max-width: 480px;
}

.diff-visual {
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.diff-stat { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.diff-stat:last-child { border-bottom: none; }
.diff-stat .n { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--on-dark); }
.diff-stat .n span { color: var(--teal-bright); }
.diff-stat .l { font-size: 13.5px; color: var(--on-dark-soft); margin-top: 4px; }

/* ==========================================================================
   Clientes
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 820px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

.client-tile {
  background: var(--bg);
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  transition: background .25s;
}
.client-tile:hover { background: var(--bg-alt); }
.client-tile img { max-height: 48px; max-width: 100%; filter: grayscale(1) contrast(1.4) brightness(0.7); opacity: 0.9; transition: filter .25s, opacity .25s; }
.client-tile:hover img { filter: grayscale(0); opacity: 1; }

.clients-note { margin-top: 22px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ==========================================================================
   Por que sob medida (tabs)
   ========================================================================== */
.tabs-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 40px;
  width: fit-content;
}
.tab-btn {
  background: none;
  border: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.tab-btn.active { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-sm); }

@media (max-width: 640px) { .tabs-bar { width: 100%; } .tab-btn { flex: 1 1 45%; } }

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; animation: fadeUp .4s var(--ease); }
@media (max-width: 900px) { .tab-panel.active { grid-template-columns: 1fr; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.reason-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--bg);
}
.reason-card .idx { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent-strong); margin-bottom: 10px; display: block; }
.reason-card h4 { font-size: 15.5px; font-weight: 640; margin-bottom: 8px; line-height: 1.4; }
.reason-card p { font-size: 13.8px; line-height: 1.55; color: var(--ink-soft); }
.reason-card.new-tag { border-color: var(--crimson); background: var(--crimson-soft); }
.reason-card .badge-new {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--crimson);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ==========================================================================
   Contato
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 40px; } }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item .service-icon { background: rgba(255,255,255,0.08); color: var(--teal-bright); }
.contact-info-item h4 { font-size: 15px; font-weight: 640; color: var(--on-dark); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 14.5px; color: var(--on-dark-soft); line-height: 1.5; }
.contact-info-item a:hover { color: var(--on-dark); }

.contact-form {
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--on-dark);
  font-size: 14.5px;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12.5px; color: var(--on-dark-soft); margin-top: 14px; line-height: 1.5; }
.form-status { font-size: 13.5px; margin-top: 14px; display: none; color: var(--ink-soft); }
.form-status.show { display: block; }
.form-status.success { color: var(--accent-strong); font-weight: 600; }
.form-status.error { color: var(--crimson); font-weight: 600; }

/* Honeypot anti-spam: fora da tela, mas não display:none — alguns bots
   ignoram campos ocultos por display/visibility. Também sai do fluxo de
   tabulação e de leitores de tela (tabindex="-1" + aria-hidden no wrapper). */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--on-dark-soft);
  padding: 48px 0 32px;
  border-top: 1px solid var(--line-dark);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.footer-social a:hover { border-color: var(--teal-bright); background: rgba(53,224,201,0.12); }
.footer-social svg { width: 16px; height: 16px; stroke: var(--on-dark-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.8px;
}
.footer-bottom a:hover { color: var(--on-dark); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Legal page (privacidade.html)
   ========================================================================== */
.legal-page { padding: 160px 0 100px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.legal-page .updated { color: var(--ink-faint); font-size: 13.5px; margin-bottom: 48px; }
.legal-page h2 { font-size: 19px; margin: 40px 0 12px; font-weight: 640; }
.legal-page p { color: var(--ink-soft); line-height: 1.75; font-size: 15px; margin-bottom: 14px; }
.legal-page a { color: var(--accent-strong); text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 30px; }
