/* =========================================================
   SAFETEER — Site institucional
   Tokens, sistema base, componentes e seções.
   ========================================================= */

:root {
  /* Brand */
  --tech: #1dc0ab;
  --tech-700: #16a392;
  --tech-300: #6fdbcb;
  --tech-100: #d6f4ee;
  --spook: #111b36;
  --spook-800: #1a274a;
  --spook-700: #243355;
  --spook-600: #324168;

  /* Neutrals */
  --white: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #eef2f7;
  --line: #e3e8f0;
  --muted: #5b6781;
  --muted-2: #8892a8;
  --ink: #111b36;

  /* Type */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(17, 27, 54, 0.06), 0 1px 3px rgba(17, 27, 54, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(17, 27, 54, 0.18), 0 2px 6px rgba(17, 27, 54, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(17, 27, 54, 0.35), 0 8px 20px -8px rgba(17, 27, 54, 0.12);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);

  /* Easing */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tech); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--tech); color: var(--spook); }

/* Typography ---------------------------------------------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tech-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--tech);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--tech-300); }
.eyebrow.on-dark::before { background: var(--tech-300); }

/* Layout -------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { color: var(--muted); margin-top: 16px; font-size: 18px; }
.section-head.on-dark .lede { color: rgba(255, 255, 255, 0.72); }
.divider-soft { height: 1px; background: var(--line); }

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--tech);
  color: var(--spook);
  box-shadow: 0 6px 18px -8px rgba(29, 192, 171, 0.65), inset 0 -1px 0 rgba(17, 27, 54, 0.08);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(29, 192, 171, 0.7); background: var(--tech-700); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--tech-700);
  border: 1.5px solid var(--tech);
}
.btn-secondary:hover { background: var(--tech); color: var(--spook); transform: translateY(-2px); }
.btn-on-dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); transform: translateY(-2px); }
.btn .arrow { transition: transform 200ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tech-700);
  font-weight: 600;
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: currentColor;
  transition: right 200ms var(--ease-out);
}
.btn-link:hover::after { right: 0; }

/* Header -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(17, 27, 54, 0.06), 0 8px 24px -16px rgba(17, 27, 54, 0.18); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--spook-700);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--tech-700); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--spook); border-radius: 2px;
  position: relative;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--spook); border-radius: 2px;
  transition: transform 200ms var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero ---------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--spook) 0%, var(--spook-800) 55%, #0c1830 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 128px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(29, 192, 171, 0.22), transparent 60%),
    radial-gradient(40% 40% at 15% 90%, rgba(29, 192, 171, 0.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: rgba(29, 192, 171, 0.12);
  border: 1px solid rgba(29, 192, 171, 0.32);
  color: var(--tech-300);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tech);
  box-shadow: 0 0 0 0 rgba(29, 192, 171, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(29, 192, 171, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(29, 192, 171, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 192, 171, 0); }
}
.hero h1 { margin-top: 24px; }
.hero h1 .accent { color: var(--tech); }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tagline {
  margin-top: 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-tagline::before {
  content: ""; width: 32px; height: 1px; background: rgba(255, 255, 255, 0.25);
}

/* Hero visual zone --------------------------------------- */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  max-width: 480px;
  margin-left: auto;
}
.hero-visual .spook-stage,
.hero-visual .diagram-stage,
.hero-visual .typo-stage { display: none; height: 100%; position: relative; }
.hero-visual.var-spook .spook-stage { display: flex; }
.hero-visual.var-typo .typo-stage { display: flex; }
.hero-visual.var-diagram .diagram-stage { display: flex; }

