/**
 * main.css
 * Centraliza estilos visuais e regras de layout usadas neste contexto.
 *
 * O que este arquivo faz:
 * - Define classes e variaveis CSS reutilizadas pelas paginas.
 * - Mantem consistencia visual entre desktop e mobile.
 * - Evita duplicacao de estilos em blocos inline.
 *
 * Por que separar estilos em arquivo dedicado?
 * - Reduz acoplamento entre estrutura HTML e apresentacao.
 * - Facilita manutencao e reduz risco de regressao visual.
 */
/* ═══════════════════════════════════════════════════
   MÉTODO P4 — Design System
   v4 — Refactoring editorial / 2025
   ═══════════════════════════════════════════════════ */

/* ─── VARIÁVEIS ───────────────────────────────────── */
:root {
  /* Cores */
  --dark:   #05152e;
  --dark2:  #0a2145;
  --dark3:  #031024;
  --green:  #56D54F;
  --lime:   #BAFF00;
  --white:  #FEFEFE;

  /* Hierarquia de texto */
  --text-strong:  rgba(254,254,254,.94);
  --text-body:    rgba(254,254,254,.74);
  --text-muted:   rgba(254,254,254,.56);
  --text-subtle:  rgba(254,254,254,.44);
  --text-quiet:   rgba(254,254,254,.36);

  /* Superfícies */
  --surface-soft: rgba(255,255,255,.028);
  --surface-elev: rgba(255,255,255,.048);

  /* Bordas */
  --border-soft: rgba(86,213,79,.10);
  --border-mid:  rgba(86,213,79,.20);
  --border-str:  rgba(86,213,79,.38);
  --accent-soft: rgba(86,213,79,.07);

  /* Raios */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Tipografia */
  --f-head: 'Sora', sans-serif;
  --f-body: 'Plus Jakarta Sans', 'Noto Sans', sans-serif;

  /* Layout */
  --max-w:    1220px;
  --col-gap:  clamp(1.5rem, 3vw, 3rem);

  /* Espaçamento de seção */
  --sv: clamp(4.5rem, 8vw, 7rem);
  --sh: clamp(1.5rem, 5vw, 5rem);

  color-scheme: dark;
}

/* ─── RESET ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, video, svg, iframe { max-width: 100%; height: auto; display: block; }
html, body { width: 100%; max-width: 100%; }

/* ─── BODY ────────────────────────────────────────── */
body {
  background:
    radial-gradient(circle at 10% -6%, rgba(86,213,79,.10) 0%, transparent 32%),
    radial-gradient(circle at 90% 16%, rgba(86,213,79,.07) 0%, transparent 34%),
    linear-gradient(180deg, var(--dark3) 0%, var(--dark3) 18%, var(--dark) 52%, var(--dark2) 100%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* min-width zero em todos os containers de bloco */
main, section, article, div, aside, header, footer { min-width: 0; }
h1, h2, h3 {
  overflow-wrap: normal;
  word-break: keep-all;
}
p, li, a, span { overflow-wrap: break-word; }

/* ─── SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark3); }
::-webkit-scrollbar-thumb { background: rgba(86,213,79,.22); border-radius: 4px; }

/* ─── CONTAINER ───────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ─── NAVEGAÇÃO ───────────────────────────────────── */
nav {
  position: fixed; top: .72rem; left: 50%; transform: translateX(-50%);
  width: min(1280px, calc(100% - 2rem)); z-index: 900;
  padding: .68rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background:
    linear-gradient(180deg, rgba(9,28,58,.92) 0%, rgba(5,19,42,.92) 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.08) inset;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .28s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
nav::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255,255,255,.06) 0%,
    rgba(86,213,79,.06) 50%,
    rgba(255,255,255,.06) 100%);
  opacity: .5; pointer-events: none;
}
nav.scrolled {
  background: linear-gradient(180deg, rgba(5,17,38,.97) 0%, rgba(3,12,29,.97) 100%);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
}
nav.nav-hidden {
  transform: translate(-50%, calc(-100% - 1rem));
  pointer-events: none;
}

.logo { text-decoration: none; display: flex; align-items: center; position: relative; z-index: 1; }
.logo-img { height: 30px; width: auto; display: block; }

