/* ════════════════════════════════════════════════════════════════════
   SGQ Tech — Landing · folha de estilo principal
   Identidade: Teal #00A99D · Teal Deep #00665E · Ink #0F2628
              Paper #F8F8F8 · Coral #E8845C (acento, ≤5%)
   Tipografia: Geist (texto/display) + Geist Mono (labels/IDs)
   Regra visual: flat, profissional, bordas 0.5px — "software de
   operação crítica", não infoproduto.
   ════════════════════════════════════════════════════════════════════ */

/* ── Fontes (self-hosted, variáveis) ──────────────────────────────── */
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --teal: #00A99D;
  --teal-deep: #00665E;
  --ink: #0F2628;
  --paper: #F8F8F8;
  --coral: #E8845C;

  --white: #FFFFFF;
  --ink-2: #1c3b3d;           /* superfície escura mais clara */
  --muted: #5a6f70;           /* texto secundário sobre claro */
  --muted-dark: #8FB3B2;      /* texto secundário sobre escuro */
  --teal-tint: rgba(0,169,157,0.08);
  --teal-tint-2: rgba(0,169,157,0.14);
  --coral-tint: rgba(232,132,92,0.12);

  --line: rgba(15,38,40,0.14);        /* borda 0.5px sobre claro */
  --line-strong: rgba(15,38,40,0.24);
  --line-dark: rgba(248,248,248,0.16); /* borda sobre escuro */

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,38,40,0.04), 0 1px 1px rgba(15,38,40,0.03);
  --shadow: 0 8px 24px -12px rgba(15,38,40,0.18), 0 2px 6px -3px rgba(15,38,40,0.08);
  --shadow-lg: 0 30px 60px -28px rgba(15,38,40,0.32), 0 8px 20px -12px rgba(15,38,40,0.14);
  --shadow-teal: 0 18px 40px -16px rgba(0,102,94,0.45);

  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8.5vw, 128px);

  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset / base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* compensa header sticky em âncoras */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ── Tipografia ────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 0.5px; background: var(--teal); display: inline-block;
}
.section--dark .eyebrow { color: var(--teal); }
.section--dark .eyebrow::before { background: var(--teal); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.6; }
.section--dark .lead { color: var(--muted-dark); }

.text-coral { color: var(--coral); }
.text-teal { color: var(--teal-deep); }
.mono { font-family: var(--mono); }

/* ── Layout ────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--tint { background: linear-gradient(180deg, var(--white), var(--paper)); }
.section--white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head h2 { margin-top: 16px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Botões ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px;
  border-radius: var(--r-sm);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
  border: 0.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal); color: var(--ink); box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--teal-deep); color: var(--paper); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-tint); transform: translateY(-2px); }
.section--dark .btn--ghost { color: var(--paper); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { color: var(--paper); border-color: var(--teal); background: rgba(0,169,157,0.12); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--white { background: var(--paper); color: var(--ink); }
.btn--white:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Wordmark (logo em texto) ──────────────────────────────────────── */
.wordmark {
  font-weight: 800; letter-spacing: -0.06em; font-size: 1.5rem; line-height: 1;
  display: inline-flex; align-items: baseline; user-select: none;
}
.wordmark__sgq { color: var(--teal); }
.wordmark__tech { color: var(--ink); }
.section--dark .wordmark__tech, .site-footer .wordmark__tech { color: var(--paper); }
.wordmark__dot { color: var(--coral); }

/* ── Header / nav ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248,248,248,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.95rem; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__only-mobile { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform 0.3s, opacity 0.2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s; }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) and (min-width: 1025px) {
  /* desktops estreitos: mantém só o CTA primário no header */
  .nav__right .btn--ghost { display: none; }
}
@media (max-width: 1024px) {
  .nav__links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 0.5px solid var(--line);
    padding: 12px var(--pad) 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 4px; border-bottom: 0.5px solid var(--line); font-size: 1.05rem; }
  .nav__links a:last-child { border-bottom: none; }
  .nav__toggle { display: flex; }
  .nav__right .btn { display: none; }            /* CTAs do header vão para o drawer */
  .nav__only-mobile { display: block; }
  .nav__links a.nav__links-cta { display: flex; border-bottom: none; padding: 0 24px; margin-top: 14px; }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: var(--section-y); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before { /* dots pattern */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 0.5px, transparent 0.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.7;
}
.hero__glow { position: absolute; top: -180px; right: -120px; width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(circle, rgba(0,169,157,0.16), transparent 62%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__content { max-width: 620px; }
.hero h1 { margin: 20px 0; }
.hero h1 .hl { color: var(--teal-deep); }
.hero .lead { margin-bottom: 28px; max-width: 540px; }
.hero__cta { margin-bottom: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.hero__trust-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); width: 100%; margin-bottom: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink);
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 0.5px solid var(--line); background: var(--white);
}
.chip svg { width: 14px; height: 14px; color: var(--teal); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
}