/* Variation A: Spook grande ------------------------------- */
.spook-stage { align-items: center; justify-content: center; }
.spook-orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(29, 192, 171, 0.18), transparent 65%);
  animation: orbitFloat 6s ease-in-out infinite alternate;
}
.spook-stage .spook-img {
  position: relative;
  width: 62%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  animation: bob 4.5s ease-in-out infinite;
  z-index: 2;
}
.spook-orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px solid rgba(29, 192, 171, 0.25);
  border-top-color: rgba(29, 192, 171, 0.7);
  animation: spinSlow 18s linear infinite;
}
.spook-orbit-ring.r2 {
  inset: 18%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.4);
  animation-duration: 28s;
  animation-direction: reverse;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes orbitFloat { 0% { transform: scale(0.96); opacity: 0.85; } 100% { transform: scale(1.04); opacity: 1; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Variation B: Tipografia gigante + spook acento --------- */
.typo-stage {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  text-align: right;
}
.typo-stage .big-num {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
}
.typo-stage .big-num.solid { color: var(--tech); -webkit-text-stroke: 0; }
.typo-stage .typo-meta {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.typo-stage .spook-tiny {
  position: absolute; right: -20px; bottom: 12%;
  width: 110px; opacity: 0.95;
  animation: bob 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

/* Variation C: Mini diagrama ------------------------------ */
.diagram-stage {
  align-items: center; justify-content: center;
  position: relative;
}
.diagram-card {
  width: 100%; max-width: 460px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: 24px;
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.diagram-card-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.diagram-card-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--tech-300);
}
.diagram-card-head .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--tech); animation: pulse 1.6s infinite;
}
.diagram-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  transition: transform 400ms var(--ease-out), border-color 400ms var(--ease-out);
}
.diagram-row.active {
  border-color: rgba(29, 192, 171, 0.4);
  transform: translateX(4px);
  background: rgba(29, 192, 171, 0.08);
}
.diagram-row .icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(29, 192, 171, 0.14);
  color: var(--tech-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.diagram-row .label { font-size: 14px; font-weight: 500; color: var(--white); }
.diagram-row .meta { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-left: auto; }
.diagram-row.active .meta { color: var(--tech-300); }

/* Hero stat strip ---------------------------------------- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stats .stat .num { font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.hero-stats .stat .num .unit { color: var(--tech-300); }
.hero-stats .stat .label { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 4px; }

/* Section: Problem --------------------------------------- */
.problem {
  background: var(--bg-soft);
  position: relative;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.problem-grid h2 { max-width: 14ch; }
.problem-grid p { color: var(--muted); font-size: 18px; max-width: 56ch; }
.problem-grid p + p { margin-top: 20px; }

/* Section: Solution -------------------------------------- */
.solution { background: var(--white); }
.solution-card {
  background: linear-gradient(135deg, var(--spook) 0%, var(--spook-800) 100%);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 64px);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.solution-card::after {
  content: "";
  position: absolute; right: -100px; top: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(29, 192, 171, 0.4), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.solution-card .copy { position: relative; z-index: 2; }
.solution-card h2 { color: var(--white); }
.solution-card .lede { color: rgba(255, 255, 255, 0.78); margin-top: 20px; font-size: 18px; }
.solution-card .badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.solution-card .badge {
  font-size: 13px; padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}
.solution-spook {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.solution-spook img { width: 60%; max-width: 220px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)); animation: bob 5.5s ease-in-out infinite; }

/* Section: How --------------------------------------- */
.how { background: var(--bg-soft); }
.how-diagram {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--shadow-sm);
}
.how-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.how-stages::before {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%;
  top: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--tech-100), var(--tech), var(--tech-100));
  border-radius: 2px;
  z-index: 0;
}
.stage {
  display: flex; flex-direction: column; gap: 12px;
  text-align: center;
  position: relative; z-index: 1;
}
.stage .step {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--tech);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--tech-700);
  box-shadow: 0 0 0 6px rgba(29, 192, 171, 0.12);
  position: relative;
}
.stage .step::after {
  content: attr(data-num);
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--spook);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.stage h3 { margin-top: 4px; font-size: 16px; font-weight: 600; }
.stage p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.stage .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 4px; }
.stage .tag {
  font-size: 11px; padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--tech-100);
  color: var(--tech-700);
  font-weight: 500;
}
.how-vciso {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(29, 192, 171, 0.06), transparent);
  border: 1px dashed rgba(29, 192, 171, 0.4);
  display: flex; align-items: center; gap: 16px;
}
.how-vciso .vciso-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tech-100); color: var(--tech-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.how-vciso .vciso-copy strong { color: var(--spook); font-weight: 600; }
.how-vciso .vciso-copy p { font-size: 14px; color: var(--muted); }

/* Section: Capacities ------------------------------------ */
.capacities {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tech-300);
}
.cap-card .icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--tech-100);
  color: var(--tech-700);
  display: flex; align-items: center; justify-content: center;
}
.cap-card h3 { font-size: 17px; font-weight: 600; }
.cap-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Section: Why ------------------------------------------- */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background 250ms var(--ease-out);
}
.why-card:hover { background: var(--bg-soft-2); }
.why-card .num {
  font-size: 13px; font-weight: 600;
  color: var(--tech-700);
  letter-spacing: 0.12em;
}
.why-card h3 { font-size: 22px; font-weight: 700; max-width: 22ch; }
.why-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Section: Audience -------------------------------------- */
.audience { background: var(--bg-soft); }
.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.audience-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.audience-list li {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--spook-700);
}
.audience-list li:last-child { border-bottom: 0; }
.audience-list .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--tech);
  color: var(--spook);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Section: Spook ----------------------------------------- */
