/* Porto Labs — landing page */

:root {
  --bg: #0a0a0a;
  --surface: #0d0d0f;
  --surface-2: #0e0e10;
  --line: #1f1f1f;
  --line-2: #222222;
  --line-3: #262626;
  --text: #d1d5db;
  --text-nav: #c4c4cc;
  --muted: #a1a1aa;
  --dim: #71717a;
  --footer-dim: #8a8a93;
  --white: #ffffff;

  --red: #ff2a42;
  --orange: #ff6b00;
  --amber: #ffa04d;
  --pink: #ff4d6d;
  --blue: #049eff;
  --blue-light: #4fb3ff;
  --blue-pale: #9ccaff;
  --peach: #ffb693;
  --rose: #ffb3b0;

  --ink: #120306;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Geist', Helvetica, sans-serif;
  --font-mono: 'Geist Mono', monospace;

  --brand-line: linear-gradient(90deg, #049eff 0%, #ff2a42 45%, #ff6b00 75%, #ffa04d 100%);
  --warm-band: linear-gradient(120deg, #ff8a3d 0%, #ff6b00 25%, #ff2a42 62%, #ff4d6d 100%);

  /* Fluid layout: content grows with the viewport, side gutters scale too */
  --container: 1600px;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --col-gap: clamp(2.5rem, 5vw, 7rem);
}

/* Scale type and rem-based spacing up on large screens */
@media (min-width: 1600px) { html { font-size: 17px; } }
@media (min-width: 1900px) { html { font-size: 18px; } }
@media (min-width: 2400px) { html { font-size: 20px; } :root { --container: 1920px; } }

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { color: var(--white); font-weight: 600; }

.page { min-height: 100vh; overflow: hidden; }

/* Acessibilidade: foco visível no teclado e atalho para pular o menu */
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 2px; }
.band-warm :focus-visible { outline-color: var(--ink); }
[tabindex="-1"]:focus { outline: none; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--white);
  color: var(--bg);
  border-radius: 4px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

/* ---------- Layout ---------- */

.container { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-pad { padding-top: 6rem; padding-bottom: 6rem; }

.z { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); align-items: center; }
.z.rev .vis { order: -1; }
/* Seções sem rótulo: título alinhado ao topo do bloco ao lado (o -0.1em compensa o respiro da fonte) */
.z--top { align-items: start; }
.z--top .h2 { margin-top: -0.1em; }
@media (max-width: 900px) {
  .z { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .z.rev .vis { order: 0; }
}

.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.25rem; }

.brand-line { height: 3px; background: var(--brand-line); }
.brand-line--footer { height: 4px; }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow--sm { font-size: 0.78rem; }
.eyebrow--xs { font-size: 0.75rem; }
.eyebrow--peach { color: var(--peach); }
.eyebrow--pale { color: var(--blue-pale); }
.eyebrow--rose { color: var(--rose); }

.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--white);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
}
.h2--ink { color: var(--ink); }
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}
.lead { font-size: 1.08rem; color: var(--muted); }