/* ── Card de laudo (hero visual, cat. C) ───────────────────────────── */
.laudo-card {
  background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
  max-width: 440px; margin-inline: auto;
}
.laudo-card__bar { height: 6px; background: linear-gradient(90deg, var(--teal), var(--teal-deep)); }
.laudo-card__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 14px; border-bottom: 0.5px solid var(--line); }
.laudo-card__title { font-weight: 700; font-size: 0.98rem; }
.laudo-card__id { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.laudo-card__logo { width: 34px; height: 34px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; color: var(--teal); font-weight: 800; font-size: 0.9rem; }
.laudo-card__body { padding: 8px 22px 18px; }
.laudo-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 0.5px solid var(--line); }
.laudo-row:last-child { border-bottom: none; }
.laudo-row__param { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.laudo-row__val { font-family: var(--mono); font-size: 0.86rem; color: var(--muted); }
.laudo-row__status { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.laudo-row__status svg { width: 12px; height: 12px; }
.st-ok { background: rgba(0,169,157,0.15); color: var(--teal-deep); }
.st-bad { background: var(--coral-tint); color: #c9582f; }
.laudo-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; background: var(--paper); border-top: 0.5px solid var(--line); }
.laudo-stamp { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.88rem; color: var(--teal-deep); }
.laudo-stamp svg { width: 16px; height: 16px; }
.laudo-card__sign { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.laudo-card__float {
  position: absolute; right: -14px; bottom: 64px;
  background: var(--ink); color: var(--paper); border-radius: var(--r);
  padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px; border: 0.5px solid var(--line-dark);
}
.laudo-card__float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,169,157,0.2); }

/* ── Cards genéricos ───────────────────────────────────────────────── */
.card {
  background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,169,157,0.4); }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.section--dark .card:hover { border-color: rgba(0,169,157,0.5); }
.section--dark .card p { color: var(--muted-dark); }

