/* ==========================================================================
   LETSDEV — sistema para laboratório veterinário — folha de estilos principal
   ========================================================================== */

:root {
  --dark: #0A2328;          /* fundo escuro (hero, rodapé) */
  --dark-2: #0F3238;
  --primary: #1F8087;       /* teal do logo */
  --primary-700: #176970;
  --primary-50: #E8F3F4;
  --accent: #03C4A2;        /* verde-água da marca (usar com texto escuro) */
  --accent-600: #02A98C;
  --gradient: linear-gradient(135deg, #1F8087 0%, #03C4A2 100%);
  --text: #102A2F;
  --muted: #52707A;
  --soft: #F3F8F8;
  --border: #DCE8E9;
  --white: #FFFFFF;
  --whatsapp: #128C4A;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(10, 35, 40, .08);
  --shadow-lg: 0 24px 60px rgba(10, 35, 40, .18);
  --container: 1180px;
  --header-h: 76px;
  --font-title: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Reset enxuto ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-text); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
p { max-width: 68ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.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: -100px; z-index: 100;
  background: var(--accent); color: var(--dark); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Botões ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--dark); box-shadow: 0 8px 24px rgba(3, 196, 162, .28); }
.btn--accent:hover { background: #12d4b1; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-700); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #0e7a40; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) {
  .actions { flex-direction: column; align-items: stretch; }
}

/* Cabeçalho --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 35, 40, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand img { width: 172px; height: auto; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 999px;
  font-weight: 500; font-size: 15px; text-decoration: none; color: rgba(255,255,255,.85); white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.main-nav .nav-cta { margin-left: 6px; }
.main-nav .nav-cta a { background: var(--accent); color: var(--dark); font-weight: 600; padding: 10px 20px; border-radius: 999px; }
.main-nav .nav-cta a:hover { background: #12d4b1; }
.main-nav .nav-cta a[aria-current="page"] { box-shadow: none; border-radius: 999px; }

@media (max-width: 1140px) {
  :root { --header-h: 66px; }
  .brand img { width: 144px; }
  .js .nav-toggle { display: inline-flex; }
  .site-header .container { flex-wrap: wrap; }
  .main-nav { width: 100%; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 18px; }
  .main-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .main-nav a[aria-current="page"] { border-radius: var(--radius-sm); background: rgba(255,255,255,.08); box-shadow: none; }
  .main-nav .nav-cta { margin: 8px 0 0; }
  .main-nav .nav-cta a { text-align: center; border-radius: 999px; }
  .js .main-nav { display: none; }
  .js .nav-open .main-nav { display: block; }
}

/* Seções ------------------------------------------------------------------ */
.section { padding-block: 96px; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
@media (max-width: 720px) { .section { padding-block: 64px; } }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: rgba(255,255,255,.75); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gradient); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }

.grad-text {
  background: linear-gradient(90deg, #2fd3b6, #8ff0dc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(3, 196, 162, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 128, 135, .35), transparent 60%),
    var(--dark);
}
.hero::after { /* grade sutil ao fundo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px;
  padding-block: 88px 104px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 22px; }
.hero .lead { font-size: 19px; color: rgba(255,255,255,.8); margin-bottom: 34px; }
.hero-points { list-style: none; padding: 0; margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255,255,255,.75); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.hero-visual .monitor { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.hero-visual .phone {
  position: absolute; right: -12px; bottom: -36px; width: 26%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.96); color: var(--text);
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 600; line-height: 1.25;
}
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.chip .chip-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gradient); color: #fff; flex: none; }
.chip .chip-icon svg { width: 18px; height: 18px; }
.chip--a { left: -28px; top: 18%; }
.chip--b { left: 6%; bottom: -18px; }
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 56px 88px; gap: 56px; }
  .chip--a { left: 0; }
}
@media (max-width: 520px) {
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip .chip-icon { width: 28px; height: 28px; }
  .chip--a { top: 4%; }
  .hero-visual .phone { right: 0; }
}

/* Faixa "feito para" ------------------------------------------------------ */
.strip { background: var(--dark-2); color: rgba(255,255,255,.8); border-top: 1px solid rgba(255,255,255,.06); }
.strip ul { list-style: none; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: 15px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* Grade e cards ----------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4dcdd; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--gradient); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 20px rgba(31, 128, 135, .25);
}
.icon-tile svg { width: 26px; height: 26px; }

/* Público-alvo ------------------------------------------------------------ */
.audience { padding: 0; overflow: hidden; }
.audience img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.audience .audience-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.audience h3 { font-size: 22px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 4px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8087' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(3,196,162,.15); }

/* Plataforma modular ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.split .lead { color: var(--muted); font-size: 18px; }
.section--dark .split .lead { color: rgba(255,255,255,.75); }

.modules { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 12px; }
.module {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.module .num { font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--accent); min-width: 28px; padding-top: 2px; }
.module h3 { font-size: 17px; margin-bottom: 2px; }
.module p { font-size: 14px; color: rgba(255,255,255,.7); }

.phone-stage {
  position: relative; display: grid; place-items: center; padding: 32px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(3,196,162,.35), transparent 65%);
}
.phone-stage img { width: min(300px, 70%); filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }

/* Fluxo ------------------------------------------------------------------- */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 20px; counter-reset: passo; position: relative; }
.flow::before { /* linha que liga as etapas */
  content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow .step-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--primary);
  border: 2px solid var(--primary); position: relative; z-index: 1;
}
.flow li:last-child .step-icon { background: var(--gradient); color: #fff; border-color: transparent; }
.flow .step-icon svg { width: 24px; height: 24px; }
.flow h3 { font-size: 16px; margin-bottom: 6px; }
.flow p { font-size: 14px; color: var(--muted); margin-inline: auto; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary), var(--accent)); }
  .flow li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; text-align: left; padding: 0 0 26px; }
  .flow .step-icon { margin: 0; grid-row: span 2; }
  .flow p { margin: 0; }
}