.nav-links { display: flex; gap: 1.6rem; list-style: none; position: relative; z-index: 1; }
.nav-links a {
  color: rgba(254,254,254,.86); text-decoration: none;
  font-family: var(--f-head); font-size: .73rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  transition: color .2s, opacity .2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  opacity: .9;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -.44rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform: translateX(-50%);
  transition: width .22s ease;
}
.nav-links a:hover, .nav-links a.active, .nav-links a:focus-visible {
  color: var(--lime); outline: none; opacity: 1;
}
.nav-links a:hover::after, .nav-links a.active::after, .nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, rgba(86,213,79,.18), rgba(86,213,79,.08));
  color: var(--white);
  border: 1px solid rgba(86,213,79,.42);
  padding: .44rem .98rem; font-family: var(--f-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; transition: all .22s;
  white-space: nowrap; position: relative; z-index: 1; flex-shrink: 0;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: linear-gradient(135deg, rgba(186,255,0,.24), rgba(86,213,79,.2));
  color: var(--lime);
  border-color: rgba(186,255,0,.54); transform: translateY(-1px);
  outline: none;
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none; position: relative; z-index: 1;
  width: 34px; height: 34px;
  border: 1px solid rgba(254,254,254,.16); border-radius: 8px;
  background: rgba(255,255,255,.04); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .2s, background .2s; flex-shrink: 0;
}
.nav-hamburger:hover { border-color: rgba(86,213,79,.45); background: rgba(86,213,79,.06); }
.nav-hamburger span {
  display: block; width: 17px; height: 1.5px;
  background: rgba(254,254,254,.82); border-radius: 2px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .22s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Drawer mobile ── */
.nav-drawer {
  display: flex; position: fixed; inset: 0; z-index: 800;
  background:
    radial-gradient(55% 45% at 82% 8%, rgba(86,213,79,.10) 0%, transparent 55%),
    radial-gradient(42% 38% at 18% 92%, rgba(86,213,79,.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(4,14,33,.99) 0%, rgba(2,9,20,.99) 100%);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 5.5rem 1.5rem 2.5rem;
  flex-direction: column; gap: 1.5rem; overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-14px);
  transition:
    opacity .26s ease,
    transform .34s cubic-bezier(.22,1,.36,1),
    visibility 0s linear .34s;
}
.nav-drawer.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity .26s ease,
    transform .34s cubic-bezier(.22,1,.36,1),
    visibility 0s;
}
.nav-drawer > .nav-mobile-menu,
.nav-drawer > .nav-links {
  transform: translateY(10px);
  opacity: 0;
  transition: transform .34s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}

/* grupos como flex column separados por divisores */
.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.nav-mobile-group {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-mobile-group[open] {
  background: rgba(86,213,79,.025);
}

.nav-mobile-group > summary {
  list-style: none;
  display: flex;
  align-items: center;
  padding: .92rem 0;
  font-family: var(--f-head);
  font-size: clamp(1.05rem, 4.5vw, 1.22rem);
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(254,254,254,.88);
  cursor: pointer;
  transition: color .22s ease;
}
.nav-mobile-group > summary:hover { color: #fff; }
.nav-mobile-group > summary:focus-visible {
  outline: 1px solid rgba(86,213,79,.42);
  outline-offset: 2px;
  border-radius: 12px;
}
.nav-mobile-group > summary::-webkit-details-marker { display: none; }
.nav-mobile-group > summary::marker { content: ''; }

/* span do texto ocupa todo o espaço disponível */
.nav-mobile-group > summary > span:not(.nav-mobile-caret) { flex: 1; }

.nav-mobile-group[open] > summary { color: var(--green); }

.nav-mobile-caret {
  width: .45rem;
  height: .45rem;
  flex-shrink: 0;
  border-right: 1.5px solid rgba(254,254,254,.5);
  border-bottom: 1.5px solid rgba(254,254,254,.5);
  transform: rotate(45deg);
  transition: transform .22s ease, border-color .22s ease;
}

.nav-mobile-group[open] .nav-mobile-caret {
  border-color: var(--green);
  transform: rotate(-135deg);
}

.nav-mobile-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.22,1,.36,1);
}

.nav-mobile-group[open] .nav-mobile-submenu { max-height: 24rem; }

.nav-mobile-submenu li { border-top: 1px solid rgba(86,213,79,.08); }

