/* ==========================================================================
   SEÇÕES: hero, faixa, destinos (pan horizontal), pacote (bento), como
   reservar (mapa + rota), Instagram, sobre, dúvidas e chamada final.

   Movimento ligado à rolagem usa CSS scroll-driven animations, sempre dentro
   de @supports (animation-timeline) + prefers-reduced-motion: no-preference.
   Fora disso a página fica estática e completa.
   ========================================================================== */

.secao { padding-block: var(--secao-y); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: clip;
  view-timeline: --hero block;
  view-timeline-inset: 0;
}
.hero__midia {
  position: absolute;
  inset: 0;
  z-index: -2;
  animation: hero-entra 1.8s var(--ease-out) both;
}
.hero__midia picture,
.hero__midia img { width: 100%; height: 100%; }
.hero__midia img { object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 12, 11, 0.55) 0%, rgba(10, 12, 11, 0) 24%),
    linear-gradient(90deg, rgba(10, 12, 11, 0.85) 0%, rgba(10, 12, 11, 0.45) 48%, rgba(10, 12, 11, 0.05) 82%),
    linear-gradient(0deg, rgba(10, 12, 11, 0.75) 0%, rgba(10, 12, 11, 0) 38%);
}
@keyframes hero-entra { from { transform: scale(1.12); opacity: 0.3; } }

.hero__conteudo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(20rem, 27vw, 25rem));
  align-items: end;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: calc(var(--topo-h) + clamp(2rem, 6vh, 5rem)) var(--gutter) clamp(6.5rem, 5rem + 5vw, 9.5rem);
}
.hero__texto { display: grid; justify-items: start; container-type: inline-size; }

.hero__titulo {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
/* No desktop, "De Campo Grande" sempre numa linha: tamanho pela largura da coluna */
@media (min-width: 960px) {
  .hero__titulo { font-size: min(var(--fs-hero), 10.2cqi); }
}
/* Linhas sobem por trás de uma máscara */
.linha { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.linha > span { display: block; animation: linha-sobe 1.15s var(--ease-out) both; }
.linha + .linha > span { animation-delay: 0.12s; }
@keyframes linha-sobe { from { transform: translateY(112%); } }

/* Assinatura "escrita" da esquerda para a direita */
.hero__assinatura {
  margin: -0.15em 0 0 0.5em;
  color: var(--verde);
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
  transform: rotate(-5deg);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  animation: escreve 1.1s 0.55s var(--ease-out) both;
}
@keyframes escreve {
  from { clip-path: inset(-20% 100% -20% 0); }
  to { clip-path: inset(-20% -5% -20% 0); }
}
.hero__lead {
  max-width: 31rem;
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  color: rgba(242, 244, 241, 0.88);
  animation: sobe 1s 0.7s var(--ease-out) both;
}
.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
  animation: sobe 1s 0.8s var(--ease-out) both;
}
@keyframes sobe { from { opacity: 0; transform: translateY(24px); } }

.hero__palco {
  justify-self: end;
  width: 100%;
  max-width: 25rem;
  margin-bottom: 0.5rem;
  perspective: 1000px;
  animation: bilhete-entra 1.3s 0.55s var(--ease-out) both;
}
@keyframes bilhete-entra { from { opacity: 0; transform: translateY(60px) rotate(6deg); } }

.credito--hero {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4.5rem, 3.5rem + 3vw, 6.5rem);
  color: rgba(242, 244, 241, 0.6);
}

/* Saída do hero: a foto aproxima, o texto sobe e tudo escurece */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: var(--fundo);
      opacity: 0;
      animation: escurece linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 90%;
    }
    .hero__midia img {
      animation: hero-zoom linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 100%;
    }
    .hero__texto {
      animation: texto-sai linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 80%;
    }
    .hero__palco {
      translate: 0 0;
      animation: bilhete-entra 1.3s 0.55s var(--ease-out) both, palco-sobe linear both;
      animation-timeline: auto, --hero;
      animation-range: normal, exit 0% exit 100%;
    }
  }
}
@keyframes escurece { to { opacity: 0.7; } }
@keyframes hero-zoom { to { transform: scale(1.15) translateY(5%); } }
@keyframes texto-sai { to { transform: translateY(-10vh); opacity: 0; } }
@keyframes palco-sobe { to { translate: 0 -22vh; } }

