/* ==========================================
   FONTES DA MARCA, HOSPEDADAS LOCALMENTE
   Subset latin do Google Fonts v20.
   Servir do proprio dominio tira fonts.googleapis.com e fonts.gstatic.com
   do caminho critico: eram dois DNS + TLS + HTTP antes do primeiro pixel.
   Manrope e variavel: os tres pesos saem do mesmo arquivo, exatamente
   como o proprio Google declara.
   netlify.toml ja cacheia *.woff2 por um ano.
   ========================================== */

@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/wEO_EBrOk8hQLDvIAF81VvoK.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/xn7gYHE41ni1AdIRggexSg.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;
  src:url('/fonts/xn7gYHE41ni1AdIRggexSg.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;
  src:url('/fonts/xn7gYHE41ni1AdIRggexSg.woff2') format('woff2')}
@font-face{font-family:'Allura';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/9oRPNYsQpS4zjuA_iwgW.woff2') format('woff2')}

/* ==========================================
   MIDIA KIT ANA MASCARENHAS
   Tokens: Guia de Marca (Claude Design)
   Luxo lapidar, grafite e dourado
   ========================================== */

:root {
  /* Superficies */
  --p-bg:         #F7F4ED; /* papel, fundo do miolo */
  --p-surface:    #FFFDF8; /* cartao e folha */
  --p-surface-2:  #EFE9DC; /* faixa e bloco alternado */

  /* Tinta */
  --p-ink:        #16130E;
  --p-ink-2:      #3D3729;
  --p-muted:      #6B6350;
  --p-line:       #DDD5C2;

  /* Escuro */
  --p-deep:       #17150F;
  --p-deep-2:     #1D1A12;
  --p-deep-ink:   #F1EBDC;
  --p-deep-muted: #BBA97C;
  --p-deep-line:  #2E2A20;

  /* Dourado */
  --p-gold:        #C9A24B;
  --p-gold-text:   #7E5F17; /* dourado como texto sobre papel, AA 5.4 */
  --p-gold-bright: #E3C878; /* dourado sobre grafite, AA 10.6 */
  --p-accent-ink:  #16130E; /* texto sobre botao dourado, AA 7.7 */

  /* Tipografia */
  --p-display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --p-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;
  --p-script:  'Allura', 'Brush Script MT', cursive;

  /* Forma */
  --p-r-sm: 2px;
  --p-r:    2px;
  --p-r-lg: 6px;

  /* Ritmo */
  --section-py:   clamp(4.5rem, 9vw, 8.5rem);
  --container-px: clamp(1.25rem, 5vw, 3.5rem);
  --container-max: 1240px;
}

/* ==========================================
   RESET
   ========================================== */

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

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

body {
  min-height: 100vh;
  font-family: var(--p-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--p-ink);
  background: var(--p-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ==========================================
   PRIMITIVOS DA MARCA
   ========================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* Rotulo: caps + tracking .3em, o segundo elemento mais reconhecivel da marca */
.eyebrow {
  font-family: var(--p-body);
  font-weight: 600;
  font-size: clamp(.6rem, .55rem + .2vw, .68rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--p-muted);
}
.eyebrow--gold   { color: var(--p-gold-text); }
.eyebrow--bright { color: var(--p-gold-bright); letter-spacing: .34em; }
.eyebrow--dim    { color: var(--p-deep-muted); }

/* Display: sempre caixa-alta, tracking .04em, peso unico */
.disp {
  font-family: var(--p-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
  text-wrap: balance;
}

/* Linha lapidar de 1px: o recurso repetivel da marca */
.linha {
  height: 1px;
  background: var(--p-gold);
  border: 0;
}
.linha--curta { width: 90px; }
.linha--selo  { width: 56px; }

/* Monograma AM entre duas linhas */
.monograma {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.monograma::before,
.monograma::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--p-gold);
}
.monograma span {
  font-family: var(--p-display);
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--p-gold-bright);
}

/* Assinatura manuscrita */
.assinatura {
  font-family: var(--p-script);
  font-weight: 400;
  line-height: 1;
  color: var(--p-gold-text);
}

/* ==========================================
   HERO
   Arquetipo: Split Assimetrico 56/44
   Constraints: Bleed Right + Bleed Top (Layout),
                Imagem Duotone (Midia),
                Mouse Parallax (Interacao),
                Mixed Fonts serif + script (Tipografia)
   SEM animacao de entrada.
   ========================================== */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--p-deep);
  color: var(--p-deep-ink);
  display: grid;
  grid-template-columns: 56fr 44fr;
  align-items: stretch;
  overflow: hidden;
}

/* --- coluna tipografica --- */

.hero__texto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 5vh, 4rem);
  padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 3.5rem) clamp(1.75rem, 3.5vw, 3rem) var(--container-px);
  min-width: 0;
}

