/* JSC Solutions. Tokens e regras em DESIGN.md. */

:root {
  /* Cor: um matiz (H 162) é dono da página */
  --floresta: #074931;         /* oklch(0.36 0.075 162) campo da marca, ação */
  --floresta-escura: #043422;  /* oklch(0.29 0.06 162) hover, rodapé */
  --campo: #042F1E;            /* oklch(0.27 0.055 162) campos sobre o verde */
  --tinta: #111B16;            /* oklch(0.21 0.018 162) texto */
  --tinta-2: #44514A;          /* oklch(0.42 0.02 162) texto secundário */
  --papel: #F8FBF9;            /* oklch(0.985 0.004 162) fundo */
  --branco: #FFFFFF;           /* superfícies de card */
  --nevoa: #E9F3EE;            /* oklch(0.955 0.012 162) seções alternadas */
  --linha: #D0DAD5;            /* oklch(0.88 0.014 162) divisórias */
  --borda: #76847D;            /* oklch(0.60 0.02 162) borda de controle, 3.7:1 */
  --broto: #AEE7CA;            /* oklch(0.88 0.07 162) realce sobre o verde */
  --sobre-verde: #CDE5D8;      /* texto sobre o verde, 7.9:1 */
  --sobre-verde-2: #B7D2C4;    /* texto menor sobre o verde, 6.5:1 */
  --borda-verde: #65927B;      /* borda sobre o verde, 3.9:1 */

  --f-titulo: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texto: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Tipo: corpo 17px; títulos fluidos com teto ≤ 2,5× o piso */
  --t-xs: 0.8125rem;                                     /* 13 */
  --t-sm: 0.9375rem;                                     /* 15 */
  --t-corpo: 1.0625rem;                                  /* 17 */
  --t-lead: 1.25rem;                                     /* 20 */
  --t-h3: 1.25rem;                                       /* 20 */
  --t-h2: clamp(2rem, 1.6rem + 1.75vw, 3rem);            /* 32 → 48 */
  --t-h1: clamp(2.5rem, 1.7rem + 3.5vw, 4.5rem);         /* 40 → 72 */

  /* Espaço: base 4px */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s28: 112px;
  --secao: var(--s16);

  --r-ctl: 8px;
  --r-card: 16px;
  --r-tile: 20px;
  --max: 1200px;
  --margem: 20px;
  --topo: 68px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --sombra-flutuante: 0 1px 2px rgb(17 27 22 / 6%), 0 12px 32px rgb(17 27 22 / 10%);
}
@media (min-width: 980px) {
  :root { --secao: var(--s28); --margem: 40px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topo) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 400 var(--t-corpo)/1.6 var(--f-texto);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; color: inherit; font-family: var(--f-titulo); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--floresta); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--broto); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--floresta); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margem)); margin-inline: auto; padding-inline: var(--margem); }
.skip { position: absolute; left: var(--s2); top: -100px; z-index: 30; padding: var(--s2) var(--s4); background: var(--tinta); color: var(--papel); }
.skip:focus { top: var(--s2); }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s6);
  border: 1.5px solid transparent; border-radius: var(--r-ctl);
  font: 600 1rem/1.2 var(--f-texto); text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--floresta); color: var(--papel); }
.btn--brand:hover { background: var(--floresta-escura); }
.btn--light { background: var(--papel); color: var(--floresta); }
.btn--light:hover { background: var(--nevoa); }
.btn--ghost { border-color: var(--borda-verde); color: var(--papel); }
.btn--ghost:hover { border-color: var(--sobre-verde); background: var(--floresta-escura); }
.btn--sm { min-height: 44px; padding: 0 var(--s4); font-size: var(--t-sm); }
.btn--block { width: 100%; }
.hero :focus-visible, .contact :focus-visible { outline-color: var(--papel); }

