/* sena comercial — site.css
   tokens seguem o DESIGN.md (brutalist editorial em canvas cinza quente) */

@font-face { font-family: "Archivo"; src: url(fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --black: #000000;
  --white: #ffffff;
  --canvas: #e5e5e5;
  --mist: #f3f3f3;
  --ash: #c6c6c6;
  --smoke: #979797;
  --slate: #444444;
  --graphite: #2f2f2f;
  --mint: #d1ffca;
  --yellow: #fff100;
  --green: #00d664;
  --red: #ff2b2b;
  --cream: #fff3ce; /* cor original do lobo na logo */

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --page: 1200px;
  --gutter: 24px;
  --nav-h: 8rem;
  --section: clamp(80px, 11vw, 160px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--black);
  font: 500 16px/1.25 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--yellow); }
::selection { background: var(--yellow); color: var(--black); }

.wrap { width: 100%; max-width: calc(var(--page) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 700;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.03em;
}
.display-xl { font-size: clamp(60px, 9.2vw, 130px); }
.display-lg { font-size: clamp(48px, 6.6vw, 80px); }
.heading {
  font-weight: 450;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.mono { font: 400 12px/1.6 var(--f-mono); letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; letter-spacing: -.01em; color: var(--slate); max-width: 34em; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--black);
  border-radius: 64px; padding: 6px 14px;
  font: 400 12px/1.6 var(--f-mono); letter-spacing: -.03em;
  white-space: nowrap;
}

/* linhas mascaradas (reveal). o padding protege acentos de É/Ã do corte */
.line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; }
.line-in { display: block; will-change: transform; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 16px 24px; border-radius: 8px;
  font: 500 16px/1 var(--f-body); letter-spacing: -.011em;
  white-space: nowrap; will-change: transform;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--graphite); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--mint); }
.btn-ghost { border: 1.5px solid var(--slate); color: var(--slate); border-radius: 4px; padding-inline: 16px; }
.btn-ghost:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-sm { min-height: 44px; padding: 12px 18px; }