/* Faixa CTA --------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: var(--gradient); border-radius: 28px;
  padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center;
}
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.9); font-size: 18px; margin-bottom: 28px; }
.cta .btn--white { background: #fff; color: var(--primary-700); }
.cta .btn--white:hover { background: var(--dark); color: #fff; }
.cta { padding-bottom: 0; }
.cta > div { padding-bottom: 56px; }
.cta .person { align-self: end; justify-self: center; width: auto; max-height: 400px; margin-top: -24px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; padding: 36px 24px 0; }
  .cta > div { padding-bottom: 0; }
  .cta .person { max-height: 280px; margin-top: 0; }
}

/* Contato ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; display: grid; gap: 20px; margin-top: 28px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > div { min-width: 0; }
.info-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.info-list .icon-tile svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; }
.info-list a, .info-list address { font-style: normal; font-size: 17px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--primary); text-decoration: underline; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 12px 14px; border: 1px solid #c8d9db; border-radius: 12px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31,128,135,.15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-grid .form-note { margin-top: -4px; }
.req { color: #dc2626; font-weight: 700; }

/* Páginas internas -------------------------------------------------------- */
.page-hero {
  color: #fff; padding-block: 64px 72px;
  background: radial-gradient(800px 400px at 90% 0%, rgba(3,196,162,.25), transparent 60%), var(--dark);
}
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 14px; }
.page-hero p { font-size: 19px; color: rgba(255,255,255,.8); }
.page-hero .actions { margin-top: 30px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin-bottom: 22px; font-size: 14px; }
.breadcrumb li { color: rgba(255,255,255,.65); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--accent); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 30px; }
.chip-nav a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.chip-nav a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }

.feature-detail { display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start; }
.feature-detail + .feature-detail { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--border); }
.feature-detail .icon-tile { width: 72px; height: 72px; border-radius: 20px; }
.feature-detail .icon-tile svg { width: 34px; height: 34px; }
.feature-detail h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 12px; }
.feature-detail p { color: var(--muted); font-size: 17px; }
.feature-detail p + p { margin-top: 12px; }
.feature-detail .check-list { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 700px) {
  .feature-detail { grid-template-columns: 1fr; gap: 16px; }
  .feature-detail .check-list { grid-template-columns: 1fr; }
}

