:root {
  --ink: #11100f;
  --ink-soft: #24201d;
  --paper: #fff8ea;
  --paper-soft: #f3e4c9;
  --red: #d8202d;
  --red-dark: #8d1720;
  --gold: #d9a441;
  --moss: #586b42;
  --white: #ffffff;
  --line: rgba(17, 16, 15, 0.12);
  --shadow: 0 22px 70px rgba(17, 16, 15, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 248, 234, 0.9), rgba(255, 248, 234, 0.9)),
    repeating-linear-gradient(90deg, rgba(17, 16, 15, 0.035) 0 1px, transparent 1px 28px),
    var(--paper);
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(135deg, transparent 0 47%, rgba(216, 32, 45, 0.16) 47% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 47%, rgba(17, 16, 15, 0.1) 47% 49%, transparent 49% 100%);
  background-size: 86px 86px;
}

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

ul,
ol {
  list-style: none;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 248, 234, 0.2);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(17, 16, 15, 0.92);
  box-shadow: 0 18px 45px rgba(17, 16, 15, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  font-family: "Noto Sans JP", "Nunito Sans", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 248, 234, 0.22);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 248, 234, 0.78);
  font-size: 18px;
  font-weight: 800;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nav-list .login-link {
  color: var(--white);
  background: var(--gold);
}

.section-pad {
  padding: 118px max(22px, calc((100vw - 1120px) / 2)) 80px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: 44px;
  min-height: 92dvh;
  padding-bottom: 56px;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(216, 32, 45, 0.15) 0 1px, transparent 1px 54px),
    linear-gradient(130deg, rgba(17, 16, 15, 0.98), rgba(36, 32, 29, 0.95));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  right: -120px;
  top: 0;
  width: min(48vw, 620px);
  height: 100%;
  border-left: 18px solid rgba(216, 32, 45, 0.7);
  transform: skewX(-16deg);
}

.hero::after {
  left: max(20px, calc((100vw - 1120px) / 2));
  bottom: 42px;
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  color: var(--white);
  font-family: "Noto Sans JP", "Nunito Sans", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
}

.lead {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 30px rgba(216, 32, 45, 0.25);
}

.button.secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 248, 234, 0.28);
}

.hero-showcase {
  display: block;
}

.hero-logo {
  position: absolute;
  right: -18px;
  top: -96px;
  width: min(300px, 48%);
  opacity: 0.22;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.35));
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 234, 0.14);
  border-radius: 8px;
  background: #000000;
  box-shadow: var(--shadow);
}

.hero-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--paper);
  background: linear-gradient(90deg, rgba(216, 32, 45, 0.96), rgba(141, 23, 32, 0.96));
}

.media-caption span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-caption strong {
  font-size: 15px;
}

.story,
.performances,
.contact {
  scroll-margin-top: 90px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-title.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title h2,
.contact-panel h2 {
  color: var(--ink);
  font-family: "Noto Sans JP", "Nunito Sans", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-card,
.cards,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: 0 18px 44px rgba(17, 16, 15, 0.1);
}

.story-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
}

.story-feature {
  grid-column: 1 / -1;
  padding: 34px;
}

.story-card.featured {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(216, 32, 45, 0.16) 0 1px, transparent 1px 48px),
    linear-gradient(135deg, rgba(17, 16, 15, 0.94), rgba(36, 32, 29, 0.94)),
    var(--ink);
}

.kanji-mark {
  position: absolute;
  right: 18px;
  top: 10px;
  color: rgba(255, 248, 234, 0.08);
  font-family: "Noto Sans JP", "Nunito Sans", sans-serif;
  font-size: 112px;
  font-weight: 900;
  line-height: 1;
}

.story-card h3 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 26px;
}

.story-feature h3 {
  max-width: 620px;
  font-size: clamp(28px, 4vw, 44px);
}

.story-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding-left: 34px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  background: linear-gradient(var(--red), var(--gold), rgba(255, 248, 234, 0.18));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 248, 234, 0.12);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.055);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 24px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(216, 32, 45, 0.14);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item h4 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 20px;
}

