/* Churrapp, version 4: editorial, in the app's own type (Unbounded for
   titles and figures, Inter for the rest) and its own palette: the dark
   background, with white as the light pages (the page fades from
   one to the other as you scroll). Photos drift in parallax and text rises
   out of a blur; smooth scroll and the scroll-linked motion come from Lenis
   and GSAP. */

:root {
  /* Only the app's tokens (src/core/theme/tokens.ts). */
  --escuro: #121212; /* bg */
  --folha: #1a1a1a; /* sheet */
  --superficie: #262626; /* surface */
  --branco: #ffffff; /* text */
  --coral: #f26b6b; /* accent */
  --vinho: #9e1f2b; /* accentDark */
  --grad: linear-gradient(135deg, #e5545a, #9e1f2b); /* gradients.primary */
  --display: 'Unbounded', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --suave: cubic-bezier(0.16, 1, 0.3, 1);

  /* The page's current colours; v4.js swaps the theme class on <body>. */
  --fundo: var(--escuro);
  --texto: var(--branco);
  --corpo: #d6d6d6; /* textBody */
  --apagado: #9a9a9a; /* textSubtle */
  --linha: #343434; /* divider */
  --enfase: var(--coral);
}

body.claro {
  --fundo: var(--branco);
  --texto: var(--escuro);
  --corpo: rgba(18, 18, 18, 0.72);
  --apagado: rgba(18, 18, 18, 0.5);
  --linha: rgba(18, 18, 18, 0.12);
  --enfase: var(--vinho);
}

* {
  box-sizing: border-box;
}

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background-color 0.9s var(--suave),
    color 0.9s var(--suave);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 em,
h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--enfase);
  transition: color 0.9s var(--suave);
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

.miolo {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.estreito {
  width: min(760px, 100% - 40px);
}

.pular-conteudo {
  position: absolute;
  left: -9999px;
}

.pular-conteudo:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--branco);
  color: var(--escuro);
  padding: 10px 16px;
  border-radius: 999px;
}

.sobrelinha {
  font-weight: 600;
  font-size: 15px;
  color: var(--enfase);
  margin-bottom: 18px;
  transition: color 0.9s var(--suave);
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--corpo);
  max-width: 34em;
  margin-top: 24px;
}

/* ---------- Text that rises out of a blur ----------
   Without JS everything simply shows; v4.js adds .anima to <html>. */

.anima .revela {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
}

.anima .linhas .palavra {
  display: inline-block;
}

.anima .linhas .palavra > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(2deg);
  filter: blur(10px);
}

/* ---------- Bar ---------- */

.barra {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(1180px, 100% - 32px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: rgba(38, 38, 38, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: var(--branco);
  transition:
    background-color 0.9s var(--suave),
    transform 0.6s var(--suave);
}

body.claro .barra {
  background: rgba(255, 255, 255, 0.45);
  color: var(--escuro);
}

.barra.escondida {
  transform: translate(-50%, -140%);
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}

.marca img {
  border-radius: 9px;
}

.baixar,
.botao {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--grad);
  color: var(--branco);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  transition:
    transform 0.5s var(--suave),
    box-shadow 0.5s var(--suave);
}

.baixar:hover,
.botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(229, 84, 90, 0.7);
}

.botao {
  padding: 16px 28px;
  font-size: 16px;
}

/* ---------- Opening ---------- */

.abertura {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--branco);
}

.abertura-foto {
  position: absolute;
  inset: 0;
}

.abertura-foto img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 60% 50%;
}

.abertura::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.45) 0%, rgba(18, 18, 18, 0) 30%),
    linear-gradient(0deg, var(--escuro) 0%, rgba(18, 18, 18, 0.75) 35%, rgba(18, 18, 18, 0) 75%);
  pointer-events: none;
}

.brasas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.abertura-texto {
  position: relative;
  z-index: 2;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding-bottom: clamp(72px, 12vh, 120px);
}

.abertura h1 {
  font-size: clamp(38px, 6.2vw, 92px);
  max-width: 12ch;
}

.abertura h1 em {
  color: var(--coral);
}

.abertura .sobrelinha {
  color: var(--coral);
}

.abertura-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: #d6d6d6;
  max-width: 30em;
  margin-top: 28px;
}

