/* ==========================================================================
   EspólioNERD — v2 | main.css
   Sistema visual + reset + componentes + responsividade (mobile-first)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTES (Montserrat, self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. VARIÁVEIS (identidade extraída dos materiais da marca)
   -------------------------------------------------------------------------- */
:root {
  /* Cores da marca */
  --color-primary: #7eb93f;        /* verde-lima (CTA / destaque) */
  --color-primary-strong: #63a32c;
  --color-secondary: #2c93d0;      /* azul do cubo */
  --color-accent: #009c70;         /* verde-teal do cubo */
  --color-background: #010f26;     /* navy profundo da marca (#011531 aprofundado) */
  --color-surface: #06182f;
  --color-surface-2: #0a2142;
  --color-text: #f2f7fd;
  --color-muted: #9fb3cc;
  --color-border: rgba(148, 178, 214, 0.16);

  /* Derivados */
  --gradient-brand: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  --shadow-card: 0 10px 30px rgba(0, 5, 16, 0.35);
  --shadow-cta: 0 8px 24px rgba(126, 185, 63, 0.28);

  /* Tipografia */
  --font-base: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(1.9rem, 1.2rem + 3.4vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 1.15rem + 1.7vw, 2.3rem);
  --fs-h3: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Layout */
  --container: 1160px;
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   3. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(126, 185, 63, 0.35);
}

/* --------------------------------------------------------------------------
   4. UTILITÁRIOS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

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

.section--surface {
  background: var(--color-surface);
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--color-primary);
  color: #04240a;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Rótulo de seção (eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 21ch;
}

.section-title .hl {
  color: var(--color-primary);
}

.section-lead {
  margin-top: 1rem;
  color: var(--color-muted);
  max-width: 62ch;
}

.section-head {
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.2rem);
}

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  min-height: 48px;
  text-align: center;
}

.btn svg {
  flex: 0 0 auto;
}

.btn--primary {
  background: var(--color-primary);
  color: #061a02;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: #8fca50;
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1.5px solid rgba(148, 178, 214, 0.4);
  color: var(--color-text);
  background: rgba(10, 33, 66, 0.35);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   6. HEADER / NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(1, 13, 32, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(1, 13, 32, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-desktop a:not(.btn) {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-muted);
  padding: 0.4rem 0.15rem;
  position: relative;
  transition: color 0.18s ease;
}

.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: right 0.22s ease;
}

.nav-desktop a:not(.btn):hover,
.nav-desktop a:not(.btn):focus-visible,
.nav-desktop a:not(.btn)[aria-current="page"] {
  color: var(--color-text);
}

.nav-desktop a:not(.btn):hover::after,
.nav-desktop a:not(.btn)[aria-current="page"]::after {
  right: 0;
}

.nav-desktop .btn {
  padding: 0.62rem 1.25rem;
  min-height: 42px;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .nav-desktop ul {
    gap: 1.05rem;
  }
  .nav-desktop a:not(.btn) {
    font-size: 0.86rem;
  }
  .nav-desktop .btn {
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
  }
}

/* Botão hambúrguer */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Painel mobile */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: rgba(1, 13, 32, 0.98);
  border-bottom: 1px solid var(--color-border);
  padding: 1.2rem clamp(1.1rem, 4vw, 2rem) 1.8rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile ul {
  display: grid;
  gap: 0.2rem;
}

.nav-mobile a:not(.btn) {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 0.4rem;
  border-radius: 10px;
  color: var(--color-text);
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn)[aria-current="page"] {
  background: var(--color-surface-2);
  color: var(--color-primary);
}

.nav-mobile .nav-mobile__cta {
  margin-top: 1rem;
}

.nav-mobile .btn {
  width: 100%;
}

/* Backdrop do menu mobile */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 4, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(4rem, 3rem + 4vw, 6.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(1, 109, 234, 0.16), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(126, 185, 63, 0.1), transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 178, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 214, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60rem 36rem at 60% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60rem 36rem at 60% 20%, #000 30%, transparent 75%);
}

.hero .container {
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  background: rgba(10, 33, 66, 0.5);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px rgba(126, 185, 63, 0.9);
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 19ch;
}

.hero h1 .hl {
  color: var(--color-primary);
}

