:root {
  --marinho: #0E2A57;
  --lousa: #1B3157;
  --vermelho: #E11D2E;
  --vermelho-esc: #B8111F;
  --amarelo: #FFC93C;
  --verde: #6CC04A;
  --ciano: #19B5DE;
  --papel: #FFFFFF;
  --ceu: #EEF4FB;
  --tinta: #1A2236;
  --tinta-suave: #4A5570;
  --giz: #F4F1E6;

  --f-titulo: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --f-texto: "Nunito Sans", system-ui, sans-serif;
  --f-giz: "Gochi Hand", "Comic Sans MS", cursive;

  --raio: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); color: var(--marinho); }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.intro { max-width: 60ch; color: var(--tinta-suave); font-size: 1.125rem; margin-top: .75rem; }
.sub { font-size: clamp(1.4rem, 2.6vw, 1.75rem); color: var(--marinho); margin: 3.5rem 0 1.25rem; }
.giz { font-family: var(--f-giz); font-size: 1.5rem; line-height: 1.2; color: var(--giz); }
.giz--escuro { color: var(--vermelho); margin-top: 1rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-titulo); font-weight: 600; font-size: 1.125rem;
  text-decoration: none; border-radius: 999px; padding: .85rem 1.75rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--principal { background: var(--vermelho); color: #fff; box-shadow: 0 5px 0 var(--vermelho-esc); }
.btn--principal:hover { background: #F02A3B; }
.btn--principal:active { box-shadow: 0 2px 0 var(--vermelho-esc); transform: translateY(3px); }
.btn--wpp { background: #1FA855; color: #fff; padding: .55rem 1.1rem; font-size: 1rem; }
.btn--wpp:hover { background: #18914A; }
.btn--contorno { border-color: var(--marinho); color: var(--marinho); }
.btn--contorno:hover { background: var(--marinho); color: #fff; }

/* ---------- topo ---------- */
.topo { background: var(--papel); border-bottom: 1px solid #E3E9F2; position: sticky; top: 0; z-index: 10; }
.topo__in { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; }
.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.marca img { width: 38px; height: auto; }
.marca span { font-family: var(--f-titulo); font-weight: 600; font-size: 1.2rem; color: var(--marinho); }

/* ---------- hero: a lousa ---------- */
.hero {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.07), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(255,255,255,.05), transparent 50%),
    var(--lousa);
  color: #fff; overflow: hidden; position: relative;
}
.hero::before { /* estrelas de giz */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle, var(--amarelo) 1.6px, transparent 2px),
    radial-gradient(circle, #fff 1.2px, transparent 1.6px);
  background-size: 210px 190px, 130px 150px;
  background-position: 30px 40px, 90px 10px;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.5rem 0 5rem; }
.selo { display: inline-block; font-family: var(--f-titulo); font-weight: 600; background: var(--amarelo); color: var(--marinho); padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; color: #fff; }
.hero__sub { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 34ch; margin: 1.1rem 0 1.75rem; color: #DCE5F3; }
.fatos { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0 0 2rem; }
.fatos dt { font-family: var(--f-giz); font-size: 1.25rem; color: var(--amarelo); }
.fatos dd { margin: 0; font-family: var(--f-titulo); font-size: 1.35rem; font-weight: 600; }
.fatos small { display: block; font-family: var(--f-texto); font-size: .95rem; font-weight: 400; color: #C6D2E6; }
.hero__url { font-size: .95rem; color: #C6D2E6; margin: .9rem 0 0; }
.encerrada { font-family: var(--f-titulo); font-size: 1.3rem; background: rgba(255,255,255,.1); padding: 1rem 1.25rem; border-radius: var(--raio); max-width: 36ch; }

.hero__arte { margin: 0; position: relative; justify-self: center; max-width: 460px; transform: rotate(2.5deg); }
.hero__arte img { border-radius: 6px; box-shadow: 0 22px 40px rgba(0,0,0,.35); }
.hero__arte::before, .hero__arte::after { /* fita adesiva */
  content: ""; position: absolute; width: 110px; height: 30px; background: rgba(255,240,190,.75);
  top: -12px; z-index: 1; box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.hero__arte::before { left: -20px; transform: rotate(-28deg); }
.hero__arte::after { right: -20px; transform: rotate(24deg); }
.hero__arte figcaption { position: absolute; left: -2.5rem; bottom: -2.4rem; transform: rotate(-6deg); font-size: 1.7rem; color: var(--amarelo); }

/* ---------- convite ---------- */
.convite { padding: 5.5rem 0; }
.convite__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.convite h2 { margin-bottom: 1.25rem; }
.convite p { max-width: 58ch; font-size: 1.125rem; }
.convite .giz--escuro { font-size: 1.75rem; }
.convite__img { border-radius: 50% 50% var(--raio) var(--raio); aspect-ratio: 665/732; object-fit: cover; }

/* ---------- filmes: rolo de filme ---------- */
.filmes { background: var(--ceu); padding: 5rem 0; }
.rolo {
  list-style: none; padding: 28px 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--marinho); border-radius: 10px; position: relative;
}
.rolo::before, .rolo::after { /* furos do filme */
  content: ""; position: absolute; left: 12px; right: 12px; height: 12px;
  background: repeating-linear-gradient(90deg, var(--ceu) 0 14px, transparent 14px 30px);
  border-radius: 3px;
}
.rolo::before { top: 8px; }
.rolo::after { bottom: 8px; }
.rolo li {
  margin: 0 8px; min-height: 150px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, #23447E, #183564); border-radius: 6px; padding: 1.5rem 1rem;
}
.rolo li:nth-child(3n+1) { box-shadow: inset 0 -5px 0 var(--amarelo); }
.rolo li:nth-child(3n+2) { box-shadow: inset 0 -5px 0 var(--verde); }
.rolo li:nth-child(3n+3) { box-shadow: inset 0 -5px 0 var(--ciano); }
.rolo__nome { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: #fff; }

/* ---------- como participar ---------- */
.participar { padding: 5.5rem 0; }
.passos { list-style: none; counter-reset: p; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.passos li { counter-increment: p; position: relative; padding-top: 3.5rem; }
.passos li::before {
  content: counter(p); position: absolute; top: 0; left: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--marinho); color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 1.2rem;
}
.passos li:not(:last-child)::after { /* linha entre passos */
  content: ""; position: absolute; top: 1.3rem; left: 3.2rem; right: -.9rem; border-top: 2px dashed #B9C7DD;
}
.passos h3 { font-size: 1.2rem; color: var(--marinho); margin-bottom: .4rem; }
.passos p { color: var(--tinta-suave); font-size: 1rem; }

/* bilhetes de cinema */
.bilhetes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.bilhete {
  --furo: 14px;
  background: #DCE7F6; border-radius: 14px;
  padding: 1.5rem 1.75rem 1.25rem; position: relative;
  -webkit-mask: radial-gradient(circle var(--furo) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--furo) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--furo) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--furo) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.bilhete--cortesia { background: var(--amarelo); }
.bilhete__cab { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px dashed rgba(14,42,87,.35); padding-bottom: .9rem; margin-bottom: .9rem; }
.bilhete__tipo { font-family: var(--f-giz); font-size: 1.5rem; color: var(--marinho); }
.bilhete__valor { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--marinho); }
.bilhete p { margin: 0; font-size: 1.05rem; }
.aviso { margin-top: 1.25rem; color: var(--tinta-suave); }
.aviso a { color: #168A46; font-weight: 800; }
.participar__acao { margin-top: 2.5rem; }

/* ---------- local ---------- */
.local { background: var(--ceu); padding: 5rem 0; }
.local__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.local__nome { font-family: var(--f-titulo); font-size: 1.6rem; font-weight: 600; color: var(--vermelho); margin: 1rem 0 .25rem; }
.local__mapa { border-radius: var(--raio); overflow: hidden; border: 2px solid var(--marinho); aspect-ratio: 16/10; background: #dde6f2; }
.local__mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- clube ---------- */
.clube { padding: 6rem 0; }
.clube__abre { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
.clube__abre img { width: 120px; }
.novidade { display: inline-block; margin-top: .5rem; font-weight: 800; color: var(--marinho); background: linear-gradient(transparent 55%, rgba(108,192,74,.45) 55%); }

.tfs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 3rem 0 0; text-align: center; }
.tfs p { margin: 0; padding: 1.25rem .5rem; border-bottom: 3px solid #E3E9F2; }
.tfs b { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); color: #C3CCDA; }
.tfs__ser { border-bottom-color: var(--vermelho) !important; }
.tfs__ser b { color: var(--vermelho); }
.tfs__ser .giz { display: block; color: var(--marinho); font-size: 1.3rem; }

.habilidades { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.habilidades h4 { font-size: 1.15rem; color: var(--vermelho); margin-bottom: .35rem; }
.habilidades h4 span { margin-right: .2rem; }
.habilidades p { margin: 0; color: var(--tinta-suave); font-size: 1rem; }

.eco { list-style: none; counter-reset: e; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.eco li { counter-increment: e; background: var(--marinho); color: #DCE5F3; border-radius: var(--raio); padding: 1.5rem 1.4rem; }
.eco li::before { content: counter(e); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--vermelho); color: #fff; font-family: var(--f-titulo); font-weight: 600; margin-bottom: 1rem; }
.eco h4 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.eco p { margin: 0; font-size: .97rem; }

/* ---------- rodapé ---------- */
.rodape { background: var(--marinho); color: #C6D2E6; padding: 4rem 0 2rem; }
.rodape__in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
.rodape img { width: 64px; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 1rem; }
.rodape__nome { font-family: var(--f-titulo); font-size: 1.3rem; color: #fff; margin-bottom: .3rem; }
.rodape__tit { font-size: 1.1rem; color: var(--amarelo); margin-bottom: .75rem; }
.rodape a { color: #fff; }
.rodape__fim { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; font-size: .9rem; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .hero__in, .convite__in, .local__in { grid-template-columns: 1fr; }
  .hero__in { padding: 3rem 0 4.5rem; gap: 3.5rem; }
  .hero__arte { max-width: 380px; }
  .convite__img { max-width: 360px; }
  .passos { grid-template-columns: 1fr 1fr; }
  .passos li::after { display: none; }
  .habilidades { grid-template-columns: 1fr 1fr; }
  .eco { grid-template-columns: 1fr 1fr; }
  .rodape__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .marca span { font-size: 1rem; }
  .marca img { width: 30px; }
  .btn--wpp { padding: .45rem .9rem; font-size: .95rem; }
  .hero__arte figcaption { left: 0; }
  .rolo { grid-template-columns: 1fr; padding: 22px 0; }
  .rolo li { min-height: 88px; margin: 6px 26px; }
  .rolo::before, .rolo::after { left: 6px; right: auto; top: 10px; bottom: 10px; width: 12px; height: auto;
    background: repeating-linear-gradient(180deg, var(--ceu) 0 14px, transparent 14px 30px); }
  .rolo::after { left: auto; right: 6px; }
  .passos, .bilhetes, .habilidades, .eco, .rodape__in { grid-template-columns: 1fr; }
  .clube__abre { grid-template-columns: 1fr; gap: 1rem; }
  .clube__abre img { width: 84px; }
  .btn--principal { width: 100%; }
  .convite, .participar, .clube { padding: 4rem 0; }
}

/* ---------- convidado por (unidades) ---------- */
.convidado { margin-top: 2.5rem; background: var(--lousa); color: #DCE5F3; border-radius: var(--raio); padding: 1.75rem; }
.convidado__tit { color: #fff; font-size: 1.3rem; margin-bottom: 1.1rem; }
.convidado__lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.convidado__lista li { background: rgba(255,255,255,.07); border-radius: 12px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.convidado__regioes { font-size: .98rem; }
.convidado__nome { font-family: var(--f-titulo); font-weight: 600; font-size: 1.25rem; color: var(--amarelo); }
@media (max-width: 600px) { .convidado__lista { grid-template-columns: 1fr; } .convidado { padding: 1.25rem; } }
