/* ==========================================================================
   ALCANCE TECNOLOGIA INTEGRADA
   style.css : sistema visual (cores e logo da marca + linguagem moderna)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Cores da marca : Alcance Brandbook v1
     Grafite como base, branco como respiro, gradiente âmbar só em destaques */
  --orange: #ff8d00;
  --yellow: #ffbe00;
  --amber: #ffbe00;
  --grad: linear-gradient(160deg, #ffbe00 0%, #ff8d00 100%);
  --grad-soft: linear-gradient(160deg, rgba(255, 190, 0, .12) 0%, rgba(255, 141, 0, .12) 100%);

  /* Neutros */
  --ink: #1f202b;
  --ink-2: #272836;
  --ink-3: #323343;
  --muted: #a6a8b8;
  --slate: #5b5d6e;
  --slate-2: #a6a8b834;
  --paper: #ffffff;
  --mist: #f3f3f6;
  --cream: #f3f3f6;
  --cream-2: #e9e9ef;
  --orange-deep: #b86200;
  --highlight: #ffefc2;
  --line: #e3e4ea;
  --line-dark: #3a3b4c;

  /* Tipografia : Brooklyn (títulos) e Nexa Text (texto) são licenciadas;
     Outfit e Mulish entram como substitutas quando não instaladas */
  --font-display: "Brooklyn", "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nexa Text", "NexaText", "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --fs-eyebrow: .75rem;      /* 12px */
  --fs-micro: .8125rem;      /* 13px */
  --fs-sm: .9375rem;         /* 15px */
  --fs-body: 1rem;           /* 16px */
  --fs-lead: clamp(1.0625rem, 1.01rem + .25vw, 1.1875rem);
  --fs-h4: 1.0625rem;        /* 17px : títulos de card */
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h2: clamp(1.75rem, 1.28rem + 1.6vw, 2.375rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
  --fs-stat: clamp(1.875rem, 1.4rem + 1.7vw, 2.625rem);

  /* Espaço */
  --sec-y: clamp(64px, 6.5vw, 108px);
  --gap: clamp(20px, 2vw, 28px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(31, 32, 43, .05), 0 8px 24px -16px rgba(31, 32, 43, .22);
  --shadow-md: 0 2px 6px rgba(31, 32, 43, .05), 0 22px 48px -26px rgba(31, 32, 43, .30);
  --shadow-glow: 0 18px 44px -20px rgba(255, 141, 0, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.08; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.12; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. UTILITÁRIOS DE LAYOUT
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: var(--sec-y); position: relative; }
section[id], div[id].marquee { scroll-margin-top: 86px; }
.section--mist { background: var(--mist); }
.section--mist .card { background: var(--paper); }
.section--mist .card:hover { background: var(--paper); box-shadow: var(--shadow-md); }
.section--dark { background: var(--ink); color: var(--muted); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  margin-top: 14px;
  font-size: var(--fs-lead);
  line-height: 1.62;
  max-width: 60ch;
}
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--grad);
  -webkit-mask: var(--arrow-mask) center/contain no-repeat;
  mask: var(--arrow-mask) center/contain no-repeat;
}
.section--dark .eyebrow { color: var(--amber); }

/* seta ↗ do logo, usada como máscara */
:root {
  --long-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14'%3E%3Cpath d='M1 7h38M33 1.6 38.6 7 33 12.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.6 10.4 L7.4 17.8 L16.6 7.2' fill='none' stroke='%23000' stroke-width='4.3' stroke-linejoin='miter' stroke-linecap='butt'/%3E%3Cpath d='M11.6 2.4 H21.6 V12.4 H17.6 V6.4 H11.6 Z'/%3E%3C/svg%3E");
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Assinatura da marca: o "traço de alcance" sob a palavra-chave */
.mark {
  color: var(--orange-deep);
  background-image: linear-gradient(var(--highlight), var(--highlight));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 0 .72em;
  padding: 0 .08em;
  margin: 0 -.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .8s var(--ease) .25s;
}
[data-reveal].is-in .mark, .mark.is-in { background-size: 100% .72em; }
.section--dark .mark { color: var(--yellow); background-image: linear-gradient(#ffffff12, #ffffff12); }

/* --------------------------------------------------------------------------
   4. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--grad);
  color: var(--ink);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 52px -18px rgba(255, 141, 0, .7); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: var(--ink-2); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.section--dark .btn--ghost { color: #fff; border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { border-color: #fff; }

.btn--sm { padding: 11px 18px; font-size: var(--fs-micro); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.progress {
  position: fixed; inset: 0 auto auto 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad);
  z-index: 200;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  padding-block: 16px;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(31, 32, 43, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark), 0 12px 30px -24px rgba(0, 0, 0, .5);
  padding-block: 10px;
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav__logo { flex: none; }
.nav__logo img { height: 38px; width: auto; }
.nav__logo-img--dark { display: none; }
.nav__logo-img--light { display: block; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__menu a {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { background: rgba(255, 255, 255, .1); }
.nav__menu-icon { display: none; }
.nav__menu-cta { display: none; }

.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav__search-btn {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  flex: none;
}
.nav__search-btn svg { width: 18px; height: 18px; }

/* Header sobre seção escura (hero) ou já grudado no topo (sempre grafite) */
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__logo-img--dark { display: none; }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__logo-img--light { display: block; }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__menu a { color: #fff; }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__menu a:hover,
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__menu a.is-active { background: rgba(255, 255, 255, .14); }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__cta .btn--ghost { color: #fff; border-color: var(--line-dark); }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__cta .btn--ghost:hover { border-color: #fff; }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__search-btn { background: rgba(255, 255, 255, .14); border-color: var(--line-dark); color: #fff; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; position: relative;
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
  .nav__toggle { display: inline-flex; order: 3; }
  .nav__cta { order: 2; margin-left: auto; }
  .nav__cta .btn--ghost, .nav__cta-wa { display: none; }
  .nav__search-btn { display: inline-flex; }
  .nav__menu {
    order: 4;
    position: absolute;
    top: calc(100% + 8px); left: 20px; right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 10px;
    margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  /* O menu suspenso é sempre branco, então o link sempre fica escuro */
  :is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__menu a { color: #fff; }
  :is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__menu a:hover,
  :is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__menu a.is-active { background: rgba(255, 255, 255, .08); }

  /* Ícones nos itens + CTA do WhatsApp dentro do menu suspenso */
  .nav__menu a { display: flex; align-items: center; gap: 12px; }
  .nav__menu-icon { display: inline-flex; width: 18px; height: 18px; flex: none; color: var(--orange-deep); }
  .nav__menu-cta { display: block; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav__menu-cta a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    background: var(--amber); color: var(--ink);
    font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
    padding: 13px 18px; border-radius: 999px;
    box-shadow: var(--shadow-glow);
  }
  .nav__menu-cta a svg { width: 17px; height: 17px; flex: none; }
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: clamp(112px, 12vw, 156px);
  padding-bottom: clamp(64px, 6vw, 92px);
  overflow: hidden;
  background: var(--ink);
  color: var(--muted);
}
.hero > .wrap { width: 100%; }
.hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: .6;
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(31, 32, 43, .88) 0%, rgba(31, 32, 43, .62) 42%, rgba(31, 32, 43, .38) 75%);
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  top: -280px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 190, 0, .38), rgba(255, 190, 0, .14) 42%, transparent 68%);
  filter: blur(10px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -320px; left: -220px;
  width: 620px; height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 141, 0, .22), transparent 66%);
  z-index: -1;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--amber); }
.hero .mark { color: var(--yellow); background-image: linear-gradient(#ffffff12, #ffffff12); }
.hero .btn--ghost { color: #fff; border-color: var(--line-dark); }
.hero .btn--ghost:hover { border-color: #fff; }

.hero__copy { max-width: 600px; }
.hero h1 .grad-text { display: inline; }
.hero__lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.62;
  max-width: 52ch;
}
.hero .btn-row { margin-top: 30px; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: #fff;
  animation: hero-scroll-bounce 2.2s ease-in-out infinite;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.hero__scroll:hover { border-color: #fff; background: #ffffff12; }
.hero__scroll svg { width: 16px; height: 16px; transform: rotate(90deg); }
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
}
@media (max-width: 575px) {
  .hero__scroll { display: none; }
}

/* Cabeçalho de página interna (ex: servicos.html) */
.page-head { padding-top: clamp(112px, 12vw, 156px); padding-bottom: clamp(28px, 3vw, 40px); }
.page-head__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-micro); font-weight: 600; color: var(--slate);
  margin-bottom: 20px;
  transition: color .25s var(--ease);
}
.page-head__back svg { width: 15px; height: 15px; transform: rotate(180deg); }
.page-head__back:hover { color: var(--ink); }

.page-head--photo { position: relative; z-index: 0; overflow: hidden; }
.page-head--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/fotos/seguranca-ambar.jpg") center/cover no-repeat;
  z-index: -2;
}
.page-head--photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(31, 32, 43, .9) 0%, rgba(31, 32, 43, .68) 45%, rgba(31, 32, 43, .42) 80%);
  z-index: -1;
}
.page-head--photo .page-head__back { color: var(--muted); }
.page-head--photo .page-head__back:hover { color: #fff; }
.page-head--photo h1 { color: #fff; }
.page-head--photo .section-head p { color: var(--muted); }
.page-head--photo .mark { color: var(--yellow); background-image: linear-gradient(#ffffff12, #ffffff12); }

/* --------------------------------------------------------------------------
   8. CARDS GENÉRICOS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  position: relative;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: clamp(24px, 2.2vw, 32px);
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); background: var(--cream-2); }
.card p { margin-top: 9px; font-size: var(--fs-sm); line-height: 1.62; }

.card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center; place-content: start;
  margin-bottom: 20px;
  color: var(--ink);
  transition: transform .35s var(--ease);
}
.card__icon svg { width: 36px; height: 36px; }
.card:hover .card__icon { transform: translateY(-2px); }

.card__num {
  font-family: var(--font-display); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .08em; color: #c3c7d0; margin-bottom: 10px; display: block;
}

/* Cards em fundo escuro */
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card:hover { border-color: #ffffff33; box-shadow: none; }
.section--dark .card p { color: var(--muted); }
.section--dark .card__icon { background: #ffffff0d; border-color: var(--line-dark); }
.section--dark .card:hover .card__icon { background: var(--grad); }
.section--dark .card__icon svg { color: var(--amber); }
.section--dark .card:hover .card__icon svg { color: var(--ink); }

/* --------------------------------------------------------------------------
   9. SERVIÇOS
   -------------------------------------------------------------------------- */
.service {
  display: flex; flex-direction: column;
  min-height: 100%;
}
.service__arrow {
  width: 38px; height: 13px; flex: none;
  background: var(--ink);
  -webkit-mask: var(--long-arrow) right center/contain no-repeat;
  mask: var(--long-arrow) right center/contain no-repeat;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.card:hover .service__arrow { background: var(--orange-deep); transform: translateX(5px); }

/* Card inteiro clicável: link invisível cobrindo a área toda (leva ao WhatsApp) */
.card__link {
  position: absolute; inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.card__link:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }

/* Cards grandes em destaque (página de serviços) */
.service-big { padding: clamp(28px, 3vw, 40px); }
.service-big h3 { margin-top: 4px; }
.service-big > p { margin-top: 12px; font-size: var(--fs-sm); line-height: 1.62; }
.service-big__list { display: grid; gap: 10px; margin-top: 20px; }
.service-big__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
}
.service-big__list li::before {
  content: "";
  width: 15px; height: 15px; flex: none; margin-top: 3px;
  background: var(--grad);
  -webkit-mask: var(--arrow-mask) center/contain no-repeat;
  mask: var(--arrow-mask) center/contain no-repeat;
}

/* Categorias de serviço (página de serviços) */
.services-cat + .services-cat { margin-top: clamp(40px, 4.5vw, 64px); }
.services-cat__head { max-width: 60ch; margin-bottom: 22px; }
.services-cat__head h3 { display: flex; align-items: center; gap: 10px; }
.services-cat__head p { margin-top: 6px; font-size: var(--fs-sm); color: var(--slate); }

/* --------------------------------------------------------------------------
   10. SOBRE / MVV
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}
@media (max-width: 991px) { .split { grid-template-columns: 1fr; } }

/* coluna da esquerda fica parada enquanto a da direita rola (ex: destaques de servicos.html) */
.split--sticky-left { align-items: start; }
.split--sticky-left > :first-child {
  position: sticky;
  top: calc(var(--header-h, 72px) + 32px);
}
@media (max-width: 991px) {
  .split--sticky-left > :first-child { position: static; }
}

.about__photo {
  margin: 28px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about__photo img { width: 100%; height: auto; display: block; }

.checklist { display: grid; gap: 16px; margin-top: 26px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist li::before {
  content: "";
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  border-radius: 7px;
  background: var(--grad);
  -webkit-mask: var(--arrow-mask) center/13px 13px no-repeat, linear-gradient(#000, #000);
  mask: var(--arrow-mask) center/13px 13px no-repeat, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.checklist b { display: block; font-family: var(--font-display); font-size: var(--fs-h4); color: var(--ink); }
.section--dark .checklist b { color: #fff; }
.checklist span { font-size: var(--fs-sm); line-height: 1.6; display: block; margin-top: 3px; }

.values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.values li {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-micro);
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.values li:hover { border-color: var(--orange); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   11. NÚMEROS / TRAJETÓRIA
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  position: relative;
}
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stat { padding-top: 26px; border-top: 2px solid var(--line-dark); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-stat); font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 8px; font-size: var(--fs-sm); line-height: 1.5; }

.trajectory { width: 100%; height: auto; margin-bottom: 34px; display: block; }
.trajectory { margin-bottom: 26px; }
.trajectory .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.trajectory.is-in .line { animation: draw 1.5s var(--ease) forwards; }
.trajectory .node { opacity: 0; }
.trajectory.is-in .node { animation: pop .5s var(--ease) forwards; }
.trajectory.is-in .node:nth-of-type(1) { animation-delay: .35s; }
.trajectory.is-in .node:nth-of-type(2) { animation-delay: .65s; }
.trajectory.is-in .node:nth-of-type(3) { animation-delay: .95s; }
.trajectory.is-in .node:nth-of-type(4) { animation-delay: 1.25s; }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   12. PARCERIAS
   -------------------------------------------------------------------------- */
.program { display: flex; flex-direction: column; height: 100%; }
.program__tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--grad); padding: 5px 11px; border-radius: 999px;
  margin-bottom: 16px;
}
.program ul { margin-top: 16px; display: grid; gap: 9px; }
.program ul li {
  position: relative; padding-left: 20px;
  font-size: var(--fs-sm); line-height: 1.55;
}
.program ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 3px; background: var(--grad);
}
.program .btn { margin-top: auto; align-self: flex-start; }
.program__spacer { margin-top: 22px; }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item.is-open { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 16px; justify-content: space-between;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--ink);
  line-height: 1.4;
}
.faq__q i {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mist); transition: background .3s var(--ease), transform .3s var(--ease);
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__q i { background: var(--grad); transform: rotate(180deg); }
.faq__item.is-open .faq__q i::after { opacity: 0; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; font-size: var(--fs-sm); line-height: 1.68; max-width: 68ch; }

/* --------------------------------------------------------------------------
   14. CONTATO
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 4vw, 56px); }
@media (max-width: 991px) { .contact { grid-template-columns: 1fr; } }

.contact__list { display: grid; gap: 12px; margin-top: 28px; }
.contact__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm); padding: 15px 18px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.contact__item:hover { border-color: #ffffff33; transform: translateX(3px); }
.contact__item i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--grad); }
.contact__item i svg { width: 18px; height: 18px; color: var(--ink); }
.contact__item small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8a8c9c; }
.contact__item b { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: #fff; margin-top: 2px; }

.form {
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 34px);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 575px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field span {
  display: block; font-size: var(--fs-micro); font-weight: 500; color: #c3c8d2; margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: var(--fs-sm); color: #fff;
  background: #191a24; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #7d7f90; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #1c1d28;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23888e9c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.form .btn { width: 100%; margin-top: 4px; }
.form__note { font-size: 11.5px; color: #8a8c9c; margin-top: 12px; text-align: center; line-height: 1.5; }

/* --------------------------------------------------------------------------
   15. CTA FINAL
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4.6vw, 68px);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: auto -10% -70% -10%;
  height: 320px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 190, 0, .38), transparent 62%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta p { color: var(--muted); margin: 16px auto 0; max-width: 54ch; font-size: var(--fs-lead); line-height: 1.6; }
.cta .btn-row { justify-content: center; margin-top: 30px; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--muted); padding-top: clamp(56px, 5vw, 80px); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: 44px;
}
@media (max-width: 991px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo img { height: 38px; width: auto; }
.footer__brand p { margin-top: 18px; font-size: var(--fs-sm); line-height: 1.65; max-width: 34ch; }
.footer h5 {
  font-family: var(--font-display); font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: var(--fs-sm); transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 4px; }

.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 11px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { background: var(--grad); border-color: transparent; color: var(--ink); transform: translateY(-2px); }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: center; justify-content: space-between;
  font-size: var(--fs-micro);
}

/* WhatsApp flutuante */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 140;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.wa svg { width: 26px; height: 26px; }
.wa:hover { transform: scale(1.07); }

/* --------------------------------------------------------------------------
   17. LOGIN
   -------------------------------------------------------------------------- */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper);
}
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__aside { display: none; } }

.auth__main { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px) 24px; }
.auth__box { width: 100%; max-width: 400px; }
.auth__box .logo { height: 36px; width: auto; margin-bottom: 34px; }
.auth__box h1 { font-size: clamp(1.625rem, 1.4rem + 1vw, 2rem); }
.auth__box > p { margin-top: 10px; font-size: var(--fs-sm); }
.auth__form { display: grid; gap: 14px; margin-top: 28px; }
.auth__form .field span { color: var(--ink); font-weight: 600; }
.auth__form .field input {
  background: #fff; border-color: var(--line); color: var(--ink);
}
.auth__form .field input::placeholder { color: #a4a9b4; }
.auth__form .field input:focus { background: #fff; border-color: var(--orange); }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-micro); }
.auth__row label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth__row a { color: var(--ink); font-weight: 600; }
.auth__row a:hover { color: var(--orange); }
.auth__foot { margin-top: 24px; font-size: var(--fs-micro); text-align: center; }
.auth__foot a { color: var(--ink); font-weight: 700; }

.auth__aside {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--muted);
  display: grid; align-content: center;
  padding: clamp(40px, 5vw, 72px);
}
.auth__aside::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 460px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 190, 0, .32), transparent 64%);
}
.auth__aside > * { position: relative; }
.auth__aside h2 { color: #fff; max-width: 15ch; }
.auth__aside p { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.6; max-width: 40ch; }
.auth__aside .checklist { margin-top: 32px; }
.auth__aside .checklist b { color: #fff; }

/* --------------------------------------------------------------------------
   18. ANIMAÇÃO DE ENTRADA
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Cascata mais evidente nos cards: o "pop" vem da escala (encolhe para
   dentro do próprio espaço, nunca invade a linha vizinha), não do deslocamento */
.card[data-reveal] { transform: translateY(16px) scale(.88); }
.card[data-reveal].is-in { transform: none; }

/* Empilhamento em cascata dos cards (mobile) : cada card gruda no topo em
   um degrau (--i) abaixo do anterior e vai empilhando conforme rola */
@media (max-width: 767px) {
  .cascade-stack .card {
    position: sticky;
    top: calc(var(--header-h, 72px) + 16px + var(--i, 0) * 14px);
    background: var(--cream);
    background: color-mix(in srgb, var(--ink) calc(var(--stack, 0) * 12%), var(--cream));
  }
  .cascade-stack .card__icon {
    transition: opacity .3s linear;
    opacity: calc(1 - var(--stack, 0) * .35);
  }
}

/* Mesmo efeito, sempre ativo (desktop e mobile) : usado em colunas únicas
   como o par de cards em destaque de servicos.html */
.cascade-stack--all .card {
  position: sticky;
  top: calc(var(--header-h, 72px) + 16px + var(--i, 0) * 14px);
  background: var(--cream);
  background: color-mix(in srgb, var(--ink) calc(var(--stack, 0) * 12%), var(--cream));
}
.cascade-stack--all .card__icon {
  transition: opacity .3s linear;
  opacity: calc(1 - var(--stack, 0) * .35);
}

@media (prefers-reduced-motion: reduce) {
  .cascade-stack .card, .cascade-stack--all .card { position: static !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .trajectory .line { stroke-dashoffset: 0; }
  .trajectory .node { opacity: 1; }
}

/* --------------------------------------------------------------------------
   19. RODAPÉ DO CARD DE SERVIÇO (categoria + seta) : padrão Loxcy
   -------------------------------------------------------------------------- */
.service__foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.service__cat {
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 500;
  color: #8a8c9c;
  transition: color .3s var(--ease);
}
.card:hover .service__cat { color: var(--ink); }

/* --------------------------------------------------------------------------
   20. ABAS DE ATUAÇÃO
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: clamp(28px, 3vw, 40px); }
.tabs button {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 999px; cursor: pointer;
  transition: background .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.tabs button svg { width: 17px; height: 17px; color: var(--orange); transition: color .28s var(--ease); }
.tabs button:hover { transform: translateY(-2px); border-color: #cfd3da; }
.tabs button[aria-selected="true"] {
  background: var(--ink); border-color: transparent; color: #fff;
}
.tabs button[aria-selected="true"] svg { color: var(--amber); }


.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tabpanel__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 56px); align-items: center;
}
@media (max-width: 991px) { .tabpanel__grid { grid-template-columns: 1fr; } }

.mock {
  background: var(--cream); border: 1px solid transparent; border-radius: var(--radius-lg);
  padding: 22px;
}
.mock__bar {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid transparent;
  margin-bottom: 10px;
}
.mock__bar:last-child { margin-bottom: 0; }
.mock__bar i {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 9px; background: var(--grad);
}
.mock__bar i svg { width: 16px; height: 16px; color: var(--ink); }
.mock__bar b { display: block; font-family: var(--font-display); font-size: var(--fs-micro); color: var(--ink); }
.mock__bar span { display: block; font-size: 11.5px; line-height: 1.4; }
.mock__meter { flex: 1; height: 6px; border-radius: 99px; background: #e3e4ea; overflow: hidden; max-width: 92px; }
.mock__meter u { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* --------------------------------------------------------------------------
   21. PLANOS DE SUPORTE
   -------------------------------------------------------------------------- */
.plan { display: flex; flex-direction: column; height: 100%; }
.plan__name {
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 800;
  color: var(--ink); letter-spacing: -.01em;
}
.plan > p { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.6; min-height: 3.2em; }
.plan__price {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; margin: 18px 0 4px;
}
.plan__price small { display: block; font-size: var(--fs-micro); font-weight: 500; color: var(--slate); letter-spacing: 0; margin-top: 4px; }
.plan__list { display: grid; gap: 10px; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__list li { position: relative; padding-left: 26px; font-size: var(--fs-sm); line-height: 1.5; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 5px; background: var(--grad);
  -webkit-mask: var(--arrow-mask) center/10px 10px no-repeat, linear-gradient(#000, #000);
  mask: var(--arrow-mask) center/10px 10px no-repeat, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan .btn { margin-top: auto; width: 100%; }

.card--featured { border-color: transparent; box-shadow: 0 0 0 2px var(--amber), var(--shadow-md); }
.card--featured:hover { border-color: transparent; }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--grad); color: var(--ink); padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   22. FAQ EM DUAS COLUNAS + CARD DE APOIO
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 52px); align-items: start; }
@media (max-width: 991px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid .faq { max-width: none; margin: 0; }

.faq-aside {
  background: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 2.6vw, 34px);
  position: relative; overflow: hidden;
}
.faq-aside::before {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 240px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 190, 0, .34), transparent 64%);
}
.faq-aside > * { position: relative; }
.faq-aside h3 { color: #fff; }
.faq-aside p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.62; margin-top: 12px; }
.faq-aside .btn { margin-top: 22px; width: 100%; }

/* --------------------------------------------------------------------------
   23. NEWSLETTER NO RODAPÉ
   -------------------------------------------------------------------------- */
.newsletter { margin-top: 22px; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 180px; min-width: 0;
  font-family: var(--font-body); font-size: var(--fs-sm); color: #fff;
  background: #191a24; border: 1px solid var(--line-dark); border-radius: 999px; padding: 13px 18px;
}
.newsletter input::placeholder { color: #7d7f90; }
.newsletter input:focus { outline: none; border-color: var(--amber); }
.newsletter button { flex: none; }


/* Barras do painel de atuação sem indicador numérico */
.mock__bar div { min-width: 0; }

/* --------------------------------------------------------------------------
   24. BUSCA DE SERVIÇOS (modal)
   -------------------------------------------------------------------------- */
.search {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 20px 20px;
}
.search[hidden] { display: none; }
.search__backdrop {
  position: absolute; inset: 0;
  background: rgba(31, 32, 43, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.search.is-open .search__backdrop { opacity: 1; }
.search__box {
  position: relative;
  width: 100%; max-width: 560px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  max-height: calc(100vh - 110px);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.search.is-open .search__box { opacity: 1; transform: translateY(0); }
.search__label { font-size: var(--fs-h4); }
.search__field {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 16px;
  margin-top: 14px;
}
.search__field svg { width: 18px; height: 18px; color: var(--slate); flex: none; }
.search__field input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink);
}
.search__field input::placeholder { color: #a4a9b4; }
.search__close {
  background: var(--mist); border: none; border-radius: 999px;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex: none; color: var(--ink);
}
.search__close svg { width: 14px; height: 14px; }
.search__hint { font-size: var(--fs-micro); color: var(--slate); margin-top: 12px; }
.search__results { margin-top: 10px; overflow-y: auto; display: grid; gap: 4px; }
.search__empty { padding: 20px 12px; text-align: center; font-size: var(--fs-sm); color: var(--slate); }
.search__item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px;
  color: var(--ink); transition: background-color .2s var(--ease);
}
.search__item:hover { background: var(--mist); }
.search__item i {
  width: 36px; height: 36px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--mist); border-radius: 10px; color: var(--orange-deep);
}
.search__item i svg { width: 17px; height: 17px; }
.search__item span { font-size: var(--fs-sm); font-weight: 600; }

@media (max-width: 575px) {
  .search { padding: 78px 14px 14px; }
  .search__box { padding: 18px; }
}

/* --------------------------------------------------------------------------
   25. NOVA ID (Alcance Brandbook v1) : seções Projetos e Tecnologias
   Tokens e fontes do manual de marca, escopados em .idv2 para conviver
   com o restante do site até a migração completa.
   -------------------------------------------------------------------------- */
.idv2 {
  --b-ink: #1f202b;
  --b-ink-2: #272836;
  --b-line: #3a3b4c;
  --b-muted: #a6a8b8;
  --b-amber: #ffbe00;
  --b-orange: #ff8d00;
  --b-grad: linear-gradient(160deg, #ffbe00 0%, #ff8d00 100%);
  --b-display: "Brooklyn", "Outfit", system-ui, sans-serif;
  --b-text: "Nexa Text", "Mulish", system-ui, sans-serif;
  --b-mono: "JetBrains Mono", ui-monospace, monospace;

  background: var(--b-ink);
  color: var(--b-muted);
  font-family: var(--b-text);
}
.idv2 h2, .idv2 h3 { font-family: var(--b-display); color: #fff; letter-spacing: -.01em; }
.idv2 h2 { font-weight: 700; }
.idv2 .section-head p { color: var(--b-muted); }

.b-eyebrow {
  display: inline-block;
  font: 500 var(--fs-eyebrow)/1 var(--b-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--b-amber);
  margin-bottom: 14px;
}
.b-grad {
  background: var(--b-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.b-label {
  display: block;
  font: 500 11px/1 var(--b-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--b-amber);
}
.b-label--orange { color: var(--b-orange); }

/* Pendência visível: remover a tag quando o cliente validar o conteúdo */
.draft-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font: 500 10px/1 var(--b-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b-amber);
  border: 1px dashed currentColor;
  border-radius: 999px;
  padding: 5px 9px;
  opacity: .8;
}

/* ---- Projetos realizados ---- */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px 27px;
  border-radius: var(--radius);
  border: 1px solid var(--b-line);
  background: linear-gradient(150deg, var(--b-ink-2) 0%, var(--b-ink) 100%);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.case::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--b-grad);
}
.case:hover { border-color: #ffbe0059; transform: translateY(-3px); }
.case__head { display: flex; align-items: center; gap: 14px; padding-right: 84px; }
.case__logo {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px var(--b-line);
}
.case h3 { font-size: var(--fs-h4); line-height: 1.25; text-transform: uppercase; letter-spacing: .01em; }
.case__seg { display: block; margin-top: 3px; font-size: var(--fs-micro); color: var(--b-muted); }
.case__list { display: grid; gap: 9px; margin-top: -4px; }
.case__list li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: var(--fs-sm); line-height: 1.4; }
.case__list svg { width: 17px; height: 17px; flex: none; color: var(--b-amber); }
.case__result {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--b-line);
  background: #1f202bb3;
}
.case__result ul { display: grid; gap: 6px; margin-top: 12px; }
.case__result li { position: relative; padding-left: 14px; font-size: var(--fs-micro); line-height: 1.45; }
.case__result li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--b-orange);
}