.icon-badge {
  width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-deep); margin-bottom: 16px;
  border: 0.5px solid var(--teal-tint-2);
}
.icon-badge svg { width: 24px; height: 24px; }
/* Ícones do sprite (Lucide line): o stroke do <g> não herda via <use> — fixa no ponto de uso */
svg:has(use) { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section--dark .icon-badge { background: rgba(0,169,157,0.16); color: var(--teal); border-color: rgba(0,169,157,0.3); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; }

/* ── Pilares ───────────────────────────────────────────────────────── */
.pillar { text-align: left; }
.pillar__num { font-family: var(--mono); font-size: 0.8rem; color: var(--teal); letter-spacing: 0.1em; }

/* ── Tabela comparativa ────────────────────────────────────────────── */
.compare { border: 0.5px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.compare__head { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.compare__head > div { padding: 20px 22px; font-weight: 700; font-size: 0.95rem; border-bottom: 0.5px solid var(--line-dark); }
.compare__head .col-today { color: var(--muted-dark); }
.compare__head .col-sgq { color: var(--teal); background: rgba(0,169,157,0.1); display: flex; align-items: center; gap: 8px; }
.compare__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.compare__row > div { padding: 16px 22px; border-bottom: 0.5px solid var(--line-dark); font-size: 0.92rem; display: flex; align-items: center; gap: 9px; }
.compare__row:last-child > div { border-bottom: none; }
.compare__row .feat { color: var(--paper); font-weight: 500; }
.compare__row .col-today { color: var(--muted-dark); }
.compare__row .col-sgq { color: var(--paper); background: rgba(0,169,157,0.07); }
.compare__row .col-sgq svg { color: var(--teal); flex-shrink: 0; }
.compare__row .col-today svg { color: #b56b4a; flex-shrink: 0; }
.compare svg { width: 17px; height: 17px; }
/* realce teal na coluna SGQ depois que as linhas assentam */
.compare__row .col-sgq, .compare__head .col-sgq { transition: background-color 0.6s var(--ease); }
.compare.sgq-glow .compare__row .col-sgq { background: rgba(0,169,157,0.16); }
.compare.sgq-glow .compare__head .col-sgq { background: rgba(0,169,157,0.22); }

@media (max-width: 760px) {
  .compare__head, .compare__row { grid-template-columns: 1fr; }
  .compare__head .col-today, .compare__head { display: none; }
  .compare__row > div { border-bottom: none; padding: 8px 18px; }
  .compare__row { padding-block: 10px; border-bottom: 0.5px solid var(--line-dark); }
  .compare__row .feat { font-weight: 700; padding-top: 14px; }
  .compare__row .col-today::before { content: "Hoje: "; font-family: var(--mono); font-size: 0.7rem; color: var(--muted-dark); }
  .compare__row .col-sgq::before { content: "SGQ Tech: "; font-family: var(--mono); font-size: 0.7rem; color: var(--teal); }
  .compare__row .col-sgq { background: transparent; }
}

/* ── Rastreabilidade (diagrama) ────────────────────────────────────── */
.trace__diagram { width: 100%; }
.trace-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--teal-deep); letter-spacing: -0.03em; line-height: 1; }
.section--dark .stat__num { color: var(--teal); }
.stat__label { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.section--dark .stat__label { color: var(--muted-dark); }

/* ── Certificações ─────────────────────────────────────────────────── */
.cert {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.cert:hover { transform: translateY(-3px); border-color: var(--teal); }
.cert__mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--teal); flex-shrink: 0; }
.cert__mark svg { width: 22px; height: 22px; }
.cert__name { font-weight: 700; font-size: 0.95rem; }
.cert__desc { font-size: 0.8rem; color: var(--muted); }

/* ── Gatilhos ──────────────────────────────────────────────────────── */
.trigger { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); border: 0.5px solid var(--line); background: var(--white); transition: border-color 0.2s, transform 0.2s var(--ease); }
.trigger:hover { border-color: var(--teal); transform: translateY(-3px); }
.trigger__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--coral-tint); color: #c9582f; display: grid; place-items: center; }
.trigger__icon svg { width: 22px; height: 22px; }
.trigger h3 { font-size: 1.02rem; margin-bottom: 5px; }
.trigger p { font-size: 0.92rem; }

/* ── Módulos ───────────────────────────────────────────────────────── */
.module { display: flex; align-items: flex-start; gap: 13px; padding: 16px; border-radius: var(--r-sm); border: 0.5px solid var(--line); background: var(--white); transition: border-color 0.2s, background 0.2s; }
.module:hover { border-color: var(--teal); background: var(--teal-tint); }
.module__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-deep); }
.module__icon svg { width: 19px; height: 19px; }
.module strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.module span { font-size: 0.82rem; color: var(--muted); }

/* ── Personas ──────────────────────────────────────────────────────── */
.persona { position: relative; overflow: hidden; }
.persona__role { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.persona__photo { aspect-ratio: 4/3; margin-bottom: 16px; border-radius: var(--r-sm); }
.persona h3 { font-size: 1.1rem; margin-bottom: 8px; }
.persona ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.persona li { display: flex; gap: 9px; font-size: 0.9rem; color: var(--muted); }
.persona li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }

/* ── Planos ────────────────────────────────────────────────────────── */
.plans { align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: var(--white);
  border: 0.5px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
  position: relative; transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan--featured { border: 1px solid var(--teal); box-shadow: var(--shadow-teal); }
.plan__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 5px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.plan__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__for { font-size: 0.88rem; color: var(--muted); margin: 6px 0 18px; min-height: 38px; }
.plan__meta { display: flex; gap: 16px; padding: 14px 0; border-block: 0.5px solid var(--line); margin-bottom: 16px; }
.plan__meta div { font-size: 0.82rem; color: var(--muted); }
.plan__meta strong { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.plan__features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 22px; }
.plan__features li { display: flex; gap: 9px; font-size: 0.9rem; color: var(--ink); }
.plan__features svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.plan__price-note { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.02em; }

/* Programa Fundadores */
.founders {
  margin-top: 40px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--teal-deep));
  border: 0.5px solid var(--line-dark); position: relative;
}
.founders__inner { padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 1; }
.founders__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--coral); padding: 6px 13px; border-radius: var(--r-pill); font-weight: 600; margin-bottom: 16px; }
.founders h3 { color: var(--paper); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.founders p { color: rgba(248,248,248,0.82); max-width: 520px; }
.founders__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .founders__pulse { animation: pulse-ring 1.9s ease-out infinite; }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(15,38,40,0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(15,38,40,0); }
  100% { box-shadow: 0 0 0 0 rgba(15,38,40,0); }
}