.nav-mobile-submenu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .82rem 1rem;
  font-family: var(--f-head);
  font-size: clamp(.93rem, 4.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(254,254,254,.75);
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.nav-mobile-submenu a:hover {
  color: var(--green);
  background: rgba(86,213,79,.06);
}

.nav-mobile-submenu a.is-active { color: var(--green); background: rgba(86,213,79,.08); }

/* ── Links de navegação simples (intercalados com grupos) ── */
.nav-mobile-link-item {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-mobile-link-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .92rem 0;
  font-family: var(--f-head);
  font-size: clamp(.97rem, 4.2vw, 1.08rem);
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  color: rgba(254,254,254,.82);
  transition: color .2s ease;
}

.nav-mobile-link-item a::after {
  content: '';
  flex-shrink: 0;
  width: .38rem;
  height: .38rem;
  border-right: 1.5px solid rgba(254,254,254,.28);
  border-top: 1.5px solid rgba(254,254,254,.28);
  transform: rotate(45deg) translateY(-.06rem);
  transition: border-color .2s ease, transform .2s ease;
}

.nav-mobile-link-item a:hover,
.nav-mobile-link-item a.is-active {
  color: var(--green);
}

.nav-mobile-link-item a:hover::after,
.nav-mobile-link-item a.is-active::after {
  border-color: var(--green);
  transform: rotate(45deg) translate(.1rem, -.12rem);
}

.nav-drawer > .nav-links {
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.nav-drawer > .nav-links li { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-drawer > .nav-links a {
  display: block; padding: 1rem 0;
  font-size: .95rem; color: rgba(254,254,254,.88); letter-spacing: .06em;
}
.nav-drawer > .nav-links a:hover { color: var(--lime); }

/* ── CTA do drawer ── */
.nav-drawer > .nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  width: 100%;
  background: rgba(86,213,79,.12);
  color: var(--green);
  border: 1.5px solid rgba(86,213,79,.38);
  border-radius: 999px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .34s cubic-bezier(.22,1,.36,1) .04s, opacity .2s ease .04s, background .22s, border-color .22s;
}

.nav-drawer > .nav-cta:hover {
  background: rgba(86,213,79,.2);
  border-color: rgba(86,213,79,.7);
  color: var(--green);
}

.nav-drawer.open > .nav-mobile-menu,
.nav-drawer.open > .nav-links,
.nav-drawer.open > .nav-cta {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .nav-drawer,
  .nav-drawer > .nav-mobile-menu,
  .nav-drawer > .nav-links,
  .nav-drawer > .nav-cta {
    transition: none !important;
    transform: none !important;
  }
}

/* ─── BOTÕES ──────────────────────────────────────── */
.btn-lime {
  background: var(--green); color: var(--dark);
  padding: .88rem 2.25rem; font-family: var(--f-head); font-weight: 700;
  font-size: .88rem; letter-spacing: .025em; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: var(--r-lg); transition: all .22s;
  border: 1px solid rgba(86,213,79,.5);
  box-shadow: 0 8px 24px rgba(86,213,79,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-lime:hover, .btn-lime:focus-visible {
  background: var(--lime); transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(86,213,79,.30); outline: none;
}

.btn-ghost {
  border: 1px solid rgba(254,254,254,.16); color: rgba(254,254,254,.78);
  padding: .88rem 2.25rem; font-family: var(--f-head); font-weight: 600;
  font-size: .88rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: all .22s; border-radius: var(--r-lg);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--green); color: var(--green);
  transform: translateY(-2px); background: rgba(86,213,79,.04); outline: none;
}

/* ─── SECTION BASE ────────────────────────────────── */
.section {
  padding: var(--sv) var(--sh);
  position: relative;
  background-color: transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 88%, transparent 100%);
}

/* Sem border dura — o mask-image já faz a mesclagem */
.section + .section {
  background-image:
    radial-gradient(ellipse 80% 10rem at 50% 0%, rgba(86,213,79,.028) 0%, transparent 100%);
}

/* ─── TIPOGRAFIA COMPARTILHADA ────────────────────── */
h2.s-title {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.04; letter-spacing: -.028em;
}
h2.s-title em { font-style: normal; color: var(--green); }

h3.s-sub {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  letter-spacing: -.02em; line-height: 1.2;
}

/* ─── EYEBROW TAG ─────────────────────────────────── */
.s-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(86,213,79,.88); font-weight: 700;
  margin-bottom: 1rem;
}
.s-tag::before, .s-tag::after {
  content: ''; display: block;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86,213,79,.5), transparent);
}

/* ─── SCROLL REVEAL ───────────────────────────────── */
.sr {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.sr.in { opacity: 1; transform: none; }
.sr.d1 { transition-delay: .10s; }
.sr.d2 { transition-delay: .20s; }
.sr.d3 { transition-delay: .30s; }
.sr.d4 { transition-delay: .42s; }

/* ─── VOLTAR AO TOPO ──────────────────────────────── */
#back-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 850;
  width: 34px; height: 34px;
  background: rgba(8,26,56,.92); border: 1px solid rgba(86,213,79,.26);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .22s, transform .22s, border-color .2s;
  color: rgba(254,254,254,.55); text-decoration: none;
}
#back-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
#back-top:hover { border-color: var(--green); color: var(--green); background: rgba(86,213,79,.08); }