@media (max-width: 959px) {
  .hero__conteudo { grid-template-columns: 1fr; align-content: end; }
  .hero__palco { justify-self: start; }
  .hero::before {
    background: linear-gradient(180deg, rgba(10, 12, 11, 0.65) 0%, rgba(10, 12, 11, 0.2) 30%, rgba(10, 12, 11, 0.6) 58%, rgba(10, 12, 11, 0.94) 100%);
  }
  .credito--hero { bottom: auto; top: calc(var(--topo-h) + 0.25rem); }
}
@media (max-width: 479px) {
  .hero__acoes .botao { width: 100%; }
  .hero__palco { max-width: none; }
  .bilhete { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-1.5deg); }
}

/* Faixa de destinos (única faixa em movimento da página) ------------------ */
.faixa {
  position: relative;
  z-index: 10;
  width: 108vw;
  margin: -3.25rem 0 0 -4vw;
  padding-block: clamp(0.85rem, 0.7rem + 0.7vw, 1.35rem);
  overflow: clip;
  background: var(--verde);
  color: var(--tinta);
  transform: rotate(-2.5deg);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
}
.faixa__trilho {
  display: flex;
  width: max-content;
  animation: faixa 42s linear infinite;
}
.faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa__lista { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); }
.faixa__lista li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.85rem + 1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.faixa__lista .icone { width: 0.8em; height: 1em; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* Destinos ---------------------------------------------------------------
   Base (celular, tablet e navegadores sem scroll-driven): painéis empilhados. */
.destinos { position: relative; padding-top: var(--secao-y); }
.destinos__trilho { display: grid; gap: clamp(5rem, 4rem + 5vw, 9rem); }
.painel { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.painel--intro { display: grid; justify-items: start; gap: 1.25rem; }
.painel__titulo { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.painel__texto { max-width: 34rem; font-size: var(--fs-lead); color: var(--texto-2); }

.painel--destino {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.painel--invertido { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.painel--invertido .painel__midia { order: 2; }
.painel__midia { position: relative; container-type: inline-size; }
.painel__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); }
.painel__foto figcaption { margin-top: 0.6rem; }
.painel__nome {
  position: absolute;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: 2.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.12em;
  font-size: clamp(2.8rem, 15cqi, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.85;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.painel__nome span {
  margin-top: 0.1em;
  padding: 0.3em 0.45em 0.25em 0.55em;
  border-radius: 999px;
  background: var(--verde);
  color: var(--tinta);
  font-size: 0.2em;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-shadow: none;
}
.painel__detalhe {
  position: absolute;
  top: -2rem;
  right: -1.25rem;
  width: 27%;
  overflow: hidden;
  border: 5px solid var(--fundo);
  border-radius: calc(var(--raio) + 4px);
  background: var(--fundo);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.7);
  rotate: 4deg;
}
.painel--invertido .painel__detalhe { right: auto; left: -1.25rem; rotate: -4deg; }
.painel__detalhe img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.painel__detalhe figcaption { padding: 0.45rem 0.6rem 0.35rem; font-size: 0.6875rem; line-height: 1.3; color: var(--texto-2); }

.painel__info { display: grid; justify-items: start; gap: 1.1rem; }
.painel__info > p:not([class]) { color: var(--texto-2); max-width: 32rem; }
.painel__script { color: var(--verde); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); transform: rotate(-2deg); }
.painel__info .ficha { width: 100%; }

.destinos__rota { display: none; }

@media (max-width: 959px) {
  .painel--destino,
  .painel--invertido { grid-template-columns: 1fr; }
  .painel--invertido .painel__midia { order: 0; }
  .painel__detalhe,
  .painel--invertido .painel__detalhe { top: -1rem; bottom: auto; right: 0.75rem; left: auto; width: 28%; rotate: 4deg; }
  .painel__nome { bottom: 2.4rem; }
  .painel__foto figcaption { max-width: 62%; }
}

/* Pan horizontal: a seção fica presa e os painéis correm para o lado */
@supports (animation-timeline: view()) {
  @media (min-width: 960px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
    .destinos { padding-top: 0; scroll-margin-top: calc(var(--topo-h) * -1); }
    .destinos__pista { height: 300svh; view-timeline: --pan block; view-timeline-inset: 0; }
    .destinos__palco { position: sticky; top: 0; height: 100svh; overflow: clip; }
    .destinos__trilho {
      display: flex;
      gap: 0;
      width: max-content;
      height: 100%;
      animation: pan linear both;
      animation-timeline: --pan;
      animation-range: contain 0% contain 100%;
    }
    .painel {
      flex: none;
      width: 100vw;
      max-width: none;
      height: 100%;
      margin: 0;
      padding: calc(var(--topo-h) + 1.5rem) max(var(--gutter), (100vw - var(--max-w)) / 2 + var(--gutter)) 6.5rem;
    }
    .painel--intro { align-content: center; }
    .painel__titulo { font-size: clamp(4rem, 1rem + 8vw, 10rem); }
    .painel__foto img { aspect-ratio: auto; height: min(58svh, 40rem); }
    .painel__info { gap: 0.9rem; }

    .destinos__rota {
      display: block;
      position: absolute;
      left: max(var(--gutter), (100vw - var(--max-w)) / 2 + var(--gutter));
      right: calc(max(var(--gutter), (100vw - var(--max-w)) / 2 + var(--gutter)) + 4rem);
      bottom: 1.75rem;
      height: 3rem;
    }
    .destinos__rota-linha { position: absolute; left: 0; right: 0; top: 0.95rem; height: 2px; background: var(--linha-forte); }
    .destinos__rota-feito {
      position: absolute;
      inset: 0;
      background: var(--verde);
      transform-origin: left;
      animation: rota-preenche linear both;
      animation-timeline: --pan;
      animation-range: contain 0% contain 100%;
    }
    .destinos__parada {
      position: absolute;
      top: 1.6rem;
      left: calc(var(--pos) * 100%);
      translate: calc(var(--pos) * -100%) 0;
      font-family: var(--font-display);
      font-size: var(--fs-xs);
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--texto-2);
      white-space: nowrap;
    }
    .destinos__carro {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      animation: carro linear both;
      animation-timeline: --pan;
      animation-range: contain 0% contain 100%;
    }
    .destinos__carro .icone {
      position: absolute;
      left: 0;
      top: 0;
      width: 2rem;
      height: 2rem;
      padding: 0.35rem;
      translate: -50% 0;
      border-radius: 50%;
      background: var(--verde);
      color: var(--tinta);
      box-shadow: 0 0 0 5px var(--fundo);
    }
  }
}
@keyframes pan { to { transform: translateX(calc(-100% + 100vw)); } }
@keyframes rota-preenche { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes carro { to { transform: translateX(100%); } }

/* O pacote: bento ---------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(12.5rem, auto);
  grid-template-areas:
    "titulo titulo foto foto"
    "titulo titulo foto foto"
    "c1 c2 c3 c4";
  gap: 1rem;
}
.bento__item { position: relative; overflow: hidden; border-radius: var(--raio); }
.bento__titulo { grid-area: titulo; }
.bento__foto { grid-area: foto; }
.bento__card:nth-child(3) { grid-area: c1; --atraso: 0s; }
.bento__card:nth-child(4) { grid-area: c2; --atraso: 0.08s; }
.bento__card:nth-child(5) { grid-area: c3; --atraso: 0.16s; }
.bento__card:nth-child(6) { grid-area: c4; --atraso: 0.24s; }

.bento__titulo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(4, 194, 92, 0.38), transparent 62%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--mata);
}
.bento__titulo .titulo { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.4rem); }
.bento__titulo p { max-width: 30rem; color: var(--texto-2); }

.bento__foto img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; object-position: 30% 60%; }
.bento__foto .credito {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  color: rgba(242, 244, 241, 0.8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.bento__card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border: 1px solid var(--linha);
  background: var(--fundo-2);
}
.bento__icone { width: 2.5rem; height: 2.5rem; margin-bottom: 0.5rem; color: var(--verde); }
.bento__card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; }
.bento__card p { font-size: 0.975rem; color: var(--texto-2); }
.bento__card--verde { border-color: transparent; background: var(--verde); color: var(--tinta); }
.bento__card--verde .bento__icone { color: var(--tinta); }
.bento__card--verde p { color: rgba(10, 12, 11, 0.78); }

/* Borda que acende sob o cursor (js/modules/ponteiro.js escreve --mx/--my) */
.bento__card:not(.bento__card--verde)::before,
.bento__card:not(.bento__card--verde)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.bento__card:not(.bento__card--verde)::before {
  padding: 1px;
  background: radial-gradient(20rem circle at var(--mx, -40rem) var(--my, -40rem), var(--verde-claro), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bento__card:not(.bento__card--verde)::after {
  background: radial-gradient(16rem circle at var(--mx, -40rem) var(--my, -40rem), rgba(4, 194, 92, 0.1), transparent 55%);
}
.bento:hover .bento__card::before,
.bento:hover .bento__card::after { opacity: 1; }

.pacote__nota {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--verde);
  font-size: var(--fs-sm);
  color: var(--texto-3);
}

@media (max-width: 959px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-template-areas: "titulo titulo" "foto foto" "c1 c2" "c3 c4";
  }
  .bento__foto img { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 559px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "titulo" "foto" "c1" "c2" "c3" "c4"; }
}

/* Como reservar: passos + mapa preso com a rota desenhada pela rolagem ---- */
.reservar { background: var(--fundo-2); }
.reservar__grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
  timeline-scope: --rota;
}
.reservar__mapa { position: sticky; top: calc(var(--topo-h) + 2rem); }
.passos { margin-top: 2.5rem; view-timeline: --rota block; view-timeline-inset: 0; }
.passo {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1.25rem;
  padding-block: clamp(1.75rem, 5vh, 3.5rem);
  border-top: 1px solid var(--linha);
}
.passo__numero {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 0.9;
  color: var(--verde);
}
.passo h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; }
.passo h3 .icone { width: 1.35rem; height: 1.35rem; color: var(--verde); }
.passo p { color: var(--texto-2); }
.passo a { color: var(--verde); font-weight: 600; white-space: nowrap; }

.mapa {
  padding: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--fundo);
}
.mapa__svg { width: 100%; height: auto; overflow: visible; }
.mapa__ponto { fill: rgba(242, 244, 241, 0.09); }
.mapa__mar { fill: var(--mata); }
.mapa__costa { fill: none; stroke: var(--verde); stroke-width: 1.5; stroke-linejoin: round; opacity: 0.8; }
.mapa__oceano { fill: rgba(242, 244, 241, 0.45); font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.mapa__rota-base { fill: none; stroke: rgba(242, 244, 241, 0.16); stroke-width: 2; stroke-dasharray: 4 6; }
.mapa__rota { fill: none; stroke: var(--verde); stroke-width: 3; stroke-linecap: round; }
.mapa__tracejado { fill: none; stroke: var(--fundo); stroke-width: 4; stroke-dasharray: 5 7; stroke-dashoffset: -7; }
.mapa__local { color: var(--verde); }
.mapa__local--origem circle { fill: var(--verde); }
.mapa__halo {
  fill: rgba(4, 194, 92, 0.3) !important;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulso 2.4s var(--ease-out) infinite;
}
@keyframes pulso { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.mapa__local--passeio circle { fill: var(--texto); }
.mapa__rotulo { fill: var(--texto); font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.mapa__rotulo--menor { font-size: 14px; }
.mapa__uf { fill: rgba(242, 244, 241, 0.6); font-family: var(--font-display); font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.mapa__legenda { margin-top: 0.75rem; font-size: var(--fs-xs); color: var(--texto-3); }

@supports (animation-timeline: view()) {
  @media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
    .mapa__rota { stroke-dasharray: 1 1; animation: desenha linear both; animation-timeline: --rota; }
    .mapa__rota--1 { animation-range: cover 12% cover 42%; }
    .mapa__rota--2 { animation-range: cover 38% cover 68%; }
    .mapa__local--1 { animation: pin-cai linear both; animation-timeline: --rota; animation-range: cover 40% cover 46%; }
    .mapa__local--2 { animation: pin-cai linear both; animation-timeline: --rota; animation-range: cover 66% cover 72%; }

    /* O passo em leitura acende; os anteriores ficam acesos */
    .passo { animation: passo-foco linear both; animation-timeline: view(); animation-range: cover 22% cover 45%; }
  }
}
@keyframes desenha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pin-cai { from { opacity: 0; translate: 0 -18px; } to { opacity: 1; translate: 0 0; } }
@keyframes passo-foco { from { opacity: 0.28; } to { opacity: 1; } }

@media (max-width: 959px) {
  .reservar__grade { grid-template-columns: 1fr; }
  .reservar__mapa { position: static; }
}
@media (max-width: 479px) {
  .passo { grid-template-columns: 2.75rem 1fr; gap: 0.9rem; }
  .passo__numero { font-size: 2.4rem; }
  .passo h3 { font-size: 1.15rem; }
}

/* Instagram ------------------------------------------------------------- */
.insta { overflow: clip; }
.insta__cabecalho { display: grid; justify-items: start; gap: 1rem; }
.insta__texto { max-width: 36rem; font-size: var(--fs-lead); color: var(--texto-2); }

/* Hashtag gigante: contorno que se preenche de verde com a rolagem */
.insta__hashtag {
  margin-block: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem);
  padding-inline: var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9.2vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(90deg, var(--verde) 50%, var(--fundo-3) 50%) 0 0 / 200% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .insta__hashtag {
      background-position: 100% 0;
      animation: preenche-texto linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 55%;
    }
  }
}
@keyframes preenche-texto { to { background-position: 0 0; } }

/* Polaroides espalhadas */
.polaroides {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-top: 1rem;
}
.polaroides li:nth-child(2) { margin-top: 2rem; }
.polaroides li:nth-child(4) { margin-top: 1.25rem; }
.polaroide {
  display: block;
  padding: 0.7rem 0.7rem 0.9rem;
  border-radius: 6px;
  background: var(--papel);
  color: var(--tinta);
  text-decoration: none;
  box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.9);
  rotate: var(--giro, -3deg);
  transition: rotate 0.6s var(--ease-mola), translate 0.6s var(--ease-mola), box-shadow 0.4s;
}
.polaroides li:nth-child(2) .polaroide { --giro: 3deg; }
.polaroides li:nth-child(3) .polaroide { --giro: -1.5deg; }
.polaroides li:nth-child(4) .polaroide { --giro: 4deg; }
.polaroide:hover,
.polaroide:focus-visible { rotate: 0deg; translate: 0 -10px; box-shadow: 0 40px 60px -26px rgba(0, 0, 0, 0.95); }
.polaroide img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroide__legenda {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-script);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  line-height: 1.2;
  text-align: center;
}
.insta__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; margin-top: 3.5rem; }