.abertura-acoes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 36px;
  font-size: 14px;
  color: #bdbdbd;
}

.role {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(72px, 12vh, 120px);
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.role i {
  position: absolute;
  inset: 0;
  background: var(--branco);
  animation: role 2.4s var(--suave) infinite;
}

@keyframes role {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* ---------- Manifesto ---------- */

.manifesto {
  position: relative;
  padding: clamp(140px, 22vh, 240px) 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.acende {
  position: relative;
  z-index: 1;
  max-width: 20ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-align: center;
}

.acende em {
  font-style: normal;
  color: var(--enfase);
}

.anima .acende .palavra {
  opacity: 0.16;
}

.flutua {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.35);
}

.flutua img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f1 {
  width: clamp(120px, 17vw, 240px);
  aspect-ratio: 4 / 5;
  left: 4%;
  top: 10%;
  transform: rotate(-5deg);
}

.f2 {
  width: clamp(120px, 15vw, 220px);
  aspect-ratio: 1;
  right: 5%;
  top: 22%;
  transform: rotate(4deg);
}

.f3 {
  width: clamp(130px, 18vw, 260px);
  aspect-ratio: 5 / 4;
  left: 5%;
  bottom: 4%;
  transform: rotate(3deg);
}

@media (max-width: 760px) {
  .manifesto {
    padding-top: 220px;
    padding-bottom: 220px;
  }
  .f1 {
    top: 40px;
    left: -20px;
  }
  .f2 {
    top: 70px;
    right: -24px;
  }
  .f3 {
    bottom: 40px;
    left: auto;
    right: 18%;
  }
}

/* ---------- The running band ---------- */

.faixa {
  overflow: hidden;
  padding: 20px 0 clamp(80px, 12vh, 140px);
}

.faixa-trilho {
  display: flex;
  width: max-content;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
  white-space: nowrap;
  color: var(--enfase);
  transition: color 0.9s var(--suave);
}

.faixa-trilho span {
  padding-right: 0.3em;
}

/* ---------- Two-column blocks ---------- */

.bloco {
  padding: clamp(100px, 16vh, 180px) 0;
}

.dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.bloco h2,
.janela h2,
.dia h2,
.preco h2 {
  font-size: clamp(28px, 3.8vw, 54px);
}

.cena {
  position: relative;
  padding: 0 0 12% 0;
}

.cena-foto {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.cena-foto img {
  width: 100%;
  height: 124%;
  object-fit: cover;
  margin-top: -12%;
}

.celular {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 46%;
  padding: 8px;
  border-radius: 38px;
  background: var(--escuro);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 50px 80px -30px rgba(0, 0, 0, 0.6);
}

.celular img {
  border-radius: 30px;
  width: 100%;
}

.invertida .celular {
  right: auto;
  left: -6%;
}

.cardapio {
  margin: 36px 0 0;
  max-width: 30em;
}

.cardapio div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linha);
}

.cardapio dt {
  font-weight: 500;
  font-size: 18px;
}

.cardapio dt::after {
  content: '';
}

.cardapio dd {
  margin: 0 0 0 auto;
  color: var(--corpo);
  font-size: 16px;
}

.destaque {
  margin-top: 36px;
  font-size: 17px;
  color: var(--corpo);
  max-width: 26em;
}

.destaque span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1;
  color: var(--texto);
  margin-bottom: 10px;
}

@media (max-width: 860px) {
  .dupla {
    grid-template-columns: 1fr;
  }
  .invertida .cena {
    order: 2;
  }
  .cena {
    width: min(460px, 100%);
    margin-inline: auto;
  }
  .celular {
    right: -2%;
  }
  .invertida .celular {
    left: -2%;
  }
}

/* ---------- The window that opens to the full width ---------- */

.janela {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--branco);
}

.janela-moldura {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(var(--recorte, 0%) round var(--canto, 0px));
}

.janela-moldura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom, 1));
}

.janela-moldura::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0) 60%);
}

.janela-texto {
  position: relative;
  z-index: 1;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding-bottom: clamp(56px, 10vh, 110px);
}

.janela h2 {
  max-width: 17ch;
}

.janela h2 em,
.janela .sobrelinha {
  color: var(--coral);
}

/* ---------- The day, a gallery that moves sideways ---------- */

.dia {
  overflow: hidden;
}