.grad {
  background: linear-gradient(90deg, #ff2a42 0%, #ff6b00 60%, #ffa04d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-blue {
  background: linear-gradient(90deg, #4fb3ff 0%, #049eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Modo de alto contraste do Windows: texto em gradiente sumiria */
@media (forced-colors: active) {
  .grad, .grad-blue { background: none; -webkit-text-fill-color: currentColor; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--red); color: var(--bg); font-weight: 600; }
.btn-primary:hover { background: var(--orange); color: var(--bg); box-shadow: 0 0 22px rgba(255, 107, 0, 0.55); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn--lg { min-height: 54px; padding: 0 1.6rem; }

@media (prefers-reduced-motion: no-preference) {
  .lift { transition: transform .2s ease; }
  .lift:hover { transform: translateY(-3px); }
}

/* ---------- Header / hero ---------- */

.hero {
  position: relative;
  background-image:
    radial-gradient(ellipse 55% 70% at 88% 60%, rgba(255,107,0,0.42) 0%, rgba(255,42,66,0.22) 35%, rgba(255,77,109,0.10) 55%, rgba(10,10,10,0) 75%),
    radial-gradient(ellipse 45% 55% at 5% 0%, rgba(4,158,255,0.28) 0%, rgba(4,158,255,0) 70%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}
.site-header { padding-top: clamp(1.25rem, 2vw, 2rem); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.logo { display: flex; align-items: center; }
/* Logo acompanha a escala do layout: ~34px no celular, até ~52px em telas grandes */
.logo img { display: block; height: clamp(34px, 2.8vw, 52px); width: auto; max-width: 100%; object-fit: contain; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.6rem; font-size: 0.9rem; }
.site-nav a { color: var(--text-nav); }
.site-nav a:hover { color: var(--white); }
.site-nav .btn { min-height: 44px; margin-left: 0.4rem; padding: 0 1.1rem; border-radius: 6px; font-size: 0.88rem; color: var(--bg); }

/* Menu mobile */
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
@media (max-width: 900px) {
  .has-menu .site-header__inner { position: relative; flex-wrap: nowrap; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--white);
    cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--white); }
  .has-menu .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(13, 13, 15, 0.97);
    border: 1px solid var(--line-3);
    border-radius: 8px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
    font-size: 1rem;
  }
  .has-menu.is-open .site-nav { display: flex; }
  .has-menu.is-open .nav-toggle__open { display: none; }
  .has-menu.is-open .nav-toggle__close { display: inline; }
  .has-menu .site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: 4px; }
  .has-menu .site-nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); }
  .has-menu .site-nav .btn { margin: 0.5rem 0 0; justify-content: center; font-size: 0.95rem; }
}

/* Âncoras: deixam o título do bloco visível ao pular para um item */
[id] { scroll-margin-top: 1.5rem; }
.feature-list li[id] { scroll-margin-top: 12rem; }