@media (max-width: 859px) {
  .polaroides { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .polaroides li:nth-child(2),
  .polaroides li:nth-child(4) { margin-top: 1rem; }
}
@media (max-width: 479px) {
  .polaroide { padding: 0.45rem 0.45rem 0.6rem; rotate: calc(var(--giro, -3deg) * 0.5); }
  .polaroide__legenda { font-size: 0.95rem; }
  .insta__acoes .botao { width: 100%; }
}

/* Sobre: manifesto que acende palavra por palavra + selo girando ---------- */
.sobre { background: var(--fundo-2); }
.sobre__grade {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.sobre__selo { position: relative; justify-self: center; width: min(100%, 24rem); aspect-ratio: 1; }
.sobre__anel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--texto-2);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
}
.sobre__selo img { position: absolute; inset: 16%; width: 68%; height: 68%; }
@media (prefers-reduced-motion: no-preference) {
  .sobre__anel { animation: gira 40s linear infinite; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .sobre__anel { animation: gira linear both; animation-timeline: scroll(root); }
  }
}
@keyframes gira { to { rotate: 1turn; } }

.sobre__texto { display: grid; gap: 1.75rem; }
.manifesto {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.05rem + 1.45vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifesto .m { animation: acende linear both; animation-timeline: view(); animation-range: cover 15% cover 38%; }
  }
}
@keyframes acende { from { opacity: 0.16; } to { opacity: 1; } }

