/* ==========================================================================
   SimSite · CSS principal
   Tokens, base, cabeçalho, rodapé e seções. Componentes com movimento ficam
   em /assets/components/<nome>/. Só transform e opacity são animados.
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, subset latin) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
/* Caveat com subset só dos caracteres de "Cuiabá é o nosso lugar" */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/caveat-600.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #000818;
  --navy-900: #001020;
  --navy-800: #06192e;
  --navy-700: #0c2540;
  --orange-500: #F87810;
  --orange-700: #B84F00;   /* laranja para texto sobre fundo claro (5:1) */
  --amber-400: #F8B028;
  --cyan-400: #30C0F0;
  --blue-500: #0070F0;     /* azul do layout (4,6:1 no branco) */
  --blue-700: #0A62A8;     /* azul para links sobre fundo claro (6,3:1) */
  --gray-400: #A0A0A0;
  --white: #FFFFFF;
  --surface: #F5F8FC;

  --ink: #0A1628;          /* texto sobre claro */
  --ink-muted: #44536A;    /* texto secundário sobre claro (7,6:1 no branco) */
  --on-dark: #EAF0F8;
  --on-dark-muted: #A9B6C8;/* texto secundário sobre escuro (9:1) */
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: #DCE4EE;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 6.2vw, 88px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
details summary { cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }
.section--light :focus-visible, .section--surface :focus-visible { outline-color: var(--blue-700); }

.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; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--orange-500); color: var(--navy-950); font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

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

.pendente {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: #FFF3BF; color: #5C3D00; border: 1px dashed #B88A00;
  font-size: .8125rem; font-weight: 600; line-height: 1.4;
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: var(--section-y); isolation: isolate; }
.section--dark { background: var(--navy-950); color: var(--on-dark); }
.section--dark-alt { background: var(--navy-900); color: var(--on-dark); }
.section--light { background: var(--white); }
.section--surface { background: var(--surface); }
.section > .container { position: relative; z-index: 1; }
/* Seções abaixo da dobra: o navegador só calcula estilo/layout quando chegam perto da tela */
.section--deferred { content-visibility: auto; contain-intrinsic-size: auto 900px; }

.section--flush-top { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 14px; font-size: clamp(1.0625rem, 1rem + .25vw, 1.15rem); color: var(--ink-muted); }
.section--dark .section-head p:not(.eyebrow), .section--dark-alt .section-head p:not(.eyebrow) { color: var(--on-dark-muted); }
.section--dark h2, .section--dark-alt h2 { color: var(--white); }