.meet-spook {
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(29, 192, 171, 0.3), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(29, 192, 171, 0.18), transparent 60%),
    linear-gradient(160deg, var(--spook) 0%, #0c1830 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.meet-spook-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.meet-spook h2 { color: var(--white); margin-top: 24px; }
.meet-spook p { color: rgba(255, 255, 255, 0.78); font-size: 18px; margin-top: 20px; }
.no-ghost {
  display: block;
  margin-top: 32px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--white) 0%, var(--tech) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spook-portrait {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
}
.spook-portrait img {
  width: 60%;
  position: relative; z-index: 2;
  animation: bob 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}
.spook-portrait::before {
  content: "";
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 192, 171, 0.35), transparent 70%);
  filter: blur(20px);
}
.spook-portrait .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}
.spook-portrait .ring.r2 { inset: 14%; border-color: rgba(29, 192, 171, 0.3); }
.spook-portrait .ring.r3 { inset: 26%; border-color: rgba(255, 255, 255, 0.06); }

/* Section: Contact --------------------------------------- */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.contact-form {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--spook-700); }
.field label .req { color: var(--tech-700); margin-left: 4px; }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 15px;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--tech);
  box-shadow: 0 0 0 4px rgba(29, 192, 171, 0.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-error { font-size: 13px; color: var(--tech-700); font-weight: 500; min-height: 18px; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #d97757;
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.12);
}
.field.has-error .field-error { color: #c5573b; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--tech-100), var(--white));
  border: 1px solid var(--tech-300);
}
.form-success.is-visible { display: block; animation: fadeUp 400ms var(--ease-out); }
.form-success img { width: 100px; margin: 0 auto 16px; animation: bob 4s ease-in-out infinite; }
.form-success h3 { color: var(--spook); font-size: 22px; }
.form-success p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.contact-aside h2 { max-width: 14ch; }
.contact-aside .lede { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 44ch; }
.contact-aside .quick {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-aside .quick a { display: inline-flex; align-items: center; gap: 10px; color: var(--spook-700); font-weight: 500; }
.contact-aside .quick a:hover { color: var(--tech-700); }

/* Footer ------------------------------------------------- */
.site-footer {
  background: var(--spook);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(56px, 7vw, 80px) 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 100% 0%, rgba(29, 192, 171, 0.16), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.footer-brand img { height: 36px; }
.footer-brand p { font-size: 14.5px; max-width: 32ch; margin-top: 16px; line-height: 1.55; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: var(--tech-300); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  position: relative; z-index: 2;
}
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { color: var(--tech-300); }

/* Reveal on scroll --------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Tweaks panel ------------------------------------------- */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  width: 260px;
  font-size: 13px;
}
.tweaks.is-open { display: block; animation: fadeUp 200ms var(--ease-out); }
.tweaks h5 {
  margin: 0 0 4px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-2);
}
.tweaks .tweak-title {
  font-size: 14px; font-weight: 600; color: var(--spook); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.tweaks .tweak-title button { color: var(--muted-2); font-size: 18px; line-height: 1; padding: 4px; }
.tweak-radios { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.tweak-radio {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.tweak-radio:hover { border-color: var(--tech-300); }
.tweak-radio.active { border-color: var(--tech); background: var(--tech-100); }
.tweak-radio input { accent-color: var(--tech-700); }
.tweak-radio span.label { font-weight: 500; color: var(--spook-700); }
.tweak-radio span.desc { font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }

/* Responsive --------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
  .solution-card { grid-template-columns: 1fr; }
  .solution-spook { display: none; }
  .how-stages { grid-template-columns: 1fr 1fr; gap: 32px; }
  .how-stages::before { display: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .meet-spook-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-link { display: none; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--white);
    padding: 16px var(--gutter);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-header.menu-open .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav-links li:last-child { border: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero-stats .stat .num { font-size: 22px; }
  .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: 1fr; border-top: 0; padding-top: 16px; }
  .hero-stats .stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .hero-stats .stat .label { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* highlight word in problem headline */
.h-strike {
  position: relative;
  color: var(--tech-700);
  white-space: nowrap;
}
.h-strike::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.08em;
  height: 0.18em;
  background: var(--tech);
  opacity: 0.5;
  border-radius: 4px;
  z-index: -1;
}

/* Portal section */
.portal { background: var(--bg-soft); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.portal-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.portal-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--spook-700); }
.portal-points .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tech); flex-shrink: 0; }
.portal-window { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.pw-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pw-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.pw-head .d1 { background: #ff5f57; } .pw-head .d2 { background: #febc2e; } .pw-head .d3 { background: #28c840; }
.pw-url { margin-left: 12px; font-size: 12px; color: var(--muted-2); font-family: ui-monospace, monospace; }
.pw-body { padding: 8px 0; }
.pw-row { display: grid; grid-template-columns: 1.6fr 0.7fr 0.9fr; gap: 12px; padding: 14px 20px; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.pw-row:last-child { border-bottom: 0; }
.pw-head-row { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 600; padding: 10px 20px; background: rgba(245, 247, 250, 0.5); }
.pw-name { color: var(--spook); font-weight: 500; }
.pw-sev { font-size: 12px; padding: 4px 10px; border-radius: var(--r-pill); font-weight: 600; text-align: center; justify-self: start; }
.sev-high { background: rgba(217, 119, 87, 0.14); color: #c5573b; }
.sev-mid { background: rgba(29, 192, 171, 0.14); color: var(--tech-700); }
.sev-low { background: var(--bg-soft-2); color: var(--muted); }
.pw-act { color: var(--tech-700); font-weight: 600; font-size: 13px; }
@media (max-width: 960px) { .portal-grid { grid-template-columns: 1fr; } }

/* Manifesto — pilar destacado em "Por que Safeteer" */
.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px) clamp(36px, 5vw, 64px);
  margin: 48px 0 56px;
  background: linear-gradient(135deg, var(--spook) 0%, #1a2438 100%);
  border-radius: var(--r-lg);
  color: var(--white);
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(29, 192, 171, 0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(217, 119, 87, 0.12), transparent 50%);
  pointer-events: none;
}
.manifesto > * { position: relative; z-index: 1; }
.manifesto-num {
  font-family: var(--font-display, inherit);
  font-size: clamp(72px, 10vw, 132px);
  line-height: 0.85;
  font-weight: 300;
  color: var(--tech);
  letter-spacing: -0.04em;
  opacity: 0.95;
}
.manifesto-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--tech);
  padding: 6px 12px;
  border: 1px solid rgba(29, 192, 171, 0.4);
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.manifesto-body h3 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--white);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.manifesto-body p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 62ch;
}
@media (max-width: 720px) {
  .manifesto { grid-template-columns: 1fr; gap: 16px; }
  .manifesto-num { font-size: 88px; }
}