.hero__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--p-gold);
  border-bottom: 1px solid var(--p-gold);
  padding: .875rem 0;
}

.hero__miolo { display: flex; flex-direction: column; gap: 1.15rem; }

.hero__nome {
  font-size: clamp(2.4rem, 5.6vw, 6rem);
  color: var(--p-deep-ink);
}

.hero__posicionamento {
  max-width: 46ch;
  font-size: clamp(.95rem, .9rem + .25vw, 1.0625rem);
  line-height: 1.65;
  color: var(--p-deep-muted);
}

.hero__contato {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem clamp(1.25rem, 2.5vw, 2.25rem);
  border-top: 1px solid var(--p-deep-line);
  padding-top: 1.15rem;
  font-size: clamp(.8rem, .76rem + .16vw, .875rem);
  color: var(--p-deep-ink);
}
.hero__contato b {
  font-weight: 800;
  color: var(--p-gold-bright);
  letter-spacing: .04em;
  margin-right: .4rem;
}
.hero__contato a { border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.hero__contato a:hover { border-bottom-color: var(--p-gold); }

/* --- coluna foto: sangra topo, direita e base --- */

.hero__foto {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--p-gold);
}

.hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  /* a foto ja e P&B: aqui so o ajuste de densidade para casar com o grafite */
  filter: grayscale(1) contrast(1.06) brightness(.94);
  transform: scale(1.06) translate(var(--px, 0px), var(--py, 0px));
  transition: transform .9s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

/* Duotone quente: dissolve a foto no grafite sem apagar o rosto */
.hero__foto::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--p-deep) 0%, rgba(23,21,15,.42) 16%, rgba(23,21,15,0) 46%),
    linear-gradient(to top, var(--p-deep) 0%, rgba(23,21,15,0) 26%),
    linear-gradient(to bottom, rgba(23,21,15,.55) 0%, rgba(23,21,15,0) 22%);
}

/* Marca-dagua: assinatura manuscrita sobre a foto */
.hero__marca {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2.25rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 2;
  font-family: var(--p-script);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1;
  color: var(--p-gold-bright);
  opacity: .45;
  pointer-events: none;
}

/* ==========================================
   FAIXA DE CITACAO
   Arquetipo: Isolated Element
   Constraints: Framed Content (Layout), Low Contrast (Cor)
   ========================================== */

.citacao {
  background: var(--p-surface-2);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.citacao__bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
}

.citacao__texto {
  font-family: var(--p-display);
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.15rem);
  line-height: 1.35;
  color: var(--p-ink);
  text-wrap: pretty;
}

.citacao__assinatura { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ==========================================
   SOBRE ANA
   Arquetipo: Editorial
   Constraints: Bleed Left (Layout), Nested Frames (Camadas),
                Selective Color (Cor), Fade Up + Stagger (Movimento)
   ========================================== */

.sobre {
  background: var(--p-bg);
  padding: var(--section-py) 0;
  overflow: hidden;
}

.sobre__grid {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  /* stretch, nao start: com o texto da Ana a coluna de texto ficou bem mais
     alta que a foto de proporcao fixa e sobravam 250px de branco embaixo dela.
     Assim as duas colunas fecham na mesma altura. */
  align-items: stretch;
}

/* --- retrato sangrando a margem esquerda, com moldura deslocada --- */

.sobre__retrato {
  position: relative;
  margin-left: calc(var(--container-px) * -1);
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.sobre__retrato img {
  width: 100%;
  flex: 1;
  min-height: clamp(22rem, 42vw, 38rem);
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.04);
  border-radius: 0 var(--p-r-lg) var(--p-r-lg) 0;
}

/* moldura de 1px deslocada: nested frames */
.sobre__retrato::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--p-gold);
  border-radius: var(--p-r-lg);
  pointer-events: none;
  z-index: -1;
}

.sobre__legenda {
  margin-top: 1.75rem;
  padding-left: var(--container-px);
  font-size: .8rem;
  line-height: 1.5;
  color: var(--p-muted);
}

/* --- coluna de texto editorial --- */

.sobre__texto { display: flex; flex-direction: column; gap: 1.35rem; }

.sobre__cabeca { display: flex; flex-direction: column; gap: .65rem; }

.sobre__titulo { font-size: clamp(1.75rem, 1.35rem + 2vw, 2.75rem); }

.sobre__lead {
  font-size: clamp(1.0625rem, 1rem + .38vw, 1.25rem);
  line-height: 1.6;
  color: var(--p-ink);
}

/* capitular dourada: unico uso de cor forte no corpo do texto */
.sobre__lead::first-letter {
  float: left;
  font-family: var(--p-display);
  font-size: 3.6em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--p-gold-text);
}

