/* ==========================================================================
   TAAK · site v2
   Implementação do protótipo "Draft Website" (Figma). Os valores abaixo vêm
   dos tokens do arquivo: coleção "Breakpoint" (Desktop 1440 | Mobile 390),
   estilos de texto "V.2/*" e tema "02_Theme".
   Sumário
     1. Fontes e tokens
     2. Base
     3. Layout
     4. Tipografia
     5. Botões e links
     6. Cabeçalho
     7. Rodapé e chamada final
     8. Blocos compartilhados
     9. Páginas
    10. Movimento
   ========================================================================== */

/* 1. Fontes e tokens ------------------------------------------------------ */

@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "General Sans", "General Sans Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* O rodapé desktop e a barra da Home estão em Inter no protótipo. */
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Cores */
  --c-white: #ffffff;
  --c-black: #000000;
  --c-fg: #18181b;            /* foreground/foreground */
  --c-heading: #202020;
  --c-muted: #707070;
  --c-muted-zinc: #71717a;    /* foreground/muted */
  --c-body: #5f5f5f;
  --c-soft: #a3a3a3;
  --c-line: #e0e0e0;
  --c-line-2: #d7d7d7;        /* separator/separator-secondary */
  --c-border: #dedee0;
  --c-fill: #ebebec;          /* default/default */
  --c-fill-2: #f4f4f4;
  --c-fill-3: #e5e5e5;
  --c-accent: #066afe;
  --c-blue: #0067fe;
  --c-ink: #0b0b0c;
  --c-dark-surface: #27272a;
  --c-dark-line: #353538;
  --c-dark-fg: #fcfcfc;
  --c-dark-muted: #a1a1aa;

  /* Escala fluida: valores exatos em 390px e em 1440px, linear entre eles.
     (No arquivo-fonte isto é fluid(mobile, desktop); o build expande para clamp().) */
  --fs-display: clamp(40px, calc(40px + 46 * (100vw - 390px) / 1050), 86px);
  --lh-display: clamp(44px, calc(44px + 48 * (100vw - 390px) / 1050), 92px);
  --fs-h1: clamp(36px, calc(36px + 28 * (100vw - 390px) / 1050), 64px);
  --lh-h1: clamp(40px, calc(40px + 24 * (100vw - 390px) / 1050), 64px);
  --fs-h2: clamp(30px, calc(30px + 18 * (100vw - 390px) / 1050), 48px);
  --lh-h2: clamp(32px, calc(32px + 20 * (100vw - 390px) / 1050), 52px);
  --fs-h4: clamp(22px, calc(22px + 6 * (100vw - 390px) / 1050), 28px);
  --lh-h4: clamp(24px, calc(24px + 6 * (100vw - 390px) / 1050), 30px);
  --fs-h5: clamp(18px, calc(18px + 4 * (100vw - 390px) / 1050), 22px);
  --lh-h5: clamp(20px, calc(20px + 4 * (100vw - 390px) / 1050), 24px);
  --fs-eyebrow: clamp(17px, calc(17px + 7 * (100vw - 390px) / 1050), 24px);
  --lh-eyebrow: clamp(20px, calc(20px + 8 * (100vw - 390px) / 1050), 28px);
  --fs-lead: clamp(17px, calc(17px + 7 * (100vw - 390px) / 1050), 24px);
  --lh-lead: clamp(22px, calc(22px + 8 * (100vw - 390px) / 1050), 30px);
  --fs-body-lg: clamp(16px, calc(16px + 4 * (100vw - 390px) / 1050), 20px);
  --lh-body-lg: clamp(23px, calc(23px + 6 * (100vw - 390px) / 1050), 29px);
  --fs-body: clamp(16px, calc(16px + 2 * (100vw - 390px) / 1050), 18px);
  --lh-body: clamp(24px, calc(24px + 3 * (100vw - 390px) / 1050), 27px);
  --fs-body-sm: clamp(14px, calc(14px + 2 * (100vw - 390px) / 1050), 16px);
  --lh-body-sm: clamp(21px, calc(21px + 3 * (100vw - 390px) / 1050), 24px);

  /* Layout */
  --pad-x: clamp(24px, calc(24px + 60 * (100vw - 390px) / 1050), 84px);
  --section-y: clamp(64px, calc(64px + 56 * (100vw - 390px) / 1050), 120px);
  --section-y-sm: clamp(64px, calc(64px + 32 * (100vw - 390px) / 1050), 96px);
  --section-gap: clamp(40px, calc(40px + 24 * (100vw - 390px) / 1050), 64px);
  --section-gap-sm: clamp(32px, calc(32px + 16 * (100vw - 390px) / 1050), 48px);
  --grid-gap: 24px;
  --content: 1272px;
  --page: 1440px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-fg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; font-size: inherit; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 16px; border-radius: 9999px;
  background: var(--c-fg); color: var(--c-white);
  font-size: 16px; line-height: 19px; letter-spacing: -0.02em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* 3. Layout --------------------------------------------------------------- */

.container {
  width: min(100% - 2 * var(--pad-x), var(--content));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--sm { padding-block: var(--section-y-sm); }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--c-black); color: var(--c-dark-fg); }

.stack { display: flex; flex-direction: column; }
.stack--section { gap: var(--section-gap); }
.stack--section-sm { gap: var(--section-gap-sm); }

/* 4. Tipografia ----------------------------------------------------------- */

.t-display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.02em; }
.t-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -0.03em; }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.02em; }
.t-h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: -0.02em; }
.t-h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; }
.t-eyebrow { font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: -0.02em; color: var(--c-muted); }
.t-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: -0.02em; color: var(--c-muted); }
.t-body-lg { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); letter-spacing: -0.01em; }
.t-body { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }
.t-body-sm { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted); }
.t-caption { font-size: 14px; line-height: 20px; }
.t-label-lg { font-size: 24px; line-height: 29px; letter-spacing: -0.02em; }
.t-label-md { font-size: 18px; line-height: 22px; letter-spacing: -0.02em; }
.t-label-sm { font-size: 16px; line-height: 19px; letter-spacing: -0.02em; }

.t-center { text-align: center; }
.t-heading { color: var(--c-heading); }
.t-black { color: var(--c-black); }
.t-accent { color: var(--c-accent); }
/* Quebras de linha do protótipo: valem só onde a largura foi desenhada. */
.br-d { display: none; }
@media (min-width: 1024px) { .br-d { display: inline; } }
.br-m { display: inline; }
@media (min-width: 768px) { .br-m { display: none; } }