/* Rótulo pequeno acima do H2 (laranja, maiúsculo) */
.eyebrow {
  display: block; margin: 0 0 10px; font-size: .8125rem; font-weight: 800; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700);
}
.section--dark .eyebrow, .section--dark-alt .eyebrow { color: var(--orange-500); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--orange-500); --btn-fg: var(--navy-950);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 12px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .25s var(--ease);
  isolation: isolate;
}
.btn::after { /* brilho no hover (só opacity) */
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  box-shadow: 0 10px 34px rgba(248, 120, 16, .45); opacity: 0; transition: opacity .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost::after { box-shadow: 0 8px 28px rgba(48, 192, 240, .3); }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--outline-dark::after { box-shadow: 0 8px 26px rgba(0, 16, 32, .18); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon, .link-arrow:focus-visible .icon { transform: translateX(4px); }
.link-arrow:hover span { text-decoration: underline; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  /* sem backdrop-filter: ele vira bloco de contenção do menu fixo no celular */
  background: rgba(0, 8, 24, .95);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
/* Home: transparente sobre a foto do hero; o fundo sólido entra por opacidade ao rolar */
.site-header--overlay { background: transparent; border-bottom-color: transparent; isolation: isolate; }
.site-header--overlay::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--navy-950); border-bottom: 1px solid var(--line-dark);
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header--overlay.is-scrolled::before, .nav-open .site-header--overlay::before { opacity: 1; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header__logo { flex: none; border-radius: 8px; }
.site-header__logo img { width: 150px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; align-items: center; gap: 6px; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  font-weight: 600; font-size: .9688rem; text-decoration: none; color: var(--on-dark); border-radius: 8px;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--amber-400); }
.site-nav__sub-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -8px;
  background: none; border: 0; color: var(--on-dark); border-radius: 8px;
}
.site-nav__sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.has-sub.is-open .site-nav__sub-toggle .icon { transform: rotate(180deg); }
.site-nav__sub {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; padding: 10px;
  background: var(--navy-900); border: 1px solid var(--line-dark); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.site-nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* ponte de hover */
.site-nav__sub a {
  display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9375rem;
  color: var(--on-dark);
}
.site-nav__sub a:hover, .site-nav__sub a:focus-visible, .site-nav__sub a[aria-current="page"] { background: rgba(48, 192, 240, .1); color: var(--white); }
@media (hover: hover) and (min-width: 1024px) {
  .has-sub:hover .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.is-open .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
.site-nav__cta .icon { width: 1.15em; height: 1.15em; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 10px; color: var(--on-dark); font-weight: 600;
}
.nav-toggle__box { position: relative; width: 22px; height: 16px; }
.nav-toggle__box span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 7px; }
.nav-toggle__box span:nth-child(3) { top: 14px; }
.nav-open .nav-toggle__box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
  .site-nav__link { flex: 1; min-height: 56px; font-size: 1.125rem; padding-inline: 0; }
  .site-nav__sub-toggle { width: 56px; height: 56px; margin: 0; }
  .site-nav__sub {
    position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 14px;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .site-nav__sub::before { display: none; }
  .has-sub.is-open .site-nav__sub { display: block; }
  .site-nav__sub a { padding: 12px 14px; color: var(--on-dark-muted); }
  .site-nav__cta { min-height: 56px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (foto de fundo em <picture>, por trás do conteúdo) ---------- */
.hero {
  /* sobe por baixo do cabeçalho transparente */
  margin-top: calc(-1 * var(--header-h));
  padding-block: calc(var(--header-h) + clamp(32px, 4vw, 52px)) 28px;
  min-height: 640px; display: flex; overflow: hidden; background: var(--navy-950);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* A foto (1536x357) fica 1,8x maior com 640 px de altura: com 'right center' o notebook e o celular ficam atrás do texto e o foco vira o gráfico. No desktop, o enquadramento mostra o notebook e o celular à direita, como no layout. */
@media (min-width: 900px) { .hero__bg img { object-position: 36% center; } }
.hero::before { /* gradiente da esquerda + escurecimento suave no topo e na base */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 8, 24, .95) 0%, rgba(0, 8, 24, .92) 40%, rgba(0, 8, 24, .55) 53%, rgba(0, 8, 24, 0) 65%),
    linear-gradient(180deg, rgba(0, 8, 24, .55) 0%, rgba(0, 8, 24, 0) 22%, rgba(0, 8, 24, 0) 62%, rgba(0, 8, 24, .85) 100%);
}
.hero__inner { display: flex; flex-direction: column; }
.hero__content { max-width: 620px; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--white); }
.hl { color: var(--orange-500); }
.hero__text { margin-top: 18px; max-width: 580px; font-size: clamp(1rem, .96rem + .2vw, 1.0938rem); color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px;
  margin-top: auto; padding-top: clamp(32px, 4vw, 44px);
}
@media (min-width: 1024px) { .hero__features { grid-template-columns: repeat(4, max-content); gap: 16px 44px; } }
.hero__features li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 600; color: var(--on-dark); line-height: 1.35; }
@media (max-width: 899.98px) {
  .hero { min-height: 0; }
  .hero__bg img { object-position: 46% center; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 8, 24, .86) 0%, rgba(0, 8, 24, .84) 60%, rgba(0, 8, 24, .94) 100%); }
}
.feature-icon {
  display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(248, 120, 16, .12); border: 1px solid rgba(248, 120, 16, .35); color: var(--amber-400);
}
.feature-icon .icon { width: 20px; height: 20px; }