/* ── Calculadora de risco ──────────────────────────────────────────── */
.calc-wrap { max-width: 720px; margin-inline: auto; }
.calc {
  background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.calc__progress { height: 4px; background: var(--line); }
.calc__progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--teal), var(--teal-deep)); transition: width 0.4s var(--ease); }
.calc__inner { padding: clamp(26px, 4vw, 42px); }
.calc__step-label { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--teal-deep); text-transform: uppercase; }
.calc__q { font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 24px; color: var(--ink); }
.calc__options { display: flex; flex-direction: column; gap: 12px; }
.calc__opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: var(--r); border: 0.5px solid var(--line);
  background: var(--white); transition: border-color 0.18s, background 0.18s, transform 0.18s var(--ease);
  font-size: 0.98rem; color: var(--ink); width: 100%;
}
.calc__opt:hover { border-color: var(--teal); background: var(--teal-tint); transform: translateX(3px); }
.calc__opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; transition: border-color 0.2s; }
.calc__opt:hover .dot { border-color: var(--teal); }
.calc__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.calc__back { font-size: 0.9rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.calc__back:hover { color: var(--ink); }
.calc__back svg { width: 15px; height: 15px; }

/* resultado */
.calc__result { text-align: center; }
.gauge { width: 200px; height: 110px; margin: 0 auto 8px; position: relative; }
.gauge__num { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.gauge__cap { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.risk-band { display: inline-block; font-weight: 700; font-size: 1.15rem; margin: 6px 0 4px; }
.calc__result-form { margin-top: 24px; text-align: left; max-width: 460px; margin-inline: auto; }

/* ── Formulários ───────────────────────────────────────────────────── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.section--dark .field label { color: var(--paper); }
.field .req { color: var(--coral); }
.input, .textarea, .select {
  width: 100%; height: 50px; padding: 0 15px;
  background: var(--white); border: 0.5px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; font-size: 0.98rem;
}
.textarea { height: auto; padding: 13px 15px; min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #9aa9a9; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.input:invalid:not(:placeholder-shown) { border-color: var(--coral); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
.section--dark .form-note { color: var(--muted-dark); }
.section--dark .input, .section--dark .textarea, .section--dark .select { background: var(--ink-2); border-color: var(--line-dark); color: var(--paper); }
.section--dark .input::placeholder { color: var(--muted-dark); }

/* lead form em destaque (CTA final) */
.lead-form { background: var(--ink-2); border: 0.5px solid var(--line-dark); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 0.5px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ico { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.3s var(--ease); color: var(--teal-deep); }
.faq-item[open] summary .faq-ico { transform: rotate(45deg); }
.faq-item__body { padding: 0 4px 24px; color: var(--muted); font-size: 0.98rem; max-width: 680px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.footer-contact {
  display: inline-flex; align-items: center; gap: 11px; padding: 14px 18px;
  border: 0.5px solid var(--line-dark); border-radius: var(--r); background: var(--ink-2);
  transition: border-color 0.2s, transform 0.2s var(--ease); min-width: 200px;
}
.footer-contact:hover { border-color: var(--teal); transform: translateY(-2px); }
.footer-contact svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.footer-contact .fc-label { font-size: 0.72rem; color: var(--muted-dark); font-family: var(--mono); letter-spacing: 0.06em; }
.footer-contact .fc-value { font-size: 0.92rem; color: var(--paper); font-weight: 500; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 0.5px solid var(--line-dark); }
.footer-grid h4 { font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; font-weight: 500; }
.footer-grid a { display: block; color: rgba(248,248,248,0.78); font-size: 0.92rem; padding: 5px 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--teal); }
.footer-about { font-size: 0.92rem; color: var(--muted-dark); max-width: 320px; margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: var(--muted-dark); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--r-sm); border: 0.5px solid var(--line-dark); display: grid; place-items: center; color: var(--paper); transition: border-color 0.2s, color 0.2s; }
.footer-social a:hover { border-color: var(--teal); color: var(--teal); }
.footer-social svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── WhatsApp flutuante ────────────────────────────────────────────── */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5); transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: "Fale no WhatsApp"; position: absolute; right: 70px; white-space: nowrap; background: var(--ink); color: var(--paper); font-size: 0.82rem; font-weight: 500; padding: 8px 13px; border-radius: var(--r-sm); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.wa-float:hover::after { opacity: 1; transform: none; }
@media (max-width: 640px) { .wa-float::after { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: wa-pop 0.5s var(--ease) 0.9s backwards; }
  .wa-float svg { animation: wa-pulse 4.5s ease-in-out 2.6s infinite; }
}
@keyframes wa-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes wa-pulse { 0%, 86%, 100% { transform: scale(1); } 91% { transform: scale(1.16); } 96% { transform: scale(0.95); } }

/* ── Toast ─────────────────────────────────────────────────────────── */
.toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px;
  border-radius: var(--r); background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-lg); border: 0.5px solid var(--line-dark);
  transform: translateY(-16px); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s;
}
.toast.is-visible { transform: none; opacity: 1; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.toast--success { border-left: 3px solid var(--teal); }
.toast--success svg { color: var(--teal); }
.toast--error { border-left: 3px solid var(--coral); }
.toast--error svg { color: var(--coral); }
.toast__title { font-weight: 600; font-size: 0.95rem; }
.toast__msg { font-size: 0.85rem; color: var(--muted-dark); margin-top: 2px; }

/* ── Placeholders elegantes (imagens cat. A/B — Raul troca depois) ─── */
.ph {
  position: relative; width: 100%; border-radius: var(--r);
  background:
    linear-gradient(135deg, rgba(0,169,157,0.06), rgba(15,38,40,0.03)),
    var(--white);
  border: 0.5px dashed var(--line-strong);
  display: grid; place-items: center; overflow: hidden;
  color: var(--muted);
}
.ph::before { /* sutil grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 0.5px, transparent 0.5px), linear-gradient(90deg, var(--line) 0.5px, transparent 0.5px);
  background-size: 22px 22px; opacity: 0.5;
}
.ph__inner { position: relative; text-align: center; padding: 20px; }
.ph__inner svg { width: 34px; height: 34px; color: var(--teal); margin: 0 auto 10px; opacity: 0.8; }
.ph__label { font-size: 0.84rem; font-weight: 500; color: var(--ink); }
.ph__sub { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 3px; letter-spacing: 0.03em; }
.ph--wide { aspect-ratio: 16/9; }
.ph--shot { aspect-ratio: 16/10; }
.ph--portrait { aspect-ratio: 4/3; }
.section--dark .ph { background: linear-gradient(135deg, rgba(0,169,157,0.1), rgba(15,38,40,0.2)), var(--ink-2); border-color: var(--line-dark); }
.section--dark .ph__label { color: var(--paper); }

/* ── Reveal (scroll) — robusto: só anima com JS + sem reduced-motion ─ */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* 7 sinais: revelam deslizando do seu lado (mesmo IntersectionObserver dos reveals) */
html.js .signal { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .signal:nth-child(odd) { transform: translate(-42px, 14px); }
html.js .signal:nth-child(even) { transform: translate(42px, 14px); }
html.js .signal.is-visible { opacity: 1; transform: none; }
html.anim-ready .signal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { html.js .signal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Mask reveal (clip de baixo p/ cima) — só nos H2 de seção */
html.js .section-head h2 { clip-path: inset(108% 0 -8% 0); transition: clip-path 0.82s var(--ease) 0.1s; }
html.js .section-head.is-visible h2 { clip-path: inset(0% 0 -8% 0); }

/* Failsafe anti-FOUC: se o anim.js não rodar, mostra tudo após ~1.5s.
   (no caso normal, o anim.js faz clearTimeout e isto nunca dispara) */
html.anim-ready .reveal { opacity: 1 !important; transform: none !important; }
html.anim-ready .section-head h2 { clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .section-head h2 { clip-path: none !important; transition: none !important; }
}

/* ── Mockup rastreabilidade (animado) ──────────────────────────────── */
.trace-pulse-wrap { opacity: 0; }            /* ponto viajante: oculto por padrão (decorativo) */
.trace-seal { transition: opacity 0.45s var(--ease); }  /* visível por padrão; o GSAP oculta e revela ao animar */
@media (prefers-reduced-motion: reduce) {
  .nc-mock__fill, .nc-step, .nc-step__dot, .nc-mock__status { transition: none !important; }
}

/* ── Mockup de não conformidade (Aberta → Em ação → Resolvida) ─────── */
.nc-mock { max-width: 560px; margin: 0 auto clamp(40px, 6vw, 64px); background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 28px); }
.nc-mock__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.nc-mock__tag { font-family: var(--mono); font-size: 0.72rem; color: var(--teal-deep); background: var(--teal-tint); border: 0.5px solid var(--teal-tint-2); padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.nc-mock__title { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nc-mock__steps { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 14px; }
.nc-step { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--muted); transition: color 0.4s var(--ease); }
.nc-step__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nc-step.is-active { color: var(--ink); }
.nc-step.is-active .nc-step__dot { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.nc-step.is-done { color: var(--teal-deep); }
.nc-step.is-done .nc-step__dot { background: var(--teal-deep); box-shadow: none; }
.nc-mock__bar { height: 7px; background: var(--paper); border-radius: var(--r-pill); overflow: hidden; border: 0.5px solid var(--line); }
.nc-mock__fill { height: 100%; width: 6%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--teal), var(--teal-deep)); transition: width 0.7s var(--ease); }
.nc-mock.s2 .nc-mock__fill { width: 52%; }
.nc-mock.s3 .nc-mock__fill { width: 100%; }
.nc-mock__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.nc-mock__meta { font-size: 0.8rem; color: var(--muted); }
.nc-mock__status { font-weight: 700; font-size: 0.85rem; color: var(--coral); transition: color 0.4s var(--ease); white-space: nowrap; }
.nc-mock.s2 .nc-mock__status, .nc-mock.s3 .nc-mock__status { color: var(--teal-deep); }
@media (max-width: 520px) {
  .nc-step { font-size: 0.78rem; gap: 6px; }
  .nc-step__dot { width: 10px; height: 10px; }
  .nc-mock__head { flex-wrap: wrap; gap: 8px; }
  .nc-mock__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ── Prints / imagens reais ────────────────────────────────────────── */
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 0.5px solid var(--line); box-shadow: var(--shadow-lg); background: var(--white); line-height: 0; max-width: 100%; }
.shot img { width: 100%; height: auto; display: block; }
.section--dark .shot { border-color: var(--line-dark); }
.shot__badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); font-size: 0.8rem; font-weight: 600; line-height: 1; padding: 9px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); border: 0.5px solid var(--line-dark); white-space: nowrap; }
.shot__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,169,157,0.22); }