.sobre__corpo {
  font-size: clamp(.95rem, .92rem + .18vw, 1rem);
  line-height: 1.7;
  color: var(--p-ink-2);
}
.sobre__corpo p + p { margin-top: 1rem; }

/* fecho: bloco emoldurado pelo par de linhas douradas */
.sobre__fecho {
  margin-top: .75rem;
  border-top: 1px solid var(--p-gold);
  border-bottom: 1px solid var(--p-gold);
  padding: 1.5rem 0;
  font-family: var(--p-display);
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem);
  line-height: 1.45;
  color: var(--p-ink);
  text-wrap: pretty;
}

/* ==========================================
   RESPONSIVO
   ========================================== */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 52fr 48fr; }
  /* "MASCARENHAS" tem 11 caracteres: a 6vw ela estoura a coluna aqui */
  .hero__nome { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 46svh auto;
    min-height: auto;
  }
  .hero__foto {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--p-gold);
  }
  .hero__foto img { object-position: 50% 18%; transform: scale(1.02); }
  .hero__foto::after {
    background:
      linear-gradient(to bottom, rgba(23,21,15,.5) 0%, rgba(23,21,15,0) 30%),
      linear-gradient(to top, var(--p-deep) 0%, rgba(23,21,15,0) 34%);
  }
  .hero__texto {
    padding: 1.5rem var(--container-px) 2.25rem;
    gap: 1.75rem;
  }
  .hero__nome { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .hero__contato { flex-direction: column; gap: .45rem; }

  .sobre__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .sobre__retrato { margin-right: calc(var(--container-px) * -1); }
  .sobre__retrato img { aspect-ratio: 4 / 5; border-radius: 0; }
  .sobre__retrato::before { inset: 14px 14px -14px 14px; }
  .sobre__legenda { padding-left: 0; margin-top: 1.25rem; }
  .sobre__lead::first-letter { font-size: 3.1em; }
}

/* ==========================================
   ACESSIBILIDADE
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__foto img { transform: scale(1.06) !important; }
}

:where(a, button):focus-visible {
  outline: 2px solid var(--p-gold);
  outline-offset: 3px;
}

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

/* ==========================================
   CABECA DE SECAO (reutilizavel)
   ========================================== */

.cabeca { display: flex; flex-direction: column; gap: .65rem; }
.cabeca--centro { align-items: center; text-align: center; max-width: 46ch; margin-inline: auto; }
.cabeca__titulo { font-size: clamp(1.75rem, 1.35rem + 2vw, 2.75rem); }
.cabeca__apoio { font-size: .9375rem; line-height: 1.6; color: var(--p-muted); max-width: 46ch; }
.cabeca--escura .cabeca__titulo { color: var(--p-deep-ink); }
.cabeca--escura .cabeca__apoio { color: var(--p-deep-muted); }

/* ==========================================
   BOTOES
   ========================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.75rem;
  border-radius: var(--p-r);
  font-family: var(--p-body); font-weight: 800;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--p-gold); color: var(--p-accent-ink);
  border: 1px solid var(--p-gold);
  transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover  { background: #D8B361; }
.btn:active { background: #B8913F; }

/* O lift do hover so nos botoes que o JS nao controla: no botao magnetico
   o transform e propriedade do script, e duas regras concorrentes brigariam. */
.btn:not([data-magnetico]):hover  { transform: translateY(-2px); }
.btn:not([data-magnetico]):active { transform: translateY(0); }

.btn--fantasma {
  background: transparent; color: var(--p-gold-text); border-color: var(--p-gold);
}
.btn--fantasma:hover { background: var(--p-gold); color: var(--p-accent-ink); }

.btn--fantasma-claro {
  background: transparent; color: var(--p-gold-bright); border-color: var(--p-gold);
}
.btn--fantasma-claro:hover { background: var(--p-gold); color: var(--p-accent-ink); }

/* ==========================================
   SECAO 04 - NUMEROS
   Arquetipo: Modular
   Constraints: Counter Animation (Movimento), Container Wide (Layout),
                High Contrast (Cor), Stagger (Movimento)
   ========================================== */

.numeros {
  background: var(--p-deep);
  color: var(--p-deep-ink);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--p-gold);
  border-bottom: 1px solid var(--p-gold);
}

.numeros .cabeca { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }

.numeros__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.numeros__item {
  border-top: 1px solid var(--p-gold);
  padding-top: .875rem;
  display: flex; flex-direction: column; gap: .35rem;
}

.numeros__valor {
  font-family: var(--p-display);
  font-size: clamp(2.5rem, 2rem + 2.4vw, 4rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--p-deep-ink);
}