/* ---------- logo (máscara: uma arte, qualquer cor) ---------- */
.wolf, .sena-word, .wordmark {
  display: block; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.wolf { --m: url(img/wolf.svg); aspect-ratio: 933 / 1242; }
.sena-word { --m: url(img/sena-comercial.svg); aspect-ratio: 2103 / 832; }
.wordmark { --m: url(img/sena-comercial.svg); aspect-ratio: 2103 / 832; }

/* ---------- largada (preloader) ---------- */
.start {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black); color: var(--white);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.js .start { display: flex; animation: start-failsafe 0s 8s forwards; }
@keyframes start-failsafe { to { visibility: hidden; } }
.start-lights { display: flex; gap: clamp(10px, 2vw, 18px); }
.start-lights i {
  width: clamp(28px, 5vw, 44px); aspect-ratio: 1; border-radius: 50%;
  background: var(--graphite);
  transition: background-color .18s ease, box-shadow .18s ease;
}
.start-lights i.on { background: var(--yellow); box-shadow: 0 0 24px rgba(255, 241, 0, .45); }
.start-lights i.go { background: var(--green); box-shadow: 0 0 28px rgba(0, 214, 100, .55); }
.start-label { color: var(--smoke); }
.start-go { font-size: clamp(64px, 13vw, 200px); color: var(--red); text-align: center; white-space: nowrap; visibility: hidden; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.nav-in {
  pointer-events: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  width: 100%; max-width: calc(var(--page) + var(--gutter) * 2); margin-inline: auto;
  padding: 8px var(--gutter);
  border-radius: 48px;
  transition: max-width .6s var(--ease-out), background-color .4s, padding .6s var(--ease-out);
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.nav-logo .wolf { height: 44px; }
.nav-logo .sena-word { height: 32px; }
.nav-links {
  display: flex; gap: 4px; background: var(--white); border-radius: 48px; padding: 6px;
  transition: background-color .4s;
}
.nav-links a {
  padding: 10px 18px; border-radius: 48px; color: var(--slate);
  font-size: 16px; letter-spacing: -.011em;
  transition: background-color .25s, color .25s;
}
.nav-links a:hover { background: var(--canvas); color: var(--black); }
.nav .btn { justify-self: end; }
.nav.is-stuck { height: 5.5rem; }
.nav.is-stuck .nav-in { max-width: 860px; background: var(--white); padding: 8px 8px 8px 20px; }
.nav.is-stuck .nav-links { background: transparent; }
.nav.is-hidden { transform: translateY(-110%); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(16px, 3vw, 40px) var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 8px; }
.hero-sub { display: grid; gap: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pit {
  position: relative; isolation: isolate;
  background: var(--black); color: var(--white);
  border-radius: 64px;
  min-height: min(680px, 78vh);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  perspective: 900px;
}
.pit-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pit-top .mono { color: var(--smoke); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--black); animation: blink 1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.pit-wolf {
  position: absolute; z-index: -1;
  inset: 12% 0 31% 0; display: grid; place-items: center;
  transform-style: preserve-3d; will-change: transform;
}
.pit-wolf .wolf { height: 100%; color: var(--cream); }
.pit-bottom { display: grid; gap: 4px; }
.pit-bottom .mono { color: var(--smoke); }
.pit-note { color: var(--smoke); font-size: 14px; line-height: 1.3; letter-spacing: -.011em; max-width: 30em; margin-top: 8px; }

.timer { display: inline-flex; align-items: baseline; font-family: var(--f-display); font-stretch: 62%; font-weight: 700; line-height: .9; letter-spacing: 0; }
.timer b { font-weight: inherit; display: inline-block; width: .43em; text-align: center; }
.timer b.sep { width: .2em; }
.pit .timer { font-size: clamp(64px, 7.4vw, 104px); }
.pit .timer .ms { color: var(--yellow); }

/* ---------- marquee de segmentos ---------- */
.segments { padding-block: 0 var(--section); }
.segments-label { margin-bottom: 24px; color: var(--slate); }
.marquee { overflow: hidden; white-space: nowrap; padding-block: .16em; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; }
.marquee-track span::after {
  content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--black);
  margin-inline: .32em; flex: none;
}
.marquee-track span:nth-child(4n)::after { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--black); }

/* ---------- manifesto ---------- */
.manifesto { padding-block: 0 var(--section); }
.manifesto p { max-width: 21em; font-size: clamp(28px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1.04; text-transform: uppercase; font-weight: 450; }
.manifesto .w { color: var(--ash); transition: color .2s linear; }
.manifesto .w.lit { color: var(--black); }

/* ---------- método (cards empilhados) ---------- */
.method { padding-block: 0 var(--section); }
.section-head { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.steps { display: grid; gap: 24px; }
.step {
  position: sticky; top: 104px;
  background: var(--white); border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
  min-height: min(560px, 68vh);
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(24px, 4vw, 64px);
  transform-origin: 50% 0; will-change: transform;
}
.step-dark { background: var(--black); color: var(--white); }
.step-head { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.step-num { font-size: clamp(96px, 15vw, 200px); color: var(--canvas); }
.step-dark .step-num { color: var(--graphite); }
.steps .step:nth-child(1) .step-num { color: var(--red); }
.steps .step:nth-child(2) .step-num { color: var(--yellow); }
.steps .step:nth-child(3) .step-num { color: var(--green); }
.step-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; }
.step-body p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; letter-spacing: -.01em; color: var(--slate); }
.step-dark .step-body p { color: var(--ash); }
.step-list li { padding-block: 12px; border-top: 1px solid var(--ash); font-size: 14px; letter-spacing: -.011em; display: flex; gap: 12px; }
.step-dark .step-list li { border-color: var(--slate); }
.step-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .42em; border-radius: 50%; background: currentColor; }
.step-dark .step-list li::before { background: var(--yellow); }

/* ---------- entregas (acordeão) ---------- */
.deliver { padding-block: 0 var(--section); }
.acc { background: var(--white); border-radius: 32px; padding: 8px; }
.acc-item + .acc-item { border-top: 1px solid var(--canvas); }
.acc-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 16px;
  padding: clamp(16px, 2.2vw, 28px) clamp(16px, 2.4vw, 32px);
  border-radius: 24px;
  transition: background-color .3s, color .3s;
}
.acc-btn:hover, .acc-item.open .acc-btn { background: var(--black); color: var(--white); }
.acc-icon { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--canvas); color: var(--black); transition: transform .5s var(--ease-out), background-color .3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn:hover .acc-icon, .acc-item.open .acc-icon { background: var(--yellow); }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 20px clamp(16px, 2.4vw, 32px) 28px; max-width: 46em; color: var(--slate); font-size: 18px; line-height: 1.33; font-weight: 400; }
.faq .heading { font-size: clamp(20px, 2.2vw, 28px); text-transform: none; letter-spacing: -.03em; line-height: 1.2; }
.faq .acc-btn { grid-template-columns: 1fr 44px; }