/* Topo */
.top { position: sticky; top: 0; z-index: 20; background: rgb(248 251 249 / 96%); border-bottom: 1px solid var(--linha); }
.top__in { display: flex; align-items: center; gap: var(--s8); height: var(--topo); }
.mark { margin-right: auto; font: 600 1.375rem/1 var(--f-titulo); letter-spacing: -0.02em; color: var(--tinta); text-decoration: none; }
.mark__jsc { font-weight: 700; color: var(--floresta); }
.top__nav, .top__cta { display: none; }
@media (min-width: 980px) {
  .top__nav { display: flex; gap: var(--s8); }
  .top__nav a { color: var(--tinta-2); text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
  .top__nav a:hover { color: var(--floresta); }
  .top__cta { display: inline-flex; }
}

/* Hero */
.hero { background: var(--floresta); color: var(--papel); padding: var(--s12) 0 var(--s12); overflow: hidden; }
.hero__grid { display: grid; gap: var(--s12); }
.hero__lead { margin-top: var(--s6); font-size: var(--t-lead); line-height: 1.55; color: var(--sobre-verde); max-width: 46ch; }
.hero__act { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s8); }
.hero__note { margin-top: var(--s5); font-size: var(--t-sm); color: var(--sobre-verde-2); }
@media (min-width: 560px) {
  .hero__act { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 980px) {
  .hero { padding: var(--s20) 0 var(--s20); }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--s12); align-items: center; }
}

/* Mapa de integrações */
.hub { margin: 0; }
.hub__map { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__orbit { fill: none; stroke: var(--broto); stroke-opacity: 0.22; stroke-width: 1; }
.hub__orbit--in { stroke-opacity: 0.12; fill: rgb(174 231 202 / 4%); }
.hub__rails line { stroke: var(--broto); stroke-opacity: 0.35; stroke-width: 1.5; }
.hub__pulses line {
  stroke: var(--broto); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 10 110; stroke-dashoffset: 10; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hub__pulses line { opacity: 1; animation: pulso 2.7s linear var(--d) infinite; }
}
@keyframes pulso { to { stroke-dashoffset: -100; } }
.hub__core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 36%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 50% 35%, #C6F0DA, var(--broto) 70%);
  color: var(--floresta-escura);
  box-shadow: 0 0 0 10px rgb(174 231 202 / 12%), 0 0 0 22px rgb(174 231 202 / 6%), 0 18px 40px rgb(0 0 0 / 22%);
}
.hub__core-ico { width: 26px; height: 26px; color: var(--floresta); margin-bottom: 4px; }
.hub__core strong { font: 700 clamp(1rem, 0.85rem + 0.6vw, 1.3rem)/1.1 var(--f-titulo); letter-spacing: -0.01em; }
.hub__core span { font-size: var(--t-xs); line-height: 1.3; color: var(--floresta); padding-inline: 14%; }
.hub__nodes { list-style: none; margin: 0; padding: 0; }
.hub__nodes li { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; width: 19%; }
.hub__tile {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 22px;
  background: var(--branco);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 60%), 0 2px 4px rgb(0 0 0 / 10%), 0 14px 28px rgb(0 0 0 / 20%);
  transition: transform 200ms var(--ease);
}
.hub__tile img { width: 48%; height: auto; }
.hub__tile img[src$=".png"] { width: 76%; }
.hub__label {
  position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; white-space: nowrap;
  font-size: var(--t-xs); font-weight: 500; color: var(--sobre-verde);
}
@media (hover: hover) { .hub__nodes li:hover .hub__tile { transform: translateY(-3px); } }
.hub__word { font: 700 clamp(0.75rem, 0.6rem + 0.5vw, 0.95rem)/1 var(--f-titulo); letter-spacing: 0.04em; color: #1D4F91; }
.hub figcaption { margin-top: var(--s10); text-align: center; font-size: var(--t-sm); color: var(--sobre-verde-2); }
@media (max-width: 420px) {
  .hub__tile { border-radius: 16px; }
  .hub__label { font-size: 11px; top: calc(100% + 5px); }
  .hub__core span { display: none; }
  .hub__nodes li { width: 20%; }
}

/* Clientes */
.clients { padding: var(--s10) 0; border-bottom: 1px solid var(--linha); }
.clients__in { display: grid; gap: var(--s5); }
.clients__t { font: 500 var(--t-sm)/1.4 var(--f-texto); color: var(--tinta-2); letter-spacing: 0; }
.clients__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s6); align-items: center;
}
.clients__list li { display: flex; align-items: center; height: 40px; }
.clients__list li:last-child { grid-column: 1 / -1; }
.clients__list img { max-height: 28px; max-width: 128px; width: auto; opacity: 0.7; }
@media (min-width: 700px) {
  .clients__list { grid-template-columns: repeat(4, 1fr); }
  .clients__list li:last-child { grid-column: auto; }
}
@media (min-width: 1100px) {
  .clients__in { grid-template-columns: 13rem 1fr; align-items: center; gap: var(--s10); }
  .clients__list { display: flex; justify-content: space-between; }
  .clients__list img { max-height: 30px; max-width: 132px; }
}