.hero__sub {
  margin-top: 1.3rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  max-width: 56ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 2.4rem;
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust svg {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   7b. HERO — ILUSTRAÇÃO (estrutura em evolução)
   -------------------------------------------------------------------------- */
.hero__visual {
  display: none;
  position: relative;
}

.viz-card {
  position: relative;
  background: linear-gradient(160deg, rgba(10, 33, 66, 0.85), rgba(4, 20, 42, 0.9));
  border: 1px solid rgba(148, 178, 214, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 5, 16, 0.5);
}

.viz-card__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0.9rem;
}

.viz-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 178, 214, 0.25);
}

.viz-card__title {
  margin-left: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.viz-chart {
  width: 100%;
  height: auto;
}

.viz-chart__line {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: viz-draw 1.6s ease-out 0.3s forwards;
}

.viz-chart__ring {
  transform-origin: 456px 44px;
  animation: viz-ping 2.4s ease-out 1.6s infinite;
}

.viz-flow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.viz-flow__node {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-muted);
  background: rgba(148, 178, 214, 0.08);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.viz-flow__node--active {
  color: #061a02;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(126, 185, 63, 0.35);
}

.viz-flow__link {
  flex: 1;
  height: 2px;
  min-width: 12px;
  background: linear-gradient(90deg, rgba(44, 147, 208, 0.5), rgba(126, 185, 63, 0.5));
  border-radius: 2px;
}

.viz-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(6, 24, 47, 0.92);
  border: 1px solid rgba(148, 178, 214, 0.25);
  border-radius: 14px;
  padding: 0.65rem 0.95rem;
  box-shadow: 0 14px 34px rgba(0, 5, 16, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.viz-chip--wa {
  top: -26px;
  right: -14px;
  animation: viz-float 6s ease-in-out infinite;
}

.viz-chip--plano {
  bottom: -30px;
  left: -20px;
  animation: viz-float 7s ease-in-out 0.8s infinite;
}

.viz-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(126, 185, 63, 0.16);
  color: var(--color-primary);
  flex: 0 0 auto;
}

.viz-chip__text {
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  color: var(--color-muted);
  line-height: 1.35;
}

.viz-chip__text strong {
  font-size: 0.84rem;
  color: var(--color-text);
}

.viz-chip__letters {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  white-space: nowrap;
}

@keyframes viz-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes viz-ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes viz-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .viz-chart__line {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }
  .viz-chart__ring,
  .viz-chip--wa,
  .viz-chip--plano {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   8. CARDS GENÉRICOS / GRIDS
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.1rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 185, 63, 0.35);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(44, 147, 208, 0.12);
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.card__icon--green {
  background: rgba(126, 185, 63, 0.12);
  color: var(--color-primary);
}

.card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   9. SEÇÃO "VIRADA" (nova perspectiva)
   -------------------------------------------------------------------------- */
.pivot {
  position: relative;
  overflow: hidden;
}

.pivot__inner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(38rem 22rem at 110% -20%, rgba(1, 109, 234, 0.18), transparent 60%),
    radial-gradient(30rem 20rem at -20% 120%, rgba(0, 156, 112, 0.14), transparent 60%),
    var(--color-surface);
  padding: clamp(2.2rem, 1.6rem + 3vw, 4rem);
}

.pivot__inner p.big {
  font-size: clamp(1.25rem, 1.05rem + 1.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 34ch;
}

.pivot__inner p.big .hl {
  color: var(--color-primary);
}

.pivot__inner .support {
  margin-top: 1.1rem;
  color: var(--color-muted);
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   10. MÉTODO P.L.A.N.O.
   -------------------------------------------------------------------------- */
.plano__letters {
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 0.7rem);
  margin-block: 2rem 2.4rem;
  flex-wrap: wrap;
}

.plano__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(46px, 8vw, 64px);
  aspect-ratio: 1;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.plano__letter:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.plano__sep {
  color: rgba(148, 178, 214, 0.5);
  font-weight: 800;
  font-size: 1.2rem;
}

.plano__points {
  display: grid;
  gap: 1.1rem;
}

.plano-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.plano-point__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: #061a02;
  background: var(--color-primary);
}

.plano-point h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.plano-point p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. ESTRUTURA (capacidades)
   -------------------------------------------------------------------------- */
.stack-grid {
  counter-reset: cap;
}

