@font-face { font-family: "Jost"; src: url("assets/Jost-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #05070b;
  --bg-2: #0a0f17;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef3f8;
  --muted: #8f9cad;
  --dim: #5d6a7b;
  --cyan: #19b8e8;
  --cyan-2: #5fd4ff;
  --violet: #8b5cf6;
  --red: #e5203a;
  --red-soft: rgba(229, 32, 58, 0.14);
  --grad: linear-gradient(100deg, #19b8e8 0%, #6a7dff 55%, #c14bf2 100%);
  --radius: 18px;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 7, 11, 0.94); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 18px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: .01em; background: var(--text); color: #05070b; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(25, 184, 232, .35); }
.btn.primary { background: var(--grad); color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--cyan); box-shadow: none; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); font-weight: 500; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.red { color: var(--red); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(40px, min(6.4vw, 9vh), 88px); }
h2 { font-size: clamp(30px, min(4.2vw, 6vh), 56px); margin: clamp(8px, 1.6vh, 16px) 0 clamp(10px, 2vh, 18px); }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red-t { color: var(--red); }
.lead { color: var(--muted); font-size: clamp(16px, min(1.5vw, 2.3vh), 20px); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { margin-bottom: clamp(24px, 5.5vh, 56px); }
.flush { padding-top: 0; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 20% 50%, rgba(5,7,11,.92), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--bg)); z-index: 1; pointer-events: none; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .thin { font-weight: 300; color: var(--muted); }
.hero .lead { margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.badge-wrap { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.badge-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; animation: float 7s ease-in-out infinite; }
.badge-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(106,125,255,.35), transparent 65%); filter: blur(30px); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 12px; letter-spacing: .3em; color: var(--dim); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll i { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- big numbers band ---------- */
.proof { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-in > div { padding: clamp(24px, 4.4vh, 44px) 28px; border-left: 1px solid var(--line); }
.proof-in > div:first-child { border-left: 0; }
.proof b { display: block; font-size: clamp(38px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.proof span { color: var(--muted); font-size: 15px; }
.proof b span { color: inherit; font-size: inherit; }
.proof b { white-space: nowrap; }
.proof b small { font-size: .5em; font-weight: 500; color: var(--muted); margin-right: 2px; }
.tbc { border-bottom: 1px dashed rgba(255, 196, 0, .7); }

/* ---------- client logos ---------- */
/* Logos are shown in white for a uniform look; full strength on hover. */
.logo-img { display: block; max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .62; transition: opacity .25s; }
.logo-img.keep { filter: grayscale(1); }
a:hover > .logo-img, div:hover > .logo-img { opacity: 1; }
.clients { padding: clamp(32px, 6vh, 70px) 0 clamp(16px, 3vh, 40px); }
.clients p { text-align: center; color: var(--dim); font-size: 13px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 34px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 26px; font-weight: 600; color: #6e7a8a; letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.marquee-track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- threat ---------- */
.threat { background: radial-gradient(ellipse 50% 60% at 85% 30%, rgba(229,32,58,.16), transparent 70%); }
.threat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.threat-card { padding: clamp(20px, 3.6vh, 34px) 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.threat-card.hot { border-color: rgba(229, 32, 58, .55); background: linear-gradient(160deg, var(--red-soft), transparent 70%); box-shadow: 0 0 60px rgba(229,32,58,.12); }
.threat-card b { font-size: clamp(46px, min(6vw, 9vh), 84px); font-weight: 600; letter-spacing: -.04em; line-height: 1; display: block; }
.threat-card hr { border: 0; height: 1px; background: var(--red); width: 60%; margin: 18px 0; opacity: .7; }
.threat-card p { color: var(--muted); font-size: 18px; }
.threat-card p strong { color: var(--text); font-weight: 600; }
.impacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.impacts div { background: var(--bg); padding: clamp(14px, 2.6vh, 26px) 24px; }
.impacts h4 { font-size: 13px; letter-spacing: .2em; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.impacts p { color: var(--muted); font-size: 15px; }
.source { color: var(--dim); font-size: 12px; margin-top: 14px; }

/* ---------- statement ---------- */
.statement { padding: clamp(90px, 12vw, 170px) 0; text-align: center; }
.statement p { font-size: clamp(28px, 3.8vw, 52px); font-weight: 300; line-height: 1.2; letter-spacing: -.02em; max-width: 980px; margin-inline: auto; color: var(--muted); }
.statement p strong { display: block; font-weight: 600; color: var(--text); margin-top: 10px; }


/* ---------- framework ---------- */
.fw { overflow: hidden; background:radial-gradient(ellipse 50% 60% at 25% 50%, rgba(25,184,232,.12), transparent 70%); }
.fw-in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
/* Badge from deck slide 5, with a slow orbit ring around it. */
.fw-visual { display: grid; justify-items: center; gap: clamp(14px, 2.6vh, 26px); }
.fw-badge { position: relative; width: min(290px, 100%, 38vh); aspect-ratio: 1; }
.fw-badge::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(106,125,255,.35), transparent 68%); filter: blur(34px); }
.fw-badge img { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); animation: float 8s ease-in-out infinite; }
.fw-badge svg.orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fw-tagline { text-align: center; font-size: clamp(17px, min(1.6vw, 2.6vh), 22px); font-weight: 300; color: var(--text); line-height: 1.35; }
.fw-tagline span { display: block; color: var(--cyan-2); font-weight: 500; }
/* Pessoas, Método, Tecnologia (deck slide 5) */
.fw-trio { list-style: none; display: flex; align-items: flex-start; margin: clamp(18px, 3.2vh, 30px) 0; }
.fw-trio li { flex: 1; display: grid; justify-items: center; gap: 8px; position: relative; font-size: 15px; font-weight: 500; color: var(--cyan-2); }
.fw-trio li + li::before { content: ""; position: absolute; top: clamp(26px, 3.6vh, 32px); right: calc(50% + clamp(30px, 4vh, 36px)); width: calc(100% - clamp(60px, 8vh, 72px)); height: 1.5px; background: linear-gradient(90deg, var(--cyan), rgba(25,184,232,.35)); }
.fw-ico { width: clamp(52px, 7.2vh, 64px); height: clamp(52px, 7.2vh, 64px); border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--cyan); color: var(--cyan-2); background: rgba(25,184,232,.06); box-shadow: 0 0 24px rgba(25,184,232,.18); }
.fw-ico svg { width: 52%; height: 52%; }
/* NIST · ISO/IEC 27001 · LGPD (deck slide 6) */
.fw-std > p { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fw-std > p b { color: var(--cyan-2); font-weight: 600; }
.fw-std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fw-std-grid div { padding: clamp(14px, 2.4vh, 20px) 16px; border-radius: 14px; background: linear-gradient(180deg, #1a1f27, #0b0e13); border: 1px solid var(--line-2); border-bottom: 2px solid var(--cyan); text-align: center; }
.fw-std-grid b { display: block; white-space: nowrap; font-size: clamp(15px, 2.3vh, 19px); letter-spacing: .03em; color: #dfe5ec; margin-bottom: 4px; }
.fw-std-grid span { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- assessment dashboard (example) ---------- */
.dash { position: relative; z-index: 1; background: rgba(5,7,11,.82); border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.dash-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-bottom: 18px; }
.dash-top em { font-style: normal; color: #f2b84b; border: 1px solid rgba(242,184,75,.4); border-radius: 999px; padding: 3px 10px; letter-spacing: .08em; }
.dash-body { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.ring { width: 150px; height: 150px; }
.bars { list-style: none; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 92px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.bars i { height: 7px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bars i b { display: block; height: 100%; border-radius: inherit; width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.bars em { font-style: normal; text-align: right; color: var(--text); }
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 22px; }
.levels span { font-size: 10.5px; text-align: center; padding: 7px 2px; border-radius: 8px; border: 1px solid var(--line); color: var(--dim); }
.levels span.on { color: #f2b84b; border-color: rgba(242,184,75,.6); background: rgba(242,184,75,.08); }

/* ---------- why Xtreme IT: strengths ---------- */
.why .proof { margin-bottom: clamp(20px, 4vh, 44px); }
.diffs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.diffs div { padding: clamp(14px, 2.4vh, 22px) 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.diffs b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; margin: 12px 0 6px; }
.diffs p { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(25,184,232,.1); color: var(--cyan); flex: none; }
.ico svg { width: 21px; height: 21px; }

/* ---------- diagnosis (main emphasis) ---------- */
.diag { background: radial-gradient(ellipse 55% 70% at 80% 45%, rgba(106,125,255,.26), transparent 70%), radial-gradient(ellipse 40% 50% at 10% 20%, rgba(25,184,232,.14), transparent 70%); border-block: 1px solid rgba(95,212,255,.18); }
.diag-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.diag h2 { font-size: clamp(36px, min(5vw, 7.6vh), 72px); }
.diag-badges { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(14px, 2.6vh, 26px); }
.diag-badges img { width: clamp(60px, 9vh, 88px); filter: drop-shadow(0 0 26px rgba(95,212,255,.45)); }
.nist-chip { display: inline-flex; flex-direction: column; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 12px; color: var(--muted); line-height: 1.2; }
.nist-chip b { font-size: 20px; letter-spacing: .08em; color: var(--text); }
.diag .lead { margin-bottom: clamp(20px, 3.6vh, 34px); }
.diag-right { display: grid; gap: clamp(12px, 2vh, 18px); }
.dash.big { padding: clamp(18px, 3vh, 28px); border-color: rgba(95,212,255,.3); box-shadow: 0 0 0 1px rgba(95,212,255,.08), 0 30px 90px rgba(25,184,232,.18); }
.dash.big .levels { margin-top: clamp(12px, 2vh, 20px); }
.diag-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diag-list li { display: flex; gap: 12px; align-items: flex-start; padding: clamp(10px, 1.6vh, 14px) 14px; border-radius: 14px; background: rgba(5,7,11,.55); border: 1px solid var(--line); }
.diag-list li:last-child { grid-column: 1 / -1; }
.diag-list b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.diag-list p { color: var(--muted); font-size: 12.8px; line-height: 1.4; margin-top: 2px; }

/* ---------- what we offer ---------- */
/* Four columns split by thin rules, 3D illustration on top (as in deck slide 11). */
.products { display: grid; grid-template-columns: repeat(4, 1fr); }
.product { padding: 0 clamp(14px, 1.8vw, 28px); border-left: 1px solid var(--line); }
.product:first-child { border-left: 0; padding-left: 0; }
.product:last-child { padding-right: 0; }
.product-visual { --pv: clamp(110px, 19vh, 190px); height: var(--pv); display: grid; place-items: center; margin-bottom: clamp(10px, 1.8vh, 18px); }
.product-visual img { height: var(--pv); width: auto; max-width: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 55%, transparent 100%); }
.product-visual.badge img { height: calc(var(--pv) * .74); -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 18px 28px rgba(0,0,0,.6)) drop-shadow(0 6px 22px rgba(25,184,232,.28)); }
.product h3 { text-align: center; color: var(--cyan-2); font-size: clamp(18px, 2.6vh, 22px); margin-bottom: clamp(10px, 1.8vh, 16px); min-height: 2.5em; display: grid; place-items: center; }
.product ul { list-style: none; display: grid; gap: clamp(6px, 1.1vh, 10px); }
.product li { font-size: 14.5px; color: var(--text); display: flex; gap: 10px; line-height: 1.35; }
.product li::before { content: "-"; color: var(--cyan); font-weight: 600; flex: none; }
.squad { margin-top: clamp(14px, 2.6vh, 24px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 22px; border-radius: 16px; border: 1px solid rgba(229,32,58,.35); background: linear-gradient(90deg, rgba(229,32,58,.1), rgba(139,92,246,.08)); font-size: 14px; }
.squad b { font-weight: 600; margin-right: 8px; }
.squad span { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.squad i { font-style: normal; color: var(--cyan); }
.squad em { margin-left: auto; font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-2); }

/* ---------- managed services (deck slide 8) ---------- */
.managed-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.managed-col { padding: 0 clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line-2); }
.managed-col:first-child { border-left: 0; padding-left: 0; }
.managed-num { display: block; font-size: clamp(40px, 7vh, 64px); font-weight: 300; line-height: 1; color: var(--cyan); letter-spacing: -.02em; }
.managed-col h3 { font-size: clamp(19px, 2.8vh, 24px); margin: clamp(6px, 1vh, 10px) 0 clamp(12px, 2.2vh, 20px); }
.managed-col ul { list-style: none; display: grid; gap: clamp(6px, 1.2vh, 10px); }
.managed-col li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.managed-col li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-top: 9px; flex: none; }
.managed-close { margin-top: clamp(28px, 6vh, 64px); text-align: center; font-size: clamp(20px, min(2.2vw, 3.6vh), 30px); font-weight: 300; color: var(--text); }
.managed-close span { color: var(--cyan-2); }

/* ---------- Customer Solution Center (deck slide 18) ---------- */
.csc-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.csc h2 { margin-bottom: clamp(18px, 3.4vh, 34px); }
.csc-list { list-style: none; display: grid; gap: clamp(16px, 3vh, 30px); }
.csc-list li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.csc-ico { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cyan); padding-right: 18px; border-right: 1px solid rgba(25,184,232,.55); box-sizing: content-box; }
.csc-ico svg { width: 34px; height: 34px; }
.csc-list b { display: block; font-size: clamp(17px, 2.4vh, 20px); font-weight: 600; margin-bottom: 4px; }
.csc-list p { color: var(--muted); font-style: italic; font-size: 15px; line-height: 1.45; }
.csc-photo { position: relative; height: min(64vh, 620px); border-radius: 24px; overflow: hidden; }
.csc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }

/* ---------- cases ---------- */
.cases-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.case { position: relative; border-radius: 22px; padding: clamp(22px, 3.8vh, 38px) 38px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.case.big { background: radial-gradient(ellipse at 100% 0%, rgba(229,32,58,.22), transparent 55%), var(--panel); }
.case .client { height: clamp(34px, 5.4vh, 48px); margin-bottom: clamp(12px, 2.6vh, 28px); }
.case .client img { height: 100%; width: auto; }
.case .client small { font-size: 13px; letter-spacing: .2em; font-weight: 400; color: var(--muted); display: block; }
.case .kind { font-size: 12px; letter-spacing: .2em; color: var(--red); text-transform: uppercase; margin-bottom: 8px; }
.case h3 { font-size: clamp(22px, min(2.2vw, 3.6vh), 30px); margin-bottom: 12px; }
.case p { color: var(--muted); font-size: 15.5px; }
.case-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: auto; padding-top: clamp(14px, 3vh, 32px); }
.case-kpis div { border-top: 1px solid var(--line-2); padding-top: 14px; }
.case-kpis b { font-size: 26px; display: block; font-weight: 600; }
.case-kpis span { font-size: 13px; color: var(--muted); }
.case .stat { margin-top: auto; padding-top: clamp(10px, 2.4vh, 24px); display: flex; gap: 18px; align-items: baseline; }
.case .stat b { font-size: clamp(38px, 6vh, 54px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.case .stat span { color: var(--muted); font-size: 14px; }
.chip { display: inline-block; font-size: 12px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); margin: 4px 6px 0 0; }

.quote { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; padding: 50px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(255,255,255,.04), transparent); }
.quote .mark { font-size: clamp(90px, 16vh, 180px); line-height: .7; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { font-size: clamp(20px, min(2.8vw, 4.4vh), 40px); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 24px; font-style: normal; color: var(--muted); font-size: 15px; }
.quote cite b { color: var(--text); font-weight: 500; }
.quote.slim { margin-top: clamp(14px, 2.6vh, 24px); padding: clamp(16px, 2.8vh, 26px) 32px; gap: 20px; align-items: center; }
.quote.slim .mark { font-size: 80px; }
.quote.slim blockquote { font-size: clamp(16px, min(1.5vw, 2.4vh), 21px); }
.quote.slim cite { margin-top: 8px; font-size: 14px; }

/* ---------- logo wall ---------- */
.wall { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wall div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); height: clamp(70px, 12vh, 130px); display: grid; place-items: center; font-size: 22px; font-weight: 600; color: #8b97a6; letter-spacing: -.01em; transition: background .3s, color .3s; text-align: center; padding: 10px 22px; }
.wall div:hover { background: var(--panel-2); color: var(--text); }
.wall img { max-height: clamp(26px, 4.2vh, 44px); width: auto; }
.wall .top img { max-height: clamp(30px, 4.8vh, 50px); }
/* The Ypê file is small and square-ish, with white lettering: show it larger, light grey, never flat white. */
.wall img[alt="Ypê"] { max-height: clamp(46px, 7.6vh, 76px); filter: grayscale(1) brightness(1.45); opacity: .8; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(16px, 3.4vh, 34px); }

/* ---------- alliances ---------- */
/* One centered logo wall, as on deck slide 17. */
.alliances { position: relative; }
.alliances > .wrap { position: relative; z-index: 1; }
.ally-wall { display: grid; gap: clamp(22px, 4.4vh, 44px); }
.ally-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(18px, 2.6vh, 28px) clamp(36px, 5vw, 76px); }
.ally-row img { height: clamp(24px, 3.6vh, 34px); width: auto; opacity: .85; transition: opacity .25s, transform .25s; }
.ally-row img:hover { opacity: 1; transform: translateY(-2px); }
.ally-row img[alt="Peck Advogados"], .ally-row img[alt="Druva"] { height: clamp(34px, 5.2vh, 48px); }


/* ---------- contact ---------- */
.contact { background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(106,125,255,.3), transparent 70%); border-top: 1px solid var(--line); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vh, 14px); padding: clamp(20px, 3.6vh, 34px); border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
form label.full { grid-column: 1 / -1; }
input, select, textarea { font: inherit; font-size: 15px; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); }
select option { background: #0b111a; }
textarea { min-height: clamp(56px, 10vh, 96px); resize: vertical; }
form .btn { grid-column: 1 / -1; justify-content: center; border: 0; cursor: pointer; }
form .btn[disabled] { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
.form-status { grid-column: 1 / -1; font-size: 14px; line-height: 1.45; padding: 10px 14px; border-radius: 12px; text-align: center; }
.form-status.ok { color: #35d999; background: rgba(53, 217, 153, .1); border: 1px solid rgba(53, 217, 153, .35); }
.form-status.err { color: #ff6b80; background: rgba(229, 32, 58, .12); border: 1px solid rgba(229, 32, 58, .4); }
.contact-info { list-style: none; display: grid; gap: clamp(10px, 1.8vh, 18px); margin-top: clamp(16px, 3.4vh, 34px); color: var(--muted); }
.contact-info b { color: var(--text); display: block; font-weight: 500; }
.contact-info a { transition: color .2s; }
.contact-info a:hover { color: var(--cyan-2); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); font-size: 14px; transition: border-color .2s, background .2s; }
.social a:hover { border-color: var(--cyan); background: rgba(25,184,232,.08); color: var(--text); }
.social svg { width: 16px; height: 16px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; color: var(--dim); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; font-size: 13px; }

/* ---------- reveal ---------- */
/* Subtle entrance: short travel so content does not look like it jumps when a block snaps in. */
.rv { opacity: 0; transform: translateY(10px); transition: opacity .6s ease-out, transform .6s ease-out; }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .05s; } .d2 { transition-delay: .1s; } .d3 { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }


/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .diffs { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .product:nth-child(3) { border-left: 0; padding-left: 0; }
  .impacts { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(5,7,11,.97); border-bottom: 1px solid var(--line); padding: 10px 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-burger { display: block; }
  .hero-in, .fw-in, .diag-in, .contact-in, .cases-grid, .csc-in { grid-template-columns: 1fr; }
  .managed-cols { grid-template-columns: 1fr; gap: 26px; }
  .managed-col { border-left: 0; padding: 0; }
  .csc-photo { height: 340px; order: -1; }
  .csc-photo img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .squad em { margin-left: 0; }
  .badge-wrap { width: min(280px, 80%); order: -1; }
  .proof-in { grid-template-columns: repeat(2, 1fr); }
  .proof-in > div:nth-child(3) { border-left: 0; }
  .proof-in > div { border-top: 1px solid var(--line); }
  .threat-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; padding: 30px; gap: 10px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .logo img { height: 14px; }
  .hero { padding-top: 100px; }
  .badge-wrap { width: 190px; }
  .impacts { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .wall div { height: 90px; font-size: 18px; }
  .diffs, .diag-list { grid-template-columns: 1fr 1fr; }
  .ally-row { gap: 16px 28px; }
  .dash-body { grid-template-columns: 1fr; justify-items: center; }
  .bars { width: 100%; }
  form { grid-template-columns: 1fr; padding: 22px; }
  .case { padding: 26px; }
  .case-kpis { grid-template-columns: 1fr 1fr; }
  .proof-in > div { padding: 30px 16px; }
}

/* ---------- full-page sections (desktop) ---------- */
/* Each .panel fills the screen and the browser snaps to it natively: one gesture = one section. */
.dots { display: none; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  html { scroll-snap-type: y mandatory; }
  .panel { scroll-snap-align: start; scroll-snap-stop: always; }
  footer { scroll-snap-align: end; }
  .panel { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 clamp(28px, 5vh, 60px); }
  .panel > .wrap, .panel > .proof > .wrap { width: min(var(--wrap), 100% - 140px); }
  /* script.js sets --fit below 1 when a block would not fit the screen, shrinking it proportionally. */
  .panel > :not(canvas):not(.hero-scroll):not(.scene) { zoom: var(--fit, 1); }
  .statement.panel p { font-size: clamp(32px, min(4.2vw, 7vh), 64px); }

  .dots { display: flex; flex-direction: column; gap: 14px; position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 55; }
  .dots button { position: relative; width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; transition: transform .25s, background .25s, border-color .25s; }
  .dots button:hover { border-color: var(--text); }
  .dots button.on { background: var(--grad); border-color: transparent; transform: scale(1.35); box-shadow: 0 0 14px rgba(25,184,232,.6); }
  .dots button span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; font-size: 12px; letter-spacing: .08em; color: var(--text); background: rgba(5,7,11,.85); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .dots button:hover span { opacity: 1; transform: translateY(-50%); }
}

/* Looping animations only run in the panel on screen (set by script.js). */
.panel.off *, .panel.off::before, .panel.off::after { animation-play-state: paused !important; }

/* ---------- phones: compact layout + swipe carousels ---------- */
/* .carousel lists stay normal grids on desktop; on phones they become horizontal swipe rows with dots (script.js). */
.carousel-dots { display: none; }
@media (max-width: 760px) {
  .nav-in { height: 64px; }
  .nav.scrolled { background: rgba(5, 7, 11, 0.97); }
  .nav-links { top: 64px; }
  .sec { padding: 64px 0; }
  .flush { padding-top: 0; }
  h2 br, .lead br { display: none; }
  .sec-head { margin-bottom: 28px; }

  .hero { padding: 92px 0 56px; min-height: 100svh; }
  .hero-in { gap: 18px; }
  .badge-wrap { width: 128px; justify-self: start; }
  .hero h1 { margin: 14px 0 16px; }
  .hero .lead { margin-bottom: 26px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-scroll { display: none; }

  .proof-in > div { padding: 20px 14px; }
  .proof b { font-size: 34px; margin-bottom: 6px; }
  .proof span { font-size: 13px; line-height: 1.4; display: block; }

  .threat-grid { gap: 10px; margin-bottom: 14px; }
  .threat-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 18px 20px; }
  .threat-card b { font-size: 44px; }
  .threat-card hr { display: none; }
  .threat-card p { font-size: 15px; }
  .impacts { grid-template-columns: 1fr 1fr; }
  .impacts div { padding: 14px; }
  .impacts p { font-size: 13px; }

  /* overflow-y hidden: a horizontal scroller otherwise also scrolls vertically by a few pixels. */
  .carousel { position: relative; display: flex !important; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { flex: 0 0 84%; scroll-snap-align: center; }
  .carousel > .rv { transform: none; }
  .diffs.carousel > * { flex-basis: 62%; }
  .diag-list.carousel > * { flex-basis: 78%; }
  .carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
  .carousel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); transition: width .25s, background .25s; }
  .carousel-dots i.on { width: 18px; border-radius: 99px; background: var(--cyan); }

  .diag h2 { font-size: 38px; }
  .diag-badges img { width: 56px; }
  .dash.big { padding: 18px; }
  .dash-top { flex-wrap: wrap; gap: 8px; }
  .levels span { font-size: 9px; padding: 6px 1px; }

  .fw-badge { width: min(260px, 72%); }
  .fw-std-grid { gap: 6px; }
  .fw-std-grid div { padding: 12px 8px; }
  .fw-std-grid b { font-size: 15px; }
  .fw-std-grid span { font-size: 11px; }
  .fw-trio li { font-size: 13px; }
  .csc-photo { height: 230px; }
  .csc-ico { width: 38px; height: 38px; padding-right: 14px; }
  .csc-ico svg { width: 28px; height: 28px; }
  .csc-list li { gap: 14px; }
  .managed-cols.carousel > .managed-col { flex-basis: 80%; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
  .managed-close { font-size: 19px; }
  .fw-in { gap: 34px; }

  .products.carousel > .product { flex-basis: 78%; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
  .product-visual { --pv: 130px; }
  .product h3 { min-height: 0; }
  .squad { padding: 14px 16px; font-size: 13px; }
  .squad b { width: 100%; }

  .case { padding: 22px; }
  .case-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .case-kpis b { font-size: 18px; }
  .case-kpis span { font-size: 11.5px; }
  .quote.slim { padding: 18px 20px; gap: 6px; }
  .quote.slim .mark { font-size: 54px; line-height: .6; }

  .wall { grid-template-columns: repeat(3, 1fr); }
  .wall div { height: 68px; padding: 8px 10px; }
  .wall img, .wall .top img { max-height: 24px; }
  .wall img[alt="Ypê"] { max-height: 40px; }
  .sectors { gap: 6px; }

  .ally-wall { gap: 22px; }
  .ally-row { gap: 16px 26px; }
  .ally-row img { height: 20px; }
  .ally-row img[alt="Peck Advogados"], .ally-row img[alt="Druva"] { height: 28px; }

  .contact-in { gap: 28px; }
}

/* ---------- scene images from the Executive Deck (slides 2, 4, 6, 8) ---------- */
/* .scene images are absolutely positioned backdrops; panel content sits above them. */
.scene { position: absolute; z-index: 0; pointer-events: none; user-select: none; }
.threat, .managed { overflow: hidden; }
.threat > .wrap, .managed > .wrap { position: relative; z-index: 1; }

/* Slide 2: hooded figure on the right, lit in red */
.threat-figure { right: max(0px, calc(50% - 780px)); bottom: 0; height: 94%; width: auto; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent), linear-gradient(to right, transparent, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 78%, transparent), linear-gradient(to right, transparent, #000 30%); mask-composite: intersect; filter: drop-shadow(-30px 0 60px rgba(229,32,58,.18)); }
@media (min-width: 900px) { .threat .sec-head, .threat .threat-grid, .threat .impacts, .threat .source { max-width: 66%; } }

/* Slide 4: statement next to the blue pillar holding the dominoes */
.statement-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.statement .statement-in p { text-align: left; margin: 0; font-size: clamp(28px, min(3.4vw, 5.8vh), 54px); }
/* Edges are blended into the page colour inside the image file itself, so no CSS mask is needed. */
/* lighten: the dark, page-coloured edges give way to whatever glow is behind them. */
.statement-img { width: 100%; height: auto; mix-blend-mode: lighten; }

/* Slide 6: NIST / ISO / LGPD blocks on the XTR Framework base, labels under each block */
.fw-blocks { width: min(520px, 100%); margin: 0; }
.fw-blocks img { width: 100%; height: auto; display: block; mix-blend-mode: lighten; }
.fw-blocks-title { text-align: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fw-blocks-title b { color: var(--cyan-2); font-weight: 600; }
.fw-blocks-labels { position: relative; height: 2.8em; margin-top: -6px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.fw-blocks-labels span { position: absolute; top: 0; width: 30%; text-align: center; transform: translateX(-50%); }
.fw-blocks-labels span:nth-child(1) { left: 22%; }
.fw-blocks-labels span:nth-child(2) { left: 49%; }
.fw-blocks-labels span:nth-child(3) { left: 77%; }

/* Slide 8: the bridge alone, beside the heading; edges blended into the page colour in the file */
.managed-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; margin-bottom: clamp(20px, 4vh, 44px); }
.managed-head .sec-head { margin-bottom: 0; }
.managed-bridge { width: 100%; height: auto; mix-blend-mode: lighten; }

@media (max-width: 900px) {
  .statement-in, .managed-head { grid-template-columns: 1fr; }
  .threat-figure { height: auto; width: min(320px, 70%); top: 40px; bottom: auto; right: -20px; opacity: .45; }
}
@media (max-width: 760px) {
  .statement .statement-in p { font-size: 28px; }
  .fw-blocks-labels { font-size: 11px; }
}