.dia-pino {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vh, 48px);
  padding: 96px 0 40px;
}

.trilha {
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: 20px;
  width: max-content;
  will-change: transform;
}

.momento {
  width: clamp(260px, 30vw, 400px);
  flex: none;
}

.momento figure {
  border-radius: 24px;
  overflow: hidden;
  /* Sized by the screen's height, so the caption below always fits on the
     pinned screen with the heading above. */
  height: clamp(180px, calc(100svh - 450px), 460px);
  margin-bottom: 18px;
}

.momento img {
  width: 140%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.momento .hora {
  font-weight: 600;
  color: var(--enfase);
  font-size: 15px;
}

.momento h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  margin: 4px 0 8px;
}

.momento p:last-child {
  color: var(--corpo);
  font-size: 16px;
  max-width: 24em;
}

/* Without the pinned animation (no JS, reduced motion) the day is a row
   you scroll by hand. */
html:not(.anima) .dia .trilha {
  overflow-x: auto;
  width: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

html:not(.anima) .momento {
  scroll-snap-align: start;
}

/* ---------- The bill ---------- */

.convidados {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  max-width: 26em;
}

.convidados li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linha);
}

.convidados span {
  font-weight: 500;
  font-size: 18px;
}

.convidados small {
  margin-left: auto;
  color: var(--corpo);
  font-size: 15px;
}

.convidados i {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--linha);
  flex: none;
}

.convidados i::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  background: var(--grad);
  transform: scale(var(--marca, 0));
  transition: transform 0.7s var(--suave);
}

.convidados i::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--branco);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(var(--marca, 0));
  transition: transform 0.5s 0.15s var(--suave);
}

html:not(.anima) .convidados .pago i,
.convidados.visto .pago i {
  --marca: 1;
}

.convidados.visto .pago:nth-child(3) i::before {
  transition-delay: 0.45s;
}

.convidados.visto .pago:nth-child(3) i::after {
  transition-delay: 0.6s;
}

/* ---------- Price ---------- */

.preco {
  padding: clamp(80px, 12vh, 140px) 0;
  text-align: center;
}

.preco .lead {
  margin-inline: auto;
}

.preco h2 {
  font-size: clamp(40px, 6.6vw, 100px);
}

.planos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
  text-align: left;
}

.plano {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  border: 1px solid var(--linha);
}

.plano.cheio {
  background: var(--superficie);
  border-color: var(--superficie);
  color: var(--branco);
}

.plano h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.plano ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plano li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid var(--linha);
}

.plano.cheio li {
  border-color: #343434;
}

.plano li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

@media (max-width: 760px) {
  .planos {
    grid-template-columns: 1fr;
  }
}

/* ---------- Questions ---------- */

.perguntas {
  padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 16vh, 180px);
}

.perguntas h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  margin-bottom: 32px;
}

details {
  border-bottom: 1px solid var(--linha);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 20px);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.6s var(--suave);
}

details[open] summary::after {
  transform: rotate(135deg);
}

.resposta {
  overflow: hidden;
}

.resposta p {
  padding-bottom: 24px;
  color: var(--corpo);
  max-width: 36em;
}

/* ---------- Closing ---------- */

.fecho {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--branco);
}

.fecho-foto {
  position: absolute;
  inset: 0;
}

.fecho-foto img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.fecho::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.9));
}

.fecho-texto {
  position: relative;
  z-index: 1;
  padding: 120px 20px;
}

.fecho-icone {
  margin: 0 auto 28px;
  border-radius: 18px;
}

.fecho h2 {
  font-size: clamp(30px, 4.6vw, 68px);
  max-width: 16ch;
  margin-inline: auto;
}

.fecho h2 em {
  color: var(--coral);
}

.lojas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.loja {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-align: left;
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--suave);
}

.loja:hover {
  transform: translateY(-2px);
}

.loja small {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.7;
}

.loja.cheia {
  background: var(--grad);
  color: var(--branco);
  border-color: transparent;
}

/* ---------- Footer ---------- */

.rodape {
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--apagado);
}

.rodape-linhas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.rodape nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rodape a:hover {
  color: var(--texto);
}

@media (prefers-reduced-motion: reduce) {
  body,
  .barra,
  .role i {
    transition: none;
    animation: none;
  }
}