.cap-card {
  position: relative;
  overflow: hidden;
}

.stack-grid .cap-card::before {
  counter-increment: cap;
  content: "0" counter(cap);
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(148, 178, 214, 0.45);
}

.cap-card ul {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.3rem;
}

.cap-card ul li {
  font-size: 0.9rem;
  color: var(--color-muted);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.cap-card ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: translateY(-2px) rotate(45deg);
}

/* --------------------------------------------------------------------------
   12. PROCESSO (como trabalhamos)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  position: relative;
}

.step {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding-block: 1.1rem;
}

.step__marker {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-background);
  border: 3px solid var(--color-primary);
  margin-top: 5px;
}

.step__line {
  flex: 1;
  width: 2px;
  background: linear-gradient(var(--color-border), var(--color-border));
  margin-top: 4px;
}

.step:last-child .step__line {
  display: none;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.step h3 span {
  color: var(--color-primary);
  margin-right: 0.4rem;
}

.step p {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   13. PROJETOS / CASES
   -------------------------------------------------------------------------- */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 147, 208, 0.45);
}

.case-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.case-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.case-card p {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.case-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.case-card__pills li {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(126, 185, 63, 0.1);
  border: 1px solid rgba(126, 185, 63, 0.28);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.mini-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  transition: border-color 0.2s ease;
}

.mini-card:hover {
  border-color: rgba(148, 178, 214, 0.35);
}

.mini-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
}

.mini-card p {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.mini-card__tag {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.stats-band {
  display: grid;
  gap: 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(10, 33, 66, 0.35);
  padding: 1.4rem 1.5rem;
}

.stat {
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

.stat span {
  font-size: 0.88rem;
  color: var(--color-muted);
}

@media (min-width: 560px) {
  .stats-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   14. SOBRE (teaser e página)
   -------------------------------------------------------------------------- */
.about-band {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-band__quote {
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  border-left: 4px solid var(--color-primary);
  padding-left: 1.2rem;
  max-width: 40ch;
}

.about-band__meta {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.about-band__meta strong {
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   15. DIAGNÓSTICO INTERATIVO
   -------------------------------------------------------------------------- */
.diagnostico {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgba(126, 185, 63, 0.08), transparent 60%),
    var(--color-surface);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  max-width: 720px;
}

.diagnostico__progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.diagnostico__progress span {
  height: 5px;
  flex: 1;
  border-radius: 3px;
  background: var(--color-surface-2);
  transition: background 0.25s ease;
}

.diagnostico__progress span.is-done {
  background: var(--color-primary);
}

.diagnostico__question {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  min-height: 2.6em;
}

.diagnostico__options {
  display: grid;
  gap: 0.65rem;
}

.diagnostico__option {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-2);
  font-weight: 600;
  font-size: 0.97rem;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
  min-height: 48px;
}

.diagnostico__option:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.diagnostico__back {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.diagnostico__back:hover {
  color: var(--color-text);
}

.diagnostico__result p {
  color: var(--color-muted);
  margin-bottom: 1.4rem;
}

.diagnostico__result .btn {
  width: 100%;
}

.diagnostico__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   16. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
}

.cta-final__inner {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126, 185, 63, 0.3);
  background:
    radial-gradient(42rem 24rem at 50% -40%, rgba(1, 109, 234, 0.22), transparent 65%),
    radial-gradient(30rem 18rem at 50% 140%, rgba(126, 185, 63, 0.16), transparent 60%),
    var(--color-surface);
  padding: clamp(2.6rem, 2rem + 3.5vw, 4.5rem) clamp(1.4rem, 1rem + 2vw, 3rem);
}

.cta-final h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.22;
  max-width: 24ch;
  margin-inline: auto;
}

.cta-final p {
  margin: 1.1rem auto 0;
  color: var(--color-muted);
  max-width: 54ch;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #010b1d;
  padding-block: 3.2rem 1.6rem;
  font-size: 0.92rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.2rem;
  margin-bottom: 2.6rem;
}

.site-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  color: var(--color-muted);
  max-width: 34ch;
}

.site-footer h2 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.9rem;
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: var(--color-muted);
  transition: color 0.16s ease;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer__social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

.site-footer__social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   18. PÁGINAS INTERNAS
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.2rem, 2.4rem + 3vw, 5.5rem);
  overflow: hidden;
}