/* ---------- Faixa de prova ---------- */
.proof { padding-block: clamp(36px, 4vw, 52px); border-bottom: 1px solid var(--line-light); }
.proof__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
@media (min-width: 900px) { .proof__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; align-items: flex-start; gap: 14px; }
.stat__icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--blue-500); }
.stat__icon .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.stat strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.1; color: var(--blue-500); letter-spacing: -.02em; }
.stat strong ~ span:not(.stars) { display: block; margin-top: 4px; font-size: .9375rem; color: var(--ink-muted); line-height: 1.4; }
.stat a { text-decoration: none; }
@media (max-width: 519.98px) { .stat { flex-direction: column; gap: 10px; } }
.stat a:hover strong { text-decoration: underline; }
.stat .stars { margin-top: 6px; }
.stars { display: inline-flex; gap: 2px; color: #E8A200; }
.stars .icon { width: 16px; height: 16px; }

.clients { margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(22px, 2.6vw, 28px); border-top: 1px solid var(--line-light); }
.clients__title { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.clients__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
@media (min-width: 640px) { .clients__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .clients__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.clients__list li {
  display: grid; place-items: center; min-height: 64px; padding: 10px 14px; text-align: center;
  border: 1px solid var(--line-light); border-radius: 12px; background: var(--surface);
  font-weight: 800; font-size: .9375rem; line-height: 1.25; color: #2A3A52; letter-spacing: -.01em;
}

/* ---------- Problema ---------- */
.problem { overflow: hidden; }
.problem__grid { display: block; }
.problem__content { position: relative; z-index: 1; }
.problem__content h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); font-weight: 800; color: var(--white); max-width: 620px; }
.problem__content > p:not(.eyebrow) { margin-top: 16px; max-width: 580px; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.problem__signals-title { margin-top: 26px; font-size: 1.0625rem; font-weight: 700; color: var(--amber-400); }
.signals { display: grid; gap: 12px; margin-top: 16px; max-width: 580px; }
.signals li { display: flex; align-items: flex-start; gap: 14px; color: var(--on-dark); }
.signals .x-mark {
  display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--orange-500); color: var(--navy-950);
}
.signals .x-mark .icon { width: 15px; height: 15px; stroke-width: 3; }
/* A foto tem o lado esquerdo escuro e liso: no desktop ela fica no topo, à direita,
   atrás do texto, e funde no fundo com gradientes. No celular, vira faixa acima do texto. */
.problem__media { position: relative; }
.problem__media img { width: 100%; object-fit: cover; }
.problem__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
@media (min-width: 900px) {
  .problem__media { position: absolute; z-index: 0; top: 0; right: 0; width: min(74%, 1180px); }
  .problem__media img { aspect-ratio: 846 / 279; object-position: center; }
  .problem__media::after {
    background:
      linear-gradient(90deg, var(--navy-950) 0%, rgba(0, 8, 24, .7) 22%, rgba(0, 8, 24, 0) 48%),
      linear-gradient(180deg, rgba(0, 8, 24, .2) 0%, transparent 40%, rgba(0, 8, 24, .65) 80%, var(--navy-950) 100%);
  }
  .problem__content { max-width: 620px; }
  .problem__content h2 { text-shadow: 0 2px 20px rgba(0, 8, 24, .8); }
}
@media (max-width: 899.98px) {
  .problem { padding-top: 0; }
  .problem__media { margin-inline: calc(-1 * var(--gutter)); margin-bottom: 8px; }
  .problem__media img { height: clamp(200px, 52vw, 300px); object-position: 62% 30%; }
  .problem__media::after { background: linear-gradient(180deg, transparent 50%, var(--navy-950) 100%); }
}

/* ---------- Solução ---------- */
.solution { overflow: hidden; }
.solution__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 1100px) { .solution__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.solution__content .section-head { margin-bottom: 28px; }
.pillars { display: grid; gap: 14px; }
@media (min-width: 600px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.solution__media img { width: 100%; height: auto; }
@media (min-width: 1100px) {
  /* PNG transparente: passa da coluna e sangra para a direita, como no layout */
  .solution__media { align-self: center; }
  .solution__media img { width: 140%; max-width: none; margin-left: -12%; }
}
@media (max-width: 1099.98px) { .solution__media { max-width: 760px; margin-inline: auto; } }

/* ---------- Serviços ---------- */
.services__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services__grid .cascade-card--featured { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; }
  .services__grid .cascade-card--featured { grid-column: 1; grid-row: 1 / span 2; }
}
.price { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 99px; font-size: .875rem; font-weight: 700; }
.section--dark-alt .price, .section--dark .price { background: rgba(248, 176, 40, .12); color: var(--amber-400); border: 1px solid rgba(248, 176, 40, .3); }
.section--light .price, .section--surface .price { background: #FFF4EA; color: var(--orange-700); border: 1px solid #FBD9BC; }

/* ---------- Nichos ---------- */
.niches__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .niches__grid { grid-template-columns: 1fr 1fr; } }
.niche-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.niche-links a { color: var(--blue-700); }
.niches .niche-links a { color: var(--cyan-400); }
.niches__more { margin-top: 28px; text-align: center; color: var(--ink-muted); font-weight: 600; }
.niches .niches__more { color: var(--on-dark-muted); }

/* ---------- Portfólio ---------- */
.portfolio__grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .portfolio__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .portfolio__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .portfolio__grid > :nth-child(-n+3) { grid-column: span 2; }
  .portfolio__grid > :nth-child(n+4) { grid-column: span 3; }
}
.project {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: transform .35s var(--ease);
}
.project::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 24px 50px rgba(0, 24, 48, .14); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.project:hover { transform: translateY(-4px); }
.project:hover::after, .project:focus-within::after { opacity: 1; }
.project__media {
  position: relative; padding: 22px 22px 0; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(248, 120, 16, .28), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.project__media::before { /* grade técnica estática */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(48, 192, 240, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 192, 240, .12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.project__desktop { position: relative; border-radius: 10px 10px 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-bottom: 0; transition: transform .5s var(--ease); }
.project__desktop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project__mobile {
  position: absolute; right: 18px; bottom: 0; width: 21%; min-width: 64px;
  padding: 4px 4px 0; border-radius: 14px 14px 0 0; background: #0a111c; border: 1px solid rgba(255, 255, 255, .25); border-bottom: 0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .35); transition: transform .5s var(--ease);
}
.project__mobile img { width: 100%; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; }
.project:hover .project__desktop { transform: translateY(-4px); }
.project:hover .project__mobile { transform: translateY(-10px); }
.project__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 22px 24px 24px; }
.project__body h3 { font-size: 1.1875rem; font-weight: 800; }
.project__segment { font-size: .875rem; font-weight: 700; color: var(--orange-700); }
.project__body p:not(.project__segment) { color: var(--ink-muted); font-size: .9688rem; }
.project__link { margin-top: auto; padding-top: 12px; color: var(--blue-700); font-size: .9375rem; }
.project .pendente { margin-top: 8px; }

/* ---------- Como funciona ---------- */
.how__cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* ---------- Por que a SimSite ---------- */
/* 5 itens numa linha, sem caixa: ícone de contorno laranja, título e texto */
.reasons { display: grid; gap: 28px 32px; }
@media (min-width: 600px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .reasons { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; } }
.reason { position: relative; }
.reason__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 12px; border: 1.5px solid var(--orange-500); color: var(--orange-500);
}
.reason__icon .icon { width: 24px; height: 24px; }
.reason h3 { font-size: 1.0625rem; font-weight: 700; color: var(--white); }
.reason p { margin-top: 8px; font-size: .9375rem; color: var(--on-dark-muted); line-height: 1.6; }

.owner {
  display: grid; gap: 20px; align-items: center; margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: radial-gradient(120% 140% at 0% 0%, rgba(48, 192, 240, .12), transparent 55%), rgba(255, 255, 255, .03);
  border: 1px solid rgba(48, 192, 240, .25);
}
@media (min-width: 768px) { .owner { grid-template-columns: auto 1fr auto; gap: 28px; } }
.avatar {
  display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), #1a7fb0); color: var(--navy-950);
  font-weight: 800; font-size: 1.0625rem; letter-spacing: .02em;
}
.avatar--lg { width: 84px; height: 84px; font-size: 1.5rem; box-shadow: 0 0 0 4px rgba(48, 192, 240, .18), 0 0 0 9px rgba(48, 192, 240, .07); }
.owner p { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); font-weight: 600; color: var(--on-dark); line-height: 1.5; }
.owner .link-arrow { color: var(--cyan-400); }