.numeros__sufixo {
  font-family: var(--p-body); font-weight: 600;
  font-size: .9rem; color: var(--p-gold-bright);
  margin-left: .3rem;
}

.numeros__rotulo {
  font-size: .8125rem; line-height: 1.35;
  color: var(--p-deep-muted);
}

/* ==========================================
   SECAO 05 - NO AR HOJE
   Arquetipo: Documentary
   Constraints: Sticky Element (Layout), Hover Fill (Interacao),
                Color Blocking (Cor)
   ========================================== */

.noar { background: var(--p-bg); padding: var(--section-py) 0; }

.noar__grid {
  display: grid;
  grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.noar__cabeca { position: sticky; top: clamp(2rem, 8vh, 5rem); }
.noar__cabeca .cabeca__apoio { max-width: 26ch; }

.noar__item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem clamp(.75rem, 1.5vw, 1.25rem);
  border-top: 1px solid var(--p-line);
  transition: border-color .3s ease;
}
.noar__item:last-child { border-bottom: 1px solid var(--p-line); }

.noar__item::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--p-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  z-index: -1;
}

.noar__programa {
  font-weight: 600;
  font-size: clamp(.9375rem, .9rem + .3vw, 1.0625rem);
  line-height: 1.4;
  color: var(--p-ink);
  transition: color .3s ease;
}

.noar__veiculo {
  font-weight: 600; font-size: .6875rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--p-gold-text); white-space: nowrap;
  transition: color .3s ease;
}

@media (hover: hover) {
  .noar__item:hover::before { transform: scaleX(1); }
  .noar__item:hover { border-color: var(--p-gold); }
  .noar__item:hover .noar__programa { color: var(--p-deep-ink); }
  .noar__item:hover .noar__veiculo  { color: var(--p-gold-bright); }
}

/* ==========================================
   SECAO 06 - TRAJETORIA
   Arquetipo: Progressive Reveal
   Constraints: Timeline (Estrutura), Draw Line (Movimento),
                Asymmetric Padding (Layout), Duocromatico (Cor)
   ========================================== */

.trajetoria { background: var(--p-surface-2); padding: var(--section-py) 0; }
.trajetoria .cabeca { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.trilho { position: relative; padding-left: 2.25rem; }

/* Base visivel: navegador sem animation-timeline nunca ve a linha sumida */
.trilho::before {
  content: '';
  position: absolute;
  left: 5px; top: 0; bottom: 0;
  width: 1px;
  background: var(--p-gold);
  transform-origin: top;
  transform: scaleY(1);
}

@supports (animation-timeline: view()) {
  .trilho::before {
    transform: scaleY(0);
    animation: desenhar linear both;
    animation-timeline: view();
    animation-range: entry 15% cover 65%;
  }
}

@keyframes desenhar { to { transform: scaleY(1); } }

.trilho__item { position: relative; padding-bottom: 1.75rem; }
.trilho__item:last-child { padding-bottom: 0; }

.trilho__item::before {
  content: '';
  position: absolute;
  left: -2.25rem; top: .5rem;
  width: 11px; height: 11px;
  border: 1px solid var(--p-gold);
  background: var(--p-surface-2);
  border-radius: 50%;
  transition: background .3s ease;
}
.trilho__item:hover::before { background: var(--p-gold); }

.trilho__cargo {
  font-weight: 600;
  font-size: clamp(.9375rem, .9rem + .25vw, 1rem);
  line-height: 1.45;
  color: var(--p-ink);
}
.trilho__veiculo { font-weight: 400; color: var(--p-muted); }

/* ==========================================
   SECAO 07 - FAIXA DE EMISSORAS
   Arquetipo: Kinetic
   Constraints: Scroll Horizontal (Layout), Mask Reveal (Efeitos),
                Monocromatico (Cor)
   ========================================== */

.faixa {
  background: var(--p-deep);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--p-gold);
  border-bottom: 1px solid var(--p-gold);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.faixa__trilho {
  display: flex;
  width: max-content;
  animation: correr 42s linear infinite;
}

@keyframes correr { to { transform: translateX(-50%); } }

.faixa:hover .faixa__trilho,
.faixa:focus-within .faixa__trilho { animation-play-state: paused; }

.faixa__grupo {
  display: flex; align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-right: clamp(1.75rem, 3.5vw, 3rem);
}

.faixa__nome {
  font-family: var(--p-display);
  font-size: clamp(.9375rem, .9rem + .35vw, 1.125rem);
  text-transform: uppercase;
  letter-spacing: .18em;
  white-space: nowrap;
  color: var(--p-deep-muted);
  transition: color .3s ease;
}
.faixa:hover .faixa__nome { color: var(--p-gold-bright); }

.faixa__losango {
  width: 4px; height: 4px;
  background: var(--p-gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ==========================================
   SECAO 08 - REEL
   Arquetipo: Spotlight
   Constraints: Imagem com Overlay (Midia), Cursor Custom (Interacao),
                Clip Reveal (Movimento), Framed Content (Layout)
   ========================================== */

.reel { background: var(--p-deep); padding: var(--section-py) 0; }
.reel .cabeca { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }

/* O video e vertical (1080x1920). Um player 16:9 deixaria tarja preta
   nos dois lados; 9:16 e o formato nativo dele. */
.reel__palco {
  position: relative;
  max-width: clamp(17.5rem, 78vw, 26rem);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--p-r-lg);
  border: 1px solid var(--p-gold);
  clip-path: inset(0 0 0 0);
}

.reel__palco.revelar { animation: revelar .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes revelar {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.reel__poster {
  width: 100%; height: 100%;
  object-fit: cover;
  /* .85 e nao .7: num player de 420px o escurecimento antigo apagava a foto */
  filter: grayscale(1) contrast(1.05) brightness(.85);
}

/* video injetado no clique */
.reel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--p-deep-2);
  display: block;
}
/* com o video no ar o overlay e o play saem de cena */
.reel__palco.tocando::after { display: none; }

.reel__palco::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(23,21,15,.75) 0%, rgba(23,21,15,.15) 60%);
}