.confianca {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--linha);
}
.confianca li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: var(--fs-sm); color: var(--texto-2); }
.confianca .icone { margin-top: 0.1rem; color: var(--verde); }
.confianca a { color: var(--verde); font-weight: 600; }
.confianca strong { color: var(--texto); white-space: nowrap; }

@media (max-width: 859px) {
  .sobre__grade { grid-template-columns: 1fr; }
  .sobre__selo { justify-self: start; width: min(62%, 17rem); }
  .confianca { grid-template-columns: 1fr; }
}

/* Dúvidas ----------------------------------------------------------------- */
.duvidas__coluna { max-width: 58rem; }
.duvidas .titulo { margin-bottom: clamp(2rem, 4vw, 3.5rem); text-align: center; }
.perguntas { display: grid; gap: 0.75rem; }
.pergunta {
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--fundo-2);
  transition: border-color 0.3s, background-color 0.3s;
}
.pergunta[open] { border-color: rgba(4, 194, 92, 0.5); background: linear-gradient(180deg, rgba(4, 194, 92, 0.07), transparent 70%), var(--fundo-2); }
.pergunta summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary .icone {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.35rem;
  border-radius: 50%;
  background: var(--fundo-3);
  color: var(--verde);
  transition: transform 0.4s var(--ease-mola), background-color 0.3s, color 0.3s;
}
.pergunta[open] summary .icone { transform: rotate(45deg); background: var(--verde); color: var(--tinta); }
.pergunta__resposta { max-width: 46rem; padding: 0 1.5rem 1.4rem; color: var(--texto-2); }
.pergunta__resposta a { color: var(--verde); font-weight: 600; }
@supports (interpolate-size: allow-keywords) {
  .pergunta { interpolate-size: allow-keywords; }
  .pergunta::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
  }
  .pergunta[open]::details-content { height: auto; }
}
.duvidas__mais { margin-top: 2rem; text-align: center; color: var(--texto-2); }
.duvidas__mais a { color: var(--verde); font-weight: 600; }