.media-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.media-2col .nc-mock { margin: 0 auto; }
.media-2col .trace-stats { margin-top: 0; }
@media (max-width: 860px) { .media-2col { grid-template-columns: 1fr; gap: 32px; } }

/* reveal de imagem (fade + leve scale) */
html.js .reveal-img { opacity: 0; transform: scale(0.985); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal-img.is-visible { opacity: 1; transform: none; }
html.anim-ready .reveal-img { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { html.js .reveal-img { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* atmosfera de fundo (cena, baixa opacidade) — só em seções escuras */
.has-bg { position: relative; isolation: isolate; }
.has-bg > .container { position: relative; z-index: 1; }
.section-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,38,40,0.80), rgba(15,38,40,0.93)); }

/* personas: foto real */
.persona__photo { overflow: hidden; }
.persona__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }

/* ── Responsivo extra ──────────────────────────────────────────────── */
/* diagrama de rastreabilidade: rola dentro do próprio box no mobile (nunca a página) */
@media (max-width: 720px) {
  .trace-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .trace-scroll .trace__diagram { min-width: 600px; }
}

/* ════════════ REFINO — componentes novos ════════════ */
.section-head--tight { margin-bottom: clamp(26px, 3.2vw, 38px); }

/* ── Carrossel de telas do sistema ── */
.carousel { position: relative; max-width: 1040px; margin: clamp(40px,5vw,64px) auto 0; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-lg); }
.carousel__track { display: flex; transition: transform 0.55s var(--ease); }
.carousel__slide { flex: 0 0 100%; min-width: 0; padding: 2px 4px; }
.carousel__frame { position: relative; height: clamp(240px, 33vw, 430px); border: 0.5px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--white); line-height: 0; }
.carousel__frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.carousel__cap { margin-top: 14px; text-align: center; font-size: 0.85rem; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }
.carousel__arrow { position: absolute; top: calc(50% - 28px); width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 0.5px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); z-index: 2; transition: transform 0.2s var(--ease), border-color 0.2s, color 0.2s; }
.carousel__arrow:hover { border-color: var(--teal); color: var(--teal-deep); transform: scale(1.07); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: -12px; } .carousel__arrow--next { right: -12px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); border: none; padding: 0; cursor: pointer; transition: background 0.2s, width 0.2s; }
.carousel__dot.is-active { background: var(--teal); width: 22px; border-radius: 4px; }
@media (max-width: 640px) { .carousel__arrow { display: none; } }