/* ---------- Avaliações ---------- */
.reviews__grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review {
  position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0;
  padding: 24px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light);
  box-shadow: 0 8px 24px rgba(0, 24, 48, .06);
  transition: transform .35s var(--ease);
}
.review:hover { transform: translateY(-4px); }
.review::before { /* aspas decorativas */
  content: "\201C"; position: absolute; top: 6px; right: 22px; font-size: 5rem; line-height: 1; font-weight: 800; color: rgba(248, 120, 16, .18);
}
.review blockquote { margin: 0; flex: 1; color: var(--ink); font-size: 1rem; line-height: 1.7; }
.review blockquote p + p { margin-top: 10px; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.review figcaption strong { display: block; font-size: 1rem; }
.review time { display: block; font-size: .875rem; color: var(--ink-muted); }
.review .avatar { width: 46px; height: 46px; font-size: .9375rem; background: linear-gradient(135deg, var(--amber-400), var(--orange-500)); }
.reviews__cta { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 14px; align-items: start; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1fr; gap: 14px 22px; } .faq__col { display: grid; gap: 14px; } }
@media (max-width: 899.98px) { .faq__col { display: grid; gap: 14px; } }
.faq-item { background: var(--white); border: 1px solid var(--line-light); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; list-style: none; border-radius: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.0313rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.faq-item__icon {
  display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); color: var(--orange-700); transition: transform .3s var(--ease);
}
.faq-item__icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 20px 18px; color: var(--ink-muted); }
.faq-item[open] .faq-item__answer { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Chamada final ---------- */
/* A foto 04-banner-final é o fundo da seção inteira, com gradiente escuro à esquerda */
.final-cta { overflow: hidden; padding-block: clamp(40px, 3.4vw, 48px); min-height: 340px; display: flex; align-items: center; }
.final-cta__bg { position: absolute; inset: 0; z-index: -2; }
.final-cta__bg picture, .final-cta__bg img { width: 100%; height: 100%; }
.final-cta__bg img { object-fit: cover; object-position: 66% center; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 8, 24, .94) 0%, rgba(0, 8, 24, .86) 30%, rgba(0, 8, 24, .35) 55%, rgba(0, 8, 24, 0) 72%),
    linear-gradient(180deg, rgba(0, 8, 24, 0) 55%, rgba(0, 8, 24, .55) 100%);
}
.final-cta__inner { position: relative; z-index: 2; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .final-cta__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.final-cta__content { max-width: 600px; }
.final-cta h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); font-weight: 800; color: var(--white); }
.final-cta p { margin-top: 14px; font-size: clamp(1rem, .96rem + .2vw, 1.0938rem); color: var(--on-dark); }
.final-cta .btn { margin-top: 22px; }
.final-cta .handwritten {
  font-family: var(--font-hand); font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1;
  color: var(--white); white-space: nowrap; transform: rotate(-8deg); justify-self: center;
  text-shadow: 0 2px 4px rgba(0, 8, 24, .6), 0 4px 24px rgba(0, 8, 24, .55);
}
@media (min-width: 900px) { .final-cta .handwritten { justify-self: end; margin-top: -8px; } }
@media (max-width: 899.98px) {
  .final-cta { min-height: 0; }
  .final-cta__bg img { object-position: 70% center; }
  .final-cta::before { background: linear-gradient(180deg, rgba(0, 8, 24, .85) 0%, rgba(0, 8, 24, .78) 100%); }
}