.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  border: 1px solid var(--p-gold);
  border-radius: 50%;
  background: rgba(23,21,15,.55);
  backdrop-filter: blur(6px);
  animation: pulsar 2.4s ease-out infinite;
}
.reel__play svg { width: 20px; height: 24px; fill: var(--p-gold-bright); margin-left: 3px; }

@keyframes pulsar {
  from { box-shadow: 0 0 0 0 rgba(201,162,75,.4); }
  to   { box-shadow: 0 0 0 18px rgba(201,162,75,0); }
}

/* Cursor custom: so em ponteiro fino e desktop */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .reel__palco.tem-cursor { cursor: none; }
}

.reel__cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  pointer-events: none;
  padding: .5rem .875rem;
  border-radius: 999px;
  background: var(--p-gold);
  color: var(--p-accent-ink);
  font-weight: 800; font-size: .625rem;
  letter-spacing: .2em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.reel__cursor.ativo { transform: translate(-50%, -50%) scale(1); }

.reel__print { display: none; }

/* ==========================================
   SECAO 09 - AS QUATRO PALESTRAS
   Arquetipo: Broken Grid
   Constraints: Off-Grid Element (Layout), Hover Fill invertido (Interacao),
                Headline Full Width (Tipografia), Stagger (Movimento)
   ========================================== */

.palestras { background: var(--p-bg); padding: var(--section-py) 0; overflow: hidden; }
.palestras .cabeca { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }

.palestra {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  border-top: 1px solid var(--p-line);
  transition: border-color .3s ease;
}
.palestra:last-of-type { border-bottom: 1px solid var(--p-line); }

.palestra::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--p-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
  z-index: -1;
}

.palestra__numeral {
  font-family: var(--p-display);
  font-size: clamp(2.25rem, 2rem + 2vw, 3.75rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--p-line);
  margin-left: clamp(-1.5rem, -2vw, -2.5rem);
  transition: color .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}

.palestra__miolo { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }

.palestra__duracao {
  font-weight: 600; font-size: .625rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--p-gold-text);
  transition: color .3s ease;
}

.palestra__titulo {
  font-family: var(--p-display);
  font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--p-ink);
  text-wrap: balance;
  transition: color .3s ease;
}

.palestra__promessa {
  font-size: clamp(.875rem, .85rem + .2vw, .9375rem);
  line-height: 1.55;
  color: var(--p-ink-2);
  max-width: 58ch;
  transition: color .3s ease;
}

.palestra__seta {
  width: 28px; height: 28px;
  stroke: var(--p-gold); stroke-width: 1; fill: none;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}

@media (hover: hover) {
  .palestra:hover::before, .palestra:focus-visible::before { transform: scaleX(1); }
  .palestra:hover, .palestra:focus-visible { border-color: var(--p-gold); }
  .palestra:hover .palestra__numeral,
  .palestra:focus-visible .palestra__numeral { color: var(--p-gold); transform: translateX(6px); }
  .palestra:hover .palestra__titulo,
  .palestra:focus-visible .palestra__titulo { color: var(--p-deep-ink); }
  .palestra:hover .palestra__promessa,
  .palestra:focus-visible .palestra__promessa { color: var(--p-deep-muted); }
  .palestra:hover .palestra__duracao,
  .palestra:focus-visible .palestra__duracao { color: var(--p-gold-bright); }
  .palestra:hover .palestra__seta,
  .palestra:focus-visible .palestra__seta { transform: translateX(8px); }
}
/* ==========================================
   SECAO 10 - GALERIA
   Arquetipo: Gallery Wall
   Constraints: Masonry (Estrutura), Imagem Dessaturada (Midia),
                Hover Reveal (Interacao), Lightbox (Estrutura)
   ========================================== */

