/* ============================================================
   Tanzuh Tecnologia — redesign dark premium
   ============================================================ */

:root {
  --bg: #04090c;
  --bg-2: #050e13;
  --bg-3: #030709;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #eaf1f4;
  --text-2: rgba(234, 241, 244, 0.66);
  --text-3: rgba(234, 241, 244, 0.5);
  --green: #4fbe74;
  --green-deep: #1b8a3d;
  --cyan: #3fa0b8;
  --cyan-light: #7fc8da;
  --petrol: #1d7e97;

  --font-display: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--cyan-light); text-decoration: none; }
a:hover { color: #a9d6e2; }
::selection { background: var(--petrol); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
p { text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 12px 20px; background: var(--petrol); color: #fff;
  border-radius: 10px; font-weight: 600;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus-visible { top: 16px; }

/* animações */
@keyframes tz-marquee { to { transform: translateX(-50%); } }
@keyframes tz-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(79, 190, 116, 0.45); } 60% { box-shadow: 0 0 0 7px rgba(79, 190, 116, 0); } }
@keyframes tz-bar { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@keyframes tz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes tz-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes tz-drift { 0% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } 100% { transform: translate(0, 0); } }

/* layout */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding-block: clamp(80px, 10vw, 128px); }
.section-alt { background: rgba(255, 255, 255, 0.014); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }

.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 14px; }
.section-lead { font-size: clamp(1.02rem, 1rem + 0.3vw, 1.15rem); color: var(--text-2); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
              background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:hover, .btn:focus-visible { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: linear-gradient(92deg, var(--green-deep), #159a4a); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(27, 138, 61, 0.55);
}
.btn-accent:hover, .btn-accent:focus-visible { color: #fff; box-shadow: 0 16px 38px -10px rgba(27, 138, 61, 0.7); }

.btn-ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.32); }

.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--bg); }

.btn-outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--text); }
.btn-outline:hover, .btn-outline:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }

.btn-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-icon-brand { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover .btn-icon-brand { transform: none; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.site-header[data-stuck='true'] { background: rgba(4, 10, 13, 0.82); border-bottom-color: rgba(255, 255, 255, 0.09); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { height: 34px; width: auto; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(234, 241, 244, 0.72); font-size: 15px; font-weight: 500;
  transition: color 200ms var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { color: #fff; }
.nav-cta { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 14px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; color: var(--text); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars span {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 280ms var(--ease-out);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 28px; background: rgba(4, 12, 16, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 280ms;
  }
  .nav[data-open='true'] { transform: none; opacity: 1; visibility: visible; }
  .nav-link { min-height: 52px; font-size: 17px; color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-cta { margin-top: 16px; min-height: 50px; justify-content: center; }
}

/* hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(140px, 18vh, 190px) 0 clamp(72px, 9vw, 110px); }
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(110% 90% at 30% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(110% 90% at 30% 20%, #000 20%, transparent 78%);
}
.hero-glow-a {
  position: absolute; top: -220px; right: -140px; width: 640px; height: 640px; z-index: -3;
  border-radius: 50%; background: radial-gradient(circle, rgba(29, 126, 151, 0.22), transparent 65%);
  animation: tz-drift 14s ease-in-out infinite;
}
.hero-glow-b {
  position: absolute; bottom: -260px; left: -160px; width: 560px; height: 560px; z-index: -3;
  border-radius: 50%; background: radial-gradient(circle, rgba(27, 138, 61, 0.14), transparent 65%);
}
.hero-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 6vw, 72px); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 8px 14px; border: 1px solid rgba(79, 190, 116, 0.28); border-radius: 999px;
  background: rgba(27, 138, 61, 0.08);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: tz-pulse 2.4s ease-out infinite; }
.hero-title {
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.6rem); font-weight: 700;
  line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--cyan), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 54ch; font-size: clamp(1.06rem, 1rem + 0.4vw, 1.25rem); color: var(--text-2); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(40px, 6vw, 64px); }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px;
  padding-top: 28px; border-top: 1px solid var(--line); max-width: 620px;
}
.stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.stat-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.stat-value.is-accent { color: var(--green); }

/* painel do hero */
.hero-panel { position: relative; }
.panel {
  position: relative; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); overflow: hidden;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.panel-title { font-family: var(--font-mono); font-size: 12px; color: rgba(234, 241, 244, 0.55); }
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.panel-dots span:last-child { background: var(--green); }
.panel-body { padding: 18px; display: grid; gap: 12px; }

.panel-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: var(--surface-2);
  font-family: var(--font-mono); font-size: 12.5px; color: rgba(234, 241, 244, 0.78);
}
.panel-row .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); animation: tz-pulse 2.4s ease-out infinite; }
.panel-row .dot.is-cyan { background: var(--cyan); }
.panel-row .status { margin-left: auto; font-size: 11px; color: var(--green); }
.panel-row .status.is-cyan { color: var(--cyan); }

.panel-chart { padding: 16px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: var(--surface-2); }
.panel-chart-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.panel-bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.panel-bars span {
  flex: 1; height: 100%; border-radius: 4px 4px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--petrol), rgba(29, 126, 151, 0.25));
  animation: tz-bar 3.2s ease-in-out infinite;
}
.panel-bars span:nth-child(2) { animation-delay: 0.3s; }
.panel-bars span:nth-child(3) { animation-delay: 0.6s; background: linear-gradient(180deg, #26909f, rgba(38, 144, 159, 0.25)); }
.panel-bars span:nth-child(4) { animation-delay: 0.9s; background: linear-gradient(180deg, #2fa382, rgba(47, 163, 130, 0.25)); }
.panel-bars span:nth-child(5) { animation-delay: 1.2s; background: linear-gradient(180deg, #38b163, rgba(56, 177, 99, 0.25)); }
.panel-bars span:nth-child(6) { animation-delay: 1.5s; background: linear-gradient(180deg, var(--green), rgba(79, 190, 116, 0.25)); }

.panel-float {
  position: absolute; top: -18px; right: clamp(-8px, -1vw, 18px);
  padding: 12px 18px; border: 1px solid rgba(79, 190, 116, 0.3); border-radius: 12px;
  background: rgba(6, 26, 20, 0.92); backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
  animation: tz-float 5.5s ease-in-out infinite;
}
.panel-float-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.panel-float-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--green); }
.panel-float-value .cursor { animation: tz-blink 1.1s step-end infinite; }

/* clientes / marquee */
.proof { padding-block: clamp(48px, 6vw, 72px); border-block: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.014); overflow: hidden; }
.proof-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(234, 241, 244, 0.45); text-align: center; margin-bottom: 28px; font-weight: 400;
}
.marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-inner { display: flex; gap: 12px; width: max-content; animation: tz-marquee 45s linear infinite; }
.marquee:hover .marquee-inner, .marquee:focus-within .marquee-inner { animation-play-state: paused; }
.marquee-track { display: flex; gap: 12px; padding: 0 6px; }
.client-chip {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2);
  font-size: 15px; font-weight: 500; color: rgba(234, 241, 244, 0.75); white-space: nowrap;
}
.client-chip span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.07em;
  padding: 3px 8px; border-radius: 999px; background: rgba(29, 126, 151, 0.18); color: var(--cyan-light);
}

/* serviços */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); overflow: hidden;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), background-color 280ms var(--ease-out);
}
.card:hover { transform: translateY(-5px); border-color: rgba(63, 160, 184, 0.45); background: rgba(255, 255, 255, 0.04); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #06141b; }
.card-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 9, 12, 0.9)); }
.card-body { padding: 26px 26px 30px; flex: 1; }
.card-index { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 12px; }
.card-title { font-size: 1.3rem; margin-bottom: 10px; }
.card-text { font-size: 15px; color: var(--text-2); margin-bottom: 18px; }
.card-list { display: grid; gap: 9px; }
.card-list li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: rgba(234, 241, 244, 0.72); }
.card-list li::before { content: ''; width: 12px; height: 2px; flex: none; border-radius: 2px; background: var(--green); transform: translateY(-3px); }

