.hero-section {
  display: grid;
  gap: 0;
}

.hero-banner {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-banner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-intro {
  padding: 0 4px;
}

.home-intro h1 {
  font-size: clamp(2.4rem, 12vw, 4.4rem);
  line-height: 0.94;
}

.home-intro p:not(.eyebrow) {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.media-preview-section,
.official-links-section,
.notice-card {
  margin-top: 32px;
}

.home-media-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 42%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.home-media-row::-webkit-scrollbar {
  display: none;
}

.home-media-row .media-card-visual {
  aspect-ratio: 9 / 13;
}

.profile-grid {
  display: grid;
  gap: 13px;
}

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

.compact-grid {
  margin-top: 13px;
}

.profile-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-card.is-featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 191, 36, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
}

.profile-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-icon img {
  width: 26px;
  height: 26px;
}

.platform-label,
.profile-description {
  margin: 0;
  color: var(--muted);
}

.platform-label {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.profile-handle {
  margin: 4px 0 7px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.profile-description {
  line-height: 1.45;
  font-size: 0.92rem;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #2b1517;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-weight: 900;
  font-size: 0.9rem;
}

.profile-link img {
  width: 18px;
  height: 18px;
}

@media (min-width: 760px) {
  .hero-section {
    gap: 26px;
  }

  .home-media-row {
    grid-auto-flow: initial;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-banner {
  position: relative;
  height: clamp(190px, 54vw, 430px);
  transition: height 260ms ease, border-radius 260ms ease, box-shadow 260ms ease, transform 260ms ease;
  will-change: height;
}

.hero-banner img {
  height: 100%;
  aspect-ratio: auto;
}

body.hero-compact .hero-banner {
  height: clamp(118px, 30vw, 230px);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 3, 7, 0.28);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(38, 16, 18, 0.52);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  transform: translateY(2px);
  background: rgba(255, 191, 36, 0.18);
  outline: none;
}

.hero-scroll-cue-left {
  left: 14px;
}

.hero-scroll-cue-right {
  right: 14px;
}

.hero-scroll-cue span {
  width: 13px;
  height: 13px;
  border-right: 3px solid #fff7ec;
  border-bottom: 3px solid #fff7ec;
  transform: rotate(45deg) translate(-1px, -2px);
  opacity: 0.9;
}

body.hero-compact .hero-scroll-cue {
  opacity: 0;
  pointer-events: none;
}

.home-simple-calendar-section {
  margin-top: 32px;
}

.home-simple-calendar-card {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(15, 3, 7, 0.2);
  overflow: hidden;
}

.home-simple-calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.home-simple-calendar-head strong {
  text-align: center;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

.home-calendar-nav-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.home-calendar-nav-button:hover,
.home-calendar-nav-button:focus-visible {
  border-color: var(--border-strong);
  background: rgba(255, 191, 36, 0.14);
  outline: none;
}

.home-calendar-day-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 66px;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-calendar-day-strip::-webkit-scrollbar {
  display: none;
}

.home-calendar-day-card {
  min-height: 84px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
}

.home-calendar-day-card .weekday {
  display: block;
  color: var(--muted-soft);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-calendar-day-card .day-number {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
  font-weight: 1000;
  letter-spacing: -0.05em;
}

.home-calendar-day-card .event-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-top: 7px;
  padding: 0 5px;
  border-radius: 999px;
  color: #341112;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-size: 0.68rem;
  font-weight: 1000;
}

.home-calendar-day-card.is-today {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 26px rgba(0, 0, 0, 0.18);
}

.home-calendar-day-card.has-events {
  border-color: var(--border-strong);
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 191, 36, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.08);
}

.home-calendar-day-card:focus-visible {
  outline: 2px solid rgba(255, 191, 36, 0.72);
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .hero-banner {
    height: clamp(280px, 44vw, 520px);
  }

  body.hero-compact .hero-banner {
    height: clamp(180px, 24vw, 300px);
  }

  .home-calendar-day-strip {
    grid-auto-columns: 78px;
  }
}


/* v1.5.8: banner compacto e calendário horizontal da Home */
.hero-banner {
  max-width: min(100%, 1040px);
  margin-inline: auto;
  transform-origin: top center;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.hero-compact .hero-banner {
  transform: translateY(-2px);
}

.home-simple-calendar-section {
  margin-top: 26px;
}

.home-simple-calendar-card {
  display: block;
}

.home-simple-calendar-head {
  min-width: 0;
}

.home-calendar-day-strip {
  width: 100%;
  min-height: 100px;
}

.home-calendar-day-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 759px) {
  .hero-banner {
    border-radius: 22px;
  }

  .hero-scroll-cue {
    width: 36px;
    height: 36px;
    bottom: 10px;
  }

  .home-simple-calendar-section .row-heading {
    align-items: start;
  }
}

/* v1.5.9: calendário acima do banner com rolagem horizontal própria */
.home-main > .home-simple-calendar-section:first-child {
  margin-top: 22px;
  margin-bottom: 18px;
}

.home-simple-calendar-section + .hero-section {
  margin-top: 0;
}

.home-calendar-day-strip {
  display: flex;
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 191, 36, 0.55) rgba(255, 255, 255, 0.08);
}

.home-calendar-day-strip:active {
  cursor: grabbing;
}

.home-calendar-day-strip::-webkit-scrollbar {
  display: block;
  height: 7px;
}

.home-calendar-day-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.home-calendar-day-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 191, 36, 0.55);
  border-radius: 999px;
}

.home-calendar-day-card {
  flex: 0 0 72px;
}

@media (min-width: 760px) {
  .home-calendar-day-card {
    flex-basis: 82px;
  }
}