/* ---------- Rodapé ---------- */
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 640px; position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(56px, 7vw, 88px); font-size: .9688rem; }
.site-footer__inner { position: relative; z-index: 1; display: grid; gap: 44px; }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 1.15fr 1.4fr; gap: 64px; } }
.site-footer__logo { display: inline-block; border-radius: 8px; }
.site-footer__logo img { width: 170px; }
.site-footer__brand > p { margin-top: 20px; max-width: 460px; color: var(--on-dark-muted); }
.site-footer__brand > p strong { color: var(--white); }
.site-footer__contact { display: grid; gap: 12px; margin-top: 24px; color: var(--on-dark-muted); }
.site-footer__contact > * { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; line-height: 1.5; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-400); }
.site-footer__contact a:hover { color: var(--white); text-decoration: underline; }
.site-footer__nav { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer__title { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-400); }
.site-footer__nav ul { display: grid; gap: 4px; margin-top: 14px; }
.site-footer__nav a { display: inline-block; padding: 6px 0; color: var(--on-dark-muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal { position: relative; z-index: 1; margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .875rem; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #128C7E; color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: wa-ring 2.8s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.07); }
.nav-open .wa-float { opacity: 0; visibility: hidden; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- Faixa com parallax (home, entre Avaliações e FAQ) ---------- */
/* A imagem tem 130% da altura da faixa e o main.js a move com translateY (±15%). Sem background-attachment: fixed. */
.parallax { position: relative; height: clamp(240px, 30vw, 400px); overflow: hidden; background: var(--navy-950); }
.parallax picture { position: absolute; inset: -15% 0; }
.parallax__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.parallax::after { content: ""; position: absolute; inset: 0; background: rgba(0, 8, 24, .35); pointer-events: none; }

/* ---------- Breadcrumb (páginas internas) ---------- */
.breadcrumb { margin-bottom: 18px; font-size: .875rem; color: var(--on-dark-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--amber-400); }

/* ---------- Páginas internas ---------- */
.hero--interna { min-height: 460px; align-items: center; padding-bottom: clamp(40px, 5vw, 64px); }
.hero--interna .hero__content { max-width: 680px; }
.hero--interna h1 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); }
.hero--interna .hero__text + .hero__text { margin-top: 12px; }
@media (min-width: 900px) { .hero--interna .hero__bg img { object-position: center; } }
@media (max-width: 899.98px) { .hero--interna { min-height: 0; } }

/* Texto corrido (blocos só com parágrafos) */
.prose { max-width: 760px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-muted); font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem); }
.section--dark .prose p, .section--dark-alt .prose p { color: var(--on-dark-muted); }
.prose a, .section-head a, .faq-item__answer a, .note a { color: var(--blue-700); font-weight: 600; }
.section--dark .prose a, .section--dark-alt .prose a, .section--dark .section-head a, .section--dark-alt .section-head a, .section--dark .note a, .section--dark-alt .note a { color: var(--cyan-400); }
.note { margin-top: clamp(24px, 3vw, 32px); color: var(--ink-muted); font-weight: 600; }
.section--dark .note, .section--dark-alt .note { color: var(--on-dark-muted); }
.section-cta { margin-top: clamp(32px, 4vw, 44px); }

