/* =========================================================
   PÁGINAS INTERNAS: peças comuns (ver DESIGN.md)
   Margem única de 20px (faixa de 1600px acima de 1640px de tela), faixa de leitura de min(1080px, 76%),
   rótulos pequenos, um ponto de laranja por tela, seções escuras e claras alternando.
   Os comportamentos (data-words, data-reveal, data-glow...) estão em js/paginas.js.
   ========================================================= */
:root { --pg-pad: max(20px, calc((100% - 1600px) / 2)); --pg-band: min(1080px, 76%); }

.pg-label { font-size: 14px; line-height: 1.6; font-weight: 400; font-family: inherit; letter-spacing: 0; }
.pg-hl { color: var(--orange); }
.pg-body { max-width: 34em; font-size: 17px; line-height: 1.6; color: #4a4a4a; }
.pg-body + .pg-body { margin-top: 18px; }

/* seções claras: sobem por cima da escura anterior (que fica presa com .backward) */
.pg-sec { position: relative; z-index: 10; background: var(--bg); color: var(--main); padding: 150px var(--pg-pad); margin-top: -1px; }
.pg-sec__in { position: relative; }
.pg-side { position: absolute; left: 0; top: 10px; }
h2.pg-side, h2.label-plus { font-family: inherit; font-weight: 400; }
.pg-sec .label-plus { font-size: 15px; }
.pg-band { width: var(--pg-band); margin-inline: auto; }

/* parágrafo de abertura que escurece com a rolagem */
.pg-big { font-family: 'Outfit', 'General Sans', Arial, sans-serif; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.16; letter-spacing: -.03em; font-weight: 400; --words-to: #0f0f0f; }
.pg-big .w { color: #d0d0d0; }
.pg-split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; margin-top: 64px; }

/* luz laranja que segue o cursor (data-glow) */
[data-glow] { position: relative; isolation: isolate; }
.pg-glow {
  position: absolute; left: 0; top: 0; z-index: 0; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; border-radius: 50%;
  pointer-events: none; background: radial-gradient(circle, rgb(255 110 0 / .16), rgb(255 110 0 / 0) 60%);
}

/* imagem que se abre (data-reveal) */
[data-reveal] { overflow: hidden; margin: 0; }
[data-reveal] img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* lista em que os outros itens apagam no hover */
@media (hover: hover) {
  /* filter (e não opacity) para não brigar com as animações de entrada, que usam opacity */
  [data-dim-list] > * { transition: filter .45s ease; }
  [data-dim-list]:hover > *:not(:hover) { filter: opacity(.35); }
}

/* ---------- hero escuro das páginas internas ---------- */
.pg-hero { position: relative; min-height: 100vh; overflow: hidden; color: #fff; background: #000; padding: 150px var(--pg-pad) 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.pg-hero > *:not(.pg-glow) { position: relative; z-index: 1; }
.pg-hero .pg-label { color: rgb(255 255 255 / .75); }

/* ---------- chamada de fim de página (escura, com o camaleão) ---------- */
.pg-cta { position: relative; min-height: 100vh; overflow: hidden; color: #fff; background: #000; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px; }
.pg-cta__bg { position: absolute; inset: -8% 0; z-index: 0; }
.pg-cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.26) saturate(.9); }
.pg-cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, transparent 30%, rgb(0 0 0 / .6) 100%); }
.pg-cta__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 900px; }
.pg-cta .pg-label { color: rgb(255 255 255 / .7); margin-bottom: 26px; }
.pg-cta__title { font-family: 'Outfit', 'General Sans', Arial, sans-serif; font-size: clamp(36px, 4.4vw, 72px); line-height: 1.05; letter-spacing: -.035em; font-weight: 400; }
.pg-cta__sub { max-width: 560px; margin-top: 26px; font-size: 17px; line-height: 1.55; color: rgb(255 255 255 / .75); }
.pg-cta .btn { margin-top: 38px; }

@media (max-width: 1024px) {
  :root { --pg-band: 100%; }
  .pg-sec { padding-block: 110px; }
  .pg-side { position: static; margin-bottom: 30px; }
}
@media (max-width: 767px) {
  .pg-sec { padding: 80px 20px; }
  .pg-big { font-size: 25px; line-height: 1.28; }
  .pg-split { grid-template-columns: 1fr; margin-top: 30px; }
  .pg-body { font-size: 16px; }
  .pg-hero { padding: 120px 20px 30px; }
  .pg-cta__title { font-size: 34px; }
}

/* páginas que começam claras: cabeçalho escuro */
.is-light-top .site-header { color: var(--main); }
.is-light-top .menu-trigger { color: var(--main); }
.is-light-top .site-header .btn--outline { --btn-color: var(--main); border-color: rgb(15 15 15 / .2); }

/* Ajuste fino da tipografia no celular (26/11/2026) */
@media (max-width: 767px) {
  .pg-big { font-size: 23px; line-height: 1.3; }
  .pg-cta__title { font-size: 29px; line-height: 1.1; }
}