.section-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding: 22px 30px;
  border: 1px solid rgba(63, 160, 184, 0.28); border-radius: 16px; background: rgba(29, 126, 151, 0.08);
}
.section-cta p { font-weight: 500; color: rgba(234, 241, 244, 0.85); }
.section-cta .btn { min-height: 48px; padding: 0 24px; font-size: 14.5px; }
.btn:hover { color: inherit; }
.btn-light:hover { color: var(--bg); }
.btn-accent:hover { color: #fff; }

/* processo */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.step {
  padding: 30px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.step:hover { transform: translateY(-4px); border-color: rgba(79, 190, 116, 0.4); }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  margin-bottom: 18px; border-radius: 12px;
  background: linear-gradient(140deg, #0f4c5c, #062a34); border: 1px solid rgba(63, 160, 184, 0.35);
  color: var(--cyan-light); font-family: var(--font-mono); font-size: 15px;
}
.step:last-child .step-num { background: linear-gradient(140deg, #12722f, #06301a); border-color: rgba(79, 190, 116, 0.4); color: var(--green); }
.step-title { font-size: 1.08rem; margin-bottom: 8px; }
.step-text { font-size: 14.5px; color: var(--text-2); }

/* sobre */
.sobre-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 72px); align-items: center;
}
.sobre-copy p { font-size: clamp(1.02rem, 1rem + 0.3vw, 1.15rem); color: var(--text-2); margin-bottom: 16px; }
.sobre-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sobre-chips span {
  display: inline-flex; align-items: center; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: var(--surface-2);
  font-family: var(--font-mono); font-size: 12px; color: rgba(234, 241, 244, 0.7);
}
.sobre-values { display: grid; gap: 14px; }
.value-card { padding: 26px 28px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 14px; background: var(--surface); }
.value-card:nth-child(2) { border-left-color: var(--cyan); }
.value-card:nth-child(3) { border-left-color: var(--cyan-light); }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { font-size: 14.5px; color: var(--text-2); }

/* cta band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(72px, 9vw, 110px); border-top: 1px solid var(--line-soft);
  background: radial-gradient(90% 140% at 88% 0%, rgba(27, 138, 61, 0.2), transparent 60%),
              radial-gradient(70% 120% at 4% 100%, rgba(29, 126, 151, 0.24), transparent 62%),
              var(--bg-2);
}
.cta-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 36px; align-items: center;
}
.cta-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 12px; }
.cta-text { max-width: 52ch; color: var(--text-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* contato */
.contato-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 5vw, 64px); align-items: start;
}
.contato-lead { margin-bottom: 36px; }
.contato-list { display: grid; gap: 22px; }
.contato-list li { display: flex; gap: 14px; align-items: flex-start; }
.contato-ico {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none;
  border-radius: 11px; background: rgba(29, 126, 151, 0.15); border: 1px solid rgba(63, 160, 184, 0.3); color: var(--cyan-light);
}
.contato-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contato-rot {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: rgba(234, 241, 244, 0.45); margin-bottom: 2px;
}
/* alvo de toque: WCAG 2.5.8 exige 24x24 no minimo */
.contato-list a { display: inline-flex; align-items: center; min-height: 28px; color: var(--text); font-weight: 500; }
.contato-list a:hover { color: #fff; }
.contato-addr { color: rgba(234, 241, 244, 0.75); }

.contato-form {
  display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: rgba(234, 241, 244, 0.85); }
.field-opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 12px 14px;
  background: rgba(4, 9, 12, 0.6); border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px; font-size: 16px; color: #fff; outline: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 160, 184, 0.2);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FC8DA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field select option { color: #04090c; background: #fff; }
.field-hint { font-size: 13px; color: var(--text-3); }
.field-error { font-size: 13px; font-weight: 500; color: #f87171; }
.field[data-invalid='true'] input, .field[data-invalid='true'] textarea { border-color: #ef4444; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-actions .btn { min-height: 50px; }
.form-note { font-size: 13px; color: var(--text-3); }

/* footer */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: var(--bg-3); padding-block: clamp(56px, 7vw, 80px) 32px; font-size: 15px; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-h {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 28px; color: var(--text-2); }
.footer-col a:hover, .footer-col a:focus-visible { color: #fff; }
.footer-legal { gap: 12px !important; }
.footer-legal li { font-size: 13px; line-height: 1.6; color: var(--text-3); }
.footer-legal span {
  display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.09em;
  text-transform: uppercase; color: rgba(234, 241, 244, 0.35);
}
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: rgba(234, 241, 244, 0.45); }

/* whatsapp fab */
.whatsapp-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90;
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #06301a;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.55);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { color: #06301a; transform: scale(1.08); box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.7); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: currentColor; }

/* reveal no scroll */
.js [data-reveal] { opacity: 0; }

/* movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-inner { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ============================================================
   Banner de consentimento (LGPD)
   ============================================================ */
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.consent {
  position: fixed;
  left: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 120;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 14, 19, 0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.consent[data-open='true'] { opacity: 1; transform: none; }

.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 18px clamp(16px, 3vw, 26px);
}
.consent-text { flex: 1 1 340px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.consent-text a { color: var(--cyan-light); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* o botão flutuante do WhatsApp não pode ficar embaixo do banner */
.consent[data-open='true'] ~ .whatsapp-fab { transform: translateY(-92px); }

@media (max-width: 560px) {
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}

/* ============================================================
   Páginas internas: legal e 404
   ============================================================ */
.legal { padding-block: calc(var(--header-h) + 64px) 96px; }
.legal-inner { max-width: 820px; }
.legal-title { font-size: clamp(32px, 5vw, 52px); margin-block: 8px 10px; }
.legal-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); margin-bottom: 48px; }

.legal-body h2 {
  font-size: clamp(19px, 2vw, 23px);
  margin-block: 44px 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p { margin-bottom: 14px; color: var(--text-2); }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul { display: grid; gap: 8px; margin-bottom: 16px; }
.legal-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 10px; height: 1px;
  background: var(--green);
}

.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.legal-table th, .legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  color: var(--text-2);
}
.legal-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface);
}
.legal-table-wrap { overflow-x: auto; }

.legal-back { margin-top: 56px; }
.legal-back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.erro {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}
/* NAO por max-width aqui: o elemento tambem e .container (margin-inline:auto)
   e limitar a largura o centralizaria. A medida vai nos filhos. */
.erro-inner { position: relative; }
.erro-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--green);
  margin-bottom: 18px;
}
.erro-title { font-size: clamp(34px, 6vw, 60px); max-width: 14ch; margin-bottom: 16px; }
.erro-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); margin-bottom: 34px; max-width: 52ch; }

@media (prefers-reduced-motion: reduce) {
  .consent { transition-duration: 0.001ms; }
}