/* Seções */
.section { padding: var(--secao) 0; }
.section--tint { background: var(--nevoa); }
.head { max-width: 44rem; margin-bottom: var(--s10); }
.head p { margin-top: var(--s4); color: var(--tinta-2); font-size: var(--t-lead); line-height: 1.5; }
@media (min-width: 980px) { .head { margin-bottom: var(--s12); } }

/* Integrações */
.integ { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.integ li {
  display: grid; align-content: start; gap: var(--s2);
  padding: var(--s5) var(--s4) var(--s6); background: var(--branco);
  border: 1px solid var(--linha); border-radius: var(--r-card);
}
.integ__logo { height: 44px; display: flex; align-items: center; margin-bottom: var(--s3); }
.integ__logo img { height: 38px; width: auto; }
.integ__logo img[src$=".png"] { height: 30px; }
.integ__word { font: 700 1.25rem/1 var(--f-titulo); letter-spacing: 0.04em; color: #1D4F91; }
.integ h3 { font-size: 1.0625rem; }
.integ p { font-size: var(--t-sm); line-height: 1.5; color: var(--tinta-2); }
.integ__more { margin-top: var(--s6); color: var(--tinta-2); }
.integ__more a { font-weight: 600; }
@media (min-width: 900px) {
  .integ { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
  .integ li { padding: var(--s6) var(--s6) var(--s8); }
}

/* Serviços */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.svc {
  display: grid; align-content: start; gap: var(--s3); grid-auto-rows: auto;
  padding: var(--s6); background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-card);
}
.svc__ico { width: 28px; height: 28px; color: var(--floresta); margin-bottom: var(--s2); }
.svc p { color: var(--tinta-2); }
.svc--feature { background: var(--floresta); border-color: var(--floresta); color: var(--papel); }
.svc--feature .svc__ico { color: var(--broto); }
.svc--feature h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.svc--feature p { color: var(--sobre-verde); font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.svc__list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.svc__list li { padding: var(--s1) var(--s3); border: 1px solid var(--borda-verde); border-radius: 999px; font-size: var(--t-sm); color: var(--sobre-verde); }
.svc--accent { background: var(--broto); border-color: var(--broto); }
.svc__logos {
  margin-top: auto; padding-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  border-top: 1px solid var(--linha); text-decoration: none; font-size: var(--t-sm); font-weight: 600;
}
.svc__logos img { height: 24px; width: auto; }
.svc__logos span { margin-left: auto; }
@media (max-width: 639px) {
  .svc:not(.svc--feature) { grid-template-columns: 28px 1fr; column-gap: var(--s4); row-gap: var(--s1); padding: var(--s5); }
  .svc:not(.svc--feature) .svc__ico { grid-row: span 2; margin: 2px 0 0; }
  .svc:not(.svc--feature) .svc__logos { grid-column: 1 / -1; margin-top: var(--s3); }
  .svc:not(.svc--feature) h3 { font-size: 1.125rem; }
}
.svc--accent p { color: var(--tinta); }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .svc--feature, .bento > .svc:last-child { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .svc { padding: var(--s8); }
  .svc--feature { grid-column: span 2; padding: var(--s10); }
  .bento > .svc:last-child { grid-column: auto; }
}

/* Trabalhos */
.work { display: grid; gap: var(--s6); padding: var(--s10) 0; border-top: 1px solid var(--linha); }
.head + .work { border-top: 0; padding-top: 0; }
.work__fig { margin: 0; }
.work__fig > img { width: 100%; border-radius: var(--r-card); background: var(--nevoa); }
.work__fig figcaption { margin-top: var(--s3); font-size: var(--t-sm); color: var(--tinta-2); }
.work__kind { font-size: var(--t-sm); font-weight: 600; color: var(--floresta); margin-bottom: var(--s2); }
.work__body h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); max-width: 24ch; }
.work__body > p:not(.work__kind) { margin-top: var(--s4); max-width: 56ch; }
.work__list { margin: var(--s4) 0 0; padding: 0 0 0 1.15em; display: grid; gap: var(--s1); max-width: 56ch; }
.work__list li::marker { color: var(--floresta); }
.result { margin-top: var(--s6); padding: var(--s5) var(--s6); background: var(--nevoa); border-radius: var(--r-card); }
.result p + p { margin-top: var(--s2); }
.result__n { font: 700 2.75rem/1 var(--f-titulo); letter-spacing: -0.02em; color: var(--floresta); font-variant-numeric: tabular-nums; }
.result__n span { font: 600 var(--t-corpo)/1 var(--f-texto); letter-spacing: 0; color: var(--tinta); margin-left: var(--s1); }
.result__src { font-size: var(--t-sm); color: var(--tinta-2); }
@media (min-width: 980px) {
  .work { grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: center; padding: var(--s16) 0; }
  .work--rev .work__fig { order: 2; }
}

/* Visuais de integração (exemplos ilustrativos) */
.viz__stage {
  display: grid; justify-items: center; align-content: center; gap: 0;
  padding: var(--s10) var(--s5); border-radius: var(--r-card); min-height: 420px;
}
.viz--ifood .viz__stage { background: #FBE9EA; }
.viz--wa .viz__stage { background: #EAE3D9; }

.order, .erp { width: 100%; max-width: 340px; border-radius: 14px; }
.order { background: var(--branco); padding: var(--s4); box-shadow: var(--sombra-flutuante); }
.order__head { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s3); align-items: center; }
.order__head img { width: 32px; height: 32px; }
.order__head strong { display: block; font-size: var(--t-sm); line-height: 1.3; }
.order__head span { font-size: var(--t-xs); color: var(--tinta-2); }
.order__total { font-weight: 600; font-size: var(--t-sm) !important; color: #B42318 !important; font-variant-numeric: tabular-nums; }
.order__items { list-style: none; margin: var(--s3) 0 0; padding: var(--s3) 0 0; border-top: 1px dashed var(--linha); display: grid; gap: var(--s1); font-size: var(--t-xs); color: var(--tinta-2); }
.order__items li { display: flex; justify-content: space-between; }
.pipe { height: 44px; display: grid; place-items: center; }
.pipe span { width: 2px; height: 100%; background: linear-gradient(#EA1D2C, var(--floresta)); position: relative; }
.pipe span::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 8px; height: 8px;
  border-right: 2px solid var(--floresta); border-bottom: 2px solid var(--floresta); translate: -50% 0; rotate: 45deg;
}
.erp { background: var(--floresta); color: var(--papel); padding: var(--s4) var(--s5); box-shadow: var(--sombra-flutuante); }
.erp__name { font: 700 var(--t-corpo)/1.2 var(--f-titulo); margin-bottom: var(--s2); }
.erp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); font-size: var(--t-sm); color: var(--sobre-verde); }
.erp li { position: relative; padding-left: 22px; }
.erp li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 6px;
  border-left: 2px solid var(--broto); border-bottom: 2px solid var(--broto); rotate: -45deg;
}

.chat { width: 100%; max-width: 340px; border-radius: 14px; overflow: hidden; background: #EFE7DD; box-shadow: var(--sombra-flutuante); }
.chat__head { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: #075E54; color: var(--papel); }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--broto); color: var(--floresta-escura); font: 700 var(--t-xs)/1 var(--f-titulo); }
.chat__head strong { display: block; font-size: var(--t-sm); line-height: 1.3; }
.chat__head span { font-size: var(--t-xs); opacity: 0.85; }
.chat__body { display: grid; gap: var(--s2); padding: var(--s4); }
.msg {
  justify-self: start; max-width: 86%; padding: var(--s2) var(--s3) var(--s1);
  background: var(--branco); border-radius: 10px; font-size: var(--t-sm); line-height: 1.4; color: var(--tinta);
}
.msg time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
.msg--me { justify-self: end; background: #D9FDD3; }
.msg--me time { color: #5B6B63; }
.msg--btn { justify-self: start; width: 86%; margin-top: -4px; padding: var(--s2); text-align: center; font-weight: 600; color: #027EB5; }

/* Outros trabalhos */
.others { padding-top: var(--s10); border-top: 1px solid var(--linha); }
.others__t { font-size: var(--t-h3); }
.others__list { list-style: none; margin: var(--s6) 0 0; padding: 0; }
.others__list li { display: grid; gap: var(--s1); padding: var(--s5) 0; border-top: 1px solid var(--linha); }
.others__list li:last-child { border-bottom: 1px solid var(--linha); }
.others__name { font: 700 var(--t-corpo)/1.3 var(--f-titulo); }
.others__sector { font-size: var(--t-sm); color: var(--tinta-2); }
.others__what { margin-top: var(--s1); max-width: 62ch; }
.others__what a { font-weight: 600; white-space: nowrap; }
@media (min-width: 860px) {
  .others__list li { grid-template-columns: 13rem 13rem 1fr; gap: var(--s8); align-items: baseline; }
  .others__what { margin-top: 0; }
}

/* Como funciona: um painel com linha do tempo (pontos ligados, como no mapa do topo) */
.process { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-card); overflow: hidden; }
.steps { list-style: none; margin: 0; padding: var(--s6) var(--s5); display: grid; gap: var(--s8); position: relative; }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: var(--s4); row-gap: var(--s1); align-content: start; }
.step__dot {
  grid-row: span 2; position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--floresta); color: var(--broto); font: 700 1.0625rem/1 var(--f-titulo);
  box-shadow: 0 0 0 6px var(--branco), 0 0 0 7px var(--linha);
}
.step h3 { font-size: 1.1875rem; padding-top: var(--s2); }
.step p { color: var(--tinta-2); max-width: 34ch; }
/* trilho vertical no celular */
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: calc(-1 * var(--s8)); width: 2px;
  background: linear-gradient(var(--floresta), var(--broto));
}
.process__foot {
  display: grid; gap: var(--s4); justify-items: start;
  padding: var(--s5); background: var(--nevoa); border-top: 1px solid var(--linha);
}
.process__foot p { font-weight: 500; }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s8); padding: var(--s10) var(--s10) var(--s12); }
  .step { grid-template-columns: 1fr; row-gap: var(--s3); }
  .step__dot { grid-row: auto; margin-bottom: var(--s3); }
  .step h3 { padding-top: 0; }
  /* trilho horizontal ligando os pontos */
  .step:not(:last-child)::before { left: 40px; right: calc(-1 * var(--s8)); top: 19px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--floresta), var(--broto)); }
  .process__foot { grid-template-columns: 1fr auto; align-items: center; padding: var(--s6) var(--s10); }
}