/* Grade de cards compactos */
.item-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .item-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .item-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.item-grid .cascade-card { height: 100%; }

/* Lista "Por que" com qualquer número de itens */
@media (min-width: 1200px) { .reasons--auto { grid-template-columns: repeat(min(var(--n, 4), 4), minmax(0, 1fr)); } }
.section--light .reason h3, .section--surface .reason h3 { color: var(--ink); }
.section--light .reason p, .section--surface .reason p { color: var(--ink-muted); }
.section--light .reason__icon, .section--surface .reason__icon { border-color: var(--orange-700); color: var(--orange-700); }

/* Lista com marcador (itens simples da copy) */
.check-list { display: grid; gap: 12px; max-width: 760px; }
.check-list--2 { max-width: none; }
@media (min-width: 768px) { .check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; } }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--blue-500); stroke-width: 2.4; }
.section--dark .check-list .icon, .section--dark-alt .check-list .icon { color: var(--cyan-400); }
.section--dark .check-list li, .section--dark-alt .check-list li { color: var(--on-dark); }

/* Serviços com 1 a 4 cards (hub e cruzamentos) */
.services__grid--simples { grid-template-rows: none; }
@media (min-width: 1100px) {
  .services__grid--simples { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .services__grid--simples .cascade-card--featured { grid-column: auto; grid-row: auto; }
}
.card-foot__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; font-size: .9375rem; color: var(--blue-700); }
.card-foot__more .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cascade-card:hover .card-foot__more .icon { transform: translateX(4px); }

