/* Tera Access · home
   Medidas do Figma "TEste · Refinado" (artboard 1920). Abaixo disso tudo escala por clamp()/vw;
   quebras em 1100 (tablet) e 768 (celular). */

/* ---------- fontes ---------- */
@font-face { font-family: "Aspekta"; src: url("../fonts/Aspekta-300.woff2") format("woff2"), url("../fonts/Aspekta-300.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fonts/Aspekta-400.woff2") format("woff2"), url("../fonts/Aspekta-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fonts/Aspekta-450.woff2") format("woff2"), url("../fonts/Aspekta-450.ttf") format("truetype"); font-weight: 450; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fonts/Aspekta-500.woff2") format("woff2"), url("../fonts/Aspekta-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../fonts/Aspekta-600.woff2") format("woff2"), url("../fonts/Aspekta-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --fundo-escuro: #0e0d12;
  --fundo-claro: #faf9f7;
  --tinta: #171621;
  --tinta-2: #6d6a75;
  --tinta-3: #a39fab;
  --tinta-4: #85818d;
  --clara: #f4f2f5;
  --vermelho: #a80d2b;      /* ação em seção clara */
  --vermelho-2: #c51b3d;    /* ação em seção escura */
  --teal: #007d7a;
  --teal-2: #2fb3a6;
  --teal-3: #66c8be;
  --linha-clara: rgba(23, 22, 33, .09);
  --linha-escura: rgba(255, 255, 255, .09);

  --calha: clamp(20px, 10.1vw, 194px);                  /* margem lateral: 194 em 1920 */
  --largura: min(1532px, 100vw - 2 * var(--calha));
  --t-h1: clamp(34px, 2.92vw, 56px);
  --t-h2: clamp(30px, 2.5vw, 48px);
  --t-h3: clamp(22px, 1.46vw, 28px);
  --t-lead: clamp(16px, .94vw, 18px);
  --t-corpo: clamp(15px, .84vw, 16px);
  --secao: clamp(72px, 6.25vw, 120px);                  /* respiro vertical padrão */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Aspekta", system-ui, sans-serif; font-weight: 400; color: var(--tinta); background: var(--fundo-claro); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, .manifesto { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }

.pular { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--tinta); color: var(--clara); padding: 10px 14px; }
.pular:focus { top: 16px; }

.embrulho { width: var(--largura); margin-inline: auto; position: relative; }
.escuro { background: var(--fundo-escuro); color: var(--clara); }
.claro { background: var(--fundo-claro); color: var(--tinta); }
.sec { position: relative; }

/* ---------- peças reutilizadas ---------- */
.titulo { font-size: var(--t-h2); line-height: 1.03; font-weight: 500; text-transform: uppercase; letter-spacing: 0; }
.titulo em { font-style: normal; color: var(--vermelho); }
.escuro .titulo em { color: var(--vermelho-2); }
.lead { font-size: var(--t-lead); line-height: 1.42; color: var(--tinta-2); }
.escuro .lead { color: var(--tinta-3); }
.lead strong { font-weight: 500; color: var(--clara); }

.cabeca { display: flex; flex-direction: column; gap: 22px; }
.cabeca .titulo + .lead { margin-top: -2px; }
.cabeca.centro { align-items: center; text-align: center; }
.cabeca.centro .selo { justify-content: center; }
.centro-bloco { margin-inline: auto; }

/* selo: rótulo preenchido */
.selo { display: inline-flex; flex-wrap: wrap; justify-content: flex-start; row-gap: 6px; max-width: 100%; align-items: stretch; font-size: 16px; font-weight: 450; line-height: 22px; }
.selo > span { padding: 3px 12px 3px 10px; border-bottom: 1px solid var(--teal); color: var(--teal); }
.selo > b { font-weight: 450; padding: 3px 10px; background: var(--vermelho); color: var(--fundo-claro); border-radius: 1px; height: 28px; }
.selo > b.maiusc { text-transform: uppercase; }
.escuro .selo > span { border-color: var(--teal-2); color: var(--teal-2); }
.escuro .selo > b { background: var(--vermelho-2); color: var(--clara); }

/* botão */
.botao { transition: background-color .25s, color .25s, box-shadow .25s; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: min(331px, 100%); padding: 14px 27px; border: 0; border-radius: 3px; background: var(--vermelho); color: var(--fundo-claro); font-size: 16px; font-weight: 500; line-height: 19px; cursor: pointer; transition: background-color .2s; }
.botao svg { width: 8px; height: 14px; fill: currentColor; flex: none; }
.botao:hover { background: var(--clara); color: var(--vermelho); box-shadow: inset 0 0 0 1px var(--vermelho); }
.botao-claro-vermelho { background: var(--vermelho-2); color: var(--clara); }
.botao-claro-vermelho:hover { background: var(--clara); color: var(--vermelho-2); box-shadow: inset 0 0 0 1px var(--vermelho-2); }
.botao-gradiente { background: linear-gradient(90deg, var(--vermelho), var(--vermelho-2)); width: 100%; }

/* legenda + régua com marcas nas pontas */
.legenda { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; }
.leg-grupo { display: flex; gap: 12px 30px; flex-wrap: wrap; }
.leg { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 15px; text-transform: uppercase; }
.leg i { width: 18px; height: 18px; background: var(--c); border: 1px solid var(--b, var(--c)); }
.leg-p i { width: 12px; height: 12px; }
.escuro .leg-p i { width: 10px; height: 10px; }
.leg-clara { color: var(--clara); }
.leg-cores { display: flex; gap: 6px; }
.leg-cores i { width: 14px; height: 14px; background: var(--c); }
.mini-pixels { width: 36px; height: 18px; }
.regua { position: relative; height: 40px; margin-top: 20px; opacity: .45; color: var(--tinta); }
.regua::before { content: ""; position: absolute; left: 11px; right: 11px; top: 20px; height: 1px; background: currentColor; }
.regua::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(currentColor, currentColor) 0 0 / 1px 15px no-repeat, linear-gradient(currentColor, currentColor) 0 25px / 1px 15px no-repeat,
  linear-gradient(currentColor, currentColor) 100% 0 / 1px 15px no-repeat, linear-gradient(currentColor, currentColor) 100% 25px / 1px 15px no-repeat; }
.regua-clara { color: rgba(244, 242, 245, .45); opacity: 1; }

/* trilhos: as 4 linhas verticais das laterais (33, 125, 1795 e 1887 em 1920) */
.trilhos { position: absolute; inset: 0; pointer-events: none; color: var(--linha-clara); background:
  linear-gradient(currentColor, currentColor) 1.72% 0 / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) 6.51% 0 / 1px 100% no-repeat,
  linear-gradient(currentColor, currentColor) 93.49% 0 / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) 98.28% 0 / 1px 100% no-repeat; }
.escuro .trilhos { color: var(--linha-escura); }
/* fade nas pontas feito no próprio gradiente da linha (mais leve que mask-image em blocos altos) */
.trilhos.fade-topo { --g: transparent, currentColor 40px; }
.trilhos.fade-base { --g: currentColor calc(100% - 40px), transparent; }
.trilhos.fade-topo.fade-base { --g: transparent, currentColor 40px, currentColor calc(100% - 40px), transparent; }
.trilhos.fade-topo, .trilhos.fade-base { background: linear-gradient(var(--g)) 1.72% 0 / 1px 100% no-repeat, linear-gradient(var(--g)) 6.51% 0 / 1px 100% no-repeat, linear-gradient(var(--g)) 93.49% 0 / 1px 100% no-repeat, linear-gradient(var(--g)) 98.28% 0 / 1px 100% no-repeat; }
.marca-x { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; transform: translate(-50%, -50%); pointer-events: none;
  background: linear-gradient(45deg, transparent 46%, currentColor 46% 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, currentColor 46% 54%, transparent 54%); color: rgba(23, 22, 33, .4); }
.escuro .marca-x { color: rgba(244, 242, 245, .4); }