/* Portal carousel */
.portal-carousel { position: relative; }
.portal-slides { position: relative; aspect-ratio: 16 / 10; }
.portal-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease, transform 400ms ease; transform: scale(0.98); pointer-events: none; }
.portal-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.portal-slide .portal-window { width: 100%; height: 100%; display: flex; flex-direction: column; }
.portal-slide .pw-body { flex: 1; overflow: hidden; }
.portal-window-engine { background: var(--spook); color: var(--white); border-color: rgba(255,255,255,0.08); }
.portal-window-engine .pw-head { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.06); }
.portal-window-engine .pw-url { color: rgba(255,255,255,0.55); }
.portal-window-engine .pw-engine { padding: 22px 26px; gap: 14px; }
.portal-window-shot img { width: 100%; height: calc(100% - 40px); object-fit: cover; object-position: top; display: block; }
.portal-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.pc-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--spook); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 200ms ease; padding: 0; }
.pc-btn:hover { border-color: var(--tech); color: var(--tech-700); }
.pc-dots { display: flex; gap: 8px; }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: all 200ms ease; }
.pc-dot.is-active { background: var(--tech); width: 24px; border-radius: 4px; }
@media (max-width: 720px) {
  .portal-slides { aspect-ratio: 4 / 3; }
}

/* AI-SIEM engine card content */
.pw-engine {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  justify-content: center;
}
.engine-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
.engine-row:last-of-type { border-bottom: 0; }
.engine-label { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.engine-val { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 16px; }
.engine-row-hl {
  padding: 14px 16px;
  margin: 6px -16px 0;
  background: rgba(29, 192, 171, 0.08);
  border: 1px solid rgba(29, 192, 171, 0.24);
  border-radius: 10px;
  border-bottom: 0;
}
.engine-row-hl .engine-label { color: var(--tech); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.engine-row-hl .engine-val { color: var(--tech); font-size: 22px; }
.engine-bar { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.engine-bar-label { font-size: 11px; color: var(--tech); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.engine-bar-track { height: 8px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; overflow: hidden; }
.engine-bar-fill { height: 100%; width: 99.9%; background: linear-gradient(90deg, var(--tech), #4ad8c4); border-radius: 4px; }