/* ---------- números (bloco invertido) ---------- */
.numbers {
  background: var(--black); color: var(--white);
  border-radius: 64px 64px 0 0;
  padding-block: var(--section);
  will-change: clip-path;
}
.numbers .lead { color: var(--smoke); }
.numbers-intro { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.numbers-copy { display: grid; gap: clamp(20px, 2.5vw, 32px); padding-bottom: 8px; }
.founder { display: grid; gap: 12px; }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 32px; background: var(--graphite); }
.founder figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; letter-spacing: -.01em; color: var(--smoke); }
.founder figcaption strong { color: var(--white); font-weight: 500; font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(16px, 2.5vw, 32px); }
.stat { border-top: 1px solid var(--slate); padding-top: 24px; display: grid; gap: 16px; align-content: start; }
.stat-n { font-size: clamp(44px, 5.4vw, 80px); white-space: nowrap; }
.stat-n small { font-size: .42em; letter-spacing: -.01em; color: var(--smoke); margin-inline: .12em; }
.stat p { color: var(--smoke); max-width: 22em; font-size: 14px; line-height: 1.35; }
.stat p strong { color: var(--white); font-weight: 500; }

/* ---------- conselho vs estruturação ---------- */
.versus { background: var(--black); color: var(--white); padding-bottom: var(--section); }
.versus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(32px, 5vw, 64px); }
.vcard { border-radius: 32px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 32px; align-content: start; }
.vcard-a { background: var(--graphite); color: var(--smoke); }
.vcard-b { background: var(--white); color: var(--black); }
.vcard li { padding-block: 16px; border-top: 1px solid var(--slate); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.2; letter-spacing: -.01em; }
.vcard-a li { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.vcard-b li { border-color: var(--ash); }

/* ---------- faq ---------- */
.faq { padding-block: var(--section); }

/* ---------- tic-tac (cta final) ---------- */
.cta { padding-block: 0 var(--section); text-align: center; }
.tictac {
  display: flex; justify-content: center; gap: .18em;
  font-size: clamp(72px, 19vw, 300px);
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: -.03em;
}
.tictac span { --wdth: 62; font-variation-settings: "wdth" var(--wdth); font-stretch: normal; }
.cta-body { display: grid; justify-items: center; gap: 32px; margin-top: clamp(32px, 5vw, 56px); }
.cta-body .lead { max-width: 30em; }
.cta-body .timer { font-size: 1.5em; color: var(--black); vertical-align: -.06em; margin-inline: .1em; }
.cta-mail a { background: var(--yellow); padding: 2px 6px; border-radius: 4px; }

/* ---------- rodapé ---------- */
.footer { background: var(--black); color: var(--white); border-radius: 64px 64px 0 0; padding-block: 64px 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer-logo { display: grid; justify-items: center; gap: 14px; width: 150px; }
.footer-logo .wolf { width: 74px; color: var(--cream); }
.footer-logo .wordmark { width: 100%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ash); }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--graphite); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--smoke); }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 5.5rem; }
  .nav-links { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .nav.is-stuck .nav-in { margin-inline: 12px; width: auto; flex: 1; }
  .hero-grid, .section-head, .step { grid-template-columns: 1fr; }
  .display-xl { font-size: clamp(52px, 16.4vw, 130px); }
  .pit { border-radius: 40px; min-height: 520px; padding: 24px; }
  .pit .timer { font-size: clamp(56px, 17vw, 104px); }
  .pit-wolf { inset: 15% 0 37% 0; }
  .step { top: 84px; min-height: 0; border-radius: 24px; }
  .step-num { font-size: 96px; }
  .stats, .versus-grid, .numbers-intro { grid-template-columns: 1fr; }
  .founder { max-width: 360px; }
  .founder img { border-radius: 24px; }
  .stats { gap: 40px; }
  .stat-n { font-size: 64px; }
  .numbers, .footer { border-radius: 40px 40px 0 0; }
  .acc-btn { grid-template-columns: 1fr 44px; }
  .acc-btn .tag { display: none; }
  .acc { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .start { display: none; }
  .live-dot { animation: none; }
  .nav, .nav-in, .acc-panel, .acc-icon { transition: none; }
}