/* ── 7 sinais — árvore vertical alternada ── */
.signals { position: relative; max-width: 940px; margin: clamp(36px,4vw,56px) auto 0; overflow-x: clip; }
.signals::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--teal-deep)); transform: translateX(-50%); border-radius: 2px; }
.signal { position: relative; width: 50%; padding: 12px clamp(26px,3vw,44px); box-sizing: border-box; display: flex; }
.signal:nth-child(odd) { left: 0; justify-content: flex-end; }
.signal:nth-child(even) { left: 50%; justify-content: flex-start; }
.signal__dot { position: absolute; top: 28px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); z-index: 1; }
.signal:nth-child(odd) .signal__dot { right: -7px; }
.signal:nth-child(even) .signal__dot { left: -7px; }
.signal__card { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-sm); text-align: left; max-width: 390px; transition: border-color .2s, transform .25s var(--ease); }
.signal__card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.signal__head { display: flex; align-items: center; gap: 10px; }
.signal__ico { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--coral-tint); color: #c9582f; display: grid; place-items: center; flex-shrink: 0; }
.signal__ico svg { width: 20px; height: 20px; }
.signal__n { font-family: var(--mono); font-size: 0.74rem; color: var(--teal-deep); }
.signal__card h3 { font-size: 1rem; margin: 0; }
.signal__card p { font-size: 0.9rem; margin: 2px 0 0; }
@media (max-width: 720px) {
  .signals::before { left: 15px; }
  .signal, .signal:nth-child(odd), .signal:nth-child(even) { width: 100%; left: 0; justify-content: flex-start; padding: 10px 0 10px 42px; }
  .signal__dot { left: 8px !important; right: auto !important; }
  .signal__card { max-width: none; }
}

