/* ==========================================================================
   Global Gate — design system v2
   Base clara, petróleo profundo derivado do azul da marca, teal chapado.
   Lato (texto e títulos) + Instrument Serif itálico (palavra de destaque).
   ========================================================================== */

@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/lato-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/lato-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/lato-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/lato-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }

:root {
  /* marca */
  --teal: #00a79d;
  --teal-ink: #00756e;       /* teal com contraste AA sobre fundo claro */
  --teal-soft: #d6efec;
  --blue: #19649a;
  --green: #39b54a;

  /* neutros */
  --paper: #f2f5f4;
  --white: #ffffff;
  --ink: #0b2230;            /* petróleo: azul da marca escurecido */
  --ink-2: #11303f;
  --ink-3: #18404f;
  --muted: #5a6d77;
  --muted-dark: #9db2bb;
  --line: rgba(11, 34, 48, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* aliases usados pelas páginas (compatibilidade v1) */
  --bg: var(--paper);
  --bg-2: var(--white);
  --surface: var(--white);
  --surface-2: #e8eeec;
  --border: var(--line);
  --border-strong: rgba(11, 34, 48, 0.22);
  --text: var(--ink);
  --text-muted: var(--muted);
  --text-dim: #5f727c;
  --accent: var(--teal-ink);   /* texto de destaque: teal-ink no claro, teal no escuro */
  --teal-bright: var(--teal);
  --blue-bright: var(--blue);
  --light-bg: var(--paper);
  --light-text: var(--ink);
  --light-muted: var(--muted);
  --grad: var(--teal);
  --grad-soft: var(--teal-soft);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: clamp(22px, 2.6vw, 40px);
  --shadow: 0 30px 60px -30px rgba(11, 34, 48, 0.35);

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --inset: clamp(8px, 1.2vw, 16px);
  --header-h: clamp(68px, 6.5vw, 92px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.95rem + 0.15vw, 1.075rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 2.1rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.9rem);
  --fs-h1: clamp(2.7rem, 1.3rem + 5.6vw, 7rem);
  --fs-xl: clamp(3.2rem, 1rem + 9vw, 9.5rem);

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-base); line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .section--alt :focus-visible, .site-footer :focus-visible, .nav-open .nav :focus-visible { outline-color: var(--teal); }
::selection { background: var(--teal); color: var(--white); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.serif, h1 em, h2 em, h3 em, .h1 em, .h2 em {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; font-size: 1.08em; line-height: 0.9; color: var(--teal-ink);
}
.dark .serif, .dark h1 em, .dark h2 em, .dark h3 em, .section--alt em, .section--dark em { color: var(--teal); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.xl { font-size: var(--fs-xl); line-height: 0.95; letter-spacing: -0.045em; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--muted); }
.gradient-text { color: var(--teal-ink); }
.dark .gradient-text, .section--alt .gradient-text, .section--dark .gradient-text { color: var(--teal); }

/* texto longo (políticas, posts) */
.prose { max-width: 74ch; font-size: 1.075rem; line-height: 1.8; color: #31454f; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 2em; letter-spacing: -0.02em; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.35rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ol { list-style: decimal; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; margin-bottom: 0.5em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.prose img { border-radius: var(--radius-sm); margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding: 0.2em 0 0.2em 1.4em; border-left: 2px solid var(--teal); font-family: 'Instrument Serif', serif; font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 11vw, 170px); }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }
.section--light { background: var(--paper); }
/* bloco escuro "encaixado" com cantos arredondados */
.section--alt, .section--dark {
  background: var(--ink); color: var(--white); margin-inline: var(--inset); border-radius: var(--radius-lg);
  --text: var(--white); --text-muted: var(--muted-dark); --muted: var(--muted-dark); --line: var(--line-dark); --border: var(--line-dark); --border-strong: rgba(255,255,255,.28); --surface: var(--ink-2); --surface-2: var(--ink-3); --text-dim: #8fa6b0; --accent: var(--teal); --bg: var(--ink); --bg-2: var(--ink-2);
  color-scheme: dark;
}
.section--alt .lead, .section--dark .lead, .section--alt .muted, .section--dark .muted { color: var(--muted-dark); }
.section--alt .eyebrow, .section--dark .eyebrow { color: var(--muted-dark); }
.section--white { background: var(--white); margin-inline: var(--inset); border-radius: var(--radius-lg); }
.section__head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 110px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }

/* ---------- botões ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-fill: var(--teal); --btn-fill-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 8px 8px 24px; min-height: 52px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid transparent;
  transition: color 0.5s var(--ease), border-color 0.4s, transform 0.5s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--btn-fill); transform: translateY(101%); transition: transform 0.6s var(--ease-in-out); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--btn-fill-fg); }
/* chip da seta: gerado se não houver .arrow explícito */
.btn::after, .btn .arrow {
  content: '→'; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: var(--ink); font-weight: 700; font-size: 0.95rem;
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s;
}
.btn:has(.arrow)::after { display: none; }
.btn:hover::after, .btn:hover .arrow { transform: rotate(-45deg); background: var(--ink); color: var(--white); }
.btn--primary { --btn-bg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--white); border-color: var(--border-strong); }
.btn--ghost::after, .btn--ghost .arrow { background: var(--ink); color: var(--white); }
.btn--ghost:hover::after, .btn--ghost:hover .arrow { background: var(--teal); color: var(--ink); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: var(--white); }
.btn--teal::after, .btn--teal .arrow { background: var(--ink); color: var(--white); }
.section--alt .btn--primary, .section--dark .btn--primary, .dark .btn--primary { --btn-bg: var(--white); --btn-fg: var(--ink); }
.section--alt .btn--ghost, .section--dark .btn--ghost, .dark .btn--ghost { --btn-fg: var(--white); --btn-fill: var(--white); --btn-fill-fg: var(--ink); border-color: var(--line-dark); }
.section--alt .btn--ghost::after, .section--dark .btn--ghost::after, .dark .btn--ghost::after { background: var(--teal); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 5px 5px 5px 18px; font-size: var(--fs-xs); }
.btn--sm::after, .btn--sm .arrow { width: 30px; height: 30px; }
.btn--lg { min-height: 60px; padding-left: 30px; font-size: 1rem; }
.btn--lg::after, .btn--lg .arrow { width: 44px; height: 44px; }
.btn--plain::after { display: none; }
.btn--plain { padding-right: 24px; }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: inherit; padding-bottom: 4px; }
.link-arrow::before { content: ''; position: absolute; left: 0; right: 28px; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease-in-out); }
.link-arrow:hover::before { transform: scaleX(0); transform-origin: left; }
.link-arrow::after { content: '→'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--ink); font-size: 0.75rem; transition: transform 0.5s var(--ease); }
.link-arrow:hover::after { transform: rotate(-45deg); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: transform 0.6s var(--ease); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header:focus-within { transform: none; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; z-index: 3; }
.brand img { width: clamp(140px, 12vw, 172px); height: auto; }
.nav {
  display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.nav__link { position: relative; padding: 9px 15px; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); border-radius: 999px; transition: color 0.3s, background-color 0.3s; }
.nav__link:hover { color: var(--ink); background: var(--paper); }
.nav__link.is-active { color: var(--white); background: var(--ink); }
.site-header__cta { flex: none; }
.nav-toggle { display: none; position: relative; z-index: 3; height: 46px; padding: 0 8px 0 20px; margin-left: auto; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; font-size: var(--fs-sm); align-items: center; gap: 12px; }
.nav-toggle::before { content: 'Menu'; }
.nav-open .nav-toggle::before { content: 'Fechar'; }
.nav-toggle i { position: relative; display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); }
.nav-toggle span { position: absolute; right: 16px; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav-toggle span:first-of-type { top: 19px; }
.nav-toggle span:last-of-type { top: 25px; }
.nav-open .nav-toggle span:first-of-type { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-of-type { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .site-header__cta { display: none; } }
@media (max-width: 960px) {
  .no-js .nav-toggle { display: none; }
  .no-js .nav { position: static; clip-path: none; visibility: visible; flex-wrap: wrap; flex-direction: row; padding: 4px; background: var(--white); }
  .no-js .nav__link { font-size: var(--fs-sm); color: var(--ink); opacity: 1; transform: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: fixed; inset: var(--inset); z-index: 2; flex-direction: column; justify-content: flex-end; gap: 0; margin: 0;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px; border-radius: var(--radius-lg); background: var(--ink); border: 0;
    clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 0.8s var(--ease-in-out); visibility: hidden;
  }
  .nav-open .nav { clip-path: inset(0 0 0 0 round var(--radius-lg)); visibility: visible; }
  .nav-open .brand img { filter: brightness(0) invert(1); }
  .nav__link { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -0.03em; padding: 6px 0; color: var(--white); background: none !important; border-radius: 0; opacity: 0; transform: translateY(40px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
  .nav__link.is-active { color: var(--teal); }
  .nav-open .nav__link { opacity: 1; transform: none; }
  .nav-open .nav__link:nth-child(1) { transition-delay: 0.25s; } .nav-open .nav__link:nth-child(2) { transition-delay: 0.3s; }
  .nav-open .nav__link:nth-child(3) { transition-delay: 0.35s; } .nav-open .nav__link:nth-child(4) { transition-delay: 0.4s; }
  .nav-open .nav__link:nth-child(5) { transition-delay: 0.45s; } .nav-open .nav__link:nth-child(6) { transition-delay: 0.5s; }
  .nav-open .nav__link:nth-child(7) { transition-delay: 0.55s; }
  .nav-open { overflow: hidden; }
}

/* ---------- cursor customizado (main.js): substitui o ponteiro em toda a página ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); }
.cursor__dot {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  display: grid; place-items: center;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.cursor__label { opacity: 0; font-size: 0.8rem; font-weight: 700; color: var(--ink); white-space: nowrap; transition: opacity 0.3s; }
/* links e botões: anel */
.cursor.is-link .cursor__dot { width: 50px; height: 50px; margin: -25px 0 0 -25px; background: rgba(0, 167, 157, 0.14); box-shadow: inset 0 0 0 1.5px var(--teal), 0 0 0 1px rgba(255, 255, 255, 0.5); }
/* cards com rótulo: bolha */
.cursor.is-view .cursor__dot { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--teal); box-shadow: 0 0 0 2px var(--ink); }
.cursor.is-view .cursor__label { opacity: 1; }
/* títulos grandes: círculo que inverte as cores do conteúdo */
.cursor.is-invert { mix-blend-mode: difference; }
.cursor.is-invert .cursor__dot { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: #fff; box-shadow: none; }
/* clique */
.cursor.is-down .cursor__dot { transform: scale(0.8); }
.cursor__dot { transform-origin: center; }
.cursor.is-hidden .cursor__dot, .cursor.is-field .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type=submit]), .has-cursor textarea, .has-cursor select { cursor: text !important; }
@media (forced-colors: active) { .cursor { display: none; } .has-cursor, .has-cursor * { cursor: auto !important; } }

/* ---------- transição de página (cortina) ---------- */
.pt { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.pt__panel { position: absolute; inset: -2px 0; background: var(--ink); transform: translateY(102%); }
.pt__panel::after { content: ''; position: absolute; left: 0; right: 0; height: 12vh; bottom: 100%; background: var(--ink); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform-origin: bottom; transform: scaleY(var(--curve, 0)); }
.pt__label { position: absolute; left: var(--gutter); bottom: clamp(28px, 6vh, 64px); color: var(--white); font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.035em; opacity: 0; transform: translateY(30px); }
.pt__label em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--teal); }
html.pt-in .pt__panel { transform: none; }
html.pt-in .pt__label { opacity: 1; transform: none; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease-in-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }

/* títulos por palavra (data-split) */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.02em 0.12em; margin: -0.06em -0.02em -0.12em; }
.split-word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--delay, 0s)); }
.is-visible .split-word > span, .split-word.is-visible > span { transform: none; }