/* padrão de quadradinhos com X (tile de 71px) */
.padrao { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='71' height='71'%3E%3Cg stroke='%236D6A75' stroke-opacity='.22' stroke-width='.5' fill='none'%3E%3Crect x='33.2' y='33.2' width='4.5' height='4.5'/%3E%3Cpath d='M33.2 37.7l4.5-4.5M33.2 33.2l4.5 4.5'/%3E%3C/g%3E%3C/svg%3E"); background-position: center; pointer-events: none; }
.padrao-escuro { opacity: .7; }

.divisor { width: 100%; height: auto; aspect-ratio: 12 / 1; position: relative; z-index: 1; }
.pixels { position: absolute; width: 64px; height: 48px; color: var(--clara); pointer-events: none; z-index: 1; }
.claro-pixels { color: var(--tinta); }
.pixels-dir { right: calc(var(--calha) - 4px); }

/* etiqueta (hero): texto + duas barras + quadrado com + */
.etiqueta { display: inline-flex; height: 26px; font-size: 14px; line-height: 18px; white-space: nowrap; }
.etq-texto { padding: 4px 10px; background: var(--fundo); color: var(--texto); }
.etiqueta i:nth-of-type(1) { width: 8px; background: var(--b1); }
.etiqueta i:nth-of-type(2) { width: 5px; background: var(--b2); }
.etiqueta b, .card-p-rotulo b, .chip b { width: 23px; background: var(--q) center / 8px 8px no-repeat; background-image: linear-gradient(var(--mais), var(--mais)), linear-gradient(var(--mais), var(--mais)); background-size: 8px 2px, 2px 8px; }
.etq-teal { --fundo: #007d7a; --texto: #f4f2f5; --b1: #2fb3a6; --b2: #66c8be; --q: #2fb3a6; --mais: #04201f; }
.etq-vinho { --fundo: #69091d; --texto: #f4f2f5; --b1: #a80d2b; --b2: #de4c66; --q: #c51b3d; --mais: #faf9f7; }
.etq-menta { --fundo: #cdedea; --texto: #171621; --b1: #66c8be; --b2: #2fb3a6; --q: #007d7a; --mais: #cdedea; }
.etq-nude { --fundo: #f6e9e1; --texto: #2b2420; --b1: #e8cdbd; --b2: #d2b29e; --q: #2b2420; --mais: #f6e9e1; }

/* ---------- cabeçalho ---------- */
.topo { position: absolute; inset: 0 0 auto; z-index: 20; }
.topo-barra { width: min(1494px, 100vw - 2 * clamp(16px, 11.1vw, 213px)); margin: 16px auto 0; min-height: 48px; padding: 8px 8px 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--clara); }
.marca { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.marca-logo { width: 36px; height: 36px; }
.marca-nome { font-size: 22px; line-height: 18px; font-weight: 600; letter-spacing: -.015em; }
.topo-nav { display: flex; gap: 32px; font-size: 14px; line-height: 19px; }
.topo-nav a { opacity: .4; transition: opacity .2s; display: inline-flex; align-items: center; gap: 8px; }
.topo-nav a:hover, .topo-nav a.ativo { opacity: 1; }
.topo-nav a.ativo::before { content: ""; width: 6px; height: 6px; background: var(--vermelho); }
.topo-acoes { display: flex; align-items: center; gap: 32px; }
.topo-login { font-size: 14px; text-transform: uppercase; opacity: .6; }
.topo-cta { display: inline-flex; align-items: center; gap: 10px; height: 32px; white-space: nowrap; padding: 0 10px; background: var(--vermelho); font-size: 14px; font-weight: 500; text-transform: uppercase; }
.topo-cta svg { width: 18px; height: 18px; color: var(--clara); }
.topo-menu { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 10px 8px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.topo-menu span { height: 2px; background: var(--clara); transition: transform .2s; }
.topo-menu { padding: 12px 9px; }
.topo-menu span { transition: transform .25s, opacity .2s; }
.topo-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topo-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topo-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 01 · hero ---------- */
/* a onda de vidros sobe 1vw e a base desce 2,5vw: a onda não encosta mais na legenda */
.hero { position: relative; height: max(55.7vw, 660px); background: var(--fundo-claro); overflow: hidden; }
.hero-fundo { position: absolute; inset: 0 0 auto; height: 54.95vw; background: radial-gradient(150% 115% at 50% -38%, #171621 33%, #007d7a 70%, #faf9f7 100%); }
.hero-fundo .padrao { position: absolute; inset: 0; opacity: .5; }
.hero-video { position: absolute; left: -16.46vw; top: 4.47vw; width: 133.33vw; height: 37.5vw; max-width: none; object-fit: cover; pointer-events: none; }
.hero-imagem { display: none; }
.sem-webm .hero-imagem { display: block; }
.sem-webm [data-hero-video] { display: none; }
.hero-titulo { position: absolute; left: calc((100vw - var(--largura)) / 2 + 2.3%); top: 7.03vw; width: min(14.7em, 90vw); font-size: var(--t-h1); line-height: 1.03; font-weight: 500; text-transform: uppercase; color: var(--clara); z-index: 2; }
.hero-anotacoes { position: absolute; inset: 0; pointer-events: none; z-index: 2; translate: 0 -1vw; }
.hero-anotacoes > * { position: absolute; }
.hero-etq-1 { left: 63.39vw; top: 12.4vw; }
.hero-mira-1 { left: 63.39vw; top: 13.75vw; width: 8.39vw; }
.hero-etq-2 { left: 11.09vw; top: 21.04vw; }
.hero-conector-1 { left: 18.75vw; top: 22.08vw; width: 5.78vw; }
.hero-mira-2 { left: 29.58vw; top: 26.88vw; width: 8.33vw; height: 4.9vw; --c: #cdedea;
  background: linear-gradient(var(--c), var(--c)) 0 0 / 18px 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px 18px, linear-gradient(var(--c), var(--c)) 100% 0 / 18px 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 18px,
    linear-gradient(var(--c), var(--c)) 0 100% / 18px 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px 18px, linear-gradient(var(--c), var(--c)) 100% 100% / 18px 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 18px; background-repeat: no-repeat; }
.hero-etq-3 { left: 29.58vw; top: 31.82vw; }
.hero-conector-2 { left: 69.06vw; top: 23.54vw; width: 20.36vw; }
.hero-etq-4 { left: 82.34vw; top: 28.75vw; }
.hero-base { position: absolute; left: 0; right: 0; top: 41.56vw; z-index: 3; }
.hero-base .legenda, .hero-base .regua, .hero-rodape { padding-inline: 20px; }
.hero-base .regua { margin-top: 20px; }
.hero-rodape { margin-top: 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.hero-lead { max-width: 579px; font-size: clamp(17px, 1.04vw, 20px); line-height: 1.42; font-weight: 450; color: var(--tinta); }

/* ---------- 02 · problema ---------- */
.problema { padding-bottom: var(--secao); }
.problema .divisor { margin-bottom: clamp(40px, 3.33vw, 64px); }
.problema .pixels { top: 14.4vw; top: min(14.4vw, 230px); }
.problema-corpo { display: flex; flex-direction: column; }
.problema .cabeca { max-width: 866px; margin-inline: auto; gap: 18px; }
.problema .lead { max-width: 592px; }
.problema-radar { position: relative; height: calc(var(--largura) * .169); min-height: 120px; margin-top: 22px; }
/* caixinha do radar: apagada (grafite) e acende na cor do pulso que vai soltar */
.radar-caixa { --cor: #c51b3d; --cor2: #69091d; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 51px; height: 45px; display: grid; place-items: center; background: #2e2a36; box-shadow: inset 0 0 0 1px rgba(244, 242, 245, .12); z-index: 1; transition: background .35s, box-shadow .35s; }
.radar-caixa::before { content: ""; position: absolute; inset: 0; background: var(--cor); opacity: 0; transition: opacity .35s; }
.radar-caixa::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--cor); opacity: 0; }
.radar-caixa.emitindo { box-shadow: inset 0 0 0 1px var(--cor); }
.radar-caixa.emitindo::before { opacity: 1; }
.radar-caixa.emitindo::after { animation: radar-onda .9s ease-out; }
.radar-caixa img { position: relative; width: 29px; height: 29px; }
@keyframes radar-onda { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.2, 2.4); } }

.problema-trilhos { position: absolute; left: 2.68%; top: 47px; width: 68.8%; height: auto; overflow: visible; }
.trilho-base path { stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; stroke-dasharray: 1 4.5; stroke-linecap: round; }
.trilho-pulso path { stroke: var(--cor); stroke-linecap: round; opacity: 0; }
.trilho-pulso .rastro { stroke-width: 1.75; transition: opacity .8s; }
.trilho-pulso .cometa { stroke-width: 3; filter: drop-shadow(0 0 4px var(--cor)) drop-shadow(0 0 10px var(--cor)); }
.chegadas path { stroke: #4a4652; stroke-width: 2; transition: stroke .3s; }
.chegadas rect { fill: #4a4652; stroke: rgba(46, 42, 54, .28); transition: fill .3s; }
.chegadas g.on path { stroke: var(--cor); }
.chegadas g.on rect { fill: var(--cor); }

.cards-problema { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.03vw, 39px); }
/* card: começa no tom base; com .aceso a cor do pulso entra em onda a partir do rótulo */
.card-p {
  --tint: rgba(244, 242, 245, .12); --tint-forte: rgba(244, 242, 245, .18); --tint-l: rgba(244, 242, 245, .08); --claro: #a39fab;
  --b1: #2e2a36; --b2: #4a4652; --q: #2e2a36; --mais: #a39fab; --rot: #1e1b25; --rot-t: #a39fab; --titulo: rgba(244, 242, 245, .7);
  position: relative; display: flex; flex-direction: column; border-top: 2px solid var(--tint); background: linear-gradient(#0e0d12, #1e1b25);
  transition: border-color .5s;
}
.card-p.aceso { --tint: var(--l-tint); --tint-forte: var(--l-forte); --tint-l: var(--l-tint-l); --claro: var(--l-claro); --b1: var(--l-b1); --b2: var(--l-b2); --q: var(--l-q); --mais: var(--l-mais); --rot: var(--l-rot); --rot-t: #f4f2f5; --titulo: #f4f2f5; }
.card-p::before { content: ""; position: absolute; inset: -2px 0 auto; height: 3px; background: var(--tint-forte); z-index: 2; transition: background-color .5s; }
.card-p-onda { position: absolute; inset: 0; background: linear-gradient(#0e0d12, var(--g1) 55%, var(--g2)); clip-path: circle(0% at 46px 0); pointer-events: none; transition: clip-path 1.3s cubic-bezier(.22, .8, .24, 1), opacity .9s ease; }
.card-p.aceso .card-p-onda { clip-path: circle(150% at 46px 0); }
.card-p.apagando .card-p-onda { opacity: 0; }
.card-p.sem-transicao, .card-p.sem-transicao * { transition: none !important; }
.card-p.vibra { animation: vibra .38s cubic-bezier(.36, .07, .19, .97); }
@keyframes vibra { 0%, 100% { translate: 0 0; } 18% { translate: -2px 1px; } 36% { translate: 2px -1px; } 54% { translate: -1.5px 0; } 72% { translate: 1px 1px; } 88% { translate: -.5px 0; } }
.cp-teal { --l-tint: rgba(47, 179, 166, .6); --l-forte: #2fb3a6; --l-tint-l: rgba(47, 179, 166, .35); --g1: #0a3b3a; --g2: #074e4c; --l-claro: #cdedea; --l-b1: #2fb3a6; --l-b2: #cdedea; --l-q: #2fb3a6; --l-mais: #04201f; --l-rot: #007d7a; }
.cp-vermelho { --l-tint: rgba(222, 76, 102, .6); --l-forte: #de4c66; --l-tint-l: rgba(222, 76, 102, .35); --g1: #460613; --g2: #69091d; --l-claro: #fadce1; --l-b1: #de4c66; --l-b2: #fadce1; --l-q: #de4c66; --l-mais: #2a030b; --l-rot: #a80d2b; }
.cp-nude { --l-tint: rgba(232, 205, 189, .6); --l-forte: #e8cdbd; --l-tint-l: rgba(232, 205, 189, .35); --g1: #2b2420; --g2: #5c4a40; --l-claro: #f6e9e1; --l-b1: #e8cdbd; --l-b2: #f6e9e1; --l-q: #e8cdbd; --l-mais: #2b2420; --l-rot: #5c4a40; }
.card-p-rotulo { position: absolute; left: 20px; top: -12px; display: flex; height: 26px; z-index: 3; font-size: 14px; line-height: 18px; }
.card-p-rotulo i, .card-p-rotulo span, .card-p-rotulo b { transition: background-color .4s, color .4s; }
.card-p-rotulo i:nth-of-type(1) { width: 8px; background: var(--b1); }
.card-p-rotulo i:nth-of-type(2) { width: 5px; background: var(--b2); }
.card-p-rotulo span { padding: 4px 10px; background: var(--rot); color: var(--rot-t); }
.card-p-indice { position: absolute; right: 12px; top: -11px; height: 22px; padding: 3px 8px; display: flex; align-items: center; gap: 3px; background: var(--fundo-escuro); z-index: 3; font-size: 11px; font-weight: 500; color: var(--claro); transition: color .5s; }
.card-p-indice span { opacity: .85; margin-right: 7px; }
.card-p-indice i { width: 5px; height: 5px; background: var(--tint-forte); opacity: .25; transition: background-color .5s; }
.card-p-indice i.on { opacity: 1; }
.card-p-arte { position: relative; z-index: 1; width: 100%; aspect-ratio: 485 / 326; }
.card-p-texto { position: relative; z-index: 1; border-top: 1px solid var(--tint-l); padding: clamp(20px, 1.61vw, 31px); display: flex; flex-direction: column; gap: 12px; min-height: 183px; transition: border-color .6s; }
.card-p-texto h3 { font-size: var(--t-h3); line-height: 1.1; font-weight: 400; max-width: 13em; color: var(--titulo); transition: color .6s; }
.card-p-texto p { font-size: var(--t-corpo); line-height: 1.42; font-weight: 300; color: var(--claro); opacity: .8; max-width: 24em; transition: color .6s; }
.problema .botao { margin-top: 81px; }

/* ---------- 03 · plataforma ---------- */
.plataforma { padding-bottom: clamp(32px, 2.5vw, 48px); }
.moldura { position: relative; width: calc(100% - 2 * 6.51%); margin-inline: auto; border-top: 1px solid var(--linha-escura); border-bottom: 1px solid var(--linha-escura); }
.plataforma-cabeca { position: relative; padding: 72px 20px; gap: 18px; border-bottom: 1px solid var(--linha-escura); }
.plataforma-cabeca .titulo { max-width: 14.05em; }
.plataforma-cabeca .lead { max-width: 530px; }
.plataforma-padrao { position: absolute; top: 0; bottom: 0; width: 23.1%; }
.plataforma-padrao.esq { left: 0; }
.plataforma-padrao.dir { right: 0; }
.plataforma-tela { padding: 72px 3.65%; }
.plataforma-tela video { width: 100%; height: auto; aspect-ratio: 2322 / 1167; object-fit: cover; border: 1px solid #2e2a36; background: #1e1b25; }

/* ---------- 04 · solução ---------- */
.solucao { padding-bottom: 32px; border-bottom: 1px solid var(--linha-clara); }
.solucao .pixels { top: 200px; top: min(10.4vw, 200px); }
.solucao-cabeca-moldura { width: 100%; margin: clamp(40px, 3.33vw, 64px) 0 32px; border-bottom: 1px solid var(--linha-clara); padding: 0 0 32px; }
.embrulho-esq { padding-left: calc((100vw - var(--largura)) / 2); gap: 28px; }
.embrulho-esq .titulo { max-width: 18.4em; }
.embrulho-esq .lead { max-width: 754px; margin-top: -12px; }
.solucao .regua { margin-bottom: 32px; }
.solucao { overflow-x: clip; }
.carrossel { display: flex; gap: 25px; margin-bottom: 32px; cursor: grab; touch-action: pan-y; user-select: none; will-change: transform; }
.carrossel img { pointer-events: none; }
.carrossel.arrastando { cursor: grabbing; }
.recurso { flex: none; width: min(1068px, 86vw); height: 480px; display: grid; grid-template-columns: 432px 1fr; gap: 8px; scroll-snap-align: start; }
.recurso:first-child { margin-left: 0; }
.recurso-foto { background: var(--fundo-escuro); overflow: hidden; }
.recurso-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.recurso-painel { padding: 47px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--p); color: var(--h); }
.recurso-texto { display: flex; flex-direction: column; gap: 21px; max-width: 534px; }
.recurso-texto h3 { font-size: var(--t-h3); line-height: 1.1; font-weight: 400; }
.recurso-texto p { font-size: var(--t-lead); line-height: 1.42; font-weight: 300; color: var(--c); }
.recurso-texto p + p { margin-top: -21px; padding-top: 1.42em; }
.chip { display: inline-flex; height: 28px; align-self: flex-start; font-size: 16px; line-height: 20px; }
.chip span { padding: 4px 10px; background: var(--cf); color: var(--ct); }
.chip i:nth-of-type(1) { width: 8px; background: var(--b1); }
.chip i:nth-of-type(2) { width: 5px; background: var(--b2); }
.rc-vermelho { --p: #a80d2b; --h: #f4f2f5; --c: #fadce1; --q: #69091d; --mais: #fadce1; --cf: #faf9f7; --ct: #a80d2b; --b1: #de4c66; --b2: #eb8496; }
.rc-teal { --p: #007d7a; --h: #f4f2f5; --c: #cdedea; --q: #074e4c; --mais: #cdedea; --cf: #faf9f7; --ct: #007d7a; --b1: #2fb3a6; --b2: #66c8be; }
.rc-nude { --p: #e8cdbd; --h: #2b2420; --c: #5c4a40; --q: #5c4a40; --mais: #f6e9e1; --cf: #2b2420; --ct: #f6e9e1; --b1: #5c4a40; --b2: #8c7465; }
.rc-branco { --p: #fff; --h: #171621; --c: #6d6a75; --q: #a80d2b; --mais: #faf9f7; --cf: #171621; --ct: #f4f2f5; --b1: #a80d2b; --b2: #de4c66; }
.rc-branco .recurso-painel { box-shadow: inset 0 0 0 1px #dfdde1; }

/* ---------- 05 · métricas + vidros no scroll ---------- */
.metricas { padding: var(--secao) 0 clamp(56px, 4.58vw, 88px); overflow-x: clip; }
.metricas-padrao { position: absolute; left: 6.51%; right: 6.51%; top: 0; height: 1207px; height: min(62.9vw, 1207px); opacity: .9; }
/* termina abaixo do manifesto: a pilha passa por cima do texto e repousa embaixo dele, como no Figma */
.camadas { position: absolute; inset: 0 0 calc(min(39vw, 750px) * -.18) 0; padding-top: 6vw; pointer-events: none; z-index: 2; }
.camadas-canvas { position: sticky; top: max(0px, calc(50vh - min(39vw, 750px) * .625)); width: min(39vw, 750px); aspect-ratio: 4 / 5; margin-inline: auto; }
.metricas-rotulos { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; z-index: 3; }
.metricas-cabeca { max-width: 900px; gap: 22px; position: relative; z-index: 1; }
.metricas-lead { max-width: 25em; font-weight: 300; }
.metricas-numeros { margin-top: calc(min(27.76vw, 533px) + min(5vw, 96px)); position: relative; z-index: 1; }
.metricas-numeros .cabeca { margin-bottom: 106px; }
.metricas-numeros .legenda, .metricas-numeros .regua { width: 100%; }
.numeros { margin-top: 28px; border-top: 1px solid rgba(23, 22, 33, .08); }
.numero { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 40px max(var(--calha), calc((100vw - 1506px) / 2)); border-bottom: 1px solid rgba(23, 22, 33, .06); }
.numero dt { display: flex; align-items: flex-start; gap: 12px; }
.n-valor { width: 4.1em; text-align: left; font-size: clamp(56px, 4.86vw, 93px); line-height: .8; letter-spacing: -.02em; }
.n-valor em { font-style: normal; color: var(--vermelho); }
.n-rotulo { margin-left: 20px; font-size: 16px; line-height: 20px; text-transform: uppercase; color: var(--teal); }
.numero dd { width: 287px; font-size: var(--t-lead); line-height: 1.42; color: var(--tinta-2); }
.fechamento { margin-top: 226px; display: flex; flex-direction: column; align-items: center; gap: 55px; text-align: center; position: relative; z-index: 1; }
.pixels-fechamento { right: 0; top: 79px; }
/* espaço abaixo do manifesto onde a pilha de vidros repousa no fim da rolagem */
.fechamento { padding-bottom: calc(min(39vw, 750px) * .62); }
.manifesto { font-size: clamp(36px, 5.18vw, 99.5px); line-height: .99; font-weight: 450; text-transform: uppercase; max-width: 14.3em; }
.manifesto em { font-style: normal; color: var(--vermelho); }

/* ---------- 06 · painel do gestor ---------- */
.gestao { padding-bottom: var(--secao); }
.gestao .divisor { margin-bottom: clamp(40px, 3.33vw, 64px); }
.gestao .regua { margin-bottom: 56px; }
.gestao-cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.gestao-cabeca .titulo { max-width: 15em; }
.gestao-lead { max-width: 602px; text-align: right; font-weight: 450; }
.gestao-linhas { margin-top: 56px; border-top: 1px solid rgba(244, 242, 245, .13); }
.gestao-linha { display: grid; grid-template-columns: 237px minmax(0, 485px) 372px; justify-content: space-between; align-items: center; gap: 40px; min-height: 286px; padding-block: 22px; }
/* divisória entre as linhas de ponta a ponta da tela, como as bordas de cima e de baixo do bloco */
.gestao-linha { position: relative; }
.gestao-linha + .gestao-linha::before { content: ""; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 1px; background: rgba(244, 242, 245, .13); }
.gestao-linha::after { content: ""; position: absolute; left: calc((var(--largura) - 100vw) / 2); right: calc((var(--largura) - 100vw) / 2); bottom: 0; }
.gestao-linhas { border-bottom: 1px solid rgba(244, 242, 245, .13); }
.gl-nome { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.selo-mini { padding: 3px 12px 3px 10px; border-bottom: 1px solid var(--teal-2); color: var(--teal-2); font-size: 16px; font-weight: 450; line-height: 22px; }
.gl-nome h3 { font-size: var(--t-h3); line-height: 1.08; font-weight: 400; }
.gl-arte { width: 100%; aspect-ratio: 485 / 300; }
.gl-texto { display: flex; flex-direction: column; gap: 20px; }
.gl-texto p { font-size: var(--t-lead); line-height: 1.42; }
.gl-texto ul { display: flex; flex-direction: column; gap: 10px; }
.gl-texto ul.ul-linha { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
.gl-texto li { display: flex; align-items: center; gap: 12px; font-size: var(--t-corpo); line-height: 23px; font-weight: 300; color: var(--tinta-3); }
.gl-texto li::before { content: ""; width: 6px; height: 6px; background: var(--teal-2); flex: none; }
.gestao .botao { display: flex; width: fit-content; margin-top: 115px; min-width: 380px; }

/* ---------- 07 · ecossistema ---------- */
.ecossistema { padding: var(--secao) 0; }
.eco-cabeca { gap: 28px; padding-bottom: 36px; position: relative; }
.eco-cabeca::after { content: ""; position: absolute; bottom: 0; left: calc((var(--largura) - 100vw) / 2 + 6.51vw); right: calc((var(--largura) - 100vw) / 2 + 6.51vw); height: 1px; background: rgba(244, 242, 245, .08); }
.ecossistema { border-bottom: 1px solid var(--linha-escura); }
.eco-cabeca .titulo { max-width: 20em; }
.eco-cabeca .lead { max-width: 672px; margin-top: -12px; }
.ecossistema .regua { margin-bottom: 32px; }
.ecossistema .eco-cabeca + .embrulho { padding-top: 32px; }
.eco-conteudo { display: flex; justify-content: space-between; gap: 48px; }
.eco-lista { width: min(647px, 100%); }
.eco-item { width: 100%; display: grid; grid-template-columns: 56px 48px 1fr; align-items: start; column-gap: 1px; padding: 28px 0; border: 0; border-bottom: 1px solid #2e2a36; background: none; text-align: left; cursor: pointer; }
.eco-item .eco-texto { margin-left: 31px; display: flex; flex-direction: column; gap: 10px; }
.eco-num { font-size: 14px; font-weight: 450; line-height: 20px; margin-top: 14px; color: var(--tinta-2); }
.eco-icone { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #2e2a36; color: var(--teal-3); transition: border-color .4s, background-color .4s, color .4s; }
.eco-icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eco-item.ativo .eco-icone { border-color: rgba(197, 27, 61, .6); background: rgba(197, 27, 61, .12); color: var(--clara); }
.eco-nome { font-size: var(--t-h3); line-height: 1.1; color: var(--tinta-2); transition: color .2s; margin-top: 9px; }
.eco-desc { display: none; font-size: var(--t-lead); line-height: 1.42; font-weight: 450; color: var(--tinta-3); max-width: 431px; }
.eco-item.ativo .eco-num { color: var(--vermelho-2); }
.eco-item.ativo .eco-nome { color: var(--clara); margin-top: 0; }
.eco-item.ativo .eco-desc { display: block; }
.eco-item:hover .eco-nome { color: var(--clara); }
.eco-visual { flex: none; width: min(620px, 45%); min-height: 467px; background: #171621 radial-gradient(#2e2a36 .75px, transparent 1px) 0 0 / 24px 24px; border: 1px solid #2e2a36; position: relative; overflow: hidden; }
/* uma imagem por produto; a do item em foco aparece com um leve recuo de zoom */
.eco-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.04; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), scale 1.6s cubic-bezier(.22, 1, .36, 1); }
.eco-visual img.ativo { opacity: 1; scale: 1; }
@media (prefers-reduced-motion: reduce) { .eco-visual img { transition: none; scale: 1; } }

/* ---------- 07b · fabricantes ---------- */
.fabricantes { padding: 64px 0 72px; }
.fabricantes .titulo { max-width: 15em; }
.fabricantes .lead { max-width: 560px; }
/* faixa de fabricantes: passa sozinha e sem fim; para com o mouse em cima; as pontas somem num degradê */
.parceiros { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.parceiros-trilho { display: flex; width: max-content; animation: parceiros-passa 48s linear infinite; }
.parceiros:hover .parceiros-trilho { animation-play-state: paused; }
.parceiros-trilho li { flex: none; width: 220px; height: 100px; margin-right: 24px; display: grid; place-items: center; background: url("../img/moldura-parceiro.svg") center / 100% 100%; }
/* logos em branco, no mesmo tom, para nenhuma marca gritar mais que a outra no fundo escuro */
.parceiros-trilho img { width: 140px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); opacity: .72; }
@keyframes parceiros-passa { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .parceiros { -webkit-mask-image: none; mask-image: none; }
  .parceiros-trilho { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .parceiros-trilho li { margin-right: 0; }
  .parceiros-trilho li[aria-hidden] { display: none; }
}
.cruzes { margin-top: 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cruzes img { width: 356px; height: 20px; }
.cruzes span { font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--tinta-3); }

/* ---------- 08 · dúvidas ---------- */
.duvidas .divisor { margin-bottom: clamp(40px, 3.33vw, 64px); }
.duvidas-cabeca { gap: 22px; padding-bottom: 57px; }
.duvidas-cabeca .titulo { max-width: 14.75em; }
.duvidas-cabeca .botao { margin-top: 5px; }
.duvidas-faixa { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 676px) 1fr; border-top: 1px solid rgba(23, 22, 33, .08); margin-inline: 12px; }
/* divisória de ponta a ponta fechando a faixa das perguntas, como no Figma */
.duvidas-faixa::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: 0; height: 1px; background: rgba(23, 22, 33, .09); }
.duvidas-faixa::before { content: ""; position: absolute; left: -12px; right: -12px; top: -1px; height: 1px; background: rgba(23, 22, 33, .08); }
.acordeao { padding: 37px; border-inline: 1px solid rgba(0, 0, 0, .09); }
.acordeao details { border-bottom: 1px solid #dfdde1; padding-block: 28px; }
.acordeao details:first-child { padding-top: 0; }
.acordeao details:last-child { border-bottom: 0; padding-bottom: 0; }
.acordeao summary { display: flex; justify-content: space-between; align-items: center; gap: 32px; font-size: clamp(19px, 1.15vw, 22px); line-height: 1.1; cursor: pointer; list-style: none; min-height: 40px; }
.acordeao summary::-webkit-details-marker { display: none; }
.ac-botao { flex: none; width: 40px; height: 40px; border: 1px solid #dfdde1; position: relative; transition: background-color .2s; }
.ac-botao::before, .ac-botao::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.2px; background: var(--tinta-2); transform: translate(-50%, -50%); }
.ac-botao::after { transform: translate(-50%, -50%) rotate(90deg); }
.acordeao details[open] .ac-botao { background: var(--vermelho); border-color: var(--vermelho); }
.acordeao details[open] .ac-botao::before { background: var(--fundo-claro); }
.acordeao details[open] .ac-botao::after { display: none; }
.acordeao details p { margin-top: 16px; max-width: 600px; padding-right: 72px; font-size: var(--t-lead); line-height: 1.5; font-weight: 450; color: var(--tinta-2); }

/* ---------- 09 · contato ---------- */
.contato { padding: 64px 0 120px; }
.trilhos-linhas { color: #dfdde1; }
.contato-card { position: relative; isolation: isolate; width: min(1320px, 100vw - 2 * var(--calha)); margin-inline: auto; display: grid; grid-template-columns: 620fr 698fr; border: 1px solid #dfdde1; }
.contato-sombra { position: absolute; inset: 24px -24px -24px 24px; border: 1px solid #dfdde1; background: radial-gradient(#c4c1c9 .75px, transparent 1px) 8px 8px / 16px 16px; z-index: -1; }
.contato-escuro { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 56px; background: var(--fundo-escuro) radial-gradient(#2e2a36 .75px, transparent 1px) 12px 12px / 24px 24px; color: var(--clara); overflow: hidden; }
.contato-escuro .cabeca { max-width: 508px; }
.contato-escuro .lead { max-width: 439px; margin-top: -2px; font-weight: 450; }
.contato-pixels { right: 48px; top: 40px; }
.contato-ilustra { position: relative; width: 100%; aspect-ratio: 508 / 267; }
.contato-ilustra canvas { position: absolute; left: 12.6%; top: 0; width: 74.8%; height: 100%; }
/* o SVG das conexões cobre o painel inteiro (620×745); aqui ele é posicionado em relação à ilustração (508×267 em 56,422) */
.contato-ilustra img { position: absolute; left: -11.02%; top: -158.05%; width: 122.05%; max-width: none; }
.formulario { background: #fff; padding: 56px; display: flex; flex-direction: column; gap: 24px; }
.form-topo { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 450; line-height: 20px; color: var(--tinta-4); }
.form-topo span:first-child { color: var(--teal); }
.form-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.campo { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.campo > span, .campo legend { font-size: 14px; font-weight: 450; line-height: 20px; color: #4a4652; padding: 0; }
.campo:focus-within > span { color: var(--vermelho); }
.campo input, .campo textarea { width: 100%; padding: 16px; border: 1px solid #dfdde1; border-radius: 3px; background: #fff; font-size: 16px; font-weight: 300; line-height: 23px; color: var(--tinta); }
.campo textarea { resize: vertical; min-height: 120px; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--tinta-3); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--vermelho); box-shadow: inset 0 0 0 .5px var(--vermelho); }
.chips legend { margin-bottom: 10px; }
.chips-lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chips-lista label { position: relative; }
.chips-lista input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-lista span { display: flex; justify-content: center; align-items: center; gap: 8px; height: 53px; border: 1px solid #dfdde1; border-radius: 3px; font-size: 16px; font-weight: 300; color: #4a4652; transition: background-color .15s, color .15s; }
.chips-lista input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--fundo-claro); }
.chips-lista input:checked + span::before { content: ""; width: 9px; height: 5px; border-left: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.chips-lista input:focus-visible + span { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.consentimento { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.42; font-weight: 300; color: var(--tinta-2); cursor: pointer; }
.consentimento input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid #dfdde1; border-radius: 3px; display: grid; place-items: center; cursor: pointer; }
.consentimento input:checked { background: var(--teal); border-color: var(--teal); }
.consentimento input:checked::before { content: ""; width: 9px; height: 5px; border-left: 1.4px solid #f4f2f5; border-bottom: 1.4px solid #f4f2f5; transform: rotate(-45deg) translateY(-1px); }
.form-aviso { font-size: 14px; color: var(--teal); min-height: 0; }
.form-aviso:empty { display: none; }

/* ---------- 10 · rodapé ---------- */
.rodape { position: relative; }
.rodape .embrulho { padding-top: 64px; }
.rodape-topo { display: flex; justify-content: space-between; gap: 80px; flex-wrap: wrap; }
.rodape-marca { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 344px; }
.marca-grande .marca-logo { width: 56px; height: 56px; }
.marca-grande { gap: 16px; }
.marca-grande .marca-nome { font-size: 32px; line-height: 26px; }
.rodape-marca p { font-size: 20px; line-height: 1.42; color: var(--tinta-3); }
.rodape-links { display: flex; gap: 96px; flex-wrap: wrap; }
.rodape-links div { display: flex; flex-direction: column; gap: 14px; }
.rodape-links span { font-size: 14px; line-height: 20px; color: var(--teal-2); margin-bottom: 20px; }
.rodape-links a { font-size: 15px; font-weight: 500; line-height: 21px; letter-spacing: .04em; text-transform: uppercase; color: var(--tinta-3); transition: color .2s; }
.rodape-links a:hover { color: var(--clara); }
/* assinatura: o nome gigante com dois "ecos" acima, cada um mostrando só a parte de cima das letras */
.assinatura { position: relative; margin-top: 80px; padding-top: .4em; font-size: calc(var(--largura) * .1449); line-height: .78; font-weight: 500; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; user-select: none; }
.assinatura span { position: absolute; left: 0; top: .4em; color: #c51b3d; }
/* ecos: cópias do nome acima dele, que somem num degradê para baixo (sem corte seco nas letras) e sobem
   com a rolagem (--p, js/assinatura.js); o nome da frente cobre o resto */
.assinatura span:nth-child(1), .assinatura span:nth-child(2) { -webkit-mask-image: linear-gradient(#000 .05em, transparent .3em); mask-image: linear-gradient(#000 .05em, transparent .3em); will-change: transform; }
.assinatura span:nth-child(1) { color: #2a030b; transform: translateY(calc(var(--p, 1) * -.4em)); }
.assinatura span:nth-child(2) { color: #4a0715; transform: translateY(calc(var(--p, 1) * -.2em)); }
.assinatura span:nth-child(3) { position: relative; top: 0; display: block; }
.rodape-base { margin-top: 80px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 24px 0 40px; border-top: 1px solid #2e2a36; font-size: 14px; line-height: 20px; color: var(--tinta-4); text-transform: uppercase; }
.creditos { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: inherit; text-decoration: none; transition: color .25s; }
.creditos:hover, .creditos:focus-visible { color: var(--clara); }

/* =========================================================
   Tablet (≤ 1100)
   ========================================================= */
@media (max-width: 1100px) {
  .trilhos, .marca-x, .hero-anotacoes, .problema-trilhos { display: none; }
  .topo-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; flex-direction: column; gap: 4px; padding: 12px; background: rgba(14, 13, 18, .96); border: 1px solid #2e2a36; }
  .topo-nav.aberto { display: flex; }
  .topo-nav a { opacity: 1; padding: 12px 8px; font-size: 16px; }
  .topo-menu { display: flex; }
  .topo-login { display: none; }
  .problema-radar { height: 72px; min-height: 0; }
  .cards-problema { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 40px; }
  .gestao-cabeca { flex-direction: column; align-items: flex-start; }
  .gestao-lead { text-align: left; }
  .gestao-linha { grid-template-columns: 1fr 1fr; grid-template-areas: "nome arte" "texto arte"; align-items: start; }
  .gl-nome { grid-area: nome; } .gl-arte { grid-area: arte; } .gl-texto { grid-area: texto; }
  .eco-conteudo { flex-direction: column; }
  .eco-visual { width: 100%; min-height: 320px; }
  .duvidas-faixa { grid-template-columns: 1fr; margin-inline: 0; }
  /* sem a margem lateral, os traços de cima e de baixo não podem passar da tela (dava rolagem para o lado) */
  .duvidas-faixa::before, .duvidas-faixa::after { left: 0; right: 0; }
  .duvidas-faixa > .padrao { display: none; }
  .acordeao { border: 0; width: var(--largura); margin-inline: auto; padding-inline: 0; }
  .contato-card { grid-template-columns: 1fr; }
  .contato-sombra { display: none; }
  .metricas-rotulos { display: none; }
  .numero { flex-direction: column; gap: 16px; padding-inline: var(--calha); }
  .numero dd { width: auto; max-width: 420px; padding-left: 31px; }
}

/* =========================================================
   Celular (≤ 767)
   ========================================================= */
@media (max-width: 767px) {
  :root { --calha: 16px; }
  .topo-barra { margin-top: 8px; padding: 8px 0; width: calc(100vw - 32px); }
  .topo-cta { font-size: 12px; gap: 8px; } .topo-cta svg { width: 14px; height: 14px; } .topo-acoes { gap: 8px; }
  .marca-logo { width: 32px; height: 32px; } .marca-nome { font-size: 19px; }

  .hero { height: auto; padding-top: 104px; padding-bottom: 48px; }
  .hero-fundo { height: 100%; background: radial-gradient(220% 70% at 50% -10%, #171621 33%, #007d7a 70%, #faf9f7 100%); }
  .hero-titulo { position: relative; left: auto; top: auto; width: var(--largura); margin-inline: auto; font-size: 34px; }
  /* o vídeo fica logo abaixo do título (a altura dele muda com o número de linhas; o main.js mede) e a legenda
     só começa depois do vídeo: nada de imagem por cima de texto */
  .hero-video { left: 50%; transform: translateX(-50%); top: calc(var(--hero-titulo-base, 244px) + 12px); width: 260vw; height: 73vw; }
  .hero-base { position: relative; top: auto; margin-top: calc(73vw + 32px); }
  .hero-base .legenda, .hero-base .regua, .hero-rodape { padding-inline: 0; }
  .hero-rodape { flex-direction: column; gap: 24px; }
  .hero-rodape .botao, .botao { width: 100%; min-width: 0; }
  .gestao .botao { min-width: 0; width: var(--largura); margin-top: 40px; }
  .gestao-linhas { border-bottom: 0; }
  .gestao-linha:last-child { padding-bottom: 8px; }

  .problema .divisor, .gestao .divisor, .duvidas .divisor { margin-bottom: 40px; }
  .problema .pixels, .solucao .pixels { display: none; }
  /* no celular os cards pulsam sozinhos: sai o radar e a interação, e o rótulo usa o marcador quadrado */
  .problema-radar { display: none; }
  .cards-problema { margin-top: 40px; gap: 40px; }
  .card-p { cursor: default; transform: none !important; }
  .card-p-rotulo i { display: none; }
  .card-p-rotulo b { width: 23px; background: var(--rot); position: relative; }
  .card-p-rotulo b::after { content: ""; position: absolute; left: 7px; top: 7px; width: 9px; height: 9px; border: 1px solid var(--rot-t); box-sizing: border-box; }
  .card-p-rotulo b { background-image: none; }
  .problema .botao { margin-top: 48px; width: var(--largura); }

  .plataforma-cabeca { padding: 48px 16px; }
  .plataforma-padrao { display: none; }
  .moldura { width: 100%; border-inline: 0; }
  /* no celular o vídeo sangra até as bordas e usa a versão vertical 4:5 (media/plataforma-celular.mp4) */
  .plataforma-tela { padding: 24px 0 40px; }
  .plataforma-tela video { aspect-ratio: 4 / 5; border-inline: 0; }

  .solucao-cabeca-moldura { width: 100%; margin-top: 56px; border-left: 0; }
  .embrulho-esq { padding-left: 16px; padding-right: 16px; }
  /* card mais alto, com a foto maior e o texto logo abaixo do selo (sem o vão do desktop) */
  .recurso { width: 86vw; height: auto; grid-template-columns: 1fr; }
  .recurso-painel { padding: 24px; min-height: 0; gap: 28px; justify-content: flex-start; }
  /* no celular as legendas das seções saem e fica só a régua (a da Hero continua) */
  .sec .legenda { display: none; }
  .carrossel { padding-inline: 16px; gap: 12px; }

  .metricas { padding-bottom: 96px; }
  .metricas-padrao { display: none; }
  .camadas-canvas { width: min(78vw, 420px); top: calc(50vh - min(78vw, 420px) * .625); }
  .metricas-numeros { margin-top: 64vw; }
  .metricas-numeros .cabeca { margin-bottom: 48px; }
  .n-valor { width: auto; text-align: left; font-size: clamp(48px, 15vw, 64px); }
  .numero dd { padding-left: 31px; }
  .fechamento { margin-top: 120px; gap: 32px; }
  .pixels-fechamento { display: none; }

  .gestao .divisor { margin-bottom: 40px; }
  .gestao-linha { grid-template-columns: 1fr; grid-template-areas: "nome" "arte" "texto"; gap: 20px; padding-block: 40px; }

  .eco-item { grid-template-columns: 44px 40px 1fr; }
  .eco-icone { width: 40px; height: 40px; }
  .eco-icone svg { width: 24px; height: 24px; }
  .eco-item .eco-texto { margin-left: 16px; }
  /* no celular a imagem do produto em foco fica embaixo da lista */
  .eco-visual { display: block; width: 100%; min-height: 0; aspect-ratio: 771 / 467; margin-top: 8px; }
  .parceiros { margin-top: 32px; }
  .parceiros-trilho { animation-duration: 36s; }
  .parceiros-trilho li { width: 160px; height: 80px; margin-right: 12px; }
  .parceiros-trilho img { width: 112px; height: 40px; }
  .cruzes { margin-top: 64px; }
  .cruzes img { width: 260px; height: auto; }

  .acordeao details p { padding-right: 0; }
  .contato { padding-bottom: 72px; }
  .contato-card { width: var(--largura); }
  .contato-escuro, .formulario { padding: 28px 20px; }
  /* painel escuro mais curto: a cena e as etiquetas ocupam o espaço sem sobrar faixa vazia embaixo */
  .contato .contato-escuro { min-height: 0; height: calc(var(--largura) * 745 / 620); }   /* mesma proporção do desenho */
  .contato .contato-ilustra { top: 50%; bottom: 0; }
  /* réguas no celular: só uma linha fina, sem as marcas das pontas */
  .regua { height: 1px; margin-top: 24px; }
  .regua::before { left: 0; right: 0; top: 0; }
  .regua::after { display: none; }
  .sec .regua { margin-top: 0; }
  /* carrossel: texto em cima, foto embaixo */
  .recurso { grid-template-rows: auto 300px; }
  .recurso-foto { order: 2; }
  .contato-pixels { display: none; }
  .form-linha { grid-template-columns: 1fr; }
  .chips-lista { grid-template-columns: 1fr 1fr; }

  .rodape .embrulho { padding-top: 56px; }
  /* links em duas colunas: Navegação e Legal lado a lado, Contato embaixo (o e-mail precisa da largura toda) */
  .rodape-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; width: 100%; }
  .rodape-links div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .rodape-links span { margin-bottom: 8px; }
  .rodape-links a { font-size: 14px; }
  .assinatura { margin-top: 56px; }
  .rodape-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- ecossistema: temporizador ---------- */
.eco-item { position: relative; }
.eco-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: transparent; overflow: hidden; }
.eco-prog::after { content: ""; position: absolute; inset: 0; background: var(--vermelho-2); transform: scaleX(0); transform-origin: left; }
.eco-rodando .eco-item.ativo .eco-prog::after { animation: eco-tempo 6.5s linear forwards; }
.eco-trilho { position: absolute; left: 6.51%; width: 3px; transform: translateX(-1px); background: rgba(197, 27, 61, .25); transition: top .5s cubic-bezier(.4, 0, .2, 1), height .5s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.eco-trilho i { position: absolute; inset: 0; background: var(--vermelho-2); transform: scaleY(0); transform-origin: top; }
.eco-rodando .eco-trilho i { animation: eco-tempo-v 6.5s linear forwards; }
.eco-pausado .eco-prog::after, .eco-pausado .eco-trilho i, .eco-pausa-mouse .eco-prog::after, .eco-pausa-mouse .eco-trilho i { animation-play-state: paused !important; }
@keyframes eco-tempo { to { transform: scaleX(1); } }
@keyframes eco-tempo-v { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eco-trilho i { transform: none; } }
@media (max-width: 1100px) { .eco-trilho { display: none; } }

/* ---------- carrossel: cursor "Drag" ---------- */
.carrossel.com-cursor, .carrossel.com-cursor * { cursor: none; }
.cursor-drag { position: fixed; left: 0; top: 0; z-index: 40; transform-origin: 50% 50%; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; background: var(--tinta); color: var(--clara); font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; opacity: 0; scale: .6; transition: opacity .25s, scale .35s cubic-bezier(.22, 1, .36, 1); box-shadow: 0 8px 24px rgba(23, 22, 33, .25); }
.cursor-drag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--vermelho-2); }
.cursor-drag svg { width: 6px; height: 11px; fill: var(--vermelho-2); }
.cursor-drag.visivel { opacity: 1; scale: 1; }
.cursor-drag.pressionado { scale: .94; }
/* ---------- rodapé: créditos animados ---------- */
.chama { position: relative; width: 15px; height: 18px; flex: none; }
.chama img { position: absolute; inset: 0; }
.chama img + img { opacity: 0; }
.chama i { position: absolute; top: 1px; width: 1px; height: 1px; opacity: 0; }
.creditos-nomes { overflow: visible; }
/* ---------- linhas do grid ancoradas (posicionadas por js/linhas.js) ---------- */
.trilhos[data-de] { inset: auto 0 auto 0; }
.trilhos.so-externos { background-size: 1px 100%, 0 0, 0 0, 1px 100%; }
.trilhos.so-internos { background-size: 0 0, 1px 100%, 1px 100%, 0 0; }
/* o × fica centrado no cruzamento: o trilho de 1px em P% fica em P·(L−1), e o × de 6px em P·(L−6) + desvio,
   então o desvio é 5·P − 2,5px; na vertical, centra na linha de 1px (−2,5px) */
.xs { position: absolute; left: 0; right: 0; height: 6px; margin-top: -2.5px; pointer-events: none; z-index: 2; --xc: rgba(23, 22, 33, .4);
  --x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 0l6 6M6 0L0 6' stroke='%23171621' stroke-opacity='.4' stroke-width='.75'/%3E%3C/svg%3E");
  background: var(--x) no-repeat, var(--x) no-repeat, var(--x) no-repeat, var(--x) no-repeat;
  background-position: calc(1.72% - 2.414px) 0, calc(6.51% - 2.175px) 0, calc(93.49% + 2.175px) 0, calc(98.28% + 2.414px) 0; }
.escuro .xs { --x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 0l6 6M6 0L0 6' stroke='%23F4F2F5' stroke-opacity='.4' stroke-width='.75'/%3E%3C/svg%3E"); }
.xs-int { background-size: 0 0, 6px 6px, 6px 6px, 0 0; }
.xs-oculto { display: none; }
.xs-ext { background-size: 6px 6px, 0 0, 0 0, 6px 6px; }
@media (max-width: 1100px) { .xs { display: none; } }
/* ---------- ecossistema: ícones animados (no item ativo e no hover) ---------- */
/* ---------- problema: rajada de tiros, piscada de chegada, interação do card ---------- */
.trilho-pulso .tiro { stroke: var(--cor); stroke-width: 2.6; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 3px var(--cor)) drop-shadow(0 0 8px var(--cor)); }
.chegadas g.pisca { animation: chegada-pisca .5s steps(1) 1; }
@keyframes chegada-pisca { 0% { opacity: 1; } 16% { opacity: .2; } 33% { opacity: 1; } 50% { opacity: .2; } 66% { opacity: 1; } 83% { opacity: .3; } 100% { opacity: 1; } }
.card-p { cursor: pointer; transform: perspective(900px) translate(var(--mx, 0), var(--my, 0)) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: border-color .5s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.card-p::after { content: ""; position: absolute; inset: 0; background: var(--l-forte); opacity: 0; pointer-events: none; z-index: 4; mix-blend-mode: screen; }
.card-p.pisca::after { animation: card-pisca .42s steps(1) 1; }
@keyframes card-pisca { 0% { opacity: .22; } 25% { opacity: 0; } 50% { opacity: .14; } 75%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .card-p { transform: none; } }
/* ---------- texto: surgimento em varredura ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-wipe="pendente"] { visibility: hidden; animation: wipe-failsafe 0s 3s forwards; }
  @keyframes wipe-failsafe { to { visibility: visible; } }
}
.gw-p { display: inline-block; white-space: pre; color: transparent; -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat; vertical-align: baseline; }

/* ---------- anotações: interação e pulsos ---------- */
.hero-anotacoes > [data-flutua], .hero-anotacoes > [data-scanner] { pointer-events: auto; cursor: pointer; will-change: translate; }
.svg-pulsos { overflow: visible; }
.pulso-traco { stroke-dasharray: 4 96; stroke-dashoffset: 100; stroke-width: 2; opacity: .95; animation: pulso-traco 1.6s linear infinite; }
@keyframes pulso-traco { to { stroke-dashoffset: 0; } }
[data-flutua].piscando, [data-scanner].piscando, .svg-pulsos.piscando { animation: anota-pisca .4s steps(1) 1; }
@keyframes anota-pisca { 0%, 50% { opacity: .25; } 25%, 75%, 100% { opacity: 1; } }
.contato-ilustra .svg-pulsos { pointer-events: auto; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pulso-traco { display: none; } }

/* ---------- rodapé: assinatura pixelada e cores mais leves ---------- */
/* glitch da assinatura: um "passo falso" com fatias deslocadas por cima e o texto embaralhando até virar Tera Access */
.assinatura span:nth-child(3)::before, .assinatura span:nth-child(3)::after { content: attr(data-t); position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.assinatura.glitch span:nth-child(3)::before { opacity: 1; color: #ff5a6e; animation: glitch-a .42s steps(1) 1; }
.assinatura.glitch span:nth-child(3)::after { opacity: 1; color: #460613; animation: glitch-b .42s steps(1) 1; }
.assinatura.glitch span:nth-child(3) { animation: glitch-c .42s steps(1) 1; }
@keyframes glitch-a { 0% { clip-path: inset(10% 0 70% 0); transform: translateX(-1.5%); } 25% { clip-path: inset(55% 0 25% 0); transform: translateX(2%); } 50% { clip-path: inset(30% 0 52% 0); transform: translateX(-.8%); } 75% { clip-path: inset(72% 0 6% 0); transform: translateX(1.2%); } 100% { clip-path: inset(100% 0 0 0); } }
@keyframes glitch-b { 0% { clip-path: inset(62% 0 18% 0); transform: translateX(1.4%); } 33% { clip-path: inset(18% 0 66% 0); transform: translateX(-2%); } 66% { clip-path: inset(44% 0 40% 0); transform: translateX(1%); } 100% { clip-path: inset(100% 0 0 0); } }
@keyframes glitch-c { 0%, 100% { transform: none; } 20% { transform: translateX(-.4%); } 40% { transform: translateX(.6%); } 60% { transform: translateX(-.2%); } }
.rodape-marca p { color: var(--tinta-4); }
/* ---------- contato: a cena ocupa todo o espaço escuro abaixo do texto ---------- */
.contato-escuro { min-height: 745px; }
.contato-ilustra { position: absolute; left: 0; right: 0; bottom: 0; top: 38%; width: auto; aspect-ratio: auto; }
.contato-ilustra canvas { left: 0; top: 0; width: 100%; height: 100%; }
.contato-ilustra .svg-pulsos { position: absolute; left: 0; bottom: 0; top: auto; width: 100%; height: auto; }
@media (max-width: 1100px) { .contato-escuro { min-height: 640px; } }
/* ---------- transição pixelada (canvas no lugar da faixa, js/divisores.js) ---------- */
/* sobe 1px por cima da seção anterior: cobre a fresta de arredondamento que aparecia como uma linha */
.divisor-vivo { display: block; image-rendering: pixelated; image-rendering: crisp-edges; margin-top: -1px; }
/* ---------- anotações conectadas (js/anotacoes.js): leitura técnica, sem brincadeira ---------- */
.anota-raiz { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.metricas-rotulos.anota-raiz { bottom: auto; aspect-ratio: 1920 / 1000; }
.contato-anot.anota-raiz { z-index: 2; }
.anota-linhas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* linha fina, reta e estática */
.anota-traco { stroke-width: 1; opacity: .7; shape-rendering: geometricPrecision; }
.claro .anota-traco { opacity: .45; }
.anota-tag { position: absolute; left: 0; top: 0; transform-origin: 0 0; user-select: none; will-change: transform, opacity; }
.etq-grafite { --fundo: #2e2a36; --texto: #f4f2f5; --b1: #4a4652; --b2: #6d6a75; --q: #1e1b25; --mais: #c4c1c9; }
.etq-terra { --fundo: #5c4a40; --texto: #f6e9e1; --b1: #e8cdbd; --b2: #f6e9e1; --q: #e8cdbd; --mais: #2b2420; }
.anota-tag .etq-texto { font-variant-numeric: tabular-nums; }
/* alvo: quadrado vazado no ponto lido, com um ponto central discreto */
.anota-alvo { position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border: 1px solid currentColor; color: rgba(244, 242, 245, .85); background: rgba(14, 13, 18, .35); }
.claro .anota-alvo { color: rgba(23, 22, 33, .7); background: rgba(250, 249, 247, .6); }
.anota-alvo i { position: absolute; left: 2px; top: 2px; width: 3px; height: 3px; background: #c51b3d; }
.anota-alvo span { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); font-size: 9px; font-weight: 500; letter-spacing: .06em; color: rgba(244, 242, 245, .75); white-space: nowrap; font-variant-numeric: tabular-nums; }
.claro .anota-alvo span { color: rgba(23, 22, 33, .6); }
/* o painel do contato é escuro dentro de uma seção clara */
.contato-escuro .anota-alvo { color: rgba(244, 242, 245, .85); background: rgba(14, 13, 18, .35); }
.contato-escuro .anota-alvo span { color: rgba(244, 242, 245, .75); }
.contato-escuro .anota-traco { opacity: .7; }
/* caixa do rastreio: cantoneiras e uma linha de leitura lenta */
.anota-caixa { position: absolute; left: 0; top: 0; overflow: hidden;
  background: linear-gradient(var(--c), var(--c)) 0 0 / 14px 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px 14px, linear-gradient(var(--c), var(--c)) 100% 0 / 14px 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 14px,
    linear-gradient(var(--c), var(--c)) 0 100% / 14px 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px 14px, linear-gradient(var(--c), var(--c)) 100% 100% / 14px 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 14px; background-repeat: no-repeat; }
.anota-caixa .varredura { position: absolute; left: 3px; right: 3px; top: 0; height: 1px; background: var(--c); opacity: .7; animation: varredura 2.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes varredura { from { top: 3px; } to { top: calc(100% - 4px); } }
/* na Hero cada leitura entra, rastreia, troca o texto e sai (opacidade guiada por js) */
.anota-grupo-hero > :not(svg) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .anota-grupo-hero > :not(svg) { opacity: 1; } }
@media (max-width: 1100px) { .metricas-rotulos.anota-raiz { display: none; } }
/* ---------- fluidez (js/fluidez.js) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.surge-espera { opacity: 0; }