.galeria-secao { background: var(--p-bg); padding: var(--section-py) 0; }
.galeria-secao .cabeca { margin-bottom: clamp(2rem, 4vw, 3rem); }

.galeria { column-count: 3; column-gap: clamp(.75rem, 1.5vw, 1.25rem); }

.galeria__item {
  break-inside: avoid;
  margin-bottom: clamp(.75rem, 1.5vw, 1.25rem);
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--p-r);
  overflow: hidden;
  outline: 1px solid transparent;
  outline-offset: -1px;
  transition: outline-color .4s cubic-bezier(.16, 1, .3, 1);
}

.galeria__item img {
  width: 100%;
  filter: grayscale(1) contrast(1.02) brightness(.9);
  transition: filter .4s cubic-bezier(.16, 1, .3, 1);
}

@media (hover: hover) {
  .galeria__item:hover { outline-color: var(--p-gold); }
  .galeria__item:hover img { filter: grayscale(1) contrast(1.08) brightness(1); }
}

/* --- lightbox nativo --- */

.lightbox {
  padding: 0; border: 0;
  max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%;
  background: transparent;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(23, 21, 15, .94); }

.lightbox[open] { display: grid; place-items: center; }
.lightbox[open] .lightbox__figura { animation: abrir .3s cubic-bezier(.16, 1, .3, 1) both; }

@keyframes abrir {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox__figura { margin: 0; }
.lightbox__figura img { max-height: 88vh; max-width: 92vw; width: auto; }

.lightbox__btn {
  position: absolute;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23,21,15,.6);
  border: 1px solid var(--p-deep-line);
  transition: border-color .3s ease;
}
.lightbox__btn:hover { border-color: var(--p-gold); }
.lightbox__btn svg { width: 18px; height: 18px; stroke: var(--p-gold-bright); stroke-width: 1.5; fill: none; }