/* Números de destaque ----------------------------------------------------- */
.stats { background: var(--dark-2); color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.06); }
.stats ul { list-style: none; padding: 30px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; }
.stats strong { font-family: var(--font-title); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: #fff; }
.stats strong .grad-text { display: inline; }
@media (max-width: 760px) { .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats--light { background: var(--white); color: var(--muted); border: 0; }
.stats--light strong { color: var(--text); }
.stats--light ul { padding: 0; }

/* Passos numerados (como começar, implantação, migração) ------------------ */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: passo; }
.steps > li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; }
.steps > li::before {
  counter-increment: passo; content: counter(passo);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  font-family: var(--font-title); font-weight: 700; font-size: 20px; color: #fff; background: var(--gradient);
  box-shadow: 0 10px 20px rgba(31, 128, 135, .25);
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Exemplos "o sistema faz o trabalho repetitivo" -------------------------- */
.example { gap: 10px; }
.example .eyebrow { margin-bottom: 4px; font-size: 12px; }
.example h3 { font-size: 21px; }
.formulas { list-style: none; padding: 14px 16px; margin: 4px 0; display: grid; gap: 6px; background: var(--soft); border-radius: var(--radius-sm); border: 1px dashed #c4dcdd; }
.formulas li { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 14px; color: var(--text); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0; font-size: 14px; font-weight: 600; }
.chain span { background: var(--primary-50); color: var(--primary-700); border-radius: 999px; padding: 6px 12px; }
.chain .from { background: var(--gradient); color: #fff; }
.chain i { font-style: normal; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }

/* Situação da requisição -------------------------------------------------- */
.status-flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.status-flow li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 18px 16px; }
.status-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 700; z-index: 1; }
.status-flow strong { display: block; font-family: var(--font-title); font-size: 16px; margin-bottom: 4px; }
.status-flow span { font-size: 14px; color: var(--muted); }
.status-flow li:last-child { background: var(--gradient); border-color: transparent; color: #fff; }
.status-flow li:last-child span { color: rgba(255,255,255,.88); }
@media (max-width: 900px) {
  .status-flow { grid-template-columns: 1fr; gap: 12px; }
  .status-flow li:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -15px; transform: none; }
}

/* Tabelas ----------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table thead th { background: var(--dark); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 14px; letter-spacing: .3px; }
.data-table tbody th { font-weight: 600; width: 22%; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: var(--soft); }
/* Celular: cada linha vira um cartão com os rótulos das colunas (data-label) */
@media (max-width: 700px) {
  .table-wrap:has(.data-table--stack) { overflow: visible; border: 0; background: none; box-shadow: none; }
  .data-table--stack { min-width: 0; }
  .data-table--stack thead { display: none; }
  .data-table--stack, .data-table--stack tbody, .data-table--stack tr, .data-table--stack th, .data-table--stack td { display: block; width: auto; }
  .data-table--stack tr { background: var(--white) !important; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
  .data-table--stack tbody th { background: var(--dark); color: #fff; width: auto; padding: 12px 16px; border: 0; }
  .data-table--stack td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
  .data-table--stack td:last-child { border-bottom: 0; }
  .data-table--stack td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* Grupos de funcionalidades ----------------------------------------------- */
.group + .group { margin-top: 72px; }
.group-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.group-head .icon-tile { width: 64px; height: 64px; border-radius: 18px; }
.group-head .icon-tile svg { width: 30px; height: 30px; }
.group-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.group-head p { color: var(--muted); font-size: 17px; }
.group-head .eyebrow { margin-bottom: 8px; }
.item-card { padding: 22px 22px 24px; gap: 8px; }
.item-card h3 { font-size: 17px; }
.item-card p { font-size: 15px; }
@media (max-width: 600px) { .group-head { flex-direction: column; gap: 14px; } }

/* Artigos ----------------------------------------------------------------- */
.article-card .eyebrow { font-size: 12px; margin-bottom: 4px; }
.article-card .eyebrow::before { display: none; }
.page-hero .article-meta { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 18px; }
.page-hero h1 { max-width: 900px; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; margin-top: 2em; }
.prose h3 { font-size: 19px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--primary); font-weight: 600; }
.prose a { color: var(--primary); font-weight: 500; }
.prose a:hover { color: var(--dark); }
.prose .note { font-size: 14px; line-height: 1.6; }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 2em; }
.callout { background: var(--soft); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 22px 26px; margin-top: 2em; }
.callout h3 { margin-bottom: 10px; }
.callout ul { font-size: 16px; }
@media (max-width: 600px) { .prose { font-size: 17px; } .callout { padding: 18px 18px; } }

/* Utilidades -------------------------------------------------------------- */
.center { text-align: center; margin-inline: auto; }
.lead-muted { color: var(--muted); font-size: 18px; }

/* Rodapé ------------------------------------------------------------------ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 40px; }
.footer-grid h2 { font-family: var(--font-text); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand img { width: 180px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); }
.social a:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-bottom: 72px; } }

/* WhatsApp flutuante ------------------------------------------------------ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.error-page { text-align: center; padding-block: 104px; }
.error-page .code { font-family: var(--font-title); font-size: clamp(80px, 16vw, 160px); font-weight: 700; line-height: 1; }
.error-page h1 { font-size: clamp(26px, 4vw, 38px); margin: 12px 0; }
.error-page p { margin: 0 auto 28px; color: var(--muted); }
.error-page .actions { justify-content: center; }

.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
