/* ==========================================================================
   BTECH · Site institucional
   Fonte: Figma "Página de Vendas | BTech" › Site Institucional BTech ›
          Wireframe | Desktop 1920 | v7
   ========================================================================== */

:root {
  /* Cores */
  --c-black: #000;
  --c-ink: #050608;
  --c-bg-2: #101318;
  --c-bg-3: #16191d;
  --c-card: #111317;
  --c-card-2: #0a0d11;
  --c-line: #1f252c;
  --c-line-2: #2a2f36;
  --c-line-3: #3a4450;

  --c-head: #e9fff8;
  --c-head-2: #e9f1f6;
  --c-text: #bcc4cc;
  --c-text-2: #b6bec6;
  --c-muted: #7c8a99;

  --c-accent: #68bfea;
  --c-accent-soft: #8fd0ee;

  --g-btn: linear-gradient(90deg, #e4fdfb 0%, #9ecde7 100%);

  /* Tipografia */
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;

  /* Layout */
  --container: 1216px;
  --gutter: 32px;
  --section-y: 96px;
  --header-h: 94px;
}

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

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

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  position: relative;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); overflow: hidden; }

/* Itálico de destaque usado nos títulos */
.hl { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--c-accent-soft); }

/* Linhas verticais de fundo (SVG exportado do Figma) */
.bg-lines {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1908px;
  height: 1181px;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

/* ---------- Títulos de seção ---------- */
.s-title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-head);
}
.s-lead {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--c-text);
}
.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.s-head .s-title { max-width: 640px; }
.s-head .s-lead { max-width: 460px; }
.s-head--center {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.s-head--center .s-title { max-width: 900px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, filter .2s ease;
}
.btn--primary { background: var(--g-btn); color: #000; }
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 8px 28px rgba(158, 205, 231, .28); transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .5); color: var(--c-head); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--dark { background: #12171c; color: #fff; }
.btn--dark:hover { background: #222a32; }
.btn--outline-dark { border: 1px solid rgba(18, 23, 28, .45); color: #12171c; }
.btn--outline-dark:hover { border-color: #12171c; background: rgba(18, 23, 28, .06); }
.btn--block { width: 100%; }

/* ==========================================================================
   00 · Menu
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-black);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header__logo img { width: 96px; height: 21px; }
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  transition: color .2s ease;
}
.nav a:hover { color: #fff; }
.header__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.header__toggle span,
.header__toggle span::before,
.header__toggle span::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--c-head); position: relative;
  transition: transform .25s ease, background-color .25s ease;
}
.header__toggle span::before,
.header__toggle span::after { content: ""; position: absolute; left: 0; }
.header__toggle span::before { top: -7px; }
.header__toggle span::after { top: 7px; }
.header.is-open .header__toggle span { background: transparent; }
.header.is-open .header__toggle span::before { transform: translateY(7px) rotate(45deg); }
.header.is-open .header__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   01 · Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 88px;
  overflow: hidden;
  background: var(--c-black);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; max-width: none; }
.hero__glow--haze  { left: calc(50% - 1747.2px); top: 141.72px;  width: 3302.4px; height: 2503.72px; }
.hero__glow--left  { left: calc(50% - 1574.4px); top: 496.02px;  width: 1612.8px; height: 944.8px; }
.hero__glow--right { left: calc(50% + 268.8px);  top: 472.4px;   width: 1152px;   height: 850.32px; }
.hero__glow--core  { left: calc(50% - 1305.6px); top: 637.74px;  width: 2380.8px; height: 1275.48px; }
.hero__glow--hot   { left: calc(50% - 633.6px);  top: 1015.66px; width: 1152px;   height: 519.64px; }
.hero__fade {
  position: absolute; left: 0; right: 0; top: 0; height: 1181px;
  background: linear-gradient(180deg, #02070d 0%, rgba(2, 7, 13, .72) 10%, rgba(2, 7, 13, .24) 24%, rgba(2, 7, 13, 0) 40%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  text-align: center;
}
.tag {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid rgba(233, 255, 248, .6);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: var(--c-head);
}
.hero__title {
  max-width: 820px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--c-head);
}
.hero__lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 740px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--c-text);
}
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__note { font-size: 14px; color: var(--c-muted); }

/* Tela do sistema · inclinação inicial (referência: normedic.com.br .heroTilt) */
.hero__stage {
  position: relative;
  width: 100%;
  perspective: 1400px;
}
.hero__shadow {
  position: absolute;
  left: -75.87px;
  bottom: -101.79px;
  width: 159.42px;
  height: 536.27px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__shadow::before {
  content: "";
  width: 84px;
  height: 530px;
  background: rgba(0, 0, 0, .8);
  filter: blur(40px);
  transform: rotate(8.28deg);
}
.hero__tilt {
  --tilt: 16deg;
  --tilt-scale: .94;
  position: relative;
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt)) scale(var(--tilt-scale));
  will-change: transform;
}
/* Navegadores com scroll-driven animations (Chrome/Edge): mesma técnica do normedic */
@supports (animation-timeline: scroll()) {
  .hero__tilt {
    transform: none;
    animation: heroTilt linear both;
    animation-timeline: scroll(root);
    animation-range: 0 600px;
  }
}
@keyframes heroTilt {
  from { transform: rotateX(var(--tilt)) scale(var(--tilt-scale)); }
  to   { transform: none; }
}
/* Fallback JS (Safari/Firefox) controla via --p (0 → 1) */
.hero__tilt.is-js {
  animation: none;
  transform:
    rotateX(calc(var(--tilt) * (1 - var(--p, 0))))
    scale(calc(var(--tilt-scale) + (1 - var(--tilt-scale)) * var(--p, 0)));
}
@media (prefers-reduced-motion: reduce) {
  .hero__tilt, .hero__tilt.is-js { animation: none; transform: none; }
}

.screen {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #1b2026;
  border: 10px solid #2a2f36;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: -32px 24px 36px rgba(0, 0, 0, .32);
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* ==========================================================================
   01b · Atuação nacional
   ========================================================================== */
.reach { background: var(--c-black); }
.reach__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.reach__text { display: flex; flex-direction: column; gap: 32px; max-width: 502px; }
.reach__title {
  max-width: 480px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--c-head-2);
}
.reach__title .hl { color: var(--c-accent); }
.stats { display: flex; gap: 16px; }
.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 16px;
}
.stat strong {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 34px;
  color: var(--c-accent);
}
.stat span { font-size: 15px; color: var(--c-text-2); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: var(--c-text-2);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  transition: box-shadow .2s ease;
}
.chip.is-active,
.chip:hover {
  border-color: rgba(104, 191, 234, .55);
  background: #12202d;
  color: var(--c-head-2);
}
.chip.is-active::before,
.chip:hover::before { box-shadow: 0 0 0 4px rgba(104, 191, 234, .18); }

.map { position: relative; width: 580px; max-width: 100%; flex-shrink: 0; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.uf {
  fill: #0e1216;
  stroke: #1c232a;
  stroke-width: .90625;
  stroke-linejoin: round;
  transition: fill .25s ease, stroke .25s ease;
}
.uf.is-on { fill: #12283a; stroke: #2e6a94; }
.uf.is-on.is-active { fill: #1a3c57; stroke: var(--c-accent); }
.map-pin { cursor: pointer; outline: none; }
.map-pin__base { fill: var(--c-accent); fill-opacity: .25; transition: fill-opacity .25s ease; }
.map-pin__body path { fill: var(--c-accent); }
.map-pin__body { transition: transform .25s ease, filter .25s ease; }
.map-pin__hit { fill: transparent; }
.map-pin.is-active .map-pin__base { fill-opacity: .55; }
.map-pin.is-active .map-pin__body path { filter: drop-shadow(0 0 6px rgba(104, 191, 234, .8)); }
.map-tip {
  position: absolute;
  z-index: 2;
  padding: 6px 12px;
  background: #12202d;
  border: 1px solid #2f5f7a;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-head-2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 6px));
  transition: opacity .2s ease;
}
.map-tip.is-visible { opacity: 1; }

/* ==========================================================================
   02 · Problema
   ========================================================================== */
.problem { background: var(--c-black); }
.problem__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.problem .s-head { width: 100%; }
.pains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.pain {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  transition: border-color .25s ease, transform .25s ease;
}
.pain:hover { border-color: #2f3a45; transform: translateY(-2px); }
.pain__img { aspect-ratio: 289 / 162; overflow: hidden; }
.pain__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pain:hover .pain__img img { transform: scale(1.04); }
.pain__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; }
.pain__body h3 { font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--c-head); }
.pain__body p { font-size: 15px; line-height: 1.5; letter-spacing: 0.03em; color: var(--c-text); }
.problem__close {
  max-width: 522px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: var(--c-head);
}

/* ==========================================================================
   03 · Soluções (carrossel)
   ========================================================================== */
.solutions { background: var(--c-bg-2); border-block: 1px solid var(--c-line-2); }
.solutions__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.solutions .s-head { width: 100%; }
.solutions .s-head .s-title { max-width: 549px; }

.carousel { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; }
.carousel__viewport {
  width: 100%;
  overflow: hidden;
  padding-block: 20px;
  touch-action: pan-y;
}
.carousel__track {
  --gap: 20px;
  display: flex;
  gap: var(--gap);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.carousel__track.is-dragging { transition: none; }
.sol-card {
  flex: 0 0 calc((100% - var(--gap) * (var(--per-view, 3) - 1)) / var(--per-view, 3));
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 257px;
  padding: 28px;
  background: var(--c-card-2);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  user-select: none;
  transition: border-color .25s ease;
}
.sol-card:hover { border-color: #2c3540; }
.sol-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #171c23;
  border: 1px solid #252b33;
  border-radius: 13px;
}
.sol-card__icon img { width: 24px; height: 24px; }
.sol-card h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--c-head-2);
}
.sol-card p { font-size: 15px; line-height: 1.5; letter-spacing: 0.01em; color: var(--c-text-2); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #3a4857;
  border-radius: 100px;
  transition: opacity .2s ease, border-color .2s ease, background-color .2s ease;
}
.carousel__arrow img { width: 20px; height: 20px; }
.carousel__arrow:hover:not(:disabled) { border-color: var(--c-accent); background: rgba(104, 191, 234, .08); }
.carousel__arrow:disabled { border-color: #222a33; opacity: .5; cursor: default; }
.carousel__dots { display: flex; align-items: center; gap: 8px; }
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #2b3744;
  transition: width .3s ease, background-color .3s ease;
}
.carousel__dot.is-active { width: 28px; background: var(--c-accent); }

.solutions__cta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; text-align: center; }
.solutions__cta p { font-size: 18px; font-weight: 500; color: var(--c-head); }

/* ==========================================================================
   04 · Por cargo
   ========================================================================== */
.roles { background: var(--c-black); }
.roles__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.roles .s-title { max-width: 900px; }
.roles .s-lead { max-width: 640px; }
.roles__body { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab {
  padding: 12px 22px;
  border: 1px solid var(--c-line-3);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  color: var(--c-text);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.tab:hover { border-color: #5a6876; color: #fff; }
.tab[aria-selected="true"] {
  padding: 13px 23px;
  border: 0;
  background: var(--g-btn);
  color: #000;
}
.role-panel {
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
  padding: 40px 56px;
  background: var(--c-bg-3);
  border: 1px solid var(--c-line-2);
  border-radius: 8px;
}
.role-panel__text { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.role-panel__scope { font-size: 13px; font-weight: 500; color: var(--c-accent); text-transform: uppercase; }
.role-panel__name { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--c-head); }
.role-panel__desc { max-width: 560px; font-size: 17px; line-height: 1.5; letter-spacing: 0.03em; color: var(--c-text); }
.role-panel__text > * { transition: opacity .25s ease, transform .25s ease; }
.role-panel.is-switching .role-panel__text > :not(.btn) { opacity: 0; transform: translateY(6px); }

.rings { position: relative; width: 260px; height: 260px; flex-shrink: 0; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.2px solid #2f3640;
  background: transparent;
  transition: border-color .35s ease, background-color .35s ease, border-width .35s ease;
}
.ring--brasil { inset: 0; }
.ring--estado { inset: 32.5px; }
.ring--cidade { inset: 65px; }
.ring--bairro { inset: 97.5px; }
.ring.is-on { border: 1.6px solid var(--c-accent); background: rgba(104, 191, 234, .16); }
.ring__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-muted);
  white-space: nowrap;
  transition: color .35s ease;
}
.ring__label.is-on { font-weight: 600; color: var(--c-accent); }
.ring__label--brasil { top: 8px; }
.ring__label--estado { top: 40px; }
.ring__label--cidade { top: 72px; }
.ring__label--bairro { top: 122.5px; }

.roles__note { max-width: 800px; font-size: 16px; font-weight: 500; text-align: center; color: var(--c-head); }

/* ==========================================================================
   05 · Como funciona
   ========================================================================== */
.how { background: var(--c-bg-2); }
.how__inner { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.how .s-head { width: 100%; }
.how__visual { width: 100%; }
.stage {
  position: relative;
  height: 438px;
  overflow: hidden;
  border-radius: 28px;
}
.stage img {
  position: absolute;
  left: -7.31%;
  top: 5px;
  width: 108.28%;
  max-width: none;
  height: auto;
}
.stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 216px;
  background: linear-gradient(180deg, rgba(16, 19, 24, 0) 0%, rgba(16, 19, 24, .77) 57.88%, #101318 100%);
}
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--c-line-2);
}
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 30px; padding-right: 12px; }
.step::before,
.step::after { content: ""; position: absolute; border-radius: 50%; background: var(--c-accent); }
.step::before { left: -5px; top: -10.5px; width: 21px; height: 21px; opacity: .2; }
.step::after { left: 1px; top: -4.5px; width: 9px; height: 9px; }
.step__num { font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1.33; color: var(--c-accent); }
.step h3 { font-size: 19px; font-weight: 500; line-height: 1.2; color: var(--c-head-2); }
.step p { font-size: 15px; line-height: 1.5; letter-spacing: 0.02em; color: var(--c-text-2); }

/* ==========================================================================
   06 · Mandato inteiro
   ========================================================================== */
.term { background: var(--c-black); }
.term .bg-lines { top: 50%; transform: translate(-50%, -50%); }
.term__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.term .s-head { max-width: 900px; }
.term .s-lead { max-width: 628px; }
/* Trilho de rolagem: a seção fica fixa enquanto as etapas avançam */
/* overflow: hidden quebra o position: sticky; clip corta sem criar contêiner de rolagem */
.term.is-pinned { overflow: visible; overflow: clip; }
.term__scroll { position: relative; width: 100%; }
.term__sticky { position: relative; display: flex; flex-direction: column; align-items: center; gap: 48px; width: 100%; }
.term__sticky > .bg-lines { z-index: 0; }
.term__sticky > :not(.bg-lines) { position: relative; z-index: 1; }
.term.is-pinned .term__scroll { height: calc(var(--sticky-h, 720px) + var(--track, 150vh)); }
.term.is-pinned .term__sticky {
  position: sticky;
  top: var(--sticky-top, var(--header-h));
}
.term__body { display: flex; align-items: center; gap: 56px; width: 100%; }
.phase__bar {
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: rgba(104, 191, 234, .14);
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
}
.phase__bar i { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); background: var(--c-accent); }
.term.is-pinned .phase.is-active .phase__bar { opacity: 1; }
.phases { display: flex; flex-direction: column; gap: 10px; width: 540px; flex-shrink: 0; }
.phase {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 26px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: left;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.phase:hover { background: rgba(23, 28, 35, .5); }
.phase.is-active {
  background: #171c23;
  border-color: #2a313a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.phase__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: rgba(104, 191, 234, .08);
  border: 1px solid #252b33;
  border-radius: 12px;
  transition: background-color .3s ease, border-color .3s ease;
}
.phase.is-active .phase__icon { background: rgba(104, 191, 234, .16); border-color: #2f5f7a; }
.phase__icon img { width: 22px; height: 22px; }
.phase__text { display: flex; flex-direction: column; gap: 8px; }
.phase__text strong { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; color: var(--c-head-2); }
.phase__text span { font-size: 15px; line-height: 1.52; letter-spacing: 0.01em; color: #8e99a6; transition: color .3s ease; }
.phase.is-active .phase__text span { color: var(--c-text-2); }

.loop { position: relative; width: 620px; max-width: 100%; flex-shrink: 0; margin-left: auto; }
.loop__svg { width: 100%; height: auto; overflow: visible; }
/* Arcos de progresso: desenhados pela rolagem (stroke-dashoffset da máscara, 1 → 0) */
.loop__done { opacity: 0; stroke-opacity: .1; transition: opacity .6s ease; }
.loop.is-complete .loop__done { opacity: 1; }
.loop.is-complete .loop__pin[data-pin="1"] { animation: pinPulse 1.2s ease-out 1; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pinPulse { 0% { scale: 1; } 40% { scale: 1.18; } 100% { scale: 1; } }
.loop__pin path:first-child { fill: #2b3744; transition: fill .35s ease; }
.loop__pin path:last-child { fill: #141a22; transition: fill .35s ease; }
.loop__pin.is-on path:first-child { fill: var(--c-accent); }
.loop__pin.is-on path:last-child { fill: #06141f; }
.loop__light { opacity: 0; transition: opacity .4s ease; }
.loop__light.is-on { opacity: 1; }
.loop__center {
  position: absolute;
  left: 50%;
  top: 57%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  text-align: center;
}
.loop__center small { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--c-muted); }
.loop__center strong {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 84px;
  line-height: 1.33;
  color: var(--c-accent);
}
.loop__center span { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.loop__label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #12202d;
  border: 1px solid #2f5f7a;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-head-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.loop__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.loop__label.is-on { opacity: 1; transform: none; }
.loop__label--1 { left: 15.03%; top: 81.06%; }
.loop__label--2 { left: 37.26%; top: 4.47%; }
.loop__label--3 { left: 59.73%; top: 81.06%; }

.term__close {
  max-width: 1000px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--c-head);
}
.term__close .hl { display: block; letter-spacing: -0.02em; }

/* ==========================================================================
   07 · Por que a BTECH
   ========================================================================== */
.why { background: var(--c-bg-3); }
.why__inner { display: flex; flex-direction: column; gap: 48px; }
.why .s-title { max-width: 900px; }
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line-2);
}
.pillar img { width: 32px; height: 32px; }
.pillar h3 { font-size: 18px; font-weight: 500; line-height: 1.2; color: var(--c-head); }
.pillar p { font-size: 14px; line-height: 1.5; color: var(--c-text); }

/* ==========================================================================
   08 · Perguntas frequentes
   ========================================================================== */
.faq { background: var(--c-black); }
.faq__inner { display: flex; align-items: flex-start; gap: 64px; }
.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 340px;
  flex-shrink: 0;
}
.faq__intro p { font-size: 16px; line-height: 1.5; letter-spacing: 0.03em; color: var(--c-text); }
.accordion { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.acc {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  transition: border-color .2s ease;
}
.acc:hover { border-color: #2a323b; }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #f2f6f8;
}
.acc__chev {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: no-repeat center / 22px url("../assets/img/chevron.svg");
  transition: transform .3s ease;
}
.acc.is-open .acc__chev { transform: rotate(180deg); background-image: url("../assets/img/chevron-open.svg"); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  margin: 0 24px 22px;
  padding-top: 18px;
  border-top: 1px solid #232a31;
  font-size: 16px;
  line-height: 1.6;
  color: #9aa4ae;
}

/* ==========================================================================
   09 · Contato
   ========================================================================== */
.contact { background: var(--c-bg-2); }
.contact::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 250px;
  background: var(--c-black);
}
.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 56px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(851.54px 696.94px at 50% 10%, #f4f8fb 0%, #cdd6de 50%, #a8b5bf 100%);
}
.banner__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.banner__text { position: relative; display: flex; flex-direction: column; gap: 24px; max-width: 480px; }
.banner__title { font-size: 44px; font-weight: 400; line-height: 1.12; color: #12171c; }
.banner__title .hl { color: #2b6080; }
.banner__lead { font-size: 18px; line-height: 1.5; letter-spacing: 0.03em; color: #33475a; }
.banner__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 528px;
  flex-shrink: 0;
  padding: 36px;
  background: #eef3f6;
  border: 1px solid #c3ced6;
  border-radius: 16px;
}
.form__title { font-size: 22px; font-weight: 500; color: #12171c; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: #33475a; }
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid #b9c5ce;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #12171c;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  padding-right: 44px;
  background: #fff no-repeat right 16px center / 18px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M5.5 8.25L11 13.75L16.5 8.25' stroke='%234a5a68' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  cursor: pointer;
}
.field select:invalid { color: #8593a0; }
.field input::placeholder { color: #8593a0; }
.field input:focus,
.field select:focus { outline: none; border-color: #2b6080; box-shadow: 0 0 0 3px rgba(43, 96, 128, .18); }
.field.is-invalid input,
.field.is-invalid select { border-color: #c2414b; }
.form__legal { font-size: 12px; color: #4a5a68; }
.form__status { font-size: 14px; font-weight: 500; color: #2b6080; }
.form__status:empty { display: none; }

/* ==========================================================================
   10 · Rodapé
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  background: var(--c-ink);
}
.footer__glow {
  position: absolute;
  left: calc(50% - 750px);
  top: 386px;
  width: 1500px;
  height: 460px;
  max-width: none;
  pointer-events: none;
}
.footer__wordmark {
  position: absolute;
  left: 50%;
  top: 499px;
  width: 1009px;
  height: 222px;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}
.footer__inner { position: relative; display: flex; flex-direction: column; gap: 56px; }
.footer__main { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 22px; max-width: 360px; }
.footer__brand > img { width: 96px; height: 21px; }
.footer__brand p { font-size: 15px; line-height: 1.55; letter-spacing: 0.01em; color: var(--c-text-2); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #252b33;
  border-radius: 100px;
  transition: border-color .2s ease, background-color .2s ease;
}
.socials a:hover { border-color: var(--c-accent); background: rgba(104, 191, 234, .08); }
.socials img { width: 19px; height: 19px; }
.footer__cols { display: flex; gap: 88px; }
.footer__col { display: flex; flex-direction: column; gap: 15px; }
.footer__col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--c-muted); }
.footer__col a,
.footer__col span { font-size: 15px; color: var(--c-text-2); white-space: nowrap; transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.footer__divider { height: 1px; background: #1a1f26; }
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--c-muted);
}
.footer__legal nav { display: flex; gap: 28px; }
.footer__legal a:hover { color: var(--c-text); }
.footer__space { height: 132px; }

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1280px) {
  .nav { gap: 22px; }
  .footer__cols { gap: 56px; }
}

@media (max-width: 1120px) {
  :root { --section-y: 80px; }
  .header__toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(0, 0, 0, .96);
    border-bottom: 1px solid var(--c-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--c-line); }
  .nav .btn { margin-top: 20px; border: 0; }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__cta { display: inline-flex !important; }

  .s-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .s-head--center { align-items: center; }

  .reach__inner { flex-direction: column; align-items: stretch; }
  .reach__text { max-width: none; }
  .map { margin-inline: auto; }

  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .role-panel { flex-direction: column; align-items: flex-start; padding: 40px; }
  .rings { align-self: center; }

  .term__body { flex-direction: column; }
  .phases { width: 100%; max-width: 640px; }
  .loop { margin-inline: auto; }

  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }

  .faq__inner { flex-direction: column; gap: 40px; }
  .faq__intro { position: static; width: auto; }
  .accordion { width: 100%; }

  .banner { flex-direction: column; align-items: stretch; padding: 56px 40px; }
  .banner__text { max-width: 560px; }
  .form { width: 100%; }

  .footer__main { flex-direction: column; }
}

@media (min-width: 1121px) {
  .nav__cta { display: none !important; }
}

@media (max-width: 860px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .timeline::before { display: none; }
  .step { border-top: 1px solid var(--c-line-2); }
  .stage { height: 320px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 64px; --header-h: 72px; }
  .s-title { font-size: 30px; }
  .s-lead { font-size: 16px; }

  .hero { padding-top: 48px; }
  .hero__content { gap: 40px; }
  .hero__title { font-size: 34px; line-height: 1.12; }
  .hero__lead { font-size: 16px; }
  .hero__buttons { flex-direction: column; width: 100%; }
  .hero__buttons .btn { width: 100%; }
  .hero__note { font-size: 13px; }
  .hero__tilt { --tilt: 10deg; }
  .screen { height: auto; aspect-ratio: 1196 / 490; border-width: 6px; border-radius: 10px 10px 0 0; }

  .reach__title { font-size: 32px; }
  .stat { padding: 12px 16px; }
  .stat strong { font-size: 32px; line-height: 28px; }
  .stat span { font-size: 14px; white-space: normal; }

  .pains { grid-template-columns: 1fr; }

  .sol-card { min-height: 0; padding: 24px; }
  .sol-card h3 { font-size: 20px; }
  .carousel__controls { gap: 16px; }
  .carousel__dots { gap: 6px; }
  .solutions__cta p { font-size: 16px; }

  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .role-panel { padding: 28px 24px; gap: 32px; }
  .role-panel__name { font-size: 26px; }
  .role-panel__desc { font-size: 16px; }
  .role-panel .btn { width: 100%; white-space: normal; text-align: center; }

  .stage { height: 220px; border-radius: 18px; }
  .timeline { grid-template-columns: 1fr; row-gap: 40px; }

  .phase { padding: 20px; gap: 16px; }
  .phase__text strong { font-size: 18px; }
  .loop__center strong { font-size: 56px; }
  .loop__label { font-size: 11px; padding: 6px 10px; }
  .term__close { font-size: 24px; }

  .pillars { grid-template-columns: 1fr 1fr; }

  .acc__btn { padding: 18px 20px; font-size: 16px; }
  .acc__panel p { margin-inline: 20px; font-size: 15px; }

  .banner { padding: 40px 20px; border-radius: 20px; }
  .banner__title { font-size: 32px; }
  .banner__lead { font-size: 16px; }
  .banner__buttons .btn { flex: 1 1 auto; }
  .form { padding: 24px 20px; }

  .footer__cols { flex-direction: column; gap: 36px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .footer__wordmark { width: 92vw; height: auto; top: auto; bottom: -6vw; }
  .footer__glow { top: auto; bottom: -260px; }
  .footer__space { height: 22vw; }
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .btn { padding: 16px 20px; font-size: 14px; }
}

/* Quebras de linha que só valem no desktop (iguais ao Figma) */
@media (max-width: 1120px) { .br-lg { display: none; } }
