:root {
  --uv: #1c0b4b;
  --uv-raised: #2c1470;
  --neon: #ff3db4;
  --tube: #ffe3f4;
  --ice: #8fdcff;
  --paper: #fdf7ff;
  --lilac: #efe2ff;
  --plum: #2a1240;
  --plum-soft: #5b4470;
  --magenta-ink: #b3107a;

  --display: "Tilt Neon", "Hanken Grotesk", sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--uv);
  color: var(--plum);
  font: 400 1.0625rem/1.6 var(--body);
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
h1, h2, p { margin: 0; }
h2 {
  font: 400 clamp(2rem, 4.5vw, 3.25rem)/1.1 var(--display);
  margin-bottom: 2.5rem;
}
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible, .lilac :focus-visible { outline-color: var(--magenta-ink); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--plum); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; }

/* Hero */
.hero {
  color: #fff;
  background:
    radial-gradient(60% 70% at 18% 45%, rgba(255, 61, 180, .22), transparent 70%),
    var(--uv);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; }
.brand { font: 400 1.25rem/1 var(--display); text-decoration: none; }
.bar-links { display: flex; gap: 1.5rem; font-size: 1rem; }
.bar-links a { text-decoration: none; }
.bar-links a:hover { color: var(--ice); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2rem, 6vw, 4.5rem);
}
.neon {
  font-family: var(--display);
  font-weight: 400;
  color: var(--tube);
  text-shadow:
    0 0 2px #fff,
    0 0 10px var(--neon),
    0 0 26px var(--neon),
    0 0 60px rgba(255, 61, 180, .75);
}
h1.neon {
  font-size: clamp(3.1rem, 8.2vw, 6.5rem);
  line-height: 1.02;
  animation: switch-on 1.5s linear both;
}
@keyframes switch-on {
  0%, 12% { opacity: .15; text-shadow: none; }
  14%, 19% { opacity: 1; }
  21%, 34% { opacity: .25; text-shadow: none; }
  36%, 41% { opacity: 1; }
  43%, 48% { opacity: .4; text-shadow: none; }
  50%, 100% { opacity: 1; }
}
.lede { margin-top: 1.75rem; max-width: 34em; font-size: 1.1875rem; color: #e9defb; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-block;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--neon);
}
.btn-solid { background: var(--neon); color: var(--uv); }
.btn-solid:hover { background: var(--tube); border-color: var(--tube); }
.btn-line { color: #fff; }
.btn-line:hover { background: rgba(255, 61, 180, .18); }
.hero-player .caption { margin-top: .85rem; color: #e9defb; font-size: 1rem; }

/* Vídeos */
.facade { position: relative; display: block; width: 100%; overflow: hidden; background: var(--uv-raised); }
.wide { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.tall { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 10px; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 6px rgba(28, 11, 75, .35);
}
.play::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 20px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--uv);
}
.facade:hover .play { background: var(--tube); }
.tall .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.tall .play::after { left: 20px; top: 15px; border-width: 11px 0 11px 17px; }

/* Seções */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.paper { background: var(--paper); }
.lilac { background: var(--lilac); }
.violet { background: var(--uv); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0; }
.text-link { color: var(--magenta-ink); font-weight: 700; text-underline-offset: 3px; }
.text-link:hover { color: var(--plum); }

/* Dúvidas */
.topics { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.topic-list { display: grid; }
.topic-list button {
  padding: .95rem 0 .95rem 1.1rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.25;
  font-weight: 500;
  color: var(--plum-soft);
  border-left: 4px solid var(--lilac);
}
.topic-list button:hover { color: var(--plum); }
.topic-list button[aria-pressed="true"] { color: var(--plum); font-weight: 700; border-left-color: var(--neon); }
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.short { margin: 0; }
.short figcaption { margin-top: .6rem; font-size: 1rem; line-height: 1.35; font-weight: 500; }

/* Episódios */
.episodes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.episode-player { position: sticky; top: 1.5rem; }
.episode-list { list-style: none; margin: 0; padding: 0; }
.episode-list li + li { border-top: 1px solid rgba(255, 255, 255, .16); }
.episode-list a, .episode-list button {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 .5rem;
  width: 100%;
  padding: .8rem .25rem;
  text-decoration: none;
  line-height: 1.35;
}
.ep-n { font: 400 1.375rem/1.2 var(--display); color: var(--ice); }
.ep-note { grid-column: 2; font-size: .9375rem; color: var(--ice); }
.episode-list a:hover .ep-title, .episode-list button:hover .ep-title { text-decoration: underline; text-underline-offset: 3px; }
.episode-list [aria-current] .ep-n, .episode-list [aria-current] .ep-title { color: var(--neon); font-weight: 700; }

/* Instagram */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.reels iframe { width: 100%; height: 620px; border: 1px solid var(--lilac); border-radius: 10px; background: #fff; }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cover { width: 100%; height: auto; border-radius: 10px; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p { max-width: 36em; }
.about-copy p + p { margin-top: 1rem; }

/* Rodapé */
.footer { color: #fff; background: var(--uv); padding-block: clamp(4rem, 9vw, 7rem) 2.5rem; text-align: center; }
.closing { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.08; }
.footer .actions { justify-content: center; margin-top: 2.5rem; }
.fineprint { margin: 3.5rem auto 0; max-width: 40em; font-size: .9375rem; color: #cfc1ea; }

@media (max-width: 900px) {
  .hero-grid, .topics, .episodes, .about { grid-template-columns: minmax(0, 1fr); }
  .bar-links { display: none; }
  .episode-player { position: static; }
  .topic-list { display: flex; flex-wrap: wrap; gap: .5rem; }
  .topic-list button {
    padding: .5rem .9rem;
    font-size: 1rem;
    border: 2px solid var(--lilac);
    border-radius: 999px;
  }
  .topic-list button[aria-pressed="true"] { background: var(--neon); border-color: var(--neon); }
  .cover { max-width: 280px; }
  .reels {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(320px, 86%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
  }
  .reels iframe { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .shorts {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
  }
  .short { scroll-snap-align: start; }
  .actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1.neon { animation: none; }
}