/* Portfólio com 2 ou 3 cards (páginas internas) */
@media (min-width: 1100px) {
  .portfolio__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
  .portfolio__grid--3 > *, .portfolio__grid--2 > * { grid-column: auto !important; }
}

.section-head--gap { margin-top: clamp(48px, 6vw, 72px); }
.cascade-card--link { text-decoration: none; color: inherit; }
.cascade-card--link h3 { color: var(--ink); }
.cascade-card--link .card-foot__more { margin-top: 18px; }
.cascade-card--link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; font-weight: 800; font-size: 1.125rem; }

/* Tabela de preços */.price-table { overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); }
.price-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.price-table thead th { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-weight: 700; }
.price-table__valor { font-weight: 800; color: var(--orange-700); white-space: nowrap; }
@media (max-width: 599.98px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line-light); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table th, .price-table td { padding: 0; border: 0; }
}

/* Mapa */
.map { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--surface); aspect-ratio: 16 / 9; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 599.98px) { .map { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .map { aspect-ratio: 21 / 8; } }
.map__link { margin-top: 14px; }
.map__link a { color: var(--blue-700); }

/* Linha do tempo (Empresa) */
.timeline { position: relative; display: grid; gap: 22px; max-width: 820px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-500), var(--orange-500)); opacity: .5; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(0, 112, 240, .18); }
.timeline strong { display: block; font-size: 1.0625rem; color: var(--white); }
.timeline p { margin-top: 4px; color: var(--on-dark-muted); }

/* Equipe */
.team { display: grid; gap: 22px; }
@media (min-width: 768px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team__card { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); }
.team__card h3 { font-size: 1.1875rem; font-weight: 800; }
.team__role { margin-top: 2px; font-size: .9375rem; font-weight: 700; color: var(--orange-700); }
.team__card p:not(.team__role) { margin-top: 10px; color: var(--ink-muted); font-size: .9688rem; }
.team__card .avatar { width: 72px; height: 72px; font-size: 1.375rem; }

/* Contato: canais, formulário */
.channels { display: grid; gap: 18px; }
@media (min-width: 700px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.channel { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); }
.channel__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 12px; background: rgba(0, 112, 240, .08); color: var(--blue-500); }
.channel__icon .icon { width: 24px; height: 24px; }
.channel h3 { font-size: 1.125rem; font-weight: 800; }
.channel p { color: var(--ink-muted); }
.channel .btn, .channel .link-arrow { margin-top: auto; align-self: flex-start; }
.channel .link-arrow { padding-top: 8px; color: var(--blue-700); }

.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); box-shadow: 0 8px 24px rgba(0, 24, 48, .06); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #B6C3D4; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 1px; border-color: var(--blue-700); }
.form.is-validated :invalid { border-color: #C0262D; }
.field__opcional { font-weight: 500; color: var(--ink-muted); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status--ok { color: #1B7A3A; }
.form-status--erro { color: #B3261E; }
.form-status--info { color: var(--ink-muted); }

/* Blog (cards pendentes) */
.post-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 28px); border-radius: var(--radius); border: 1px dashed #B8C6D8; background: var(--white); }
.post-card__title { font-size: 1.125rem; font-weight: 800; }
.article { max-width: 760px; }
.article h2 { margin-top: 32px; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; }
.article p { margin-top: 14px; color: var(--ink-muted); }

/* ---------- Página simples (404) ---------- */
.simple-page { min-height: 60vh; display: grid; align-items: center; text-align: center; overflow: hidden; }
.simple-page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 800; color: var(--white); }
.simple-page p { margin-top: 16px; color: var(--on-dark-muted); }
.simple-page .btn { margin-top: 28px; }

/* ---------- Entradas ao rolar a página ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Animações contínuas só começam depois do carregamento (main.js adiciona .is-loaded),
   para não disputar a thread principal com o primeiro render. */
.js:not(.is-loaded) .tech-grid *, .js:not(.is-loaded) .wa-float::after,
.js:not(.is-loaded) .step-trail__runner, .js:not(.is-loaded) .step-trail__node::before { animation-play-state: paused; }

/* ---------- Movimento reduzido: tudo para ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