.hero__body { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(5rem, 8vw, 8rem); }
/* Give the headline more room so it wraps in fewer lines on wide screens */
@media (min-width: 901px) { .hero__body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero__body .h1 { font-size: clamp(2.6rem, 4.8vw, 5.2rem); }
.hero__copy { display: flex; flex-direction: column; gap: 1.75rem; }
.hero__lead { max-width: 34rem; font-size: 1.15rem; line-height: 1.6; color: var(--text-nav); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Dashboard mockup */
.mock-frame {
  padding: 1px;
  border-radius: 8px;
  background: linear-gradient(135deg, #049eff 0%, rgba(4,158,255,0.2) 30%, rgba(255,107,0,0.3) 70%, #ff2a42 100%);
  box-shadow: 0 30px 90px -30px rgba(255,107,0,0.55), 0 0 60px -20px rgba(4,158,255,0.35);
}
.mock { border-radius: 7px; background: var(--surface); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.mock__dot { width: 10px; height: 10px; border-radius: 2px; }
.mock__url { margin-left: 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); }
.mock__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mock__kpi { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.1rem; background: var(--surface); }
.mock__label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.mock__meter { height: 6px; border-radius: 2px; }
.mock__chart { display: flex; align-items: end; gap: 0.5rem; height: clamp(170px, 14vw, 280px); padding: 1.5rem 1.1rem 1.1rem; border-top: 1px solid var(--line); }
.bar { flex: 1; border-radius: 2px 2px 0 0; }
.bar--hot { background: linear-gradient(180deg, #ffa04d, #ff2a42); box-shadow: 0 0 18px rgba(255,107,0,0.55); }

.fill-blue { background: linear-gradient(90deg, #049eff, #4fb3ff); }
.fill-warm { background: linear-gradient(90deg, #ff2a42, #ff6b00); }
.fill-pink { background: linear-gradient(90deg, #ff4d6d, #ff6b00); }

/* ---------- Soluções ---------- */

.section-intro {
  padding-top: 6rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.section-intro .h2 { max-width: 22ch; }
.section-intro p:last-child { max-width: 36rem; font-size: 1.1rem; color: var(--muted); }

.solution-row { padding-top: 4rem; padding-bottom: 4rem; }
.solution-row--last { padding-bottom: 6rem; }

.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; gap: 0.9rem; }
.feature-list li > span:last-child > span { color: var(--muted); }
.bullet { margin-top: 0.5rem; width: 8px; height: 8px; flex-shrink: 0; border-radius: 2px; }

.panel {
  position: relative;
  padding: 2rem;
  min-height: 22rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.panel--warm { background: linear-gradient(140deg, #ff8a3d 0%, #ff2a42 55%, #ff4d6d 100%); box-shadow: 0 30px 80px -30px rgba(255,42,66,0.55); flex-direction: row; flex-wrap: wrap; align-items: center; }
.panel--blue { background: linear-gradient(150deg, #0a4d87 0%, #049eff 55%, #4fb3ff 100%); box-shadow: 0 30px 80px -30px rgba(4,158,255,0.55); }
.panel--amber { background: linear-gradient(140deg, #ffa04d 0%, #ff6b00 45%, #ff2a42 100%); box-shadow: 0 30px 80px -30px rgba(255,107,0,0.55); }

.card-dark { border-radius: 6px; background: rgba(13,13,15,0.9); }
.shadow-pop { box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }

.table-mock { flex: 1 1 240px; display: flex; flex-direction: column; overflow: hidden; background: rgba(13,13,15,0.92); font-family: var(--font-mono); font-size: 0.74rem; }
.table-mock__row { display: flex; gap: 0.8rem; padding: 0.6rem 0.9rem; border-top: 1px solid var(--line-2); color: var(--text); }
.table-mock__row--head { background: #151517; color: var(--dim); border-top: 0; }
.table-mock__row > span { flex: 2; }
.table-mock__row > span:last-child { flex: 1; }

.phone-mock {
  width: 120px;
  height: 200px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(13,13,15,0.92);
}
.phone-mock span { height: 22px; background: #1c1c1c; border-radius: 4px; }
.phone-mock span:nth-child(1) { height: 8px; width: 50%; background: #2a2a2a; border-radius: 2px; }
.phone-mock span:nth-child(2) { height: 48px; background: linear-gradient(135deg, #ff8a3d, #ff2a42); }
.phone-mock span:nth-child(5) { background: #0a6fbd; }

.mini-chart { display: flex; align-items: end; gap: 8px; height: 120px; padding: 1rem; }
.mini-chart .bar { border-radius: 2px; }
.mini-chart .bar--hot { box-shadow: none; }

.chat { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem; font-size: 0.85rem; }
.chat__msg { padding: 0.5rem 0.8rem; border-radius: 4px; }
.chat__msg--user { align-self: end; max-width: 80%; background: #1c1c1c; color: var(--text); }
.chat__msg--bot { align-self: start; max-width: 85%; background: rgba(4,158,255,0.15); border: 1px solid rgba(4,158,255,0.5); color: var(--blue-pale); }

.progress { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.1rem; font-family: var(--font-mono); font-size: 0.74rem; }
.progress__row { display: flex; align-items: center; gap: 0.6rem; }
.progress__label { width: 88px; color: var(--muted); }
.progress__label--sm { width: 64px; color: var(--text); }
.progress__track { flex: 1; height: 6px; border-radius: 2px; background: #1c1c1c; display: flex; }
.progress__track--done { background: var(--blue); }
.progress__fill { width: 60%; background: linear-gradient(90deg, #ff2a42, #ffa04d); border-radius: 2px; }
.progress__title { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.segments { flex: 1; display: flex; gap: 3px; }
.segments span { flex: 1; height: 8px; background: #1c1c1c; }
.segments--orange span.on { background: var(--orange); }
.segments--blue span.on { background: var(--blue); }

/* ---------- Para empresas ---------- */

.band-warm { background: var(--warm-band); }
.empresas__inner { display: flex; flex-direction: column; gap: 3rem; }
.empresas__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.empresas__head > div { max-width: 44rem; }
/* Texto sobre o gradiente quente: mais escuro, maior e com mais peso para ler bem */
.empresas__head > p { max-width: 26rem; color: var(--ink); font-size: clamp(1.15rem, 1.4vw, 1.35rem); font-weight: 500; line-height: 1.45; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.segment-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.25rem;
  background: rgba(10,10,10,0.88);
  border-radius: 8px;
  box-shadow: 0 24px 50px -24px rgba(60,0,10,0.7);
}
.segment-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.2; color: var(--white); }
.segment-card p:not(.eyebrow) { color: var(--muted); }
.segment-card a { margin-top: auto; font-weight: 600; }
.link-amber { color: var(--amber); }
.link-blue { color: var(--blue-light); }
.link-rose { color: #ff8a9e; }

/* ---------- Setores ---------- */

.setores { background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(4,158,255,0.22) 0%, rgba(4,158,255,0) 70%), linear-gradient(180deg, #06121f 0%, #0a0a0a 100%); }
.setores .btn-ghost { align-self: start; margin-top: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-color: rgba(79,179,255,0.5); }
.setores .btn-ghost:hover { border-color: var(--white); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.sector {
  --accent: var(--blue);
  --accent-soft: rgba(4,158,255,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  background: rgba(13,13,15,0.85);
  border: 1px solid var(--accent-soft);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
}
.sector h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--white); }
.sector p { color: var(--muted); font-size: 0.95rem; }
.sector--orange { --accent: var(--orange); --accent-soft: rgba(255,107,0,0.25); }
.sector--red { --accent: var(--red); --accent-soft: rgba(255,42,66,0.25); }
.sector--sky { --accent: var(--blue-light); --accent-soft: rgba(4,158,255,0.25); }
.sector--pink { --accent: var(--pink); --accent-soft: rgba(255,77,109,0.25); }
.sector--amber { --accent: var(--amber); --accent-soft: rgba(255,160,77,0.25); }

/* ---------- Como atuamos ---------- */

.models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
}
.models > div { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.3rem; background: var(--surface-2); }
.models span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 480px) { .models { grid-template-columns: minmax(0, 1fr); } }

.process {
  position: relative;
  padding: 2.25rem;
  border-radius: 8px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255,107,0,0.25) 0%, rgba(255,107,0,0) 70%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(4,158,255,0.22) 0%, rgba(4,158,255,0) 70%),
    #101012;
  border: 1px solid var(--line-3);
}
.process h3 { margin-bottom: 1.75rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.steps { display: flex; flex-direction: column; }
.steps li { display: flex; gap: 1.1rem; }
.steps li > span:last-child { padding-bottom: 1.3rem; color: var(--muted); }
.steps li:last-child > span:last-child { padding-bottom: 0; }
.steps b { display: block; }
.step__rail { display: flex; flex-direction: column; align-items: center; }
.step__node { width: 14px; height: 14px; border-radius: 3px; }
.step__line { flex: 1; width: 2px; min-height: 2.6rem; }

/* ---------- Governança ---------- */

.governanca { background: linear-gradient(180deg, #0a0a0a 0%, #07141f 100%); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.checks li { display: flex; gap: 0.75rem; padding: 1.25rem; background: rgba(4,158,255,0.07); border: 1px solid rgba(4,158,255,0.3); border-radius: 6px; }
.checks li > span:first-child { color: var(--blue-light); font-weight: 700; }
.checks li > span:last-child > span { color: var(--muted); font-size: 0.93rem; }

/* ---------- Sobre ---------- */

.values { display: flex; flex-wrap: wrap; gap: 0.6rem; padding-top: 0.5rem; }
.chip { padding: 0.4rem 0.8rem; border: 1px solid; border-radius: 4px; font-size: 0.88rem; }
.chip--blue { border-color: rgba(4,158,255,0.45); color: var(--blue-pale); }
.chip--orange { border-color: rgba(255,107,0,0.45); color: var(--peach); }
.chip--red { border-color: rgba(255,42,66,0.45); color: var(--rose); }
.chip--amber { border-color: rgba(255,160,77,0.45); color: #ffd0a8; }

.illustration { position: relative; height: 26rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-3); background: var(--surface); }
.illustration svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.illustration__caption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  padding: 0.3rem 0.6rem;
  background: rgba(10,10,10,0.6);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

@keyframes pl-shimmer { 0%, 100% { transform: translateX(-12px); opacity: .35; } 50% { transform: translateX(12px); opacity: .8; } }
@keyframes pl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@keyframes pl-glow { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes pl-flicker { 0%, 100% { opacity: 1; } 45% { opacity: .75; } 55% { opacity: .95; } }
@media (prefers-reduced-motion: no-preference) {
  .pl-shimmer { animation: pl-shimmer 4s ease-in-out infinite; }
  .pl-shimmer.d2 { animation-delay: -1.3s; }
  .pl-shimmer.d3 { animation-delay: -2.6s; }
  .pl-bob { animation: pl-bob 3s ease-in-out infinite; }
  .pl-glow { animation: pl-glow 5s ease-in-out infinite; }
  .pl-flicker { animation: pl-flicker 3.5s ease-in-out infinite; }
  .pl-flicker.d2 { animation-delay: -1.7s; }
}

/* ---------- Contato ---------- */

.contato h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.contato__copy { display: flex; flex-direction: column; gap: 1rem; }
.contato__copy p { max-width: 32rem; color: var(--ink); font-size: clamp(1.15rem, 1.4vw, 1.35rem); font-weight: 500; line-height: 1.45; }
.contact-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 2rem; background: rgba(10,10,10,0.9); border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(60,0,10,0.8); }
.contact-card__divider { display: flex; align-items: center; gap: 0.9rem; margin: 0.4rem 0 0.1rem; font-size: 0.85rem; color: var(--muted); }
.contact-card__divider::before, .contact-card__divider::after { content: ""; flex: 1; height: 1px; background: var(--line-3); }

/* Formulário de contato */
.contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: #141416;
  border: 1px solid #2e2e33;
  border-radius: 4px;
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color .15s ease;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #45454c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(79, 179, 255, 0.2); }
.contact-form .btn { width: 100%; cursor: pointer; background: transparent; font: inherit; font-weight: 600; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form__note { font-size: 0.8rem; color: var(--muted); }
.contact-form__note a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 2px; }
.contact-form__status:empty { display: none; }
.contact-form__status { padding: 0.75rem 0.9rem; border-radius: 4px; font-size: 0.9rem; }
.contact-form__status.is-ok { background: rgba(4, 158, 255, 0.12); border: 1px solid rgba(4, 158, 255, 0.5); color: var(--blue-pale); }
.contact-form__status.is-error { background: rgba(255, 42, 66, 0.12); border: 1px solid rgba(255, 42, 66, 0.5); color: var(--rose); }

.contact-card__email { text-align: center; color: var(--muted); font-size: 0.92rem; }
.contact-card__email a { color: var(--muted); }
.contact-card__email a:hover { color: var(--white); }

/* ---------- Footer ---------- */

.footer__main { padding-top: 4rem; padding-bottom: 2.5rem; display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; }
.footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 0.9rem; }
/* align-self evita que a coluna flex estique o logo na largura toda */
.footer__brand img { display: block; align-self: flex-start; height: clamp(36px, 2.6vw, 48px); width: auto; max-width: 100%; object-fit: contain; }
.footer__brand p { max-width: 18rem; color: var(--footer-dim); font-size: 0.92rem; }
.footer__col { flex: 0 1 180px; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; }
.footer__col--wide { flex-basis: 200px; }
.footer__address { margin-top: 0.4rem; font-style: normal; color: var(--footer-dim); line-height: 1.55; }
.footer__legal a { color: var(--footer-dim); }
.footer__legal a:hover { color: var(--white); }

/* ---------- Página legal (política de privacidade) ---------- */

.legal-header { border-bottom: 1px solid #1c1c1c; }
.legal-header .site-header__inner { padding-bottom: 1.5rem; }
.legal { max-width: 52rem; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter) 6rem; }
.legal h1 { margin-bottom: 0.75rem; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--white); }
.legal__updated { margin-bottom: 2.5rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.legal h2 { margin: 3rem 0 1rem; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.25; color: var(--white); }
.legal p, .legal ul { margin-bottom: 1rem; color: var(--text); }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal li { margin-bottom: 0.35rem; }
.legal li::marker { color: var(--orange); }
.legal strong { color: var(--white); font-weight: 600; }
.legal a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--white); }
.legal .table-wrap { margin: 0 0 1.25rem; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.legal th, .legal td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.legal th { background: var(--surface-2); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal tr:last-child td { border-bottom: 0; }
.legal td:first-child { color: var(--white); }

/* ---------- 404 ---------- */

.not-found {
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 55% 70% at 88% 60%, rgba(255,107,0,0.32) 0%, rgba(255,42,66,0.16) 40%, rgba(10,10,10,0) 75%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}
.not-found__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding-top: 5rem; padding-bottom: 6rem; }
.not-found__body .h1 { max-width: 16ch; }

.footer__legal {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  /* linha divisória só na largura do conteúdo, sem invadir as margens */
  background: linear-gradient(#1c1c1c, #1c1c1c) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--footer-dim);
}
