:root {
  color-scheme: light;
  --bg: #eef2f8;
  --surface: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: #dfe5ef;
  --red: #e30613;
  --red-dark: #c9000b;
  --shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

body>header,
body>.gallery-meta {
  display: none !important;
}

main {
  background: linear-gradient(#ffffff 0 470px, var(--bg) 470px);
}

.site-shell,
.gallery-panel,
.page-footer {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

.site-topbar {
  height: 96px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 28px;
  background: #ffffff;
}

.site-logo {
  width: 120px;
  justify-self: start;
}

.site-menu {
  display: flex;
  justify-content: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.site-menu li {
  position: relative;
  height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.site-menu li.active {
  color: var(--red);
}

.site-menu li.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
}

.menu-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 20px;
  line-height: 1;
}

.site-date {
  justify-self: end;
  width: 286px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  border: 1px solid #e8edf5;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  line-height: 1.15;
}

.site-date::before {
  content: "\f073";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-family: "Font Awesome 7 Free";
  font-size: 25px;
  font-weight: 900;
}

.site-date span {
  display: block;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.site-date strong {
  display: block;
  margin-top: 1px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.hero {
  position: relative;
  height: 480px;
  display: grid;
  grid-template-columns: 390px 1fr;
  align-items: stretch;
  overflow: hidden;
  background: #ffffff;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 48px 10px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, rgba(255, 255, 255, 0.95) 78%, rgba(255, 255, 255, 0) 100%);
}

.hero h1 {
  max-width: 420px;
  margin: 0;
  color: #0f172a;
  font-size: 56px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero p {
  margin: 24px 0 0;
  color: #111827;
  font-size: 15px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid #cfd7e6;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.btn-primary {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}

.hero-banner {
  position: absolute;
  inset: 0 0 0 255px;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 14%, rgba(255, 255, 255, 0.2) 40%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
}

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

.gallery-highlights {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 32px;
  align-items: center;
  margin: -2px auto 20px;
  padding: 22px 32px;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 22px;
}

.highlight-icon {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 30px;
}

.highlight-card span {
  display: block;
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
}

.highlight-card strong {
  color: var(--red);
}

.highlight-card p {
  margin: 2px 0 0;
  color: #334155;
  font-size: 22px;
}

.gallery-link-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding-left: 34px;
  border-left: 1px solid #e1e6ee;
}

.gallery-link-card>span {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.gallery-link-box {
  height: 41px;
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.gallery-link-box input {
  min-width: 0;
  width: 100%;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 0 14px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
}

.gallery-link-box button {
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-size: 18px;
}

.premium-banner {
  position: relative;
  margin: 18px 0 36px;
  border-radius: 11px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.premium-carousel {
  position: relative;
  width: 100%;
  height: 400px;
}

.premium-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.premium-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.premium-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.premium-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.premium-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.premium-dot.is-active {
  background: #ffffff;
  transform: scale(1.3);
}


.event-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: center;
  margin: 0 0 34px;
}

.event-summary h2 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
}

.event-summary p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.event-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #ffc6c9;
  border-radius: 8px;
  background: #ffffff;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.06);
}

.gallery-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 34px;
  align-items: start;
  margin-top: 0;
}

.gallery-main {
  min-width: 0;
}

.gallery-header-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.gallery-title {
  position: relative;
  padding-left: 14px;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.gallery-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 4px;
  height: 34px;
  border-radius: 99px;
  background: var(--red);
}

.gallery-subtitle {
  margin: 4px 0 0 14px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.gallery-actions {
  display: contents;
}

.gallery-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  grid-column: 1 / 2;
}

.filter {
  min-width: 80px;
  height: 35px;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  padding: 0 16px;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter.active {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}

.gallery-search {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: end;
}

.gallery-search input {
  box-sizing: border-box !important;
  width: 100%;
  height: 35px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 0 14px 0 38px;
  background:
    radial-gradient(circle at 17px 15px, transparent 4px, #94a3b8 4.7px, #94a3b8 6px, transparent 6.7px),
    linear-gradient(45deg, transparent 54%, #94a3b8 54%, #94a3b8 62%, transparent 62%) 22px 20px / 10px 10px no-repeat,
    #ffffff;
  color: #475569;
  font-size: 13px;
}

#thumbnailContainer {
  overflow: visible;
}

div.thumbnails {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  overflow: visible;
  opacity: 1;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

div.thumbnails.is-transitioning {
  opacity: 0;
  transform: translateY(8px);
}

div.thumbnails.is-ready {
  opacity: 1;
  transform: translateY(0);
}

div.thumbnail {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 0.92;
  padding-bottom: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 8px;
  background-color: #111827;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center;
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

div.thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.22);
}

div.thumbnail::after {
  content: "\f030  #SouMaisMinasGerais!";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.92) 30%, rgba(15, 23, 42, 0.98));
  color: #ffffff;
  font-family: "Font Awesome 7 Free", Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

div.thumbnail img {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111827;
}

.premium-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed #ffb4b8;
  border-radius: 9px;
  background: #ffffff;
}

.premium-strip strong {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.premium-strip span {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.premium-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 17px;
  border-radius: 7px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.page-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.page-pagination a,
.page-pagination button {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.page-pagination button {
  min-width: 112px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.page-pagination button:disabled {
  opacity: 0.45;
}

.page-pagination a.active {
  background: var(--red);
  color: #ffffff;
}

.gallery-aside {
  overflow: hidden;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.offer-card {
  padding: 0 17px 22px;
  background: #ffffff;
}

.offer-label {
  display: block;
  margin: 0 -17px 20px;
  padding: 16px 18px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.partner-note {
  margin: 0 0 26px;
  padding: 16px 10px;
  border-radius: 7px;
  background: #fff0f1;
  color: var(--red);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
}

.offer-logo-wrap {
  min-height: 170px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #edf1f6;
}

.offer-logo-wrap img {
  width: 160px;
}

.offer-list {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 22px 18px 30px;
}

.offer-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 13px;
  align-items: center;
}

.offer-list li>span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 18px;
}

.offer-list strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
}

.offer-list small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.page-footer {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 28px;
  align-items: center;
  margin-top: 80px;
  padding: 42px 0 54px;
  background: #ffffff;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 220px;
  background: #ffffff;
}

.footer-brand {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  width: 160px;
}

.footer-brand small {
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.social {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 17px;
  text-decoration: none;
}

.fb {
  background: #1877f2;
}

.ig {
  background: #e22685;
}

.yt {
  background: #e90000;
}

.footer-note {
  justify-self: end;
  color: #64748b;
  text-align: right;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.footer-note strong {
  color: #0f172a;
}

.footer-note strong:first-child,
.footer-note strong:last-child {
  color: var(--red);
}

#loupeContainer {
  z-index: 20;
}

#loupeContainer div.background {
  background: rgba(0, 0, 0, 0.92);
}


/* ============================================================
   Responsividade — 1100px (tablets landscape / desktops médios)
   ============================================================ */
@media (max-width: 1100px) {

  .site-shell,
  .gallery-panel,
  .page-footer {
    width: min(100%, calc(100% - 28px));
  }

  .site-topbar {
    grid-template-columns: 80px 1fr;
  }

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

  .hero h1 {
    font-size: 44px;
  }

  .hero-banner {
    left: 210px;
  }

  div.thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   Responsividade — 900px (tablets portrait)
   ============================================================ */
@media (max-width: 900px) {
  main {
    background: linear-gradient(#ffffff 0 560px, var(--bg) 560px);
  }

  .site-topbar {
    height: auto;
    grid-template-columns: 66px 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .site-date {
    justify-self: end;
    width: auto;
    min-width: 200px;
  }

  .hero {
    height: auto;
    min-height: 420px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-content: flex-start;
    padding: 32px 0 220px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 60%, rgba(255, 255, 255, 0) 100%);
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-banner {
    inset: 0;
    opacity: 0.35;
  }

  .hero-banner::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 50%);
  }

  .gallery-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 22px;
  }

  .gallery-link-card {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #e1e6ee;
  }

  .premium-carousel {
    height: 280px;
  }

  .event-summary {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-cta {
    justify-self: start;
  }

  .gallery-panel {
    grid-template-columns: 1fr;
  }

  .gallery-aside {
    width: min(480px, 100%);
    margin-inline: auto;
  }

  .gallery-header-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-search {
    grid-column: auto;
    grid-row: auto;
  }

  .premium-strip {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .premium-strip strong {
    grid-column: 1 / -1;
  }

  .page-footer {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-note {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }

  div.thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
   Responsividade — 620px (smartphones)
   ============================================================ */
@media (max-width: 620px) {

  .site-shell,
  .gallery-panel,
  .page-footer {
    width: min(100%, calc(100% - 20px));
  }

  .site-topbar {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .site-logo {
    width: 48px;
  }

  .site-date {
    width: auto;
    min-width: 0;
    padding: 10px 14px;
    font-size: 13px;
  }

  .site-date strong {
    font-size: 14px;
  }

  .hero-copy {
    padding: 24px 0 180px;
  }

  .hero h1 {
    font-size: 32px;
    max-width: 100%;
  }

  .hero h1 span {
    display: inline;
  }

  .btn {
    height: 43px;
    font-size: 12px;
    padding-inline: 14px;
  }

  .gallery-highlights {
    padding: 16px;
  }

  .highlight-card {
    gap: 14px;
  }

  .highlight-icon {
    width: 54px;
    height: 54px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .highlight-card span,
  .highlight-card p {
    font-size: 16px;
  }

  .premium-carousel {
    height: 220px;
  }

  .event-summary h2 {
    font-size: 22px;
  }

  .gallery-header-panel {
    margin-bottom: 12px;
  }

  .gallery-filters {
    gap: 7px;
  }

  .filter {
    min-width: 0;
    font-size: 11px;
    padding: 0 12px;
  }

  div.thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .premium-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .premium-strip a {
    justify-self: center;
  }

  .page-pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  .page-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
    padding: 32px 0 40px;
  }

  .footer-brand {
    grid-template-columns: 60px 1fr;
    gap: 14px;
  }

  .footer-brand img {
    width: 60px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    grid-column: auto;
  }
}

/* ============================================================
   Responsividade — 400px (smartphones muito pequenos)
   ============================================================ */
@media (max-width: 400px) {
  .site-topbar {
    grid-template-columns: 46px 1fr;
  }

  .site-logo {
    width: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .premium-carousel {
    height: 180px;
  }

  div.thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-highlights {
    padding: 14px 12px;
  }
}