/* Licitações */
.lic { display: grid; gap: var(--s10); }
.lic__text > p { margin-top: var(--s5); max-width: 52ch; }
.checks { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s3); max-width: 52ch; }
.checks li { position: relative; padding-left: var(--s8); }
.checks li::before {
  content: ""; position: absolute; left: 3px; top: 0.42em; width: 14px; height: 8px;
  border-left: 2px solid var(--floresta); border-bottom: 2px solid var(--floresta); transform: rotate(-45deg);
}
.record { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-card); padding: var(--s2) var(--s5) var(--s5); }
.record dl { margin: 0; }
.record dl > div { display: grid; gap: 2px; padding: var(--s4) 0; border-bottom: 1px solid var(--linha); }
.record dt { font-size: var(--t-sm); color: var(--tinta-2); }
.record dd { margin: 0; font-weight: 600; }
.record__cnpj dd { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); font-size: 1.1875rem; font-variant-numeric: tabular-nums; }
.copy {
  min-height: 40px; padding: 0 var(--s3); border: 1.5px solid var(--borda); border-radius: var(--r-ctl);
  background: transparent; color: var(--tinta); font: 600 var(--t-sm)/1 var(--f-texto); cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.copy:hover { border-color: var(--floresta); background: var(--nevoa); }
.record__src { margin-top: var(--s4); font-size: var(--t-sm); }
@media (min-width: 560px) {
  .record dl > div { grid-template-columns: 11rem 1fr; gap: var(--s4); align-items: baseline; }
}
@media (min-width: 980px) {
  .lic { grid-template-columns: 5fr 7fr; gap: var(--s16); align-items: start; }
  .record { padding: var(--s3) var(--s8) var(--s6); }
}

/* Dúvidas */
.faq { max-width: 52rem; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: var(--s5) var(--s10) var(--s5) 0; font: 600 1.125rem/1.4 var(--f-texto);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: var(--s2); top: 50%; width: 14px; height: 2px; background: var(--floresta);
  transition: transform 150ms var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--floresta); }