/* Cabeçalho de seção: rótulo + título (+ texto de apoio) */
.heading { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.heading > .t-h2, .heading > .t-h1 { color: var(--c-heading); }
.heading__text { color: var(--c-body); }
.heading--center { align-items: center; text-align: center; margin-inline: auto; max-width: 920px; gap: 20px; }
.section--dark .t-eyebrow { color: #c5c5c5; }
.section--dark .heading > .t-h2 { color: #fbfbfb; }
@media (max-width: 767px) { .heading { gap: 12px; } }

/* 5. Botões e links ------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; height: 64px; padding: 0 24px;
  border-radius: 9999px; border: 0;
  font-size: 24px; line-height: 29px; letter-spacing: -0.02em; font-weight: 500;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { flex: none; width: 32px; height: 32px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--md { height: 56px; padding: 0 20px; gap: 8px; font-size: 18px; line-height: 22px; }
.btn--md svg { width: 24px; height: 24px; }
.btn--sm { height: 40px; padding: 0 16px; gap: 8px; font-size: 16px; line-height: 19px; }
.btn--sm svg { width: 16px; height: 16px; }

.btn--primary { background: var(--c-fg); color: #f5f5f5; }
.btn--primary:hover { background: #2c2c30; }
.btn--secondary { background: var(--c-fill); color: var(--c-fg); }
.btn--secondary:hover { background: #dfdfe1; }
/* Contorno por dentro (como o traço do Figma), para a largura do botão não mudar. */
.btn--outline { box-shadow: inset 0 0 0 1px var(--c-fg); color: var(--c-fg); }
.btn--outline:hover { background: var(--c-fg); color: #f5f5f5; }
.btn--ghost { height: auto; padding: 0; border-radius: 4px; color: var(--c-fg); }
.btn--ghost.btn--sm { height: 40px; }

/* Sobre fundo escuro ou colorido (modo Dark do tema) */
.on-dark .btn--primary, .btn--primary.btn--invert { background: var(--c-dark-fg); color: #060607; }
.on-dark .btn--primary:hover, .btn--primary.btn--invert:hover { background: #e9e9ea; }
.on-dark .btn--secondary { background: var(--c-dark-surface); color: var(--c-dark-fg); }
.on-dark .btn--secondary:hover { background: #333337; }
.btn--outline-white { box-shadow: inset 0 0 0 1px var(--c-dark-fg); color: var(--c-dark-fg); }
.btn--outline-white:hover { background: var(--c-dark-fg); color: #060607; }
.on-dark .btn--ghost { color: var(--c-dark-fg); }

/* Em telas pequenas os botões Large viram Medium (Button: "Medium = hero mobile"). */
@media (max-width: 767px) {
  .btn:not(.btn--sm) { height: 56px; padding: 0 20px; gap: 8px; font-size: 18px; line-height: 22px; }
  .btn:not(.btn--sm) svg { width: 24px; height: 24px; }
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 6. Cabeçalho ------------------------------------------------------------ */

.site-header {
  position: relative; z-index: 50;
  background: var(--c-white); color: var(--c-fg);
}
.site-header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--page); margin-inline: auto;
  height: 104px; padding: 32px 48px;
}
.site-header__logo { display: inline-flex; color: inherit; }
.site-header__logo svg { width: 64px; height: auto; }

/* max-content: sem isso o menu, ancorado em left: 50%, só teria metade da largura para caber. */
.site-nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; }
.site-nav__list { display: flex; align-items: center; gap: 36px; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 16px; line-height: 19px; letter-spacing: -0.02em; white-space: nowrap;
  color: inherit; padding-block: 8px;
  transition: opacity 0.2s var(--ease);
}
.site-nav__link svg { flex: none; width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.site-nav__link:hover { opacity: 0.6; }
.site-nav__link[aria-current="page"] { opacity: 1; }
.site-nav__item.is-open > .site-nav__link svg { transform: rotate(180deg); }

/* Menus de Serviços e Produtos (o protótipo indica a seta; o painel segue o mesmo vocabulário visual). */
.site-nav__menu {
  position: absolute; left: 50%; top: calc(100% + 6px); z-index: 60;
  min-width: 248px; padding: 8px;
  background: var(--c-white); color: var(--c-fg);
  border: 1px solid var(--c-line); border-radius: 16px;
  box-shadow: 0 8px 24px -6px rgba(77, 64, 64, 0.12);
  opacity: 0; visibility: hidden; transform: translate(-50%, -4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.site-nav__item.is-open > .site-nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 16px; line-height: 19px; letter-spacing: -0.02em; white-space: nowrap;
}
.site-nav__menu a:hover, .site-nav__menu a:focus-visible { background: var(--c-fill-2); }
.site-nav__menu a svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); }
.site-nav__menu a:hover svg, .site-nav__menu a:focus-visible svg { opacity: 1; transform: none; }
.site-nav__menu-sep { height: 1px; margin: 8px 12px; background: var(--c-line); }

.site-header__toggle {
  display: none; width: 40px; height: 40px; margin-right: -8px;
  align-items: center; justify-content: center; border-radius: 9999px;
}
.site-header__toggle svg { width: 24px; height: 24px; }
.site-header__toggle .icon-close { display: none; }
.site-header.is-menu-open .site-header__toggle .icon-open { display: none; }
.site-header.is-menu-open .site-header__toggle .icon-close { display: block; }

/* Tema escuro (Header / Theme=Dark) */
.site-header--dark { background: var(--c-black); color: var(--c-dark-fg); }
.site-header--dark .site-header__cta { background: var(--c-dark-surface); color: var(--c-dark-fg); }
.site-header--dark .site-header__cta:hover { background: #333337; }
.site-header--dark .site-nav__menu { background: #18181b; color: var(--c-dark-fg); border-color: var(--c-dark-line); box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5); }
.site-header--dark .site-nav__menu a:hover, .site-header--dark .site-nav__menu a:focus-visible { background: var(--c-dark-surface); }
.site-header--dark .site-nav__menu-sep { background: var(--c-dark-line); }

/* Menu em telas pequenas */
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
  max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto;
  padding: 8px 24px 32px;
  background: var(--c-white); color: var(--c-fg);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25);
}
.site-header--dark .mobile-menu { background: var(--c-black); color: var(--c-dark-fg); border-top-color: var(--c-dark-line); }
.mobile-menu__list > li { border-bottom: 1px solid var(--c-line); }
.site-header--dark .mobile-menu__list > li { border-bottom-color: var(--c-dark-line); }
.mobile-menu__link, .mobile-menu__group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-size: 22px; line-height: 24px; letter-spacing: -0.02em; cursor: pointer;
}
.mobile-menu__group > summary { list-style: none; }
.mobile-menu__group > summary::-webkit-details-marker { display: none; }
.mobile-menu__group > summary svg { width: 24px; height: 24px; transition: transform 0.25s var(--ease); }
.mobile-menu__group[open] > summary svg { transform: rotate(180deg); }
.mobile-menu__sub { display: grid; gap: 4px; padding: 0 0 16px; }
.mobile-menu__sub a { display: block; padding: 8px 0; font-size: 16px; line-height: 24px; color: var(--c-muted); }
.site-header--dark .mobile-menu__sub a { color: var(--c-dark-muted); }
.mobile-menu__cta { margin-top: 24px; width: 100%; }

@media (max-width: 1023px) {
  .site-header__inner { height: 64px; padding: 20px 24px; }
  .site-nav, .site-header__cta { display: none; }
  .site-header__toggle { display: inline-flex; }
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
/* Desktops estreitos: o menu aperta um pouco para não encostar no logo nem no botão. */
@media (min-width: 1024px) and (max-width: 1180px) { .site-nav__list { gap: 24px; } }

/* Barra flutuante da Home */
.home-bar {
  position: fixed; left: 0; right: 0; top: 32px; z-index: 50;
  padding-inline: 32px; pointer-events: none;
}
.home-bar__inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1376px; margin-inline: auto; height: 62px; padding: 12px 12px 12px 24px;
  background: var(--c-white); border: 1px solid #eee8e8; border-radius: 20px;
  box-shadow: 0 8px 24px -6px rgba(77, 64, 64, 0.08);
  color: var(--c-black); font-family: var(--font-ui);
}
.home-bar .site-header__logo svg { width: 64px; }
.home-bar .site-nav { position: static; transform: none; width: auto; }
.home-bar .site-nav__link { font-size: 16px; line-height: 20px; }
.home-bar__actions { display: flex; align-items: center; gap: 8px; }
.home-bar__lang {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 8px 12px;
  border: 1px solid #e6e0e0; border-radius: 999px;
  font-size: 14px; line-height: 18px; color: #1f1f1f;
}
.home-bar__lang svg { width: 16px; height: 16px; }
.home-bar__cta {
  display: inline-flex; align-items: center; height: 36px; padding: 9px 18px;
  background: var(--c-black); color: var(--c-white); border-radius: 999px;
  font-size: 14px; line-height: 18px; transition: background-color 0.2s var(--ease);
}
.home-bar__cta:hover { background: #2c2c30; }
.home-bar .site-nav__menu { font-family: var(--font-sans); }
.home-bar .mobile-menu { position: static; margin-top: 8px; border: 1px solid #eee8e8; border-radius: 20px; pointer-events: auto; max-width: 1376px; margin-inline: auto; font-family: var(--font-sans); box-shadow: 0 8px 24px -6px rgba(77, 64, 64, 0.08); }
@media (max-width: 1023px) {
  .home-bar { top: 12px; padding-inline: 12px; }
  .home-bar__inner { height: 56px; padding: 8px 8px 8px 16px; border-radius: 16px; }
  .home-bar .site-nav, .home-bar__lang, .home-bar__cta { display: none; }
  .home-bar .site-header__toggle { margin-right: 0; }
}

/* 7. Rodapé e chamada final ----------------------------------------------- */

/* Faixa que une a chamada final e o rodapé: o fundo é um só. */
.closing { position: relative; isolation: isolate; overflow: hidden; background: var(--closing-base, #0067fe); color: var(--c-white); }
/* Fundo da chamada final: gerado a partir das camadas do protótipo (círculos com sombra interna e base
   pontilhada). Os centros dos círculos mudam um pouco de página para página e chegam por variáveis. */
.closing { --y13: 725.1px; --y12: 947.2px; --y11: 947.1px; --y14: 947.2px; --o14: 1; --b13: 397px; --b12: 337px; --b11: 337px; --b14: 337px; }
.closing__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--closing-base, #0067fe); }
.closing__bg::before, .closing__bg::after, .closing__glow { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; }
.closing__bg::before {
  background-image:
    radial-gradient(circle at 50% var(--y11), rgba(255,255,255,0) 515.2px, rgba(255,255,255,0.006) 529.5px, rgba(255,255,255,0.009) 543.9px, rgba(255,255,255,0.013) 558.2px, rgba(255,255,255,0.019) 572.6px, rgba(255,255,255,0.027) 586.9px, rgba(255,255,255,0.037) 601.3px, rgba(255,255,255,0.05) 615.6px, rgba(255,255,255,0.066) 630px, rgba(255,255,255,0.085) 644.3px, rgba(255,255,255,0.107) 658.7px, rgba(255,255,255,0.132) 673px, rgba(255,255,255,0.16) 687.4px, rgba(255,255,255,0.191) 701.7px, rgba(255,255,255,0.223) 716.1px, rgba(255,255,255,0.256) 730.5px, rgba(255,255,255,0.288) 744.8px, rgba(255,255,255,0.32) 759.2px, rgba(255,255,255,0.351) 773.5px, rgba(255,255,255,0.379) 787.9px, rgba(255,255,255,0.404) 802.2px, rgba(255,255,255,0.426) 816.6px, rgba(255,255,255,0.445) 830.4px, rgba(255,255,255,0) 831.4px),
    radial-gradient(circle at 50% var(--y12), rgba(255,255,255,0) 757.7px, rgba(255,255,255,0.006) 779.2px, rgba(255,255,255,0.009) 800.8px, rgba(255,255,255,0.013) 822.3px, rgba(255,255,255,0.019) 843.9px, rgba(255,255,255,0.027) 865.4px, rgba(255,255,255,0.037) 887px, rgba(255,255,255,0.051) 908.6px, rgba(255,255,255,0.067) 930.1px, rgba(255,255,255,0.087) 951.7px, rgba(255,255,255,0.111) 973.2px, rgba(255,255,255,0.138) 994.8px, rgba(255,255,255,0.168) 1016.4px, rgba(255,255,255,0.201) 1037.9px, rgba(255,255,255,0.236) 1059.5px, rgba(255,255,255,0.272) 1081px, rgba(255,255,255,0.308) 1102.6px, rgba(255,255,255,0.343) 1124.2px, rgba(255,255,255,0.376) 1145.7px, rgba(255,255,255,0.407) 1167.3px, rgba(255,255,255,0.434) 1188.8px, rgba(255,255,255,0.459) 1210.4px, rgba(255,255,255,0.479) 1231.5px, rgba(255,255,255,0) 1232.5px),
    radial-gradient(circle at 50% var(--y13), rgba(255,255,255,0) 621.1px, rgba(255,255,255,0.006) 638.7px, rgba(255,255,255,0.009) 656.4px, rgba(255,255,255,0.013) 674.1px, rgba(255,255,255,0.019) 691.7px, rgba(255,255,255,0.027) 709.4px, rgba(255,255,255,0.037) 727.1px, rgba(255,255,255,0.051) 744.8px, rgba(255,255,255,0.067) 762.4px, rgba(255,255,255,0.087) 780.1px, rgba(255,255,255,0.111) 797.8px, rgba(255,255,255,0.138) 815.5px, rgba(255,255,255,0.168) 833.1px, rgba(255,255,255,0.201) 850.8px, rgba(255,255,255,0.236) 868.5px, rgba(255,255,255,0.272) 886.1px, rgba(255,255,255,0.308) 903.8px, rgba(255,255,255,0.343) 921.5px, rgba(255,255,255,0.376) 939.2px, rgba(255,255,255,0.407) 956.8px, rgba(255,255,255,0.434) 974.5px, rgba(255,255,255,0.459) 992.2px, rgba(255,255,255,0.479) 1009.4px, rgba(255,255,255,0) 1010.4px);
}
.closing__glow {
  opacity: var(--o14);
  background-image: radial-gradient(circle at 50% var(--y14), rgba(255,255,255,0) 102.4px, rgba(255,255,255,0.006) 117.5px, rgba(255,255,255,0.009) 132.7px, rgba(255,255,255,0.013) 147.8px, rgba(255,255,255,0.019) 163px, rgba(255,255,255,0.028) 178.1px, rgba(255,255,255,0.039) 193.3px, rgba(255,255,255,0.053) 208.4px, rgba(255,255,255,0.07) 223.6px, rgba(255,255,255,0.092) 238.7px, rgba(255,255,255,0.117) 253.9px, rgba(255,255,255,0.146) 269px, rgba(255,255,255,0.178) 284.2px, rgba(255,255,255,0.214) 299.3px, rgba(255,255,255,0.251) 314.5px, rgba(255,255,255,0.29) 329.6px, rgba(255,255,255,0.328) 344.8px, rgba(255,255,255,0.365) 359.9px, rgba(255,255,255,0.401) 375.1px, rgba(255,255,255,0.433) 390.2px, rgba(255,255,255,0.462) 405.4px, rgba(255,255,255,0.486) 420.5px, rgba(255,255,255,0.507) 435.2px, rgba(255,255,255,0) 436.2px);
}
.closing__bg::after { background-image: linear-gradient(to bottom, rgba(0,0,0,0) 511px, #000 1406px); }
.closing--blue .closing__bg, .closing--home .closing__bg {
  background-image: linear-gradient(to bottom, rgba(0,103,254,0) 762px, #0067fe 762px), url("../media/cta/dither-blue.png");
  background-size: auto, 32px 32px;
  image-rendering: pixelated;
}
.closing--dark { --closing-base: #000; }
.closing--home .closing__bg { background-image: linear-gradient(to bottom, rgba(0,103,254,0) 1407px, #0067fe 1407px), url("../media/cta/dither-blue.png"); }
.closing--home .closing__bg::after { background-image: linear-gradient(to bottom, #fffcfc 0, #fffcfc 13px, rgba(255,252,252,0) 488px), linear-gradient(to bottom, rgba(255,252,252,0) 641px, #fffcfc 1536px); }
@media (max-width: 767px) {
  .closing--blue .closing__bg, .closing--home .closing__bg {
    background-image: linear-gradient(to bottom, #0067fe 21px, rgba(0,103,254,0) 21px, rgba(0,103,254,0) 246px, #0067fe 246px), url("../media/cta/dither-blue.png");
  }
  .closing__bg::before {
    background-image:
    radial-gradient(circle at 50% calc(100% - var(--b11)), rgba(255,255,255,0) 139.5px, rgba(255,255,255,0.006) 143.4px, rgba(255,255,255,0.009) 147.3px, rgba(255,255,255,0.013) 151.2px, rgba(255,255,255,0.019) 155.1px, rgba(255,255,255,0.027) 159px, rgba(255,255,255,0.037) 162.8px, rgba(255,255,255,0.05) 166.7px, rgba(255,255,255,0.066) 170.6px, rgba(255,255,255,0.085) 174.5px, rgba(255,255,255,0.107) 178.4px, rgba(255,255,255,0.132) 182.3px, rgba(255,255,255,0.16) 186.2px, rgba(255,255,255,0.191) 190.1px, rgba(255,255,255,0.223) 193.9px, rgba(255,255,255,0.256) 197.8px, rgba(255,255,255,0.288) 201.7px, rgba(255,255,255,0.32) 205.6px, rgba(255,255,255,0.351) 209.5px, rgba(255,255,255,0.379) 213.4px, rgba(255,255,255,0.404) 217.3px, rgba(255,255,255,0.426) 221.2px, rgba(255,255,255,0.445) 224.9px, rgba(255,255,255,0) 225.2px),
    radial-gradient(circle at 50% calc(100% - var(--b12)), rgba(255,255,255,0) 205.2px, rgba(255,255,255,0.006) 211px, rgba(255,255,255,0.009) 216.9px, rgba(255,255,255,0.013) 222.7px, rgba(255,255,255,0.019) 228.6px, rgba(255,255,255,0.027) 234.4px, rgba(255,255,255,0.037) 240.2px, rgba(255,255,255,0.051) 246.1px, rgba(255,255,255,0.067) 251.9px, rgba(255,255,255,0.087) 257.7px, rgba(255,255,255,0.111) 263.6px, rgba(255,255,255,0.138) 269.4px, rgba(255,255,255,0.168) 275.3px, rgba(255,255,255,0.201) 281.1px, rgba(255,255,255,0.236) 286.9px, rgba(255,255,255,0.272) 292.8px, rgba(255,255,255,0.308) 298.6px, rgba(255,255,255,0.343) 304.5px, rgba(255,255,255,0.376) 310.3px, rgba(255,255,255,0.407) 316.1px, rgba(255,255,255,0.434) 322px, rgba(255,255,255,0.459) 327.8px, rgba(255,255,255,0.479) 333.5px, rgba(255,255,255,0) 333.8px),
    radial-gradient(circle at 50% calc(100% - var(--b13)), rgba(255,255,255,0) 168.2px, rgba(255,255,255,0.006) 173px, rgba(255,255,255,0.009) 177.8px, rgba(255,255,255,0.013) 182.6px, rgba(255,255,255,0.019) 187.3px, rgba(255,255,255,0.027) 192.1px, rgba(255,255,255,0.037) 196.9px, rgba(255,255,255,0.051) 201.7px, rgba(255,255,255,0.067) 206.5px, rgba(255,255,255,0.087) 211.3px, rgba(255,255,255,0.111) 216.1px, rgba(255,255,255,0.138) 220.9px, rgba(255,255,255,0.168) 225.6px, rgba(255,255,255,0.201) 230.4px, rgba(255,255,255,0.236) 235.2px, rgba(255,255,255,0.272) 240px, rgba(255,255,255,0.308) 244.8px, rgba(255,255,255,0.343) 249.6px, rgba(255,255,255,0.376) 254.4px, rgba(255,255,255,0.407) 259.1px, rgba(255,255,255,0.434) 263.9px, rgba(255,255,255,0.459) 268.7px, rgba(255,255,255,0.479) 273.4px, rgba(255,255,255,0) 273.6px);
  }
  .closing[data-geo="servicos"] .closing__bg::before {
    background-image:
    radial-gradient(circle at 50% calc(100% - var(--b11)), rgba(255,255,255,0) 139.5px, rgba(255,255,255,0.006) 143.4px, rgba(255,255,255,0.009) 147.3px, rgba(255,255,255,0.013) 151.2px, rgba(255,255,255,0.019) 155.1px, rgba(255,255,255,0.027) 159px, rgba(255,255,255,0.037) 162.8px, rgba(255,255,255,0.05) 166.7px, rgba(255,255,255,0.066) 170.6px, rgba(255,255,255,0.085) 174.5px, rgba(255,255,255,0.107) 178.4px, rgba(255,255,255,0.132) 182.3px, rgba(255,255,255,0.16) 186.2px, rgba(255,255,255,0.191) 190.1px, rgba(255,255,255,0.223) 193.9px, rgba(255,255,255,0.256) 197.8px, rgba(255,255,255,0.288) 201.7px, rgba(255,255,255,0.32) 205.6px, rgba(255,255,255,0.351) 209.5px, rgba(255,255,255,0.379) 213.4px, rgba(255,255,255,0.404) 217.3px, rgba(255,255,255,0.426) 221.2px, rgba(255,255,255,0.445) 224.9px, rgba(255,255,255,0) 225.2px),
    radial-gradient(circle at 50% calc(100% - var(--b12)), rgba(255,255,255,0) 205.2px, rgba(255,255,255,0.006) 211px, rgba(255,255,255,0.009) 216.9px, rgba(255,255,255,0.013) 222.7px, rgba(255,255,255,0.019) 228.6px, rgba(255,255,255,0.027) 234.4px, rgba(255,255,255,0.037) 240.2px, rgba(255,255,255,0.051) 246.1px, rgba(255,255,255,0.067) 251.9px, rgba(255,255,255,0.087) 257.7px, rgba(255,255,255,0.111) 263.6px, rgba(255,255,255,0.138) 269.4px, rgba(255,255,255,0.168) 275.3px, rgba(255,255,255,0.201) 281.1px, rgba(255,255,255,0.236) 286.9px, rgba(255,255,255,0.272) 292.8px, rgba(255,255,255,0.308) 298.6px, rgba(255,255,255,0.343) 304.5px, rgba(255,255,255,0.376) 310.3px, rgba(255,255,255,0.407) 316.1px, rgba(255,255,255,0.434) 322px, rgba(255,255,255,0.459) 327.8px, rgba(255,255,255,0.479) 333.5px, rgba(255,255,255,0) 333.8px),
    radial-gradient(circle at 50% calc(100% - var(--b13)), rgba(255,255,255,0) 248.5px, rgba(255,255,255,0.006) 253.2px, rgba(255,255,255,0.009) 258px, rgba(255,255,255,0.014) 262.7px, rgba(255,255,255,0.02) 267.4px, rgba(255,255,255,0.028) 272.1px, rgba(255,255,255,0.038) 276.9px, rgba(255,255,255,0.052) 281.6px, rgba(255,255,255,0.068) 286.3px, rgba(255,255,255,0.089) 291.1px, rgba(255,255,255,0.112) 295.8px, rgba(255,255,255,0.139) 300.5px, rgba(255,255,255,0.169) 305.2px, rgba(255,255,255,0.202) 310px, rgba(255,255,255,0.236) 314.7px, rgba(255,255,255,0.271) 319.4px, rgba(255,255,255,0.307) 324.1px, rgba(255,255,255,0.342) 328.9px, rgba(255,255,255,0.375) 333.6px, rgba(255,255,255,0.405) 338.3px, rgba(255,255,255,0.433) 343px, rgba(255,255,255,0.457) 347.8px, rgba(255,255,255,0.477) 352px, rgba(255,255,255,0) 353px);
  }
  .closing__glow { background-image: radial-gradient(circle at 50% calc(100% - var(--b14)), rgba(255,255,255,0) 27.7px, rgba(255,255,255,0.006) 31.8px, rgba(255,255,255,0.009) 35.9px, rgba(255,255,255,0.013) 40px, rgba(255,255,255,0.019) 44.1px, rgba(255,255,255,0.028) 48.2px, rgba(255,255,255,0.039) 52.3px, rgba(255,255,255,0.053) 56.5px, rgba(255,255,255,0.07) 60.6px, rgba(255,255,255,0.092) 64.7px, rgba(255,255,255,0.117) 68.8px, rgba(255,255,255,0.146) 72.9px, rgba(255,255,255,0.178) 77px, rgba(255,255,255,0.214) 81.1px, rgba(255,255,255,0.251) 85.2px, rgba(255,255,255,0.29) 89.3px, rgba(255,255,255,0.328) 93.4px, rgba(255,255,255,0.365) 97.5px, rgba(255,255,255,0.401) 101.6px, rgba(255,255,255,0.433) 105.7px, rgba(255,255,255,0.462) 109.8px, rgba(255,255,255,0.486) 113.9px, rgba(255,255,255,0.507) 117.9px, rgba(255,255,255,0) 118.1px); }
  .closing__bg::after { background-image: linear-gradient(to top, #000 0, rgba(0,0,0,0) 538px); }
  .closing--home .closing__bg::after { background-image: linear-gradient(to bottom, #fffcfc 0, rgba(255,252,252,0) 200px), linear-gradient(to top, #fffcfc 0, rgba(255,252,252,0) 538px); }
}

.cta { min-height: 742px; padding: 240px var(--pad-x) 96px; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 56px; margin-inline: auto; }
.cta__text { display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* Larguras em em: as quebras de linha do desenho valem em qualquer largura de tela. */
.cta__title { color: var(--c-white); max-width: 10.33em; }
.cta__lead { color: #e0ebff; max-width: 23.34em; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: -0.02em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing--dark .cta__lead { color: var(--c-white); }
@media (max-width: 767px) {
  .cta { min-height: 0; padding: 96px 24px 160px; }
  .cta__inner { gap: 32px; }
  .cta__text { gap: 12px; }
  .cta__title--m-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.02em; }
  .cta__actions { flex-direction: column; align-items: stretch; width: min(100%, 300px); }
  .cta__actions .btn { width: 100%; }
  .cta__actions--auto { align-items: center; width: auto; }
  .cta__actions--auto .btn { width: auto; }
}

/* O cartão tem 1358px no desenho de 1440: sobram 41px de cada lado. */
.site-footer { padding: 64px 41px; }
.site-footer__card {
  max-width: 1358px; margin-inline: auto; padding: 42px;
  background: var(--c-black); color: var(--c-white); border-radius: 12px;
  font-family: var(--font-ui); font-weight: 400;
}
.site-footer__main { display: flex; gap: 80px; padding: 12px 0 96px; }
.site-footer__brand { flex: 0 1 440px; display: flex; flex-direction: column; }
.site-footer__logo { display: inline-flex; align-self: flex-start; }
.site-footer__logo svg { width: 104px; height: auto; }
.site-footer__about { margin-top: 28px; font-size: 18px; line-height: 1.55; color: #d4d4d4; }
.site-footer__social { display: flex; gap: 14px; margin-top: 96px; }
.site-footer__social a { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.site-footer__social a:hover { transform: translateY(-2px); opacity: 0.85; }
.site-footer__social svg { width: 48px; height: 48px; }
.site-footer__links { flex: 1 1 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__col h2 { font-weight: 500; font-size: 18px; line-height: 1.4; color: #8a8a8a; margin-bottom: 44px; }
.site-footer__col--first h2 { font-size: 20px; }
.site-footer__col ul { display: grid; gap: 18px; }
.site-footer__col li { font-size: 17px; line-height: 1.45; }
.site-footer__col a, .site-footer__col span { font-size: inherit; line-height: inherit; color: var(--c-white); }
.site-footer__col a { transition: opacity 0.2s var(--ease); }
.site-footer__col a:hover { opacity: 0.65; }
.site-footer__bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-block: 32px 0; margin-top: 1px;
  font-size: 15px; line-height: 1.4; color: #8a8a8a;
}
.site-footer__bottom a:hover { color: var(--c-white); }
.site-footer__contact, .site-footer__bottom-m { display: none; }

/* Theme=Dark 2: cartão cinza sobre página preta (Produtos, Contato) */
.site-footer--dark2 { background: var(--c-black); }
.site-footer--dark2 .site-footer__card { background: #1d1d1d; }

/* Theme=Light (Home) */
.site-footer--light .site-footer__card { background: #fffcfc; color: #1f1f1f; }
.site-footer--light .site-footer__about { color: #5e5a5a; }
.site-footer--light .site-footer__col h2 { color: #8a8686; }
.site-footer--light .site-footer__col a, .site-footer--light .site-footer__col span { color: #1f1f1f; }
.site-footer--light .site-footer__bottom { color: #8a8686; }
.site-footer--light .site-footer__bottom a:hover { color: #1f1f1f; }

@media (max-width: 1100px) and (min-width: 768px) {
  .site-footer { padding: 48px 32px; }
  .site-footer__main { flex-direction: column; gap: 56px; padding-bottom: 64px; }
  .site-footer__brand { flex: none; }
  .site-footer__social { margin-top: 40px; }
}

/* Footer / Device=Mobile: cartão flutuante, em General Sans */
@media (max-width: 767px) {
  .site-footer { padding: 32px 24px; }
  .site-footer__card { padding: 24px; border-radius: 24px; font-family: var(--font-sans); font-weight: 500; display: flex; flex-direction: column; gap: 32px; }
  .site-footer__main { flex-direction: column; gap: 32px; padding: 0; }
  .site-footer__brand { flex: none; }
  .site-footer__logo svg { width: 64px; }
  .site-footer__about, .site-footer__col--hide-m, .site-footer__bottom-d { display: none; }
  .site-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .site-footer__col h2 { font-size: 14px; line-height: 20px; color: var(--c-dark-fg); margin-bottom: 12px; }
  .site-footer__col--first h2 { font-size: 14px; }
  .site-footer__col ul { gap: 12px; }
  .site-footer__col li { font-size: 14px; line-height: 20px; }
  .site-footer__col a, .site-footer__col span { color: var(--c-dark-muted); }
  .site-footer__contact { display: block; }
  .site-footer__col--only-d { display: none; }
  .site-footer__social { margin-top: 0; order: 2; }
  .site-footer__bottom { order: 3; display: block; margin-top: 0; padding-block: 24px 0; border-top: 1px solid var(--c-dark-line); font-size: 14px; line-height: 20px; color: var(--c-dark-muted); }
  .site-footer__bottom-m { display: block; }
  .site-footer__social.site-footer__bottom-m { display: flex; }
  .site-footer--light .site-footer__col h2 { color: #1f1f1f; }
  .site-footer--light .site-footer__col a, .site-footer--light .site-footer__col span { color: #5e5a5a; }
  .site-footer--light .site-footer__bottom { border-top-color: #ece7e7; color: #8a8686; }
}

/* 8. Blocos compartilhados ------------------------------------------------- */

/* Mídia: imagens exportadas do protótipo e áreas reservadas */
.media { position: relative; overflow: hidden; background: var(--c-fill-2); }
.media picture { width: 100%; height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
  display: grid; place-items: center; background: var(--c-fill-3);
  color: #969696; font-size: 14px; line-height: 20px; text-align: center;
}

/* Hero centralizado (Framework, Quem somos, Carreiras, Produtos) */
.hero { padding: 96px var(--pad-x) 80px; }
.hero__heading { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 920px; margin-inline: auto; text-align: center; }
.hero__heading .t-h1 { color: var(--c-heading); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.hero__media { width: min(100%, var(--content)); margin: 48px auto 0; aspect-ratio: 1272 / 640; }
.hero--dark { background: var(--c-black); padding-bottom: 96px; }
.hero--dark .t-eyebrow, .hero--dark .t-lead { color: var(--c-dark-muted); }
.hero--dark .hero__heading .t-h1 { color: var(--c-dark-fg); }
@media (max-width: 767px) {
  .hero { padding: 40px 24px 64px; }
  .hero__heading { gap: 12px; }
  .hero__actions { flex-direction: column; align-items: center; margin-top: 32px; }
  .hero__media { margin-top: 40px; aspect-ratio: 342 / 260; }
}

/* Hero em duas colunas (Serviços): título à esquerda, apoio e ações à direita */
.hero-split { padding: 96px var(--pad-x) 80px; }
.hero-split__top { display: flex; align-items: flex-end; gap: 64px; width: min(100%, var(--content)); margin-inline: auto; }
.hero-split__title { flex: 3 1 0; display: flex; flex-direction: column; gap: 20px; }
.hero-split__title .t-display { color: var(--c-black); }
.hero-split__side { flex: 2 1 0; display: flex; flex-direction: column; gap: 24px; }
.hero-split__media { width: min(100%, var(--content)); margin: 56px auto 0; aspect-ratio: 1272 / 600; }
@media (max-width: 1023px) {
  .hero-split__top { flex-direction: column; align-items: stretch; gap: 24px; }
}
@media (max-width: 767px) {
  .hero-split { padding: 40px 24px 64px; }
  .hero-split__title { gap: 12px; }
  .hero-split__title .t-display { color: var(--c-heading); }
  .hero-split__side { gap: 20px; }
  .hero-split__side .actions { flex-direction: column; align-items: flex-start; }
  .hero-split__media { margin-top: 40px; aspect-ratio: 342 / 260; }
}

/* Hero de produto: texto à esquerda, tela do produto à direita */
.hero-product { padding: 96px var(--pad-x); }
.hero-product__inner { display: flex; align-items: center; gap: 80px; width: min(100%, var(--content)); margin-inline: auto; }
.hero-product__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero-product__heading { display: flex; flex-direction: column; gap: 20px; }
.hero-product__heading .t-h1 { color: var(--c-heading); }
.hero-product__media { flex: 1 1 0; min-width: 0; aspect-ratio: 596 / 560; }
@media (max-width: 1023px) {
  .hero-product__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero-product__media { flex: none; }
}
@media (max-width: 767px) {
  .hero-product { padding: 40px 24px 64px; }
  .hero-product__text { gap: 24px; }
  .hero-product__heading { gap: 12px; }
  .hero-product__text .actions { flex-direction: column; }
  .hero-product__text .actions .btn { width: 100%; }
}

/* Colunas numeradas (Benefícios, Como começar, Por que usar...) */
.cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--grid-gap); }
.cols__item { display: flex; flex-direction: column; gap: 16px; padding-block: 24px 0; border-top: 1px solid var(--c-line); }
.cols__num { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }
.cols__num--accent { color: var(--c-accent); }
.cols__title { font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; color: var(--c-heading); }
.cols__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }
.cols--rows { row-gap: 0; }
.cols--rows .cols__item { padding-bottom: 24px; }
@media (max-width: 1023px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 767px) {
  .cols { grid-template-columns: 1fr; row-gap: 32px; }
  .cols__item { gap: 12px; padding-block: 20px 0; }
}

/* Seção em 1/3 + 2/3 (O que fazemos, Dúvidas frequentes, Áreas) */
.split { display: flex; gap: 80px; align-items: flex-start; }
.split__side { flex: 1 1 0; min-width: 0; }
.split__main { flex: 2 1 0; min-width: 0; }
@media (max-width: 1023px) { .split { flex-direction: column; gap: var(--section-gap); } .split__side, .split__main { flex: none; width: 100%; } }
@media (max-width: 767px) { .split { gap: 32px; } }

/* Dúvidas frequentes */
.faq__item { border-top: 1px solid var(--c-line); }
.faq__item:last-child { border-bottom: 1px solid var(--c-line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 20px 0; text-align: left; cursor: pointer;
  font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; color: var(--c-muted);
  transition: color 0.2s var(--ease);
}
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--c-heading); }
.faq__sign { flex: none; text-align: right; color: var(--c-muted); }
.faq__sign::before { content: "+"; }
.faq__item.is-open .faq__sign::before { content: "–"; }
/* Fechado: fora da leitura de tela e da busca na página (visibility), com a altura animada. */
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.3s var(--ease), visibility 0s 0.3s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0 20px; margin-top: -8px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }

/* Linhas de funcionalidade: texto e imagem alternados */
.feature-rows { display: flex; flex-direction: column; gap: 96px; }
.feature-row { display: flex; align-items: center; gap: 80px; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-row__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature-row__text .t-h2 { color: var(--c-heading); }
.feature-row__media { flex: 1 1 0; min-width: 0; aspect-ratio: 596 / 440; }
@media (max-width: 1023px) {
  .feature-rows { gap: 64px; }
  .feature-row, .feature-row:nth-child(even) { flex-direction: column; align-items: stretch; gap: 32px; }
  .feature-row__media { flex: none; }
}
@media (max-width: 767px) {
  .feature-rows { gap: 64px; }
  .feature-row, .feature-row:nth-child(even) { gap: 24px; }
  .feature-row__text { gap: 12px; }
  .feature-row__num { font-size: 16px; line-height: 24px; letter-spacing: 0; }
}

/* Card do sistema (Card / Style: Default, Outlined, White) */
.card-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.card { display: flex; flex-direction: column; gap: 24px; padding: 16px 16px 24px; background: var(--c-fill); color: var(--c-fg); }
.card--outlined { background: var(--c-white); border: 1px solid var(--c-border); }
.card--white { background: var(--c-white); }
.card__media { aspect-ratio: 592 / 320; overflow: hidden; background: var(--c-line-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding-inline: 8px; }
.card__tag { font-size: 14px; line-height: 20px; color: var(--c-muted-zinc); }
.card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: -0.02em; }
.card__text { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); letter-spacing: -0.01em; color: var(--c-muted-zinc); }
.card__actions { padding-inline: 8px; }
.card__link { display: inline-flex; align-items: center; gap: 8px; height: 40px; font-size: 16px; line-height: 19px; letter-spacing: -0.02em; }
.card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }
.card { position: relative; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.on-dark .card, .card--dark { background: var(--c-dark-surface); color: var(--c-dark-fg); }
.on-dark .card__tag, .on-dark .card__text { color: var(--c-dark-muted); }
.on-dark .card__media { background: var(--c-dark-line); }
@media (max-width: 1023px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .card-grid { grid-template-columns: 1fr; }
  .card { gap: 16px; padding-bottom: 20px; }
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 10px 20px 10px 12px;
  background: var(--c-white); border: 1px solid var(--c-line-2); border-radius: 999px;
  font-size: 16px; line-height: 19px; letter-spacing: -0.02em; color: var(--c-fg); white-space: nowrap;
}
.chip img { width: 28px; height: 28px; object-fit: contain; }
.chip--plain { height: 40px; padding: 10px 16px; }

/* Indicadores com ícone (Serviços) */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 24px; border-left: 1px solid var(--c-line); }
.stat__icon { width: 28px; height: 28px; margin-bottom: 8px; color: var(--c-accent); }
.stat__num { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -0.03em; color: var(--c-black); }
.stat__label { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-black); }
.stat__note { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted); }
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 767px) { .stat { padding-left: 16px; } .stats { row-gap: 32px; } }

/* Lista com miniatura (Serviços) e lista com ícone (Carreiras) */
.rows__item { display: flex; align-items: center; gap: 32px; padding-block: 32px; border-top: 1px solid var(--c-line); scroll-margin-top: 24px; }
.rows__item:last-child { border-bottom: 1px solid var(--c-line); }
.rows__thumb { flex: none; width: 176px; aspect-ratio: 176 / 132; }
.rows__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rows__num { font-size: 16px; line-height: 19px; letter-spacing: -0.02em; color: var(--c-accent); }
.rows__title { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: -0.02em; color: var(--c-black); }
.rows__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }
@media (max-width: 767px) {
  .rows__item { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px; }
  .rows__thumb { width: 120px; }
}

/* Etapas com painel (Seis fases, Processo seletivo) */
.steps { display: flex; flex-direction: column; }
.step { border-left: 2px solid var(--c-line); transition: border-color 0.25s var(--ease); }
.step.is-active { border-left-color: var(--c-accent); }
.step__btn { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 20px 24px; text-align: left; font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; color: var(--c-muted); cursor: pointer; transition: color 0.2s var(--ease); }
.step__btn:hover { color: var(--c-black); }
.step__num { color: var(--c-soft); transition: color 0.2s var(--ease); }
.step.is-active .step__btn { color: var(--c-black); padding-bottom: 8px; }
.step.is-active .step__num { color: var(--c-accent); }
.step__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.3s var(--ease), visibility 0s 0.3s; }
.step.is-active .step__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.step__panel > div { overflow: hidden; }
.step__panel p { padding: 0 24px 20px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }

@media (max-width: 767px) {
  .step__btn { padding: 16px 0 16px 16px; }
  .step.is-active .step__btn { padding-bottom: 8px; }
  .step__panel p { padding: 0 0 16px 16px; }
  .stat__icon { width: 24px; height: 24px; margin-bottom: 12px; }
}

@media (max-width: 767px) {
  .faq__q { padding: 16px 0; }
  .faq__a p { padding: 0 0 16px; margin-top: -4px; }
}

/* 9. Páginas --------------------------------------------------------------- */

/* Serviços */
.page-servicos main { display: flex; flex-direction: column; }
.svc-deliver__head { display: flex; align-items: flex-end; gap: 64px; }
.svc-deliver__head .heading { flex: 1 1 0; max-width: none; }
.svc-deliver__text { flex: none; width: 422px; }
.svc-showcase { display: flex; gap: 64px; align-items: stretch; }
.svc-showcase__steps { flex: 572 1 0; min-width: 0; }
.svc-showcase__media { flex: 636 1 0; min-width: 0; aspect-ratio: 636 / 672; align-self: flex-start; }

/* No protótipo o botão secundário do hero tem largura fixa, maior que o texto: 281px (214px no mobile). */
.page-servicos .hero-split__side .btn--secondary { min-width: 281px; }

.certs {
  --b: clamp(73.31px, calc(73.31px + 143.15 * (100vw - 390px) / 1050), 216.46px);
  --g: clamp(11.85px, calc(11.85px + 23.15 * (100vw - 390px) / 1050), 35px);
  --pitch: clamp(83px, calc(83px + 158 * (100vw - 390px) / 1050), 241px);
  position: relative; overflow: hidden;
  height: clamp(322px, calc(322px + 374 * (100vw - 390px) / 1050), 696px);
}
.certs__inner { position: relative; height: 100%; }
.certs__heading { position: relative; z-index: 1; padding-top: var(--section-y); max-width: 420px; }
.certs__cloud { position: absolute; left: clamp(30px, calc(30px + 79 * (100vw - 390px) / 1050), 109px); top: clamp(48px, calc(48px + 27 * (100vw - 390px) / 1050), 75px); }
.certs__row { display: flex; gap: var(--g); height: var(--pitch); width: max-content; }
.certs__row img { flex: none; width: var(--b); height: auto; align-self: flex-start; }
.certs__row--1 { margin-left: clamp(250px, calc(250px + 265 * (100vw - 390px) / 1050), 515px); }
.certs__row--2 { margin-left: clamp(143px, calc(143px + 155 * (100vw - 390px) / 1050), 298px); }

.svc-clouds .heading { max-width: 720px; }
.svc-numbers .stat__icon { margin-bottom: 16px; }

@media (max-width: 1023px) {
  .svc-deliver__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc-deliver__text { width: auto; max-width: 560px; }
  .svc-showcase { flex-direction: column; gap: 32px; }
  .svc-showcase__steps, .svc-showcase__media { flex: none; width: 100%; }
  .svc-showcase__media { max-width: 636px; }
}
@media (max-width: 767px) {
  .page-servicos .hero-split__side .btn--secondary { min-width: 214px; }
  /* No protótipo mobile os números sobem para logo depois do hero. */
  .page-servicos .hero-split { order: 0; }
  .page-servicos .svc-numbers { order: 1; padding-bottom: 64px; }
  .page-servicos .svc-services { order: 2; }
  .page-servicos .svc-deliver { order: 3; }
  .page-servicos .certs { order: 4; }
  .page-servicos .svc-clouds { order: 5; padding-block: 48px; overflow: hidden; }
  /* Chips em fileiras desencontradas que sangram a tela, como no protótipo mobile. */
  .svc-clouds .chips { position: relative; display: block; height: 249px; }
  .svc-clouds .chip { position: absolute; left: calc(50% - 171px + var(--mx)); top: var(--my); height: 42px; padding: 8px 14px 8px 10px; gap: 8px; }
  .svc-clouds .chip img { width: 24px; height: 24px; }
  .svc-services .split { gap: 32px; }
  .svc-deliver .stack--section { gap: 48px; }
  .page-servicos .svc-services, .page-servicos .svc-deliver { padding-block: 80px; }
  .svc-deliver__head { gap: 12px; }
  .svc-showcase { gap: 24px; }
  .svc-showcase__media { aspect-ratio: 342 / 378; max-width: none; }
  .stats { column-gap: 16px; row-gap: 24px; }
  .stat { order: var(--m-order, 0); }
  .certs__heading { padding-top: 64px; max-width: 240px; }
  /* No protótipo mobile a nuvem de selos muda de ordem: a fileira do meio perde o primeiro selo e a de baixo começa pelo último. */
  .certs__row--2 img:first-child { display: none; }
  .certs__row--3 img:last-child { order: -1; }
  .svc-numbers .stat__icon { margin-bottom: 12px; }
}

/* Páginas de produto (template único: taak.hub, lumen, Platform App, Planner, Academy, TAAK Memo) */
.page-produto .heading > .t-h2 { color: var(--c-heading); }
.page-produto .feature-rows { list-style: none; counter-reset: none; }
.page-produto .card__title { color: var(--c-fg); }
.page-produto .hero-product__media { background: #f3f3f3; }
@media (max-width: 767px) {
  .page-produto .hero-product__text .actions { align-items: flex-start; }
  .page-produto .hero-product__text .actions .btn { width: var(--m-w, auto); }
  .page-produto .stack--section-sm { gap: 40px; }
  /* O Figma não soma o espaçamento entre letras depois da última letra da linha; o navegador soma. Sem esta folga,
     linhas que encostam na borda ("Componentes que faltam") cabem aqui e quebram no protótipo. */
  .page-produto .feature-row__text .t-h2 { padding-right: 0.02em; }
  .page-produto .cols__text { padding-right: 0.5px; }
}

/* Frames montados com os componentes "Feature Item" e "Accordion Item" (Platform App, Planner, Academy, TAAK Memo) */
.page-produto--v2 .cols__item, .page-produto--v2 .faq__item { border-color: var(--c-line-2); }
.page-produto--v2 .cols__num, .page-produto--v2 .cols__text, .page-produto--v2 .faq__a p, .page-produto--v2 .faq__sign { color: var(--c-muted-zinc); }
.page-produto--v2 .cols__title, .page-produto--v2 .faq__q { color: var(--c-fg); }
.page-produto--v2 .faq__q { padding: 24px 0; }
.page-produto--v2 .faq__a p { padding-bottom: 24px; margin-top: -8px; }
@media (max-width: 767px) {
  .page-produto--v2 .faq__q { padding: 20px 0; }
  .page-produto--v2 .faq__a p { padding-bottom: 20px; margin-top: -8px; }
}
/* A proporção da imagem de cada card vem do próprio quadro (varia 1–2px entre páginas). */
.page-produto .card__media { aspect-ratio: var(--ar, 374 / 203.24); }
@media (max-width: 767px) { .page-produto .card__media { aspect-ratio: var(--ar-m, var(--ar, 308 / 168)); } }
.page-produto .hero-product__text .actions .btn { max-width: 100%; }

/* Produtos (índice, tema escuro) */
.page--dark { background: var(--c-black); }
.prod-assets { background: var(--c-black); padding: 24px 0 var(--section-y); }
.prod-assets .card__media { aspect-ratio: 592 / 320; }
.prod-why { background: var(--c-white); color: var(--c-fg); }
.prod-why .t-eyebrow, .prod-why .cols__text { color: var(--c-muted-zinc); }
.prod-why .heading > .t-h2, .prod-why .cols__title { color: var(--c-fg); }
.prod-why .cols__item { border-color: var(--c-line-2); }
@media (max-width: 1023px) { .prod-assets .card-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .prod-assets { padding: 0 0 82px; }
  .prod-assets .card { order: var(--m-order, 0); }
  .prod-assets .card__media { aspect-ratio: 310 / 168; }
  .prod-why .cols { row-gap: 60px; }
  .prod-assets .card--placeholder .card__media { aspect-ratio: 310 / 180; }
  /* No mobile o título do hero desta página usa o estilo H2. */
  .page-produtos .hero .t-h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.02em; }
}

/* Contato (tema escuro) */
.ct { position: relative; overflow: hidden; background: var(--c-black); color: var(--c-dark-fg); min-height: 1230px; padding: 120px 0 206px; }
.ct__scene { position: absolute; top: 0; left: 50%; width: 1440px; height: 1230px; margin-left: -720px; pointer-events: none; }
.ct__map { position: absolute; inset: 0; width: 1440px; height: 1230px; max-width: none; }
.ct__glow { position: absolute; left: 560px; top: -120px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(5, 107, 255, 0.32), rgba(5, 107, 255, 0)); }
.ct__dots { position: absolute; left: 0; top: 0; width: 1440px; height: 960px; max-width: none; }
.ct__rings { position: absolute; left: 489px; top: -191px; max-width: none; }
.ct__fade-top { position: absolute; left: 0; right: 0; top: 0; height: 300px; background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 100%); }
.ct__point { position: absolute; left: 1004px; top: 324px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ct__pin { position: absolute; left: 966px; top: 281px; display: flex; flex-direction: column; align-items: center; }
.ct__pin-label { display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 6px 12px 6px 10px; background: #fff; color: #000; border-radius: 6px; font-size: 16px; line-height: 19px; letter-spacing: -0.02em; }
.ct__pin-label svg { width: 18px; height: 18px; }
.ct__pin::after { content: ""; width: 12px; height: 8px; background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%); }
/* Crédito exigido pela licença do OpenStreetMap (no protótipo aparece só no mobile). */
.ct__osm { position: absolute; right: 84px; top: 1036px; font-family: var(--font-ui); font-size: 11px; line-height: 20px; color: #52525b; }
/* Em telas mais largas que o desenho, a borda direita do mapa some no preto. */
@media (min-width: 1441px) { .ct__scene::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 200px; background: linear-gradient(to right, rgba(0, 0, 0, 0), #000); } }

.ct__grid { position: relative; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 560px); justify-content: space-between; align-items: start; column-gap: 48px; }
.ct__text { display: flex; flex-direction: column; }
.ct__heading { display: flex; flex-direction: column; gap: 20px; }
.ct__heading .t-eyebrow, .ct__heading .t-lead { color: var(--c-dark-muted); }
.ct__heading .t-h1 { color: var(--c-dark-fg); }
.ct__channels { display: flex; flex-direction: column; gap: 16px; margin-top: 56px; }
.ct-channel { display: flex; flex-direction: column; gap: 4px; }
.ct-channel__label { font-size: 14px; line-height: 20px; color: var(--c-muted-zinc); }
.ct-channel__value { font-size: 18px; line-height: 27px; color: var(--c-dark-fg); transition: opacity 0.2s var(--ease); }
.ct-channel:hover .ct-channel__value { opacity: 0.7; }
.ct-channel__arrow, .ct-only-m { display: none; }
.ct__time { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--c-muted-zinc); }
.ct__time svg { width: 14px; height: 14px; }
.ct__map-card { display: none; }

.ct-form { margin-top: 310px; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: rgba(0, 0, 0, 0.82); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.ct-form__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ct-form__head .t-h5 { color: var(--c-dark-fg); }
.ct-form__head .t-caption { color: var(--c-dark-muted); }
.ct-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 14px; line-height: 20px; color: var(--c-dark-fg); }
.field__label span { color: var(--c-dark-muted); }
.field__input { width: 100%; height: 52px; padding: 0 16px; background: #18181b; border: 0; border-radius: 12px; color: var(--c-dark-fg); font-size: 16px; line-height: 24px; outline: none; box-shadow: inset 0 0 0 1px rgba(40, 40, 44, 0); transition: box-shadow 0.15s var(--ease); }
.field__input::placeholder { color: var(--c-dark-muted); opacity: 1; }
.field__input:hover { box-shadow: inset 0 0 0 1px #3f3f46; }
.field__input:focus-visible { box-shadow: inset 0 0 0 2px #0485f7; }
.field.has-error .field__input { box-shadow: inset 0 0 0 2px #f0506e; }
.field__area { position: relative; }
textarea.field__input { display: block; height: 140px; padding: 14px 16px 36px; resize: none; }
.field__count { position: absolute; right: 16px; bottom: 12px; font-size: 14px; line-height: 20px; color: var(--c-dark-muted); pointer-events: none; }
.field__error { font-size: 14px; line-height: 20px; color: #ff8097; }
.field__error:empty { display: none; }
.ct-consent { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--c-dark-muted); cursor: pointer; }
.ct-consent input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; background: #18181b; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(40, 40, 44, 0); cursor: pointer; display: grid; place-items: center; }
.ct-consent input:hover { box-shadow: inset 0 0 0 1px #3f3f46; }
.ct-consent input:checked { background: var(--c-dark-fg); }
.ct-consent input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #060607; border-bottom: 2px solid #060607; transform: translateY(-1px) rotate(-45deg); }
.ct-consent input:focus-visible { outline: 2px solid #0485f7; outline-offset: 2px; }
.ct-consent a { color: var(--c-dark-fg); text-decoration: underline; text-underline-offset: 2px; }
.ct-form__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ct-form__status { color: var(--c-dark-muted); }
.ct-form__status:empty { display: none; }

@media (max-width: 1023px) {
  .ct { min-height: 0; padding: 40px 0 48px; }
  .ct__scene { display: none; }
  .ct__grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; max-width: 640px; }
  .ct__heading { gap: 12px; }
  .ct__channels { gap: 0; margin-top: 24px; border-bottom: 1px solid var(--c-dark-line); }
  .ct-channel { gap: 8px; padding: 20px 0; border-top: 1px solid var(--c-dark-line); }
  .ct-channel__value { order: 1; font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; }
  .ct-channel__label { order: 2; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-dark-muted); }
  .ct-channel__arrow { order: 3; display: block; font-size: var(--fs-h5); line-height: var(--lh-h5); color: var(--c-dark-muted); }
  .ct-only-d { display: none; }
  .ct-only-m { display: inline; }
  .ct__time { display: none; }
  .ct__map-card { display: block; aspect-ratio: 342 / 320; background: #000; }
  .ct-form { margin-top: 0; padding: 24px 20px; }
  .ct-form__row { grid-template-columns: 1fr; gap: 20px; }
  .field__input { font-size: 16px; }
}

/* 404 */
.nf { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 160px var(--pad-x) 120px; text-align: center; }
.nf__code { font-family: var(--font-ui); font-weight: 500; font-size: 160px; line-height: 1; letter-spacing: -0.02em; color: var(--c-heading); }
.nf__title { color: var(--c-heading); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 767px) {
  .nf { gap: 24px; padding: 64px 24px 48px; }
  .nf__code { font-size: 96px; }
  .nf__actions { flex-direction: column; align-items: center; }
}

/* Política de Privacidade. Não há frame no protótipo (a nota do arquivo diz que a página "fica como está"):
   o texto é o atual e a página usa os estilos do sistema. */
.legal-head { padding: 96px 0 0; }
.legal-head .container { display: flex; flex-direction: column; gap: 20px; }
.legal-head .t-h1 { color: var(--c-heading); }
.legal-head__meta { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted); }
.legal-head__lead { max-width: 920px; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); letter-spacing: -0.01em; color: var(--c-body); }
.legal-head__lead strong { color: var(--c-heading); font-weight: 500; }
.legal-head a, .legal-text a { color: var(--c-fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-line-2); transition: text-decoration-color 0.2s var(--ease); }
.legal-head a:hover, .legal-text a:hover { text-decoration-color: currentColor; }
.legal-toc { position: sticky; top: 32px; }
.legal-toc__title { font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: -0.02em; color: var(--c-muted); margin-bottom: 16px; }
.legal-toc ol { border-top: 1px solid var(--c-line); }
.legal-toc a { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted); transition: color 0.2s var(--ease); }
.legal-toc a:hover { color: var(--c-heading); }
.legal-toc a span { flex: none; width: 24px; color: var(--c-soft); }
.legal-sec { padding: 32px 0; border-top: 1px solid var(--c-line); scroll-margin-top: 24px; }
.legal-sec:first-child { padding-top: 24px; }
.legal-sec__num { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }
.legal-sec .t-h4 { margin-top: 12px; color: var(--c-heading); }
.legal-sec p:not(.legal-sec__num), .legal-sec ul { margin-top: 16px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }
.legal-sec ul { display: grid; gap: 12px; padding-left: 20px; list-style: disc; }
.legal-sec li::marker { color: var(--c-soft); }
.legal-sec strong { color: var(--c-heading); font-weight: 500; }
.legal-note { padding: 24px; margin-top: 8px; background: var(--c-fill-2); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted); }
@media (max-width: 1023px) { .legal-toc { position: static; } }
@media (max-width: 767px) {
  .legal-head { padding-top: 40px; }
  .legal-head .container { gap: 12px; }
  .legal-sec { padding: 24px 0; }
}

/* Framework de IA ---------------------------------------------------------
   A página ainda é um wireframe no protótipo: textos "Texto base" e áreas de imagem reservadas.
   O quadro desktop usa os tokens do tema (foreground, muted, separator-secondary) nas colunas e no
   acordeão; o quadro mobile usa a paleta direta, como as outras páginas. As variáveis abaixo trocam
   de valor no ponto de quebra mobile para seguir cada quadro. */
.page-framework {
  --fw-fg: var(--c-fg);             /* títulos de item: #18181b | mobile #202020 */
  --fw-muted: var(--c-muted-zinc);  /* números e sinais: #71717a | mobile #707070 */
  --fw-text: var(--c-muted-zinc);   /* textos de item: #71717a | mobile #5f5f5f */
  --fw-line: var(--c-line-2);       /* fios: #d7d7d7 | mobile #e0e0e0 */
  --fw-question: var(--c-fg);       /* pergunta fechada: #18181b | mobile #707070 */
}

/* O texto de apoio dos cabeçalhos ocupa os 720px do bloco. */
.page-framework .heading__text { max-width: none; }

/* A tipografia é fluida entre 390 e 1440: larguras em "em" mantêm as quebras de linha do quadro desktop
   (hero 920px, título da chamada 661px, apoio da chamada 560px) também nas larguras intermediárias. */
.page-framework .hero__heading .t-h1 { max-width: 14.375em; }
.page-framework .hero__heading .t-lead { max-width: 38.3334em; }
.page-framework .cta__title { max-width: 10.3282em; }
.page-framework .cta__lead { max-width: 23.3334em; }

/* Colunas (Por que, Agentes, Roteiro, Segurança) */
.page-framework .cols__item { border-top-color: var(--fw-line); }
.page-framework .cols__num { color: var(--fw-muted); }
.page-framework .cols__title { color: var(--fw-fg); }
.page-framework .cols__text { color: var(--fw-text); }

/* As 5 camadas: eixo Decisão → Dado à esquerda e uma faixa por camada */
.fw-stack { display: grid; grid-template-columns: minmax(60px, auto) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 12px 32px; }
.fw-stack::before { content: ""; grid-area: 2 / 1; justify-self: center; width: 1px; background: var(--c-line); }
.fw-stack__end { grid-column: 1; justify-self: center; }
.fw-stack__end--top { grid-row: 1; }
.fw-stack__end--bottom { grid-row: 3; }
.fw-only-m { display: none; }
.fw-layers { grid-area: 1 / 2 / 4 / 3; display: flex; flex-direction: column; gap: 8px; }
.fw-layer {
  display: grid; grid-template-columns: minmax(280px, 380fr) minmax(0, 556fr) auto; align-items: center; column-gap: 32px;
  padding: 28px 32px; background: var(--c-fill-2);
}
.fw-layer__name { display: flex; align-items: center; gap: 24px; min-width: 0; }
.fw-layer__num { flex: none; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--fw-accent, var(--c-muted)); }
.fw-layer__title { font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: -0.02em; color: var(--c-heading); }
.fw-layer__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }
/* "Saiba mais  →" é um texto só no protótipo, com dois espaços antes da seta. A seta não existe na General Sans
   e vem da fonte de reserva; a largura mínima (116px em 18px) mantém a coluna de texto com os 556px do protótipo. */
.fw-layer__link { min-width: 6.4444em; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-heading); white-space: pre; }
.fw-layer__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Memória versionada: cards com a área de imagem reservada, todos com a altura do maior da linha */
.page-framework .card-grid { align-items: stretch; }
.page-framework .card__media { aspect-ratio: 374 / 220; }
.page-framework .card__text { color: var(--c-muted-zinc); }

/* Grafo de conhecimento */
.fw-figure { aspect-ratio: 1272 / 560; }

/* Ganhos em cada fase */
.fw-gains__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--c-line); }
.fw-gains__row:last-child { border-bottom: 1px solid var(--c-line); }
.fw-gains__phase { font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; color: var(--c-heading); }
.fw-gains__value { flex: none; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }

/* Case */
.fw-case__inner { display: flex; align-items: flex-start; gap: 80px; }
.fw-case__heading { flex: 3 1 0; min-width: 0; max-width: none; }
.fw-case__text, .fw-case__label { color: #c5c5c5; }
.fw-case__stats { flex: 2 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.fw-case__stat { display: flex; flex-direction: column; gap: 8px; }
.fw-case__num { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -0.03em; color: #fbfbfb; }
.fw-case__label { font-size: var(--fs-body); line-height: var(--lh-body); }

/* Dúvidas frequentes: no desktop as perguntas fechadas ficam na cor do texto e o último item não tem fio inferior. */
.page-framework .faq__item { border-top-color: var(--fw-line); }
.page-framework .faq__item:last-child { border-bottom: 0; }
.page-framework .faq__q { color: var(--fw-question); }
.page-framework .faq__q:hover, .page-framework .faq__item.is-open .faq__q { color: var(--fw-fg); }
.page-framework .faq__sign { color: var(--fw-muted); text-align: right; }
.page-framework .faq__a p { color: var(--fw-text); }

@media (max-width: 1023px) {
  /* Eixo e camadas empilhados, como no quadro mobile. */
  .fw-stack { display: flex; flex-direction: column; gap: 12px; }
  .fw-stack::before { content: none; }
  .fw-stack__end { align-self: flex-start; }
  .fw-only-d { display: none; }
  .fw-only-m { display: inline; }
  .fw-layer { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .fw-case__inner { gap: 48px; }
}

@media (max-width: 767px) {
  .page-framework {
    --fw-fg: var(--c-heading); --fw-muted: var(--c-muted); --fw-text: var(--c-body);
    --fw-line: var(--c-line); --fw-question: var(--c-muted);
  }
  .page-framework .hero__actions { margin-top: 40px; }
  .page-framework .hero__media { aspect-ratio: 342 / 240; }
  .fw-layer { padding: 20px; }
  .fw-layer__name { gap: 16px; }
  .fw-layer__num { color: var(--c-muted); }
  .fw-layer__title--m-h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .page-framework .card__media { aspect-ratio: 308 / 180; }
  .fw-figure { aspect-ratio: 342 / 240; }
  .fw-gains__row { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 20px; }
  .fw-case__inner { flex-direction: column; gap: 32px; }
  .fw-case__heading, .fw-case__stats { flex: none; width: 100%; }
  .fw-case__stats { gap: 24px; }
  .page-framework .faq__item:last-child { border-bottom: 1px solid var(--fw-line); }
}

/* Quem somos */

/* Sobre: rótulo (300) + conteúdo (892), a mesma divisão dos "Setores atendidos" */
.qs-about__statement { display: flex; align-items: flex-start; gap: 80px; }
.qs-about__statement .t-eyebrow { flex: 300 1 0; min-width: 0; }
.qs-about__statement .t-h1 { flex: 892 1 0; min-width: 0; color: var(--c-heading); }
.qs-facts { display: flex; gap: 32px; }
.qs-fact { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.qs-fact dt { font-size: 14px; line-height: 20px; color: var(--c-muted); }
.qs-fact dd { font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; color: var(--c-heading); }

/* A TAAK em números */
.qs-numbers .t-eyebrow { color: var(--c-dark-muted); }
.qs-numbers__list { margin-top: 40px; }
.qs-number { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 28px; border-top: 1px solid var(--c-dark-surface); }
.qs-number__unit { color: #969696; }
.qs-number__note { font-size: var(--fs-body); line-height: var(--lh-body); text-align: right; color: var(--c-dark-muted); }

/* Diferenciais */
.qs-diff__inner { display: flex; flex-direction: column; gap: clamp(40px, calc(40px + 8 * (100vw - 390px) / 1050), 48px); }
.qs-tiles { display: flex; gap: var(--grid-gap); }
.qs-tile {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 0; min-width: 0; min-height: 400px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: var(--tile, var(--c-ink)); color: var(--c-white);
}
.qs-tile__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.qs-tile__text { display: flex; flex-direction: column; gap: 12px; }
.qs-tile__text .t-body { color: inherit; }
.qs-sectors { display: flex; align-items: center; gap: 80px; }
.qs-sectors__label { flex: 300 1 0; min-width: 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }
.qs-sectors .chips { flex: 892 1 0; min-width: 0; gap: 8px; }
.qs-sectors .chip { height: 41px; padding: 10px 18px; border-color: var(--c-line); color: var(--c-heading); }

/* Trilhos (história e liderança): alinham com o conteúdo e sangram até a borda da tela */
.qs-rail {
  --gutter: max(var(--pad-x), calc((100% - var(--content)) / 2));
  position: relative; display: flex; gap: 24px; margin-top: var(--section-gap);
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.qs-rail::-webkit-scrollbar { display: none; }
.qs-rail > li { flex: none; scroll-snap-align: start; }

/* Nossa história */
.qs-history__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.qs-history__head .heading { flex: 1 1 auto; }
.qs-arrows { flex: none; display: none; gap: 8px; }
.js .qs-arrows { display: flex; }
.qs-arrow {
  display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--c-white); border: 1px solid var(--c-border); color: var(--c-fg);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.qs-arrow svg { width: 20px; height: 20px; }
.qs-arrow:hover { background: var(--c-fill-2); }
.qs-arrow:disabled { background: var(--c-white); color: var(--c-dark-muted); cursor: default; }
.qs-timeline::before {
  content: ""; position: absolute; left: var(--gutter); top: 16px;
  width: calc(var(--n) * 320px - 24px); height: 1px;
  background: linear-gradient(90deg, #d4d4d8 75%, rgba(212, 212, 216, 0));
}
.qs-moment { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 296px; }
.qs-moment__date {
  position: relative; padding: 6px 12px; border-radius: 999px;
  background: var(--pill, var(--c-black)); color: var(--c-white); font-size: 14px; line-height: 20px;
}
.qs-moment__card { align-self: stretch; flex: 1 0 auto; min-height: 418px; overflow: hidden; isolation: isolate; }
.qs-moment__art { position: relative; height: 200px; }
.qs-moment__art svg { width: 40px; height: 40px; }
/* Ilustração do card: as duas elipses visíveis do protótipo, com a sombra interna branca (49%). */
.qs-moment__glow { position: absolute; left: -16px; top: -16px; z-index: -1; width: 296px; height: 273.78px; overflow: hidden; }
.qs-moment__glow::before, .qs-moment__glow::after { content: ""; position: absolute; border-radius: 50%; background: var(--c-fill); }
.qs-moment__glow::before { left: -234px; top: -86px; width: 722.1px; height: 722.1px; box-shadow: inset 0 0 77.81px 42.2px rgba(255, 255, 255, 0.49); }
.qs-moment__glow::after { left: -85px; top: 73px; width: 405.52px; height: 405.52px; box-shadow: inset 0 0 46.45px 25.19px rgba(255, 255, 255, 0.49); }

/* Liderança */
.qs-lead__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-bottom: 24px; }
.qs-lead__head .t-eyebrow { flex: none; margin-top: 14px; }
.qs-lead__statement { flex: 0 1 908px; font-size: 40px; line-height: 1; text-align: right; color: var(--c-heading); }
.qs-lead__muted { color: #86868b; }
.qs-people { padding-block: 8px; margin-block: calc(var(--section-gap) - 8px) -8px; }
.qs-person { width: 360px; }
.qs-person__link { display: flex; flex-direction: column; }
.qs-person__photo { aspect-ratio: 360 / 465; }
.qs-person__photo img { transition: transform 0.6s var(--ease); }
.qs-person__link:hover .qs-person__photo img { transform: scale(1.03); }
.qs-person__name { margin-top: 22px; font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: -0.02em; color: var(--c-heading); }
.qs-person__role { margin-top: 6px; font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted); }

/* Presença no mercado */
.qs-stage { display: grid; grid-template-columns: minmax(0, 700fr) minmax(0, 524fr); gap: 48px; }
.qs-stage__events { display: flex; flex-direction: column; gap: 32px; }
.qs-events__intro { display: flex; flex-direction: column; gap: 10px; }
.qs-events__intro .t-caption { color: var(--c-muted); }
.qs-events { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 626px; border-top: 1px solid #e4e4e7; }
.qs-event {
  flex: 1 1 0; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: space-between; gap: 8px 16px;
  padding-block: 32px; border-bottom: 1px solid #e4e4e7;
}
.qs-event__name { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.02em; color: #86868b; transition: color 0.25s var(--ease); }
.qs-event__note {
  padding: 6px 0; border-radius: 999px; font-size: 14px; line-height: 20px; color: var(--c-muted); white-space: nowrap;
  transition: padding 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.qs-event.is-active .qs-event__name { color: var(--c-black); }
.qs-event.is-active .qs-event__note { padding-inline: 12px; background: #d71969; color: var(--c-white); }
.qs-channels { display: flex; flex-direction: column; gap: 24px; }
.qs-linkedin {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 391 1 auto; min-height: 391px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: var(--c-ink); color: var(--c-dark-fg);
}
.qs-linkedin__bg { position: absolute; inset: 0; z-index: -1; }
.qs-linkedin__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qs-linkedin__badge { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: #e4e4e7; }
.qs-linkedin__logo {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  background: var(--c-white); color: #0a66c2; font-size: 16px; line-height: 19px; letter-spacing: -0.02em;
}
.qs-linkedin__content { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.qs-linkedin__title { display: flex; flex-direction: column; gap: 12px; }
.qs-linkedin__text { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: #e4e4e7; }
.qs-linkedin__cta { margin-top: 24px; }
.qs-linkedin__cta::after { content: ""; position: absolute; inset: 0; }
.qs-channels__row { flex: 327 1 auto; display: flex; gap: 24px; }
.qs-channel {
  flex: 1 1 0; min-width: 0; min-height: 327px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: var(--c-fill); color: var(--c-heading);
}
.qs-channel__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; line-height: 20px; color: var(--c-muted); }
.qs-channel__top svg { flex: none; width: 24px; height: 24px; color: var(--c-heading); transition: transform 0.25s var(--ease); }
.qs-channel:hover .qs-channel__top svg { transform: translate(2px, -2px); }
.qs-channel__text { display: flex; flex-direction: column; gap: 16px; }
.qs-channel__desc { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-body); }
.qs-channel--dark { background: var(--c-black); color: var(--c-white); }
.qs-channel--dark .qs-channel__top { color: var(--c-dark-muted); }
.qs-channel--dark .qs-channel__top svg { color: var(--c-white); }
.qs-channel--dark .qs-channel__text { gap: 8px; }
.qs-channel--dark .qs-channel__desc { color: var(--c-dark-muted); }

/* Quer ser um Taaker? */
.qs-careers { padding-block: clamp(24px, calc(24px + 16 * (100vw - 390px) / 1050), 40px) var(--section-y); }
.qs-careers__band { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-block: 56px; border-block: 1px solid #e4e4e7; }
.qs-careers__band .t-h1 { align-self: flex-start; color: var(--c-heading); }
.qs-careers__text { flex: 0 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* Entre 1240 e 1440px os dois cards menores ficam estreitos: o respiro interno cede até 24px. */
@media (min-width: 1240px) and (max-width: 1439px) {
  .qs-channel { padding: calc(24px + (100vw - 1240px) * 0.04); }
}
/* Abaixo de 1240px a lista de eventos e os canais deixam de caber lado a lado. */
@media (max-width: 1239px) {
  .qs-stage { grid-template-columns: minmax(0, 1fr); gap: var(--section-gap); }
  .qs-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qs-linkedin { min-height: 0; }
  .qs-channels__row { flex-direction: column; }
  .qs-channel { flex: 1 0 auto; min-height: 220px; }
}
@media (max-width: 1023px) {
  .qs-number { flex-direction: column; align-items: flex-start; }
  .qs-number__note { text-align: left; }
  .qs-tile { padding: 24px; }
}
@media (max-width: 767px) {
  .page-quem-somos .hero { padding-top: 64px; }
  .page-quem-somos .hero__heading { gap: 20px; }
  .page-quem-somos .heading { gap: 16px; }
  .qs-about__statement { flex-direction: column; align-items: stretch; gap: 80px; }
  .qs-about__statement .t-eyebrow, .qs-about__statement .t-h1 { flex: none; }
  .qs-facts { flex-direction: column; gap: 20px; }
  .qs-fact { flex: none; }
  .qs-number { padding-block: 24px; }
  .qs-tiles { flex-direction: column; gap: 16px; }
  .qs-tile { flex: none; min-height: 340px; padding: 32px; }
  /* No protótipo mobile o bloco dos setores tem altura fixa (286px), maior que o conteúdo. */
  .qs-sectors { flex-direction: column; align-items: stretch; gap: 24px; min-height: 286px; }
  .qs-sectors__label, .qs-sectors .chips { flex: none; }
  .js .qs-arrows { display: none; }
  .qs-lead__head { flex-direction: column; gap: 12px; padding-bottom: 0; }
  .qs-lead__head .t-eyebrow { margin-top: 0; }
  .qs-lead__statement { flex: none; text-align: left; }
  .qs-person { width: 280px; }
  .qs-person__photo { aspect-ratio: 280 / 362; }
  .qs-events { min-height: 584px; }
  .qs-event { padding-block: 20px; }
  .qs-channels { display: flex; gap: 16px; }
  .qs-linkedin { flex: none; min-height: 380px; }
  /* Mesmo recorte do frame mobile: a arte em 420.42px de largura, deslocada (-39, -30); o export usado começa 27.82px abaixo do topo dela. */
  .qs-linkedin__bg img { inset: -0.574% auto auto -11.404%; width: 122.93%; max-width: none; height: auto; min-height: 101%; aspect-ratio: 408 / 400; object-position: 50% 0; }
  .qs-channels__row { flex: none; gap: 16px; }
  .qs-channel { flex: none; }
  .qs-careers__band { flex-direction: column; align-items: stretch; gap: 24px; padding-block: 40px; }
  .qs-careers__text { flex: none; }
  /* O protótipo mobile mantém o botão "Ver carreiras" no tamanho Large. */
  .qs-careers .btn { height: 64px; padding: 0 24px; gap: 12px; font-size: 24px; line-height: 29px; }
  .qs-careers .btn svg { width: 32px; height: 32px; }
}

/* Carreiras */
.page-carreiras {
  --cr-ring: #bbbbbb;        /* contorno do círculo dos ícones e do item pendente */
  --cr-dark-fg: #fbfbfb;
  --cr-dark-text: #c5c5c5;
  --cr-dark-card: #141414;
  --cr-dark-caption: #8a8a8a;
  --cr-dark-off: #333333;    /* ponto apagado */
  --cr-dark-mid: #666666;    /* segundo segmento da barra */
}

/* Texto de apoio abaixo dos títulos de seção (V.2/Body/Medium em #707070) */
.cr-text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }

/* Cultura */
.cr-culture__inner { display: flex; flex-direction: column; gap: clamp(40px, 37.029px + 0.762vw, 48px); }
.cr-culture .heading { max-width: none; }
.cr-culture .cr-text { max-width: 789px; }
.cr-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 33px; }
.cr-value { min-height: 407px; }
.cr-value__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 8px 0 0 8px;
  border: 1px solid var(--cr-ring); border-radius: 50%;
}
.cr-value__icon svg { width: 32px; height: 32px; }
.cr-value .card__body { flex: 1 1 auto; justify-content: space-between; gap: 32px; }
.cr-value .card__text { color: var(--c-muted-zinc); }

/* Áreas */
.cr-areas__grid { display: flex; align-items: flex-start; gap: 96px; }
.cr-areas__heading { flex: 400 1 0; min-width: 0; max-width: none; }
.cr-areas__list { flex: 776 1 0; min-width: 0; }
.cr-area { display: flex; gap: 24px; padding-block: 28px; border-top: 1px solid var(--c-line); }
.cr-area__icon { flex: none; width: 32px; height: 32px; color: var(--c-fg); }
.cr-area__body { container: cr-area / inline-size; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cr-area__title { color: var(--c-heading); }
/* A quebra de linha desenhada só vale enquanto a coluna comporta a linha mais longa (27,6em). */
@container cr-area (max-width: 28em) { .cr-area__body .br-d { display: none; } }

/* Programa de Formação */
.cr-training__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 96px; }
.cr-training__head .heading { flex: 0 1 640px; max-width: 640px; }
.cr-training .cr-text { color: var(--cr-dark-text); }
.cr-training__cta { flex: none; }
.cr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cr-stat { display: flex; flex-direction: column; gap: 40px; min-width: 0; padding: 24px; background: var(--cr-dark-card); }
.cr-stat__text { container: cr-stat / inline-size; flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
/* Idem para o rótulo do primeiro cartão (linha mais longa: 12em). */
@container cr-stat (max-width: 12em) { .cr-stat__label .br-d { display: none; } }
.cr-stat__num { font-weight: 500; font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -0.03em; color: var(--cr-dark-fg); }
/* O token --fs-body resolve em 17,993px a 1440px; com 18px exatos "estagiários efetivados em 2026" (258,13px)
   quebra em duas linhas na coluna de 258px, como no protótipo. */
.cr-stat__label { font-size: clamp(16px, 15.2571px + 0.1905vw, 18px); line-height: var(--lh-body); color: var(--cr-dark-text); }
/* Gráficos dos cartões: encolhem com o cartão quando ele fica mais estreito que o desenho. */
.cr-viz { container-type: inline-size; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cr-viz__caption { font-size: 14px; line-height: 20px; color: var(--cr-dark-caption); }

/* Matriz de pontos: ponto e intervalo têm a mesma medida (6px no protótipo). */
.cr-dots {
  --dot-max: 6px; --dot: var(--dot-max);
  display: grid; grid-template-columns: repeat(var(--cols), var(--dot)); gap: var(--dot);
}
.cr-dots i { width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--cr-dark-off); }
.cr-dots i.on { background: var(--c-white); }

/* Barra dividida e legenda */
.cr-split { align-self: stretch; display: flex; gap: 4px; height: 8px; }
.cr-split span { flex: var(--v) 1 0; background: var(--c-white); }
.cr-split span + span { background: var(--cr-dark-mid); }
.cr-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.cr-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.cr-legend__item::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-white); }
.cr-legend__item + .cr-legend__item::before { background: var(--cr-dark-mid); }

/* Selos sobrepostos */
.cr-badges { --badge: 60px; display: flex; }
.cr-badges img { flex: none; width: var(--badge); height: auto; margin-left: calc(var(--badge) * -0.2); }
.cr-badges img:first-child { margin-left: 0; }

@supports (width: 1cqw) {
  .cr-dots { --dot: min(var(--dot-max), 100cqw / (2 * var(--cols) - 1)); }
  .cr-badges { --badge: min(60px, 100cqw / 4.2); }
}

/* Processo seletivo */
.cr-hiring { padding-block: clamp(56px, 32.229px + 6.095vw, 120px); }
.cr-hiring__content { display: flex; align-items: flex-start; gap: 96px; }
.cr-steps { flex: 520 1 0; min-width: 0; }
.cr-step { border-top: 1px solid var(--c-line); }
.cr-step:last-child { border-bottom: 1px solid var(--c-line); }
.cr-step__btn {
  display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 24px 0; text-align: left; cursor: pointer;
  transition: padding-bottom 0.3s var(--ease);
}
.cr-step.is-active .cr-step__btn { padding-bottom: 8px; }
.cr-step__num { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }
.cr-step__title {
  font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: -0.02em; color: var(--c-muted-zinc);
  transition: color 0.2s var(--ease);
}
.cr-step__btn:hover .cr-step__title, .cr-step.is-active .cr-step__title { color: var(--c-heading); }
.cr-step__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 0.3s var(--ease), visibility 0s 0.3s;
}
.cr-step.is-active .cr-step__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.cr-step__panel > div { overflow: hidden; }
.cr-step__panel p { padding-bottom: 24px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-body); }
/* Sem JavaScript as três descrições ficam abertas. */
html:not(.js) .cr-step__btn { padding-bottom: 8px; }
html:not(.js) .cr-step__panel { grid-template-rows: 1fr; visibility: visible; }

.cr-hiring__visual {
  flex: 656 1 0; min-width: 0; align-self: stretch; min-height: 440px;
  display: flex; align-items: center; justify-content: center; padding-block: 24px;
  background: var(--c-fill);
}

/* Cartão "Sua candidatura": acompanha a etapa ativa ([data-active-step] no contêiner das etapas). */
.cr-app {
  --cr-app-check: var(--c-fg); --cr-app-bar: var(--c-fg);
  display: flex; flex-direction: column; gap: 16px; width: min(400px, 100% - 42px); padding: 20px 20px 24px;
  background: #f5f5f5; color: var(--c-fg); border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.cr-app__head { display: flex; align-items: center; gap: 10px; }
.cr-app__badge { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--c-fg); color: #f5f5f5; }
.cr-app__badge svg { width: 20px; height: 20px; }
.cr-app__list { display: flex; flex-direction: column; gap: 4px; }
.cr-app__item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
  font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--c-muted-zinc);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cr-app__status { position: relative; flex: none; width: 20px; height: 20px; color: var(--cr-app-check); }
/* Anel do item pendente: 1,5px por dentro. Sombra interna em vez de borda, que em telas 1x seria arredondada para 1px. */
.cr-app__status::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cr-ring);
  transition: opacity 0.25s var(--ease);
}
.cr-app__status svg { position: absolute; inset: 0; width: 20px; height: 20px; opacity: 0; transition: opacity 0.25s var(--ease), color 0.25s var(--ease); }
.cr-app__progress { height: 4px; border-radius: 2px; background: var(--c-line); overflow: hidden; }
.cr-app__bar { display: block; width: 120px; height: 100%; background: var(--cr-app-bar); transition: width 0.4s var(--ease), background-color 0.25s var(--ease); }

/* Concluídas: todas até a etapa ativa. */
[data-active-step="1"] .cr-app__item:nth-child(1),
[data-active-step="2"] .cr-app__item:nth-child(-n+2),
[data-active-step="3"] .cr-app__item { color: var(--c-fg); }
[data-active-step="1"] .cr-app__item:nth-child(1) .cr-app__status::before,
[data-active-step="2"] .cr-app__item:nth-child(-n+2) .cr-app__status::before,
[data-active-step="3"] .cr-app__item .cr-app__status::before { opacity: 0; }
[data-active-step="1"] .cr-app__item:nth-child(1) .cr-app__status svg,
[data-active-step="2"] .cr-app__item:nth-child(-n+2) .cr-app__status svg,
[data-active-step="3"] .cr-app__item .cr-app__status svg { opacity: 1; }
/* Atual: a linha da etapa ativa. */
[data-active-step="1"] .cr-app__item:nth-child(1),
[data-active-step="2"] .cr-app__item:nth-child(2),
[data-active-step="3"] .cr-app__item:nth-child(3) { background: var(--c-fill); }
[data-active-step="2"] .cr-app__bar { width: 66.667%; }
[data-active-step="3"] .cr-app__bar { width: 100%; }
/* No quadro desktop a etapa 01 usa as cores da marca (check verde, barra azul);
   as etapas 02 e 03 e o quadro mobile usam o tom do texto. */
@media (min-width: 768px) {
  [data-active-step="1"] .cr-app { --cr-app-check: #53be80; --cr-app-bar: #1aa0f0; }
}

/* Chamada final: o título quebra como na caixa de 661px do protótipo ("… futuro / com a TAAK."). */
.page-carreiras .cta__title { max-width: 10.33em; }

@media (max-width: 1023px) {
  .cr-values { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cr-value { min-height: 0; }
  .cr-areas__grid { flex-direction: column; gap: 48px; }
  .cr-areas__heading, .cr-areas__list { flex: none; width: 100%; }
  .cr-areas__heading { max-width: 720px; }
  .cr-training__head { flex-direction: column; align-items: flex-start; gap: 32px; }
  .cr-training__head .heading { flex: none; }
  .cr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-hiring__content { flex-direction: column; align-items: stretch; gap: 32px; }
  .cr-steps, .cr-hiring__visual { flex: none; }
}

@media (max-width: 767px) {
  .cr-hero .hero__actions { margin-top: 40px; }
  .cr-hero .hero__media { aspect-ratio: 342 / 320.88; }
  .cr-hero__jobs { min-width: 234px; }
  .cr-areas__list { display: flex; flex-direction: column; gap: 8px; }
  .cr-area { gap: 16px; padding-block: 24px; }
  .cr-area__icon { width: 24px; height: 24px; }
  .cr-training__cta.btn { height: 44px; }
  .cr-stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cr-stat { gap: 32px; }
  .cr-dots--lg { --dot-max: calc(260px / 37); }   /* no mobile a matriz maior ocupa 260px */
  .cr-hiring__visual { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .cr-step__btn, .cr-step__title, .cr-step__panel, .cr-app__item, .cr-app__status::before, .cr-app__status svg, .cr-app__bar { transition: none; }
}

/* Home. O frame da Home foi desenhado à mão (camadas absolutas, tamanhos e botões próprios), por isso tem
   classes próprias (hm-*) em vez dos blocos do sistema V.2 usados nas outras páginas. */
.hm-container { width: min(100% - 2 * clamp(24px, calc(24px + 66 * (100vw - 390px) / 1050), 90px), 1259px); margin-inline: auto; }
.hm-eyebrow { font-size: clamp(17px, calc(17px + 6.24 * (100vw - 390px) / 1050), 23.24px); line-height: 1.2; letter-spacing: -0.02em; color: var(--c-muted-zinc); }
.hm-h2 { font-size: clamp(30px, calc(30px + 18 * (100vw - 390px) / 1050), 48px); line-height: 1.16; letter-spacing: -0.02em; color: var(--c-fg); }
.hm-heading { display: flex; flex-direction: column; gap: 10px; max-width: 459px; }

/* Hero */
.hm-hero { position: relative; height: 1067px; padding-top: 231px; }
.hm-hero__art { position: absolute; left: 50%; top: 415px; width: 1360px; height: 652px; margin-left: -680px; }
.hm-hero__art img { width: 100%; height: 100%; }
.hm-hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: min(100% - 48px, 616px); margin-inline: auto; text-align: center; }
.hm-hero__title { font-size: clamp(40px, calc(40px + 46 * (100vw - 390px) / 1050), 86px); line-height: 1.07; letter-spacing: -0.02em; color: var(--c-fg); }
.hm-hero__lead { margin-top: 28px; font-size: clamp(17px, calc(17px + 6.24 * (100vw - 390px) / 1050), 23.24px); line-height: 1.2; letter-spacing: -0.02em; color: var(--c-muted-zinc); white-space: nowrap; }
.hm-hero__lead .ln, .hm-cta-title .ln { display: block; }
.hm-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 60px; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 22px; border-radius: 9999px; font-size: 23.24px; line-height: 1.2; letter-spacing: -0.02em; white-space: nowrap; transition: transform 0.2s var(--ease), filter 0.2s var(--ease); }
.hm-btn svg { width: 32px; height: 32px; transition: transform 0.25s var(--ease); }
.hm-btn:hover svg { transform: translateX(3px); }
.hm-btn:active { transform: scale(0.98); }
.hm-btn--dark { background: #1d1d1d; color: #fffcfc; box-shadow: inset 0 -6px 22.6px rgba(241, 241, 241, 0.25); }
.hm-btn--dark:hover { filter: brightness(1.25); }
.hm-btn--light { background: #fff; color: var(--c-fg); box-shadow: inset 0 -10px 36.4px #cfcfcf; }
.hm-btn--light:hover { filter: brightness(0.97); }

/* Logos */
.hm-logos { padding-top: 154px; }
.hm-logos__title { font-size: clamp(17px, calc(17px + 6.24 * (100vw - 390px) / 1050), 23.24px); line-height: 1.2; letter-spacing: -0.02em; color: var(--c-muted-zinc); text-align: center; padding-inline: 24px; }
.hm-logos__rows { display: flex; flex-direction: column; gap: 32px; width: min(100% - 48px, 1259px); margin: 34px auto 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 110px, #000 calc(100% - 110px), transparent); mask-image: linear-gradient(to right, transparent, #000 110px, #000 calc(100% - 110px), transparent); }
.hm-marquee { display: flex; width: max-content; }
.hm-marquee__group { display: flex; align-items: center; gap: 72px; padding-right: 72px; flex: none; }
.hm-marquee.is-ready .hm-marquee__group { animation: hm-marquee 46s linear infinite; }
.hm-marquee--reverse.is-ready .hm-marquee__group { animation-direction: reverse; }
.hm-logos__rows:hover .hm-marquee__group { animation-play-state: paused; }
.hm-logo { display: flex; align-items: center; height: 56px; flex: none; }
.hm-logo img { max-width: none; }
.hm-logo--tint img { filter: brightness(0); opacity: 0.75; }
@keyframes hm-marquee { to { transform: translateX(-100%); } }

/* Framework: diagrama + lista */
.hm-fw { padding-top: 133px; overflow-x: clip; }
.hm-fw__body { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 47px; }
.dg-wrap { flex: none; width: 764px; max-width: 100%; aspect-ratio: 764 / 678; }
.dg { position: relative; width: 764px; height: 678px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.dg__bg { position: absolute; inset: 0; width: 764px; height: 678px; max-width: none; }
.dg-node { position: absolute; pointer-events: none; font-family: var(--font-ui); }
.dg-bubble { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--c); pointer-events: auto; cursor: pointer; box-shadow: 0 4.91px 10.1px rgba(133, 133, 133, 0.25), inset 0 -4.21px 12.1px 2.54px rgba(183, 183, 183, 0.25); transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.dg-bubble svg { width: auto; height: auto; }
.dg-links, .dg-tag, .dg-label { position: absolute; opacity: 0; transition: opacity 0.25s var(--ease); }
.dg-links { left: 0; top: 0; max-width: none; overflow: visible; }
.dg-tag { z-index: 1; display: inline-flex; align-items: center; height: 25px; padding: 5px 12px 5px 10px; background: #fff; border-radius: 999px; box-shadow: 0 4px 10px rgba(133, 133, 133, 0.18); font-weight: 500; font-size: 12.5px; line-height: 1; color: #5e5a5a; white-space: nowrap; }
.dg-label { z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.dg-label strong { font-weight: 600; font-size: 16px; line-height: 1.35; color: #1f1f1f; }
.dg-label span { font-weight: 400; font-size: 13px; line-height: 1.4; color: #8a8686; }
.dg-node--center .dg-label { align-items: center; text-align: center; }
.dg-bubble:hover, .dg-bubble:focus-visible, .dg-node.is-active .dg-bubble { background: var(--c); color: #fff; box-shadow: 0 10px 22px -4px color-mix(in srgb, var(--c) 35%, transparent); }
.dg-node.is-active .dg-bubble { box-shadow: 0 10px 22px -4px color-mix(in srgb, var(--c) 35%, transparent), 0 0 0 9px color-mix(in srgb, var(--c) 22%, transparent); }
.dg-bubble:hover ~ .dg-links, .dg-bubble:hover ~ .dg-tag, .dg-bubble:hover ~ .dg-label,
.dg-bubble:focus-visible ~ .dg-links, .dg-bubble:focus-visible ~ .dg-tag, .dg-bubble:focus-visible ~ .dg-label,
.dg-node.is-active .dg-links, .dg-node.is-active .dg-tag, .dg-node.is-active .dg-label { opacity: 1; }

.hm-acc { display: flex; flex-direction: column; gap: 18px; }
.hm-acc--fw { flex: 0 1 346px; margin: 0 clamp(0px, 5.2vw - 60px, 15px) 37px 0; }
.hm-acc__item { border-bottom: 1.5px solid #eaeaea; padding-bottom: 20px; }
/* No protótipo a caixa do texto aberto tem 48px para duas linhas de 27px: sobram 14px até a linha. */
.hm-acc__item.is-open { padding-bottom: 14px; }
.hm-acc__item:last-child { border-bottom-color: transparent; }
.hm-acc__q { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; text-align: left; cursor: pointer; font-size: 22px; line-height: 1.07; letter-spacing: -0.02em; color: var(--c-muted-zinc); transition: color 0.2s var(--ease); }
.hm-acc__q:hover, .hm-acc__item.is-open .hm-acc__q { color: var(--c-fg); }
.hm-acc__title { flex: 1 1 auto; }
.hm-acc__icon { display: none; width: 22px; height: 22px; color: var(--c-fg); }
.hm-acc__icon svg { width: 22px; height: 22px; }
.hm-acc__item.is-open .hm-acc__icon { display: block; }
.hm-acc__chev { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: #ededed; border: 0.86px solid #d7d7d7; border-radius: 6.86px; color: #1f1f1f; transition: opacity 0.2s var(--ease); }
.hm-acc__chev svg { width: 20px; height: 20px; }
.hm-acc__item.is-open .hm-acc__chev { display: none; }
.hm-acc__item.is-open .hm-acc__q { min-height: 24px; cursor: default; }
.hm-acc__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.3s var(--ease), visibility 0s 0.3s; }
.hm-acc__item.is-open .hm-acc__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.hm-acc__a > div { overflow: hidden; }
.hm-acc__a p { padding: 16px 56px 0 0; font-size: 18px; line-height: 1.5; color: var(--c-muted-zinc); }

.hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 144px; }
.hm-card { display: flex; flex-direction: column; gap: 18px; min-height: 472px; padding: 16px; background: #fff; border: 1px solid #ece7e7; border-radius: 18px; }
.hm-card__media { aspect-ratio: 362 / 267; border-radius: 12px; overflow: hidden; background: #dedede; }
.hm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hm-card__body { display: flex; flex-direction: column; gap: 16px; padding-inline: 16px; }
.hm-card__title { font-size: clamp(22px, calc(22px + 6 * (100vw - 390px) / 1050), 28px); line-height: 1.07; letter-spacing: -0.02em; color: #1f1f1f; }
/* 3px de folga à direita: o navegador mede estas linhas ~2px mais largas que o Figma, e sem a folga a quebra do terceiro cartão muda. */
.hm-card__text { margin-right: -3px; font-size: clamp(16px, calc(16px + 4 * (100vw - 390px) / 1050), 20px); line-height: 1.45; letter-spacing: -0.01em; color: #6b6767; }

/* Serviços */
.hm-svc { padding-top: 196px; }
.hm-svc .hm-container { width: min(100% - 2 * clamp(24px, -0.51px + 6.286vw, 85.5px), 1269px); }
.hm-svc__inner { display: flex; align-items: center; gap: 69px; }
.hm-svc__media { flex: 722 1 0; min-width: 0; aspect-ratio: 722 / 684; border-radius: 18px; overflow: hidden; }
.hm-svc__media img { width: 100%; height: 100%; object-fit: cover; }
.hm-svc__text { flex: 478 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 48px; }
.hm-heading--svc .hm-eyebrow { color: #4d4d4d; }
.hm-heading--svc .hm-h2 { line-height: 1.07; color: #363636; }
.hm-acc--svc .hm-acc__item { border-bottom-color: #dfdfdf; }
.hm-acc--svc .hm-acc__item:last-child { border-bottom-width: 0; }
.hm-acc--svc .hm-acc__q, .hm-acc--svc .hm-acc__a p { color: #4d4d4d; }
.hm-acc--svc .hm-acc__item.is-open .hm-acc__q, .hm-acc--svc .hm-acc__q:hover { color: #363636; }
.hm-acc--svc .hm-acc__chev { border-color: #515151; }

/* Produtos */
.hm-prod { margin-top: 226px; padding: 152px 0 180px; background: #1c1c1c; color: #fff; overflow: hidden; }
.hm-prod__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.hm-heading--dark .hm-eyebrow { color: #9d9d9d; }
.hm-heading--dark .hm-h2 { line-height: 1.07; color: #fff; }
.hm-prod__more { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-ui); font-size: 24px; line-height: 32px; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.hm-prod__more svg { width: 32px; height: 32px; transform: rotate(-90deg); transition: transform 0.25s var(--ease); }
.hm-prod__more:hover svg { transform: rotate(-90deg) translateY(4px); }
.hm-prod__rail { margin-top: 103px; }
.hm-prod__track { display: flex; gap: 28px; padding-inline: max(24px, (100vw - 1259px) / 2 - 1.5px); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(24px, (100vw - 1259px) / 2); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hm-prod__track::-webkit-scrollbar { display: none; }
.hp-card { position: relative; flex: none; width: 407px; height: 591px; border-radius: 12px; overflow: hidden; background: var(--bg); scroll-snap-align: start; isolation: isolate; }
.hp-card__art { position: absolute; left: 0; top: 0; width: 407px; height: 423px; max-width: none; }
.hp-card::after { content: ""; position: absolute; left: 0; right: 0; top: 376px; height: 48px; z-index: 1; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hp-card__art--lumen { background: var(--bg); }
.hp-card__art--lumen img { position: absolute; left: 71px; top: 114px; width: 901px; height: 534px; max-width: none; border-radius: 12px 0 0 0; }
.hp-card__logo { position: absolute; left: 42px; top: 36px; color: #1d1d1d; }
.hp-card__body { position: absolute; z-index: 2; left: var(--pl, 35px); right: 24px; bottom: var(--pb, 37px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hp-card__title { font-size: 33.61px; line-height: 35.29px; letter-spacing: -0.02em; color: #fff; }
.hp-card__btn { display: inline-flex; align-items: center; gap: 5.95px; height: 36px; padding: 0 13.1px; background: #f5f5f5; color: #161719; border-radius: 9999px; font-size: 13.83px; line-height: 1.2; letter-spacing: -0.02em; transition: background-color 0.2s var(--ease); }
.hp-card__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hp-card__btn svg { width: 16px; height: 16px; }
.hp-card:hover .hp-card__btn { background: #fff; }
.hp-card--light-btn .hp-card__btn { background: #fff; color: #000; }
.hp-card__art { transition: transform 0.5s var(--ease); }
.hp-card:hover .hp-card__art { transform: scale(1.02); }

/* Quem somos */
.hm-about { position: relative; height: 743px; overflow: hidden; display: flex; justify-content: center; }
.hm-about__bg { position: absolute; left: 50%; top: 0; width: 1429px; height: 743px; margin-left: -714.5px; }
.hm-about__bg img { width: 100%; height: 100%; }
.hm-about__bg::before, .hm-about__bg::after { content: ""; position: absolute; left: 0; right: 0; }
.hm-about__bg::before { top: 0; height: 302px; background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0)); }
.hm-about__bg::after { bottom: 0; height: 155px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.51)); }
.hm-about__text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; width: min(100% - 48px, 708px); margin-top: 210px; text-align: center; font-family: var(--font-ui); }
.hm-about__eyebrow { font-size: clamp(17px, calc(17px + 6.24 * (100vw - 390px) / 1050), 23.24px); line-height: 1.2; letter-spacing: -0.02em; color: #707070; }
.hm-about__statement { font-size: clamp(28px, calc(28px + 20 * (100vw - 390px) / 1050), 48px); line-height: 1.07; letter-spacing: -0.02em; color: #1f1f1f; }
.hm-about__statement span { color: #8a8a8a; }
.hm-about__link { font-size: 24px; line-height: 29px; letter-spacing: -0.02em; color: #000; }
.hm-about__link span { display: inline-block; margin-left: 8px; transition: transform 0.25s var(--ease); }
.hm-about__link:hover span { transform: translateX(4px); }

/* Chamada final da Home */
.closing--home { margin-top: 18px; color: #1f1f1f; }
.closing--home .cta { min-height: 863px; padding-top: 343px; }
.hm-cta-title { font-size: clamp(36px, calc(36px + 24 * (100vw - 390px) / 1050), 60px); line-height: 1.12; letter-spacing: -0.02em; max-width: none; }
.closing--home .cta__actions .btn { height: 52px; padding: 0 28px; font-size: 17px; line-height: 1.2; letter-spacing: 0; }
.closing--home .cta__actions .btn--primary { background: #fff; color: #000; }
.closing--home .cta__actions .btn--outline-white { height: 54.4px; box-shadow: inset 0 0 0 1.2px #fff; color: #fff; }
.closing--home .site-footer { padding-bottom: 55px; }
.closing--home .site-footer__social a { border-radius: 13px; }

@media (max-width: 1423px) {
  .hm-hero__art { left: 32px; right: 32px; width: auto; margin-left: 0; height: auto; aspect-ratio: 1360 / 652; }
}
@media (max-width: 1279px) {
  .hm-fw__body { flex-direction: column; align-items: stretch; }
  .dg-wrap { align-self: center; }
  .hm-acc--fw { flex: none; margin: 0; }
}
@media (max-width: 1023px) {
  .hm-hero { height: auto; padding-top: 148px; }
  .hm-hero__art { position: static; margin: 56px 24px 0; overflow: hidden; height: 300px; aspect-ratio: auto; }
  .hm-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
  .hm-hero__lead { white-space: normal; text-wrap: balance; }
  .hm-logos { padding-top: 96px; }
  .hm-cards { gap: 16px; margin-top: 64px; }
  .hm-card { min-height: 0; padding: 12px 12px 24px; }
  .hm-card__body { padding-inline: 8px; }
  .hm-svc { padding-top: 96px; }
  .hm-svc__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .hm-svc__media, .hm-svc__text { flex: none; }
  .hm-svc__text { order: 1; }
  .hm-svc__media { order: 2; }
  .hm-prod { margin-top: 96px; padding: 96px 0; }
  .hm-prod__rail { margin-top: 56px; }
  .closing--home .cta { min-height: 0; }
  .hm-cta-title { text-wrap: balance; }
}
@media (max-width: 767px) {
  .hm-hero { padding-top: 124px; }
  .hm-hero__lead { margin-top: 16px; }
  .hm-hero__actions { flex-direction: column; align-items: stretch; width: min(100%, 300px); gap: 12px; margin-top: 32px; }
  .hm-btn { height: 56px; font-size: 18px; }
  .hm-btn svg { width: 24px; height: 24px; }
  .hm-hero__art { margin-top: 40px; height: 260px; }
  /* No celular o diagrama encolhe: etiquetas ficariam ilegíveis, a lista abaixo já dá nome e descrição. */
  .dg-tag, .dg-label { display: none; }
  .hm-cards { grid-template-columns: 1fr; }
  .hm-card { padding: 16px 16px 28px; }
  .hm-card__body { padding-inline: 16px; }
  .hm-logos { padding-top: 64px; }
  .hm-logos__rows { margin-top: 24px; gap: 16px; -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
  .hm-marquee__group { gap: 48px; padding-right: 48px; }
  .hm-fw { padding-top: 64px; }
  .hm-fw__body { margin-top: 32px; gap: 32px; }
  .hm-acc__q { font-size: 18px; }
  .hm-acc__a p { font-size: 16px; padding-right: 0; }
  .hm-svc { padding-top: 64px; }
  .hm-prod { margin-top: 64px; padding: 64px 0; }
  .hm-prod__head { flex-direction: column; gap: 20px; }
  .hm-prod__more { font-size: 18px; line-height: 24px; }
  .hm-prod__more svg { width: 24px; height: 24px; }
  .hm-prod__rail { margin-top: 40px; }
  .hm-prod__track { gap: 16px; }
  .hp-card { transform-origin: 0 0; width: 300px; height: 436px; }
  .hp-card__art { width: 300px; height: 312px; }
  .hp-card::after { top: 277px; height: 36px; }
  .hp-card__art--lumen img { left: 52px; top: 84px; width: 664px; height: 394px; }
  .hp-card__logo { left: 31px; top: 27px; transform: scale(0.74); transform-origin: 0 0; }
  .hp-card__body { left: 26px; right: 20px; bottom: 28px; gap: 18px; }
  .hp-card__title { font-size: 25px; line-height: 27px; }
  .hm-about { height: auto; padding: 96px 0 72px; }
  .hm-about__text { margin-top: 0; gap: 24px; }
  .hm-about__link { font-size: 18px; line-height: 22px; }
  .closing--home .cta { padding-top: 120px; }
  .closing--home .cta__actions .btn, .closing--home .cta__actions .btn--outline-white { height: 56px; font-size: 18px; }
  .closing--home .site-footer { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-marquee.is-ready .hm-marquee__group { animation: none; }
}

/* 10. Movimento ------------------------------------------------------------- */

/* Entrada suave opcional: basta marcar o elemento com data-reveal. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