.timeline-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.timeline-button::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 248, 234, 0.24);
  border-radius: 50%;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.timeline-button:hover,
.timeline-button:focus-visible {
  color: var(--gold);
}

.timeline-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.timeline-button[aria-expanded="true"]::after {
  content: "-";
}

.timeline-detail {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.timeline-detail[hidden] {
  display: none;
}

.timeline-list {
  display: grid;
  gap: 6px;
  padding-left: 22px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 17px;
  line-height: 1.55;
  list-style: disc;
}

.story-card p,
.cards p,
.contact-panel p {
  color: rgba(17, 16, 15, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.story-card.featured p {
  color: rgba(255, 248, 234, 0.82);
}

.stat {
  display: block;
  margin-bottom: 20px;
  color: var(--red);
  font-family: "Noto Sans JP", "Nunito Sans", sans-serif;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.stat-title {
  max-width: 440px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
}

.cards-apresentacoes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cards {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  border-top: 5px solid var(--accent);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cards:hover {
  box-shadow: 0 22px 54px rgba(17, 16, 15, 0.16);
  transform: translateY(-3px);
}

.cards::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 0 1px, transparent 1px 38px),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 42%);
  opacity: 0.58;
}

.cards.red {
  --accent: var(--red);
}

.cards.gold {
  --accent: var(--gold);
}

.cards.ink {
  --accent: var(--ink);
}

.cards.moss {
  --accent: var(--moss);
}

.card-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  margin: 18px 18px 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(17, 16, 15, 0.88), rgba(36, 32, 29, 0.82)),
    var(--ink);
  box-shadow: 0 14px 34px rgba(17, 16, 15, 0.18);
}

.card-media::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border: 12px solid var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
}

.card-media-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card-logo {
  z-index: 1;
  width: min(210px, 74%);
  height: min(140px, 72%);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 28px 28px;
}

.cards h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.15;
}

.cards p {
  margin-top: auto;
}

.contact {
  padding-bottom: 100px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.94), rgba(255, 248, 234, 0.82)),
    var(--paper);
}

.contact-panel p {
  max-width: 680px;
  margin-top: 16px;
}

.contact-email {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--red-dark);
  outline: none;
}

.redes-sociais {
  display: flex;
  gap: 12px;
}

.redes-sociais a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.redes-sociais a:hover,
.redes-sociais a:focus-visible {
  background: var(--red);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media video {
    animation: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    position: fixed;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(255, 248, 234, 0.2);
    border-radius: 8px;
    background: rgba(17, 16, 15, 0.96);
    box-shadow: 0 18px 45px rgba(17, 16, 15, 0.28);
    backdrop-filter: blur(18px);
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 17px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero::before {
    right: -210px;
    width: 420px;
  }

  .story-grid,
  .cards-apresentacoes,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .story-feature {
    grid-column: auto;
  }

  .contact-panel {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand span {
    font-size: 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-list a {
    padding: 13px 14px;
    font-size: 16px;
  }

  .section-pad {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 176px;
    padding-bottom: 36px;
    gap: 22px;
  }

  .hero-logo {
    right: 12px;
    top: -54px;
    width: min(240px, 62%);
  }

  .lead {
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button,
  .redes-sociais a {
    min-height: 44px;
  }

  .button,
  .redes-sociais a {
    width: 100%;
  }

  .hero-actions,
  .redes-sociais {
    width: 100%;
    flex-direction: column;
  }

  .media-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .story-card,
  .contact-panel {
    padding: 24px;
  }

  .card-media {
    margin: 14px 14px 0;
  }

  .card-media-logo {
    padding: 18px;
  }

  .card-body {
    padding: 20px 22px 24px;
  }

  .cards h3 {
    font-size: 24px;
  }

  .story-feature {
    padding: 26px;
  }

  .story-timeline {
    gap: 14px;
    padding-left: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .timeline-item::before {
    left: -25px;
  }

  .timeline-date {
    justify-self: start;
  }
}