/* ── Planos: matriz comparativa ── */
.matrix { margin-top: clamp(40px,5vw,60px); }
.matrix__table-wrap { border: 0.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.matrix table { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { padding: 12px 14px; text-align: center; font-size: 0.88rem; border-bottom: 0.5px solid var(--line); }
.matrix thead th { background: var(--paper); font-weight: 700; color: var(--ink); }
.matrix thead th small { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.03em; }
.matrix .matrix__feat { text-align: left; color: var(--ink); font-weight: 500; width: 40%; }
.matrix thead th.is-rec { color: var(--teal-deep); }
.matrix td.is-rec, .matrix th.is-rec { background: rgba(0,169,157,0.07); }
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix__group td { background: var(--ink); color: var(--paper); text-align: left; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.matrix .yes { color: var(--teal-deep); display: inline-flex; }
.matrix .yes svg { width: 18px; height: 18px; }
.matrix .no { color: var(--line-strong); font-size: 1.1rem; }
.matrix__tabs { display: none; }
.matrix__panel { display: none; }   /* abas/listas só aparecem no mobile (≤800px) */
@media (max-width: 800px) {
  .matrix__table-wrap { display: none; }
  .matrix__tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
  .matrix__tab { padding: 9px 15px; border-radius: var(--r-pill); border: 0.5px solid var(--line-strong); background: var(--white); font-weight: 600; font-size: 0.88rem; color: var(--ink); }
  .matrix__tab.is-active { background: var(--teal); color: var(--ink); border-color: var(--teal); }
  .matrix__panel { display: none; background: var(--white); border: 0.5px solid var(--line); border-radius: var(--r); padding: 6px 18px 14px; }
  .matrix__panel.is-active { display: block; }
  .matrix__panel li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 0.5px solid var(--line); font-size: 0.92rem; color: var(--ink); }
  .matrix__panel li:last-child { border-bottom: none; }
  .matrix__panel li.grp { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal-deep); padding: 16px 0 4px; border: none; }
  .matrix__panel li.off { color: var(--muted); }
  .matrix__panel li svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }
}

/* ── Laudo folheável (rola por dentro; sem pin) ── */
.laudo-reader { position: relative; height: 480px; max-width: 430px; margin-inline: auto; border: 0.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.laudo-reader__scroll { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.laudo-reader__scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
.laudo-reader__strip { width: 100%; }
.laudo-reader__strip img { width: 100%; height: auto; display: block; }
.laudo-reader__hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); background: rgba(248,248,248,0.92); padding: 5px 11px; border-radius: var(--r-pill); pointer-events: none; border: 0.5px solid var(--line); }

/* ── Laudo: "trava e folheia" (scroll-jacking via sticky; classe ativada por JS) ── */
html.js #laudos.is-pinnable { padding-block: 0; }
html.js #laudos.is-pinnable .laudo-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
  padding-block: clamp(32px, 6vh, 72px); box-sizing: border-box;
}
html.js #laudos.is-pinnable .laudo-reader { height: min(480px, 64vh); }
html.js #laudos.is-pinnable .laudo-reader__scroll { overflow: hidden; }
html.js #laudos.is-pinnable .laudo-reader__strip { will-change: transform; }

/* ── Certificações: badge claro p/ o ícone aparecer ── */
.cert__mark { font-family: var(--mono); background: var(--teal-tint) !important; color: var(--teal-deep) !important; border: 0.5px solid var(--teal-tint-2); }

/* ── Certificações: selo + sigla ── */
.cert__mark { font-family: var(--mono); }

/* ── Aproxima NC ↔ Certificações (vão estava grande demais) ── */
#nao-conformidade { padding-bottom: clamp(36px, 4vw, 56px); }
#certificacoes { padding-top: clamp(36px, 4vw, 56px); }

/* ── Rastreabilidade: coluna de stats empilhada ── */
.trace-stats--stack { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 24px; }
.trace-stats--stack > div { display: block; }

/* ── Calculadora: sim/não + score ── */
.calc__yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__yn { padding: 18px; border-radius: var(--r); border: 0.5px solid var(--line-strong); background: var(--white); font-weight: 600; font-size: 1.05rem; color: var(--ink); transition: border-color .18s, background .18s, transform .18s var(--ease); }
.calc__yn:hover { border-color: var(--teal); background: var(--teal-tint); transform: translateY(-2px); }
.calc__score-big { font-size: clamp(2.4rem,6vw,3.4rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.calc__score-big #calcScore { color: var(--teal-deep); }
.calc__score-of { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: 0; }

/* ── Utilidades ────────────────────────────────────────────────────── */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hide-mobile { }
@media (max-width: 640px) { .hide-mobile { display: none !important; } }

@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4, .plans { grid-template-columns: minmax(0, 1fr); } }