/* parágrafos que acendem palavra a palavra (data-words) */
[data-words] .w { transition: opacity 0.25s linear; opacity: var(--o, 0.18); }
.no-js [data-words] .w { opacity: 1; }

/* ---------- cards ---------- */
.card {
  position: relative; padding: clamp(24px, 2.6vw, 40px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color 0.4s, transform 0.7s var(--ease), box-shadow 0.7s var(--ease), background-color 0.4s;
}
a.card:hover, .card[data-tilt]:hover { box-shadow: var(--shadow); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s; background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(0, 167, 157, 0.12), transparent 65%); }
.card:hover::before { opacity: 1; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s; }
.section--alt .card__icon, .section--dark .card__icon { background: rgba(0, 167, 157, 0.16); color: var(--teal); }
.card:hover .card__icon { background: var(--teal); color: var(--ink); transform: rotate(-8deg); }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: var(--fs-h3); margin-bottom: 12px; letter-spacing: -0.025em; }
.card__text { color: var(--muted); margin-bottom: 0; }
[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js [data-reveal][data-tilt].is-visible { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* lista com check */
.checklist { display: grid; gap: 0; }
.checklist li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); color: var(--text); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 4.8 9 10 3' fill='none' stroke='%230b2230' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; }

/* pills */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.section--alt .badge, .section--dark .badge { color: var(--white); background: transparent; border-color: var(--line-dark); }
.tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }

/* ---------- page hero (páginas internas) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; margin: var(--inset) var(--inset) 0; border-radius: var(--radius-lg);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 140px)) 0 clamp(56px, 8vw, 120px);
  background: linear-gradient(180deg, #e3f3f0 0%, var(--paper) 100%);
}
.page-hero::before {
  content: ''; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 167, 157, 0.22), transparent 62%); animation: drift 16s var(--ease-in-out) infinite alternate;
}
.page-hero::after {
  content: ''; position: absolute; z-index: -1; width: 50vw; height: 50vw; left: -18vw; bottom: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 100, 154, 0.14), transparent 62%); animation: drift 20s var(--ease-in-out) infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(-6vw, 5vw) scale(1.1); } }
.page-hero__title { font-size: var(--fs-h1); max-width: 16ch; }
.page-hero .lead { margin-top: 12px; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 28px; font-size: var(--fs-sm); color: var(--muted); font-weight: 700; }
.breadcrumb a:hover { color: var(--teal-ink); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 32px) 0 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2vw, 32px); }
@media (max-width: 520px) { .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.stat { container-type: inline-size; min-width: 0; }
/* tamanho acompanha a largura da coluna: números longos (99,982%) não estouram */
.stat__value { font-size: clamp(2.4rem, 21cqi, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; white-space: nowrap; }
.stat__unit { font-size: 0.55em; letter-spacing: -0.02em; margin-left: 0.04em; }
.stat__label { margin-top: 14px; color: var(--muted); font-size: var(--fs-sm); max-width: 24ch; }

/* ---------- marquee de logos ---------- */
.marquee { --gap: clamp(48px, 7vw, 110px); position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: var(--gap); width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; display: grid; place-items: center; height: 60px; }
.marquee__item img { height: clamp(24px, 3vw, 34px); max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1) contrast(0.9); opacity: 0.55; transition: opacity 0.4s, filter 0.4s; }
.marquee__item:hover img { opacity: 1; filter: none; }
.section--alt .marquee__item img, .section--dark .marquee__item img { filter: brightness(0) invert(1); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* marquee de texto gigante, acelera com o scroll (data-marquee) */
.ticker { overflow: hidden; padding-block: clamp(20px, 3vw, 40px); white-space: nowrap; }
.ticker__track { display: inline-flex; will-change: transform; }
.ticker__item { display: inline-flex; align-items: center; gap: 0.35em; padding-right: 0.35em; font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.ticker__item em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--teal-ink); letter-spacing: -0.01em; }
.ticker__star { display: inline-block; width: 0.42em; height: 0.42em; color: var(--teal); }