.page-hero .hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero .hero__grid {
  -webkit-mask-image: radial-gradient(46rem 30rem at 78% 40%, #000 25%, transparent 72%);
  mask-image: radial-gradient(46rem 30rem at 78% 40%, #000 25%, transparent 72%);
}

.page-hero__deco {
  position: absolute;
  top: 50%;
  right: max(-60px, -4vw);
  transform: translateY(-50%);
  width: min(48vw, 560px);
  aspect-ratio: 560 / 440;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.page-hero__deco svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 819px) {
  .page-hero__deco {
    width: 74vw;
    right: -24vw;
    opacity: 0.55;
  }
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 1.2rem;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: rgba(148, 178, 214, 0.4);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.page-hero .hl {
  color: var(--color-primary);
}

.page-hero__sub {
  margin-top: 1.1rem;
  color: var(--color-muted);
  max-width: 60ch;
  font-size: 1.02rem;
}

.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.prose p {
  color: var(--color-muted);
}

.prose strong {
  color: var(--color-text);
}

/* Faixa de contato */
.contact-cards {
  display: grid;
  gap: 1.1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(126, 185, 63, 0.4);
  transform: translateY(-3px);
}

.contact-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(126, 185, 63, 0.12);
  color: var(--color-primary);
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.contact-card p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.contact-card .contact-card__value {
  color: var(--color-text);
  font-weight: 600;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   19. ANIMAÇÕES (reveal on scroll)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVIDADE (mobile-first: breakpoints ascendentes)
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .diagnostico__options--inline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2-lg {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-band {
    grid-template-columns: 1.2fr 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
  .plano__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .steps--2col {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
}

@media (min-width: 980px) {
  .hero__layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(2.5rem, 2rem + 2vw, 4.5rem);
    align-items: center;
  }
  .hero__visual {
    display: block;
  }
  .nav-desktop {
    display: block;
  }
  .nav-toggle,
  .nav-mobile,
  .nav-backdrop {
    display: none;
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .brand img {
    height: 38px;
  }
}

@media (min-width: 1280px) {
  :root {
    --header-h: 78px;
  }
}

/* --------------------------------------------------------------------------
   21. UTILITÁRIOS DE ESPAÇAMENTO / VARIAÇÕES
   -------------------------------------------------------------------------- */
.u-mt-2 { margin-top: 2rem; }
.u-mt-16 { margin-top: 1.6rem; }
.u-mt-14 { margin-top: 1.4rem; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-06 { margin-bottom: 0.6rem; }
.u-mb-08 { margin-bottom: 0.8rem; }
.u-mb-09 { margin-bottom: 0.9rem; }
.card--full { height: 100%; }
.card--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.8rem;
}
.card--center h3 { max-width: 16ch; }
.link-inline { color: var(--color-primary); font-weight: 600; }
.link-inline:hover { text-decoration: underline; }
.diagnostico__result-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.diagnostico__restart { text-decoration: underline; color: inherit; }
.num-badge { margin-bottom: 0.9rem; display: inline-flex; }

/* --------------------------------------------------------------------------
   22. PRIVACIDADE — banner de cookies e página legal
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 24px));
  background: rgba(6, 24, 47, 0.97);
  border: 1px solid rgba(148, 178, 214, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 5, 16, 0.55);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cookie-banner__text {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner__btn {
  padding: 0.6rem 1.2rem;
  min-height: 42px;
  font-size: 0.88rem;
}

@media (min-width: 560px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
  }
  .cookie-banner__actions {
    flex: 0 0 auto;
  }
}

.site-footer__legal a {
  color: var(--color-muted);
}

.site-footer__legal a:hover {
  color: var(--color-primary);
}

.site-footer__cookies {
  color: var(--color-muted);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__cookies:hover {
  color: var(--color-primary);
}

.prose--legal h2 {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 2.2rem 0 0.7rem;
  color: var(--color-text);
}

.prose--legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
  color: var(--color-muted);
}

.prose--legal a:not(.btn) {
  color: var(--color-primary);
  font-weight: 600;
}

.prose--legal a:not(.btn):hover {
  text-decoration: underline;
}

.prose--legal em {
  color: var(--color-muted);
}