/* Faixa de logos de clientes (rolagem contínua) */
.clients { margin-top: clamp(48px, 5vw, 72px); text-align: center; }
.clients__track {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients__row {
  display: flex;
  gap: 18px;
  padding-right: 18px;
  flex: none;
  animation: clients-scroll 40s linear infinite;
}
.clients__track:hover .clients__row { animation-play-state: paused; }
.clients__row img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px var(--b-line);
  filter: grayscale(1) brightness(.9);
  opacity: .75;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.clients__row img:hover { filter: none; opacity: 1; }
@keyframes clients-scroll { to { transform: translateX(-100%); } }

/* ---- Tecnologias ---- */
.idv2--photo {
  background:
    linear-gradient(180deg, var(--b-ink) 0%, #1f202bb8 40%, #1f202bd9 70%, var(--b-ink) 100%),
    url("../assets/fotos/datacenter-ambar.jpg") center / cover no-repeat;
  border-top: 1px solid var(--b-line);
}
.stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.stack__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--b-line);
  background: #272836cc;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.stack__item:hover { border-color: #ffbe0059; background: #272836; }
.stack__icon {
  width: 56px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #ffbe0014;
  border: 1px solid #ffbe0033;
  --orange: var(--b-amber);
}
.stack__icon svg { width: 26px; height: 26px; }
.stack__item h3 { font-size: .9375rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; }
.stack__item p { margin-top: 4px; font-size: var(--fs-micro); line-height: 1.45; color: var(--b-muted); }

@media (max-width: 575px) {
  .cases, .stack { grid-template-columns: 1fr; }
  .case { padding: 22px 18px 20px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients__row { animation: none; }
  .clients__track { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .clients__row[aria-hidden] { display: none; }
  .clients__row { flex-wrap: wrap; justify-content: center; }
}

/* --------------------------------------------------------------------------
   26. AJUSTES DA NOVA ID NO RESTANTE DO SITE
   Peças que nasceram para fundo claro e agora também aparecem no grafite.
   -------------------------------------------------------------------------- */
/* Botão do menu mobile dentro do header escuro */
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__toggle { background: rgba(255, 255, 255, .1); border-color: var(--line-dark); }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__toggle span,
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__toggle span::before,
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__toggle span::after { background: #fff; }
:is(.site-header--on-dark:not(.is-stuck), .site-header.is-stuck) .nav__toggle[aria-expanded="true"] span { background: transparent; }

/* Cards de serviço em seção grafite */
.section--dark .card { background: var(--ink-2); }
.section--dark .card:hover { background: var(--ink-3); }
.section--dark .card__icon, .section--dark .card__icon svg { color: #fff; }
.section--dark .service__arrow { background: #fff; }
.section--dark .card:hover .service__arrow { background: var(--amber); }
.section--dark .service__cat { color: var(--muted); }
.section--dark .card:hover .service__cat { color: #fff; }
.section--dark .section-head p { color: var(--muted); }
.section--dark .btn--dark { background: var(--paper); color: var(--ink); }
.section--dark .btn--dark:hover { background: var(--mist); }

@media (max-width: 767px) {
  .section--dark .cascade-stack .card {
    background: var(--ink-2);
    background: color-mix(in srgb, #000 calc(var(--stack, 0) * 18%), var(--ink-2));
  }
  .section--mist .cascade-stack .card {
    background: var(--paper);
    background: color-mix(in srgb, var(--ink) calc(var(--stack, 0) * 10%), var(--paper));
  }
}

/* --------------------------------------------------------------------------
   27. DIREÇÃO PREMIUM ESCURA
   Um fundo grafite único, um só padrão de card (grafite + borda fina),
   âmbar reservado ao botão principal, ícones e uma palavra por título.
   Este bloco tem a palavra final sobre os blocos anteriores.
   -------------------------------------------------------------------------- */
:root {
  --card: #262735;
  --card-hover: #2b2c3b;
  --card-line: #34354a;
  --sec-y: clamp(56px, 5.5vw, 88px);
  --shadow-glow: none;
}

body { background: var(--ink); color: var(--muted); }
h1, h2, h3, h4, h5 { color: #fff; }
h1 { font-weight: 500; letter-spacing: -.025em; line-height: 1.06; }
h2 { font-weight: 500; letter-spacing: -.02em; }
h3, h4 { font-weight: 600; }

/* Todas as seções no mesmo grafite: a separação vem do espaço */
.section, .section--mist, .section--dark, .idv2, .idv2--ink { background: transparent; color: var(--muted); }
.idv2--photo { border-top: 0; }
/* Dobra entre seções: faixa levemente mais clara + filete, em vez de vazio */
.section--dark, .section--mist, .idv2--ink {
  background: rgba(255, 255, 255, .025);
  border-block: 1px solid var(--card-line);
}
.section-head p, .section--dark .section-head p { color: var(--muted); }
.footer { background: var(--ink); border-top: 1px solid var(--card-line); }

/* Rótulo de seção em pílula */
.eyebrow, .b-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  margin-bottom: 20px;
}
.eyebrow::before { width: 12px; height: 12px; }
.section--dark .eyebrow, .hero .eyebrow { color: #fff; }
.b-eyebrow::before {
  content: ""; width: 12px; height: 12px; background: var(--grad);
  -webkit-mask: var(--arrow-mask) center/contain no-repeat;
  mask: var(--arrow-mask) center/contain no-repeat;
}

/* Palavra de destaque: só a cor, sem marca-texto */
.mark, .section--dark .mark, .hero .mark, .page-head--photo .mark {
  color: var(--amber);
  background: none;
  padding: 0; margin: 0;
}
.b-grad, .grad-text { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--amber); }

/* Botões: principal âmbar sólido, demais em pílula grafite */
.btn { font-weight: 600; letter-spacing: 0; }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: none; }
.btn--primary:hover { background: #ffcb33; box-shadow: none; }
.btn--ghost, .btn--dark,
.section--dark .btn--ghost, .section--dark .btn--dark, .hero .btn--ghost,
.site-header .nav__cta .btn--ghost {
  background: var(--card); color: #fff; border: 1px solid var(--card-line);
}
.btn--ghost:hover, .btn--dark:hover,
.section--dark .btn--ghost:hover, .section--dark .btn--dark:hover, .hero .btn--ghost:hover {
  background: var(--card-hover); border-color: #4a4b62;
}
.nav__menu-cta a { box-shadow: none; }

/* Header: sempre grafite */
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { background: #fff; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__menu-icon { color: var(--amber); }

/* Padrão único de card */
.card, .section--mist .card, .section--dark .card, .case, .mock, .cta, .faq__item, .faq-aside, .form {
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: none;
}
.card:hover, .section--mist .card:hover, .section--dark .card:hover, .case:hover {
  background: var(--card-hover);
  border-color: rgba(255, 190, 0, .28);
  box-shadow: none;
}
.card p, .section--dark .card p { color: var(--muted); }
.case::before { display: none; }

/* Ícone em quadrado âmbar translúcido (mesmo das seções Tecnologias) */
.card__icon, .section--dark .card__icon {
  width: 52px; height: 52px;
  place-content: center;
  border-radius: 14px;
  background: rgba(255, 190, 0, .08);
  border: 1px solid rgba(255, 190, 0, .2);
  color: #fff;
  --orange: var(--amber);
}
.card__icon svg, .section--dark .card__icon svg { width: 26px; height: 26px; color: #fff; }
.section--dark .card:hover .card__icon { background: rgba(255, 190, 0, .14); }
.section--dark .card:hover .card__icon svg { color: #fff; }
.card__num { color: #6e7086; }

.service__arrow, .section--dark .service__arrow { background: #fff; }
.card:hover .service__arrow, .section--dark .card:hover .service__arrow { background: var(--amber); }
.service__cat, .section--dark .service__cat { color: var(--muted); }
.card:hover .service__cat { color: #fff; }
.service-big__list li { color: #fff; }
.services-cat__head p { color: var(--muted); }

/* Atuação: abas e painel */
.tabs button { background: var(--card); border-color: var(--card-line); color: #fff; }
.tabs button:hover { border-color: #4a4b62; }
.tabs button svg { color: var(--amber); }
.tabs button[aria-selected="true"] { background: var(--amber); color: var(--ink); }
.tabs button[aria-selected="true"] svg { color: var(--ink); }
.mock__bar { background: var(--ink); border: 1px solid var(--card-line); }
.mock__bar b { color: #fff; }
.mock__bar i { background: rgba(255, 190, 0, .1); border: 1px solid rgba(255, 190, 0, .22); }
.mock__bar i svg { color: #fff; --orange: var(--amber); }
.mock__meter { background: var(--card-line); }

/* Listas, valores, parcerias */
.checklist b { color: #fff; }
.values li { background: var(--card); border-color: var(--card-line); color: #fff; }
.values li:hover { border-color: var(--amber); }
.program__tag { background: rgba(255, 190, 0, .1); color: var(--amber); border: 1px solid rgba(255, 190, 0, .25); }
.plan__name, .plan__price { color: #fff; }

/* CTA final e FAQ */
.cta::before { background: radial-gradient(ellipse at 50% 100%, rgba(255, 190, 0, .16), transparent 62%); }
.faq__q { color: #fff; }
.faq__q i { background: var(--card-line); }
.faq__q i::before, .faq__q i::after { background: #fff; }
.faq__item.is-open { border-color: rgba(255, 190, 0, .4); }

/* Fotos: bordas finas, sem sombra */
.about__photo { box-shadow: none; border: 1px solid var(--card-line); }
.page-head__back { color: var(--muted); }
.page-head__back:hover { color: #fff; }

/* Busca (modal) */
.search__box { background: var(--ink-2); border: 1px solid var(--card-line); }
.search__label { color: #fff; }
.search__field { border-color: var(--card-line); }
.search__field input { color: #fff; }
.search__field input::placeholder { color: #7d7f90; }
.search__close { background: var(--card-line); color: #fff; }
.search__item { color: #fff; }
.search__item:hover { background: rgba(255, 255, 255, .05); }
.search__item i { background: rgba(255, 190, 0, .1); color: var(--amber); }

/* Empilhamento mobile em grafite */
@media (max-width: 767px) {
  .cascade-stack .card, .section--dark .cascade-stack .card, .section--mist .cascade-stack .card, .cascade-stack--all .card {
    background: var(--card);
    background: color-mix(in srgb, #000 calc(var(--stack, 0) * 18%), var(--card));
  }
}
.cascade-stack--all .card {
  background: var(--card);
  background: color-mix(in srgb, #000 calc(var(--stack, 0) * 18%), var(--card));
}
.idv2 h2 { font-weight: 500; letter-spacing: -.02em; }

/* Hero em slides (fade) */
.hero__bg-video { opacity: 0; transition: opacity 1.2s ease; }
.hero__bg-video.is-active { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .hero__bg-video { transition: none; } }

/* Por que a Alcance: foto sob a lista no desktop, equilibrando as colunas */
@media (min-width: 992px) {
  .split--porque { grid-template-rows: auto 1fr; }
  .split--porque__copy { grid-column: 1; grid-row: 1 / 3; }
  .split--porque__list { grid-column: 2; grid-row: 1; }
  .split--porque__photo { grid-column: 2; grid-row: 2; margin-top: 8px; align-self: start; }
}