/* ---------- depoimentos ---------- */
.quote-card { display: flex; flex-direction: column; gap: 28px; height: 100%; }
.quote-card blockquote { margin: 0; flex: 1; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--text); }
.quote-card blockquote::before { content: '“'; display: block; height: 0.5em; font-size: 3em; line-height: 0.9; color: var(--teal); }
.person { display: flex; align-items: center; gap: 14px; }
.person__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--teal); display: grid; place-items: center; font-weight: 700; color: var(--ink); flex: none; }
.person__name { font-weight: 700; line-height: 1.3; }
.person__role { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- formulários ---------- */
.form { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 20px 10px; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.3s, box-shadow 0.3s; resize: vertical;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 20px; top: 18px; color: var(--muted); pointer-events: none; transition: transform 0.35s var(--ease), color 0.3s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 167, 157, 0.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(0.75); color: var(--teal-ink); }
.form__status { min-height: 1.5em; font-size: var(--fs-sm); }
.form__status.is-ok { color: var(--teal-ink); }
.form__status.is-error { color: #b42318; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- CTA + footer ---------- */
.cta-band { position: relative; padding: clamp(60px, 8vw, 120px) 0 var(--inset); }
.cta-band > .container { max-width: none; padding-inline: var(--inset); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 40px; align-items: end;
  padding: clamp(36px, 6vw, 96px) clamp(24px, 5vw, 80px); border-radius: var(--radius-lg); background: var(--teal); color: var(--ink);
}
.cta-band__inner::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(11, 34, 48, 0.18); box-shadow: 0 0 0 60px rgba(11,34,48,.03), 0 0 0 140px rgba(11,34,48,.025); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.5fr auto; } }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band__title { font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); max-width: 16ch; }
.cta-band__title em { color: var(--ink); }
.cta-band__text { margin: 0; max-width: 52ch; color: rgba(11, 34, 48, 0.78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--primary { --btn-fill: var(--white); --btn-fill-fg: var(--ink); }
.cta-band .btn--primary::after, .cta-band .btn--primary .arrow { background: var(--white); color: var(--ink); }
.cta-band .btn--ghost { border-color: rgba(11, 34, 48, 0.3); }

.site-footer { position: relative; margin: var(--inset); margin-top: 0; border-radius: var(--radius-lg); background: var(--ink); color: var(--muted-dark); font-size: var(--fs-sm); overflow: hidden; padding-top: clamp(56px, 7vw, 100px); }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__brand img { width: 170px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__title { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; color: var(--white); margin-bottom: 18px; }
.site-footer__links, .site-footer__contact { display: grid; gap: 10px; }
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: var(--teal); }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.site-footer__social a:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.site-footer__logo { display: block; width: calc(100% - var(--gutter) * 2); max-width: none; height: auto; margin: clamp(56px, 8vw, 120px) var(--gutter) clamp(24px, 3vw, 40px); }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.site-footer__badges { display: flex; gap: 8px; }
.site-footer .badge { color: var(--white); background: transparent; border-color: var(--line-dark); }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .split-word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-words] .w { opacity: 1 !important; }
  .cursor, .pt { display: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