.faq details p { padding: 0 0 var(--s6); color: var(--tinta-2); max-width: 60ch; }
@media (min-width: 980px) {
  .faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s16); align-items: start; }
  .faq-wrap .head { margin-bottom: 0; }
}

/* Contato */
.contact { background: var(--floresta); color: var(--papel); padding: var(--secao) 0; }
.contact__grid { display: grid; gap: var(--s10); }
.contact__text p { margin-top: var(--s4); color: var(--sobre-verde); font-size: var(--t-lead); line-height: 1.5; max-width: 32ch; }
.contact__alt { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; gap: var(--s3); }
.contact__alt a { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; color: var(--papel); font-weight: 600; text-decoration: none; }
.contact__alt a:hover span { text-decoration: underline; }
.form { display: grid; gap: var(--s6); padding: var(--s6) var(--s5); background: var(--floresta-escura); border-radius: var(--r-card); }
.field { display: grid; gap: var(--s2); margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; padding: 0; }
.field legend { margin-bottom: var(--s3); }
.opt { font-weight: 400; color: var(--sobre-verde-2); }
.form input:not([type="radio"]), .form textarea {
  width: 100%; min-height: 52px; padding: var(--s3) var(--s4);
  border: 1.5px solid var(--borda-verde); border-radius: var(--r-ctl);
  background: var(--campo); color: var(--papel); font: 400 1rem/1.4 var(--f-texto);
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--broto); outline-offset: 1px; border-color: var(--broto); }
.form input[aria-invalid="true"] { border-color: #FFB4A8; }
.field__err { font-size: var(--t-sm); color: #FFD3CC; }
.opts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.opts label { position: relative; font-weight: 400; }
.opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opts span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
  border: 1.5px solid var(--borda-verde); border-radius: 999px;
  font-size: var(--t-sm); color: var(--sobre-verde);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.opts label:hover span { border-color: var(--sobre-verde); }
.opts input:checked + span { background: var(--papel); border-color: var(--papel); color: var(--floresta); }
.opts input:focus-visible + span { outline: 3px solid var(--broto); outline-offset: 2px; }
.form__note { font-size: var(--t-sm); color: var(--sobre-verde-2); }
@media (min-width: 980px) {
  .contact__grid { grid-template-columns: 5fr 7fr; gap: var(--s16); align-items: start; }
  .form { padding: var(--s8); }
}

/* Rodapé */
.foot { background: var(--floresta-escura); color: var(--sobre-verde); padding: var(--s12) 0 calc(var(--s20) + 24px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; gap: var(--s8); }
.mark--foot { color: var(--papel); }
.mark--foot .mark__jsc { color: var(--broto); }
.foot__legal { margin-top: var(--s4); font-size: var(--t-sm); line-height: 1.7; font-variant-numeric: tabular-nums; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
.foot__nav a { color: var(--sobre-verde); text-decoration: none; font-size: var(--t-sm); min-height: 32px; display: inline-flex; align-items: center; }
.foot__nav a:hover { color: var(--papel); text-decoration: underline; }
.foot :focus-visible { outline-color: var(--papel); }
.foot__copy { margin-top: var(--s10); padding-top: var(--s5); border-top: 1px solid #1F5A43; font-size: var(--t-sm); }
@media (min-width: 760px) {
  .foot { padding-bottom: var(--s12); }
  .foot__in { grid-template-columns: 1fr auto; }
  .foot__nav { justify-content: flex-end; column-gap: var(--s8); }
}

/* Barra fixa do celular */
.dock {
  position: fixed; z-index: 15; left: var(--s3); right: var(--s3);
  bottom: max(var(--s3), env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; border-radius: var(--r-ctl);
  background: var(--floresta); color: var(--papel); border: 1.5px solid var(--floresta-escura);
  font-weight: 600; text-decoration: none; box-shadow: var(--sombra-flutuante);
  transform: translateY(calc(100% + 24px)); visibility: hidden;
  transition: transform 200ms var(--ease), visibility 0s linear 200ms;
}
.dock.is-on { transform: none; visibility: visible; transition: transform 200ms var(--ease); }
.dock:focus-visible { outline-color: var(--tinta); }
@media (min-width: 980px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn, .copy, .opts span, .faq summary::after, .dock, .dock.is-on { transition: none; }
}
@media (min-width: 640px) {
  .svc:has(.svc__logos) { display: flex; flex-direction: column; }
}

/* Sites para profissionais: painel na página inicial */
.promo {
  display: grid; gap: var(--s10); padding: var(--s8) var(--s5);
  background: var(--floresta); color: var(--papel); border-radius: var(--r-card); overflow: hidden;
}
.promo__kind { font-size: var(--t-sm); font-weight: 600; color: var(--broto); margin-bottom: var(--s3); }
.promo h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); max-width: 18ch; }
.promo__text > p:not(.promo__kind) { margin-top: var(--s4); color: var(--sobre-verde); font-size: 1.125rem; line-height: 1.55; max-width: 48ch; }
.promo__tags { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.promo__tags li { padding: var(--s1) var(--s3); border: 1px solid var(--borda-verde); border-radius: 999px; font-size: var(--t-sm); color: var(--sobre-verde); }
.promo__act { margin-top: var(--s8); }
.promo__fig { margin: 0; }
.promo__fig figcaption { margin-top: var(--s4); font-size: var(--t-sm); color: var(--sobre-verde-2); }
.promo .browser { box-shadow: 0 2px 4px rgb(0 0 0 / 14%), 0 24px 48px rgb(0 0 0 / 30%); }
.promo :focus-visible { outline-color: var(--papel); }
@media (min-width: 980px) {
  .promo { grid-template-columns: 5fr 6fr; gap: var(--s16); align-items: center; padding: var(--s16) var(--s12) var(--s16) var(--s16); }
}

/* Molduras de navegador e celular (telas reais e exemplos) */
.devices { position: relative; padding: 0 12% 7% 0; }
.browser { border-radius: 12px; overflow: hidden; background: var(--branco); box-shadow: var(--sombra-flutuante); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 var(--s3); background: #EEF2F0; border-bottom: 1px solid var(--linha); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D3CE; }
.browser__bar span {
  margin-left: var(--s2); flex: 0 1 220px; height: 18px; padding: 0 var(--s3); border-radius: 9px;
  display: flex; align-items: center; background: var(--branco); font-size: 11px; color: var(--tinta-2); white-space: nowrap; overflow: hidden;
}
.browser img { width: 100%; }
.phone {
  width: 100%; max-width: 310px; padding: 9px; border-radius: 42px; background: #0D1713;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 8%), 0 2px 4px rgb(0 0 0 / 14%), 0 28px 56px rgb(0 0 0 / 32%);
}
.phone__screen { border-radius: 33px; overflow: hidden; background: #EFE7DD; }
.phone__screen > img { width: 100%; }
.phone--mini { position: absolute; right: 0; bottom: 0; width: 27%; padding: 5px; border-radius: 22px; }
.phone--mini .phone__screen { border-radius: 17px; }

/* Página de profissionais: celular do topo */
.hero-phone { margin: 0; display: grid; justify-items: center; }
.chat--phone { max-width: none; border-radius: 0; box-shadow: none; min-height: 500px; display: flex; flex-direction: column; }
.chat--phone .chat__head { padding-top: var(--s5); }
.chat--phone .chat__body { flex: 1; align-content: end; }
.hero-phone figcaption { margin-top: var(--s5); font-size: var(--t-sm); color: var(--sobre-verde-2); text-align: center; }
@media (max-width: 559px) { .chat--phone { min-height: 440px; } }

/* Para quem fazemos */
.aud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.aud li {
  display: grid; align-content: start; gap: var(--s2);
  padding: var(--s5) var(--s4) var(--s6); background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-card);
}
.aud__ico { width: 28px; height: 28px; color: var(--floresta); margin-bottom: var(--s2); }
.aud h3 { font-size: 1.0625rem; }
.aud p { font-size: var(--t-sm); line-height: 1.5; color: var(--tinta-2); }
@media (min-width: 760px) {
  .aud { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .aud li { padding: var(--s6) var(--s6) var(--s8); }
}

/* Páginas que criamos */
.examples { display: grid; gap: var(--s10); }
.example { margin: 0; }
.example figcaption { margin-top: var(--s4); color: var(--tinta-2); max-width: 52ch; }
.example figcaption strong { display: block; margin-bottom: var(--s1); font: 700 1.125rem/1.3 var(--f-titulo); color: var(--tinta); }
.example figcaption a { font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .examples { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

/* Ajustes da grade de cartões */
.svc__more { font-size: var(--t-sm); font-weight: 600; }
@media (min-width: 980px) { .bento > .svc--wide, .bento > .svc--wide:last-child { grid-column: span 2; } }

.foot__contact { margin-top: var(--s4); display: grid; gap: var(--s1); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.foot__contact a { color: var(--sobre-verde); text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; gap: 0.35em; justify-self: start; }
@media (min-width: 760px) { .foot__in { align-items: start; } }
.foot__contact a:hover { color: var(--papel); text-decoration: underline; }