.lightbox__fechar { top: 1.25rem; right: 1.25rem; }
.lightbox__ant    { left: 1.25rem;  top: 50%; transform: translateY(-50%); }
.lightbox__prox   { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ==========================================
   SECAO 11 - CTA E RODAPE
   Arquetipo: Single Focus
   Constraints: Color Blocking (Cor), Cursor Magnetic (Interacao),
                Framed Content (Layout)
   ========================================== */

.fecho {
  background: var(--p-deep);
  color: var(--p-deep-ink);
  border-top: 1px solid var(--p-gold);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.fecho__cta {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem; text-align: center;
  max-width: 44ch; margin: 0 auto;
}

.fecho__titulo { font-size: clamp(1.75rem, 1.35rem + 2vw, 2.75rem); color: var(--p-deep-ink); }
.fecho__texto  { font-size: 1rem; line-height: 1.6; color: var(--p-deep-muted); }

.fecho__botoes {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem;
}

.fecho__insta {
  font-weight: 600; font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--p-gold-bright);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.fecho__insta:hover { border-bottom-color: var(--p-gold); }

.fecho__rodape {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--p-deep-line);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
}

.fecho__assinatura { font-size: 2rem; color: var(--p-gold-bright); }
.fecho__linha { font-size: .75rem; line-height: 1.5; color: var(--p-deep-muted); }

/* So existe no papel: os botoes viram texto na impressao */
.fecho__print { display: none; }

/* ==========================================
   RESPONSIVO - SECOES 04 A 12
   ========================================== */

@media (max-width: 1024px) {
  .numeros__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .palestra__numeral { font-size: 2.75rem; margin-left: 0; }
  .reel__play { width: 72px; height: 72px; }
}

@media (max-width: 768px) {
  .numeros__grid { grid-template-columns: repeat(2, 1fr); }
  .numeros__valor { font-size: clamp(2.25rem, 9vw, 2.75rem); }
  .numeros__rotulo { font-size: .75rem; }

  .noar__grid { grid-template-columns: 1fr; gap: 0; }
  .noar__cabeca { position: static; margin-bottom: 2rem; }
  .noar__item { grid-template-columns: 1fr; gap: 0; }
  .noar__veiculo { margin-top: .3rem; }

  .trilho { padding-left: 1.75rem; }
  .trilho__item { padding-bottom: 1.5rem; }
  .trilho__item::before { left: -1.75rem; width: 9px; height: 9px; }

  .faixa__trilho { animation-duration: 30s; }
  .faixa__nome { font-size: .875rem; }
  .faixa__grupo { gap: 1.5rem; padding-right: 1.5rem; }

  .reel .cabeca--centro { align-items: flex-start; text-align: left; margin-inline: 0; }
  /* sem override de proporcao: o 9:16 serve bem os dois tamanhos */
  .reel__play { width: 64px; height: 64px; }

  .palestra { grid-template-columns: auto 1fr; padding: 1.5rem .5rem; }
  .palestra__numeral { font-size: 2.25rem; }
  .palestra__seta { grid-column: 2; margin-top: .75rem; }
  .palestra:active::before { transform: scaleX(1); }
  .galeria { column-count: 2; column-gap: .625rem; }
  .galeria__item { margin-bottom: .625rem; }

  .fecho__botoes { flex-direction: column; width: 100%; }
  .fecho__botoes .btn { width: 100%; min-height: 52px; }
  .fecho__rodape { flex-direction: column; text-align: center; gap: 1rem; }
}

/* ==========================================
   MOVIMENTO REDUZIDO - SECOES 04 A 12
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  .trilho::before { animation: none !important; transform: scaleY(1) !important; }
  .faixa__trilho { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .faixa__grupo[aria-hidden="true"] { display: none; }
  .reel__palco.revelar { animation: none; }
  .reel__play { animation: none; }
  .lightbox[open] .lightbox__figura { animation: none; }
}

/* ==========================================
   IMPRESSAO: A4 retrato
   O midia kit inteiro precisa virar PDF.
   ========================================== */

@page { size: A4 portrait; margin: 0; }

@media print {

  /* --- COMPACTACAO ---
     A escala de tela e generosa de proposito. No papel ela inflaria
     o kit para o dobro de folhas. Aqui o ritmo e reescrito em mm. */
  :root {
    --section-py: 9mm;
    --container-px: 14mm;
    --container-max: 100%;
  }

  /* min-height:100vh no body vira uma folha em branco no fim do PDF */
  html, body { background: #fff; font-size: 10pt; min-height: 0; height: auto; }

  /* overflow:hidden cria um bloco que o Chrome nao consegue fragmentar:
     a secao inteira e empurrada para a folha seguinte e sobra um vazio.
     Na tela ele contem as sangrias; no papel nao ha sangria a conter. */
  body, .sobre, .palestras, .noar, .trajetoria, .galeria-secao,
  .faixa, .reel, .hero, .hero__foto { overflow: visible; }

  *, *::before, *::after {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    animation: none !important;
    transition: none !important;
  }

  .cabeca { gap: 2mm; }
  .cabeca__titulo { font-size: 17pt; }
  .cabeca__apoio { font-size: 9pt; }
  .eyebrow { font-size: 7pt; }

  /* AOS nao pode deixar nada invisivel no papel */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero {
    width: 210mm;
    height: 297mm;
    min-height: 0;
    /* Sem break-after: a capa ja ocupa a folha exata. Somar uma quebra
       forcada aqui gera uma folha em branco logo depois dela. */
    grid-template-columns: 54fr 46fr;
  }
  .hero__nome { font-size: 44pt; }
  .hero__posicionamento { font-size: 10pt; }
  .hero__contato { font-size: 8.5pt; }
  .hero__foto img { transform: scale(1) !important; }

  .citacao { break-inside: avoid; padding: 6mm 0; }
  .citacao__texto { font-size: 13pt; }
  .citacao__assinatura { font-size: 15pt; }

  /* --- PAGINACAO DELIBERADA ---
     Folha 1  capa
     Folha 2  sobre + citacao + numeros
     Folha 3  no ar + trajetoria + emissoras
     Folha 4  as quatro palestras
     Folha 5  galeria + contato
     Nunca quebrar no meio de um bloco. */

  /* .citacao e .sobre NAO levam break-before: o hero ja tem break-after,
     e uma quebra aqui deixaria a citacao sozinha numa folha quase vazia. */
  .sobre        { padding: 8mm 0; }
  .numeros      { padding: 7mm 0; break-inside: avoid; }
  .noar         { break-before: page; padding: 8mm 0; }
  .trajetoria   { padding: 7mm 0; }
  .palestras    { break-before: page; padding: 9mm 0; }
  .galeria-secao{ padding: 7mm 0; }
  .fecho        { padding: 8mm 0 6mm; break-inside: avoid; }

  /* Sobre: retrato pequeno, texto compacto */
  .sobre__grid { grid-template-columns: 34fr 66fr; gap: 8mm; }
  .sobre__retrato::before { display: none; }
  /* min-height vence max-height em CSS: zerar para o max valer no papel,
     senao a foto sai com os 93mm do min-height da tela */
  .sobre__retrato img { min-height: 0; max-height: 78mm; aspect-ratio: auto; }
  .sobre__legenda { display: none; }
  .sobre__lead { font-size: 10.5pt; line-height: 1.45; }
  .sobre__lead::first-letter { font-size: 2.8em; }
  .sobre__corpo { font-size: 9pt; line-height: 1.45; }
  .sobre__corpo p + p { margin-top: 2mm; }
  .sobre__fecho { font-size: 11pt; padding: 4mm 0; margin-top: 2mm; }
  .sobre__texto { gap: 3mm; }

  /* Numeros: contagem desligada, linhas douradas seguram a leitura em P&B */
  .numeros { margin-top: 4mm; }
  .numeros .cabeca { margin-bottom: 4mm; }
  .numeros__grid { grid-template-columns: repeat(4, 1fr); gap: 5mm; }
  .numeros__valor { font-size: 24pt; }
  .numeros__rotulo { font-size: 7.5pt; }

  /* No ar: sticky desligado */
  .noar__grid { grid-template-columns: 30fr 70fr; gap: 8mm; }
  .noar__cabeca { position: static; }
  .noar__item::before { display: none; }
  .noar__item { break-inside: avoid; padding: 2mm 0; }
  .noar__programa { font-size: 9.5pt; }
  .noar__veiculo { font-size: 7pt; }

  /* Trajetoria: linha cheia, itens inteiros */
  .trajetoria .cabeca { margin-bottom: 5mm; }
  .trilho::before { animation: none !important; transform: scaleY(1) !important; }
  .trilho__item { break-inside: avoid; padding-bottom: 2.5mm; }
  .trilho__cargo { font-size: 9pt; }

  /* Faixa: vira lista estatica centralizada, sem mascara */
  .faixa {
    mask-image: none; -webkit-mask-image: none;
    break-inside: avoid; padding: 8mm 0;
  }
  .faixa__trilho { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .faixa__grupo[aria-hidden="true"] { display: none; }

  /* Reel: o player nao existe no papel. Sobra o link, dentro da folha 3. */
  .reel { padding: 6mm 0; break-inside: avoid; }
  .reel .cabeca { margin-bottom: 3mm; }
  .reel__palco, .reel__play, .reel__cursor { display: none !important; }
  .reel__print {
    display: flex; flex-direction: column; align-items: center; gap: 3mm;
    font-family: var(--p-display); font-size: 12pt;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--p-ink);
  }
  .reel .cabeca--escura .cabeca__titulo,
  .reel .cabeca--escura .cabeca__apoio,
  .numeros .cabeca--escura .cabeca__titulo,
  .numeros .cabeca--escura .cabeca__apoio { color: inherit; }

  /* Palestras: as quatro na mesma folha, destino em texto */
  .palestras .cabeca { margin-bottom: 5mm; }
  .palestra { break-inside: avoid; border-color: #DDD5C2; padding: 4mm 0; }
  .palestra__titulo { font-size: 12pt; }
  .palestra__promessa { font-size: 8.5pt; line-height: 1.4; }
  .palestra__duracao { font-size: 7pt; }
  .palestra__numeral { font-size: 22pt; }
  .palestra__miolo { gap: 1mm; }
  .palestra::before { display: none; }
  .palestra__numeral { color: var(--p-gold-text); margin-left: 0; }
  .palestra__seta { display: none; }
  .palestra__titulo::after {
    content: " · " attr(data-destino);
    display: block;
    font-family: var(--p-body); font-weight: 400;
    font-size: 8pt; letter-spacing: 0; text-transform: none;
    color: var(--p-muted); margin-top: 1mm;
  }
  /* Galeria: so as quatro primeiras, em faixa horizontal */
  .galeria-secao .cabeca { margin-bottom: 4mm; }
  .galeria { column-count: 4; column-gap: 3mm; }
  .galeria__item { break-inside: avoid; outline: none; margin-bottom: 0; }
  .galeria__item:nth-child(n+5) { display: none; }
  .galeria__item img { max-height: 48mm; object-fit: cover; }
  .lightbox { display: none !important; }

  /* Fecho: botoes viram texto */
  .fecho { break-inside: avoid; border-top: 1px solid var(--p-gold); }
  .fecho__botoes { display: none; }
  /* a linha .fecho__print ja traz o Instagram: sem isto o @ sai duas vezes */
  .fecho__insta  { display: none; }
  .fecho__titulo { font-size: 15pt; }
  .fecho__texto { font-size: 9pt; }
  .fecho__cta { gap: 3mm; }
  .fecho__rodape { margin-top: 6mm; padding-top: 4mm; }
  .fecho__assinatura { font-size: 15pt; }
  .fecho__linha { font-size: 7.5pt; }
  .fecho__print {
    display: block;
    font-weight: 600; font-size: 10pt;
    color: var(--p-deep-ink); text-align: center;
  }
}