/* ─── RODAPÉ ──────────────────────────────────────── */
footer {
  background:
    radial-gradient(70% 60% at 12% 0%, rgba(86,213,79,.08) 0%, transparent 60%),
    radial-gradient(64% 55% at 88% 8%, rgba(86,213,79,.05) 0%, transparent 62%),
    rgba(2, 8, 20, 0.52);
  padding: 4.25rem var(--sh) 2rem;
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 4%,
    rgba(86,213,79,.35) 22%,
    rgba(86,213,79,.72) 50%,
    rgba(86,213,79,.35) 78%,
    transparent 96%);
}
footer::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 78% 60% at 50% 100%, rgba(0,0,0,.16) 0%, transparent 60%);
  pointer-events: none;
}
.foot-top, .foot-bot { max-width: var(--max-w); margin: 0 auto; }
.foot-top {
  display: grid; grid-template-columns: minmax(0,1.35fr) repeat(3, minmax(0,.92fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(86,213,79,.09);
}
.foot-brand { max-width: 320px; }
.foot-logo { display: inline-flex; margin-bottom: .85rem; }
.foot-tagline {
  font-size: .92rem; line-height: 1.72; color: rgba(254,254,254,.52);
  max-width: 32ch; margin-top: .2rem;
}
.foot-social { display: flex; gap: .48rem; margin-top: 1.45rem; }

/* Botões sociais */
.soc {
  position: relative; width: 41px; height: 41px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s, color .2s;
  color: rgba(254,254,254,.86); text-decoration: none;
}
.soc-tip {
  position: absolute; top: 0;
  font-size: .68rem; font-family: var(--f-head); font-weight: 600;
  background: rgba(5,21,46,.95); color: #fff; padding: .24rem .5rem;
  border-radius: 4px; box-shadow: 0 6px 14px rgba(0,0,0,.12);
  opacity: 0; pointer-events: none;
  transition: all .28s cubic-bezier(.68,-.55,.265,1.55);
  white-space: nowrap; letter-spacing: .02em;
}
.soc-tip::before {
  position: absolute; content: ''; height: 7px; width: 7px;
  background: rgba(5,21,46,.95); bottom: -3px; left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all .28s cubic-bezier(.68,-.55,.265,1.55);
}
.soc:hover {
  transform: translateY(-2px);
  border-color: rgba(86,213,79,.48);
}
.soc:hover .soc-tip { top: -40px; opacity: 1; pointer-events: auto; }
.soc-instagram:hover, .soc-instagram:hover .soc-tip, .soc-instagram:hover .soc-tip::before { background: #e4405f; color: #fff; border-color: #e4405f; }
.soc-linkedin:hover,  .soc-linkedin:hover  .soc-tip, .soc-linkedin:hover  .soc-tip::before { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.soc-youtube:hover,   .soc-youtube:hover   .soc-tip, .soc-youtube:hover   .soc-tip::before { background: #ff0000; color: #fff; border-color: #ff0000; }
.soc-whatsapp:hover,  .soc-whatsapp:hover  .soc-tip, .soc-whatsapp:hover  .soc-tip::before { background: #25d366; color: #fff; border-color: #25d366; }

.foot-col h4 {
  font-family: var(--f-head); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-strong); font-weight: 700;
  margin-bottom: 1.1rem;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.foot-col a {
  color: rgba(254,254,254,.62); text-decoration: none;
  font-size: .89rem; line-height: 1.52; transition: color .2s, transform .2s;
}
.foot-col a:hover { color: var(--green); transform: translateX(2px); }

.foot-bot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.4rem; flex-wrap: wrap; gap: .6rem;
}
.foot-copy { font-size: .74rem; color: var(--text-quiet); }
.foot-priv {
  background: none; border: none; color: var(--text-quiet); font-size: .74rem;
  cursor: pointer; font-family: var(--f-body); transition: color .2s;
  text-decoration: none; padding: 0;
  display: inline-flex; align-items: center;
}
.foot-priv:hover { color: var(--green); }

/* ─── MODAL DIAGNÓSTICO ────────────────────────────── */
.diag-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(1,6,16,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.diag-overlay.open { opacity: 1; pointer-events: all; }

.diag-panel {
  background: linear-gradient(155deg, rgba(3,11,26,.99) 0%, rgba(5,18,42,.99) 100%);
  border: 1px solid rgba(86,213,79,.20); border-radius: var(--r-xl);
  width: min(580px, 100%); max-height: 92vh; overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .36s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 32px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
  scrollbar-width: thin; scrollbar-color: rgba(86,213,79,.25) transparent;
}
.diag-overlay.open .diag-panel { transform: none; }

.diag-close-row { display: flex; justify-content: flex-end; padding: 1.1rem 1.3rem .35rem; }
.diag-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.diag-close:hover { background: rgba(255,255,255,.12); color: #fff; }

.diag-body { padding: 0 2rem 2.4rem; }
.diag-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: rgba(86,213,79,.85); margin-bottom: .65rem;
}
.diag-tag::before { content: ''; width: 24px; height: 1px; background: rgba(86,213,79,.45); }

.diag-title {
  font-family: var(--f-head); font-size: 1.28rem; font-weight: 700;
  line-height: 1.18; margin-bottom: .7rem; color: #fff;
}
.diag-intro {
  font-size: .86rem; line-height: 1.72; color: rgba(254,254,254,.52);
  margin-bottom: 1.7rem; padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.diag-form { display: flex; flex-direction: column; gap: .9rem; }
.diag-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.diag-field { display: flex; flex-direction: column; gap: .3rem; }
.diag-field label {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: rgba(254,254,254,.38); font-family: var(--f-head);
}
.diag-field input, .diag-field select {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md); padding: .68rem .95rem; font-size: .88rem;
  color: #fff; font-family: var(--f-body);
  transition: border-color .2s, background .2s;
  outline: none; -webkit-appearance: none; appearance: none; width: 100%;
}
.diag-field input::placeholder { color: rgba(255,255,255,.2); }
.diag-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(86,213,79,.65)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
  padding-right: 2.4rem; cursor: pointer;
}
.diag-field select option { background: #07152e; color: #fff; }
.diag-field input:focus, .diag-field select:focus {
  border-color: rgba(86,213,79,.5); background: rgba(86,213,79,.04);
}

.diag-chips-label {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: rgba(254,254,254,.38); font-family: var(--f-head);
  margin-bottom: .4rem; display: block;
}
.diag-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.diag-chip { position: relative; }
.diag-chip input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.diag-chip label {
  display: inline-flex; align-items: center;
  padding: .32rem .78rem; border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; font-size: .78rem; font-weight: 600;
  font-family: var(--f-head); color: rgba(254,254,254,.48);
  cursor: pointer; transition: all .16s;
}
.diag-chip input:checked + label {
  border-color: rgba(86,213,79,.65); background: rgba(86,213,79,.10);
  color: var(--green);
}
.diag-chip label:hover { border-color: rgba(255,255,255,.28); color: rgba(254,254,254,.84); }

.diag-submit {
  background: var(--green); color: var(--dark); border: none;
  border-radius: var(--r-md); padding: .85rem 2rem; width: 100%;
  font-family: var(--f-head); font-weight: 700; font-size: .86rem;
  letter-spacing: .04em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .4rem; transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(86,213,79,.20);
}
.diag-submit:hover {
  background: var(--lime); transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(86,213,79,.28);
}

.diag-success {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 1rem 2rem 2.8rem; gap: .8rem;
}
.diag-success.show { display: flex; }
.diag-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(86,213,79,.08); border: 1px solid rgba(86,213,79,.34);
  display: flex; align-items: center; justify-content: center; margin-bottom: .35rem;
}
.diag-success h3 { font-family: var(--f-head); font-size: 1.35rem; color: #fff; line-height: 1.2; }
.diag-success p { font-size: .88rem; color: rgba(254,254,254,.55); max-width: 34ch; line-height: 1.68; }

.diag-err {
  display: none; font-size: .72rem; color: rgba(239,68,68,.88);
  margin-top: .25rem; font-family: var(--f-head); font-weight: 600;
}
.diag-err.show { display: block; }
.diag-field input.invalid {
  border-color: rgba(239,68,68,.65) !important;
  background: rgba(239,68,68,.04) !important;
}

/* ─── FOCO ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid rgba(86,213,79,.7);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── RESPONSIVO GLOBAL ───────────────────────────── */

/* ≥ 1400px — monitores grandes, mais respiro vertical */
@media (min-width: 1400px) {
  :root { --sv: clamp(6rem, 8.5vw, 8rem); }
}

/* ≥ 1600px — ultra-wide: respiro horizontal e vertical maiores */
@media (min-width: 1600px) {
  :root { --sh: clamp(5rem, 8vw, 9rem); --sv: clamp(7rem, 9vw, 10rem); }
  footer { padding-top: clamp(5rem, 6vw, 7rem); padding-bottom: clamp(2.2rem, 3vw, 3rem); }
}

/* ≤ 1200px — compactar horizontal */
@media (max-width: 1200px) {
  :root { --sh: clamp(1.5rem, 4vw, 2.5rem); }

  .pillars,
  .cards-3,
  .blog-preview-grid,
  .dep-grid,
  .sobre-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sp-grid,
  .sobre-layout,
  .form-wrap,
  .tools-grid,
  .ba-grid,
  .case-compare,
  .corp-flow {
    grid-template-columns: 1fr !important;
  }

  .corp-connector, .case-arrow { display: none !important; }

  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .featured-card { grid-column: span 2 !important; grid-template-columns: 1fr !important; }
  .pq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

}

/* ≤ 1100px — notebook/tablet landscape */
@media (max-width: 1100px) {
  :root { --sv: clamp(4rem, 7.5vw, 6rem); }
}

/* ≤ 900px — tablets portrait */
@media (max-width: 900px) {
  :root { --sv: clamp(3rem, 7vw, 5rem); }

  .stats-bar,
  .sobre-stats,
  .pq-grid,
  .blog-grid,
  .blog-preview-grid,
  .dep-grid,
  .cards-3,
  .pillars {
    grid-template-columns: 1fr !important;
  }

  .featured-card { grid-column: span 1 !important; }
  .pq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  /* Footer tablet portrait: 2 colunas, brand ocupa linha inteira */
  .foot-top { grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; }
  .foot-brand { grid-column: span 2; max-width: none; }
}

/* ≤ 720px — mobile */
@media (max-width: 720px) {
  body { background-attachment: scroll; }

  nav {
    top: .5rem; left: .5rem; right: .5rem;
    transform: none; width: auto;
    padding: .55rem .9rem; border-radius: 14px;
  }
  nav.nav-hidden { transform: translateY(calc(-100% - 1rem)); }
  .logo-img { height: 26px; }
  .nav-links { display: none; }
  .nav-drawer > .nav-mobile-menu { display: block; }
  .nav-drawer > .nav-links { display: flex; }
  .nav-hamburger { display: flex; }

  .section { padding: clamp(2.2rem, 9svh, 3.5rem) 1.25rem; }
  .section,
  .sp-section,
  .sp-cta,
  .page-hero,
  .tool-hero,
  .blog-hero,
  .blog-section,
  .tool-shell,
  .tool-longform,
  .author-section {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .section + .section,
  .sp-section + .sp-section,
  .author-section + .author-section,
  .tool-shell + .tool-shell,
  .tool-longform + .tool-longform,
  .blog-section + .blog-section {
    background-image: none !important;
  }

  footer { padding-left: 1.25rem; padding-right: 1.25rem; }

  .foot-top { grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 1.8rem; }
  .foot-brand { grid-column: span 1; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: .6rem; }

  .sp-qual-grid, .mkt-grid, .mkt-grid-icons { grid-template-columns: 1fr !important; }
  .modal, .diag-panel { width: 100% !important; max-width: 100% !important; }
  .modal-split { grid-template-columns: 1fr !important; }

  .diag-overlay { padding: .35rem; align-items: flex-end; }
  .diag-panel { border-radius: 18px 18px 0 0; max-height: 96vh; }
  .diag-row { grid-template-columns: 1fr; }
  .diag-body { padding: 0 1.35rem 2rem; }

  /* Títulos mobile: evita clipping e corte lateral */
  h1, h2, h3,
  .s-title,
  .section-title,
  .ph-title,
  .tool-title,
  .hero-title,
  .blog-hero h1,
  .art-title {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    text-wrap: balance;
    line-height: 1.1 !important;
  }

  .blog-hero h1 .hero-line {
    display: block;
    white-space: normal !important;
  }

  /* Melhor separação visual nos stats em mobile 720px */
  .stat:not(:last-child)::after {
    display: none;
  }

  /* Links de artigos e cards de blog */
  .blog-card,
  .dep-card {
    border-radius: 14px !important;
  }

  /* Form inputs: garantir legibilidade mínima */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important; /* evita zoom automático em iOS */
  }

  /* Ferramentas: remove grid centering que causa overflow lateral */
  .tool-hero { display: block !important; }
  .tool-hero-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 auto;
  }
}

/* ≤ 560px — mobile pequeno */
@media (max-width: 560px) {
  nav > .nav-cta { display: none; }
  .nav-drawer > .nav-cta { display: block !important; }
  .logo-img { height: 24px !important; }
  #back-top { bottom: clamp(.75rem, 3vw, 1.5rem); right: clamp(.75rem, 3vw, 1.5rem); }

  .section, .sp-section, .sp-cta, .blog-section, footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #hero, .page-hero, .blog-hero {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero-floating-sales { display: none !important; }
  .ba-slider { display: none !important; }
  .ba-mobile-grid { display: grid !important; }

  .filter-bar { width: calc(100% - 2rem) !important; gap: .5rem !important; flex-wrap: wrap !important; }
  .filter-btn { font-size: .72rem !important; padding: .55rem .9rem !important; min-height: 36px !important; }
  .diag-body { padding: 0 1rem 1.5rem !important; }

  .sp-aside-flow .sp-list { grid-template-columns: 1fr !important; }
}

/* ≤ 420px */
@media (max-width: 420px) {
  .nav-cta { padding: .38rem .65rem; font-size: .6rem; }
  h2.s-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .pq-grid { grid-template-columns: 1fr !important; }
  .cards-3, .pillars { grid-template-columns: 1fr !important; }

  /* SPI: em telas muito pequenas, reduz ruído visual na hero */
  body.spi-page .hero-feature-list { display: none !important; }
}

/* Mobile rescue cross-page (sobrepõe CSS inline quando necessário) */
@media (max-width: 560px) {
  html, body { overflow-x: hidden !important; }

  nav {
    width: calc(100% - .8rem) !important;
    left: .4rem !important;
    right: .4rem !important;
  }

  .nav-drawer {
    padding: 4.8rem 1rem 1.4rem !important;
    gap: 1.2rem !important;
  }

  .page-hero,
  .tool-hero,
  .blog-hero,
  #hero,
  .section,
  .sp-section,
  .sp-cta,
  .blog-section,
  .tool-shell,
  .author-section,
  footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 2.8rem !important;
  }

  .foot-col ul { gap: 0 !important; }
  .foot-col a { display: block; padding: .62rem 0; }
  .foot-social { gap: .72rem !important; margin-top: 1.1rem; }
  .soc { width: 44px !important; height: 44px !important; }

  .page-hero-inner,
  .tool-hero-inner,
  .hero-copy,
  .blog-hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ph-title,
  .tool-title,
  .blog-hero h1 {
    max-width: 100% !important;
  }

  h1, h2, h3,
  .s-title,
  .section-title,
  .ph-title,
  .tool-title,
  .hero-title,
  .blog-hero h1,
  .art-title {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    text-wrap: balance;
    line-height: 1.08 !important;
  }

  .blog-hero h1 .hero-line {
    display: block;
    white-space: normal !important;
  }

  .ph-sub,
  .tool-sub,
  .blog-hero-sub {
    max-width: 100% !important;
    font-size: .92rem !important;
    line-height: 1.65 !important;
  }

  .hero-form-card,
  .sp-aside,
  .sp-text,
  .mf-wrap {
    padding: 1.15rem 1rem !important;
  }

  .marketplace-grid,
  .sp-qual-grid,
  .mkt-grid,
  .mkt-grid-icons,
  .blog-grid,
  .dep-grid,
  .cards-3,
  .pillars,
  .tools-grid {
    grid-template-columns: 1fr !important;
  }

  .filter-bar {
    width: 100% !important;
    gap: .5rem !important;
    flex-wrap: wrap !important;
  }

  .filter-btn {
    font-size: .72rem !important;
    padding: .55rem .9rem !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .blog-search-input {
    height: 44px !important;
    font-size: .88rem !important;
    padding-left: 2.45rem !important;
  }

  .blog-search-icon {
    left: .78rem !important;
  }

  /* CTAs de seções de serviço: botões full-width */
  .sp-cta .btn-lime,
  .sp-cta .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
    max-width: 360px !important;
  }

  /* Títulos de seção no mobile sem restrição de largura */
  .sp-section > .s-title {
    max-width: 100% !important;
  }

  /* Melhor espaçamento nos pilares */
  .pillar {
    padding: 1.6rem 1.1rem 1.4rem !important;
  }

  /* Quote bar no mobile */
  .quote-bar {
    flex-direction: column !important;
    gap: .5rem !important;
    padding: 1.2rem 1rem !important;
  }
  .quote-bar::before {
    font-size: 2.2rem !important;
    line-height: .75 !important;
    margin-top: 0 !important;
  }

  /* Ferramentas (mobile): garante respiro sob o nav fixo */
  .tool-hero {
    min-height: 0 !important;
    padding-top: clamp(5.9rem, 15svh, 7rem) !important;
    padding-top: clamp(5.9rem, 15dvh, 7rem) !important;
    padding-bottom: clamp(2rem, 5svh, 3rem) !important;
    padding-bottom: clamp(2rem, 5dvh, 3rem) !important;
  }

  .tool-hero-inner {
    gap: clamp(1.15rem, 4.5vw, 1.8rem) !important;
    align-items: flex-start !important;
  }

  .tool-hero .tool-tag { display: none !important; }

  /* CTAs da hero de ferramentas: centralizados e alinhados */
  .tool-hero .hero-cta-row,
  .tool-hero .hero-ctas {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .tool-hero .hero-copy > .btn-lime,
  .tool-hero .hero-cta-row .btn-lime,
  .tool-hero .hero-ctas .btn-lime {
    width: min(100%, 320px) !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .tool-hero .hero-cta-row .hero-cta-icon {
    display: none !important;
  }

  .tool-shell {
    padding-top: clamp(2.1rem, 6svh, 3rem) !important;
    padding-top: clamp(2.1rem, 6dvh, 3rem) !important;
  }

  /* SPI (mobile): mais contraste e ritmo visual */
  body.spi-page .hero-feature-list {
    margin-top: 1rem !important;
    border-top: 1px solid rgba(86,213,79,.24) !important;
    border-bottom: 1px solid rgba(86,213,79,.24) !important;
    padding: .25rem 0 !important;
  }

  body.spi-page .hero-feature-item {
    opacity: 1 !important;
    color: rgba(254,254,254,.82) !important;
    font-size: clamp(.82rem, 3.8vw, .95rem) !important;
    padding-top: .62rem !important;
    padding-bottom: .62rem !important;
  }

  body.spi-page .hero-feature-item::after { opacity: .3 !important; }
  body.spi-page .hero-feature-item:not(.active) { color: rgba(254,254,254,.62) !important; }
  body.spi-page .hero-feature-item.active { color: rgba(254,254,254,.98) !important; }
}


/* ═══════════════════════════════════════════════════
   PÁGINAS DE FERRAMENTAS — Layout compartilhado
   ═══════════════════════════════════════════════════ */

/* ─── Shell/container ─────────────────────────────── */
.tool-shell {
  padding: clamp(5.5rem, 11vw, 8.5rem) clamp(1.5rem, 5vw, 5rem);
  position: relative;
}
.tool-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 35% at 82% 18%, rgba(86,213,79,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Containers centralizados ────────────────────── */
.tool-layout,
.tool-benefits,
.tool-strip,
.tool-longform {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* ─── Layout 2 colunas ────────────────────────────── */
.tool-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(3.5rem, 7vw, 6rem);
  align-items: start;
}

/* ─── Painéis ─────────────────────────────────────── */
.tool-panel {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.tool-panel h2 {
  font-family: var(--f-head);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 1.3rem;
  color: rgba(254,254,254,.96);
}
.tool-panel p {
  color: rgba(254,254,254,.68);
  line-height: 1.85;
  font-size: 1rem;
}

/* ─── Lista de bullets ────────────────────────────── */
.tool-list {
  list-style: none;
  display: grid;
  gap: .9rem;
  margin-top: 1.4rem;
}
.tool-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: rgba(254,254,254,.72);
  line-height: 1.72;
  font-size: .97rem;
}
.tool-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  margin-top: .62rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(86,213,79,.45);
}

/* ─── Grid de metadados ───────────────────────────── */
.tool-mini-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}
.tool-mini {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.tool-mini span {
  display: block;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(254,254,254,.32);
  margin-bottom: .32rem;
  font-family: var(--f-head);
  font-weight: 700;
}
.tool-mini strong {
  font-family: var(--f-head);
  font-size: .95rem;
  line-height: 1.3;
  color: rgba(254,254,254,.85);
}

/* ─── Steps numerados ─────────────────────────────── */
.tool-steps {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.6rem;
}
.tool-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  align-items: start;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.tool-step-index {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-family: var(--f-head);
  font-weight: 800;
  color: var(--green);
  background: transparent;
  border: 1.5px solid rgba(86,213,79,.38);
  flex-shrink: 0;
  margin-top: .05rem;
}
.tool-step p {
  margin: 0;
  color: rgba(254,254,254,.7);
  line-height: 1.72;
  font-size: .97rem;
}

/* ─── CTA wrap / nota ─────────────────────────────── */
.tool-cta-wrap {
  margin-top: 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.tool-note {
  font-size: .82rem;
  color: rgba(254,254,254,.32);
  margin-top: .95rem;
}
.tool-inline-link {
  color: rgba(254,254,254,.75);
  text-decoration: underline;
  text-decoration-color: rgba(86,213,79,.38);
  text-underline-offset: .18rem;
}
.tool-inline-link:hover { color: rgba(254,254,254,.95); text-decoration-color: rgba(86,213,79,.75); }

/* ─── Benefícios 3 colunas ────────────────────────── */
.tool-benefits {
  margin-top: clamp(4.5rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
}
.tool-benefit {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.tool-kicker {
  display: inline-flex;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--green);
  margin-bottom: .72rem;
}
.tool-benefit h3 {
  font-family: var(--f-head);
  font-size: 1.15rem;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .55rem;
  color: rgba(254,254,254,.94);
}
.tool-benefit p {
  color: rgba(254,254,254,.6);
  font-size: .92rem;
  line-height: 1.72;
}

/* ─── Strip CTA ───────────────────────────────────── */
.tool-strip {
  margin-top: clamp(4.5rem, 9vw, 7rem);
  border: none;
  border-top: 1px solid rgba(86,213,79,.14);
  background: transparent;
  border-radius: 0;
  padding: clamp(2.8rem, 5.5vw, 4.5rem) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.tool-strip h3 {
  font-family: var(--f-head);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: .4rem;
  color: rgba(254,254,254,.94);
}
.tool-strip p {
  color: rgba(254,254,254,.55);
  font-size: .92rem;
  line-height: 1.62;
  max-width: 52ch;
}
.tool-strip-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
}
.tool-strip .btn-lime,
.tool-strip .btn-ghost {
  padding: .85rem 1.3rem;
  font-size: .82rem;
}

/* ─── Longform ────────────────────────────────────── */
.tool-longform {
  margin: clamp(4.5rem, 9vw, 7rem) auto 0;
  display: grid;
  gap: 0;
}
.tool-longform-intro {
  padding: 0 0 clamp(2rem, 4vw, 3rem);
  border: none;
  background: transparent;
  border-radius: 0;
}
.tool-longform-intro h2 {
  font-family: var(--f-head);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -.025em;
  color: rgba(254,254,254,.94);
  margin-bottom: .55rem;
}
.tool-longform-intro p {
  color: rgba(254,254,254,.6);
  line-height: 1.78;
  font-size: .97rem;
  max-width: 68ch;
}
.tool-article {
  border: none;
  border-top: 1px solid rgba(255,255,255,.05);
  background: transparent;
  border-radius: 0;
  padding: clamp(2.2rem, 4.5vw, 3.2rem) 0;
}
.tool-article h3 {
  font-family: var(--f-head);
  font-size: 1.1rem;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
  color: rgba(254,254,254,.92);
}
.tool-article p {
  color: rgba(254,254,254,.64);
  line-height: 1.85;
  font-size: .95rem;
}
.tool-article p + p { margin-top: .85rem; }
.tool-long-list {
  list-style: none;
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}
.tool-long-list li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(254,254,254,.64);
  line-height: 1.72;
  font-size: .94rem;
}
.tool-long-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

/* ─── Responsivo ──────────────────────────────────── */
@media (max-width: 1200px) {
  .tool-shell { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (max-width: 980px) {
  .tool-layout { grid-template-columns: 1fr; }
  .tool-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tool-shell { padding-left: 1.25rem; padding-right: 1.25rem; }
  .tool-layout { gap: 2.5rem; }
  .tool-mini-grid { gap: 1.2rem 1.5rem; }
  .tool-benefits { grid-template-columns: 1fr; gap: 2rem; }
  .tool-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.2rem 0;
  }
  .tool-strip-actions { width: 100%; }
  .tool-strip .btn-lime,
  .tool-strip .btn-ghost { width: 100%; justify-content: center; }
  .tool-article { padding: 1.8rem 0; }
}

@media (max-width: 560px) {
  .tool-shell { padding-left: 1rem; padding-right: 1rem; }
  .tool-title { font-size: clamp(1.8rem, 9vw, 2.55rem) !important; }
  .tool-sub { font-size: .9rem !important; line-height: 1.7 !important; }
  .tool-mini-grid { gap: .85rem !important; }
  .tool-benefit { gap: .75rem; }
  .tool-benefit-icon { width: 36px !important; height: 36px !important; min-width: 36px !important; }
  .tool-longform { padding-left: 0; padding-right: 0; }
}