/* Chamada final ------------------------------------------------------------ */
.final {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 88svh;
  padding-block: var(--secao-y);
  overflow: clip;
  text-align: center;
}
.final__aurora {
  position: absolute;
  inset: -35%;
  z-index: -2;
  background: conic-gradient(from 0deg, var(--verde), var(--mata) 18%, var(--fundo) 38%, var(--mata-2) 55%, var(--verde) 70%, var(--fundo) 86%, var(--verde));
  filter: blur(90px);
  opacity: 0.4;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, transparent, var(--fundo) 85%);
}
@media (prefers-reduced-motion: no-preference) {
  .final__aurora { animation: aurora 32s linear infinite; }
}
@keyframes aurora { to { rotate: 1turn; } }
.final__conteudo { display: grid; justify-items: center; }
.final__script { color: var(--verde); font-size: clamp(2.4rem, 1.4rem + 4vw, 5.5rem); transform: rotate(-4deg); }
.final__titulo {
  margin-top: 0.25rem;
  font-size: clamp(3.2rem, 1.6rem + 7vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}
.final__texto { max-width: 34rem; margin: 1.25rem auto 2.5rem; font-size: var(--fs-lead); color: var(--texto-2); }
.final__texto strong { color: var(--texto); white-space: nowrap; }
.final__acoes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; }
@media (max-width: 479px) {
  .final__acoes .botao { width: 100%; }
}
