@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Mineweck — paleta do mascote (raposa): laranja, dourado, creme, castanho escuro */
  --mw-brand: #ff6b38;
  --mw-brand-bright: #ffcf66;
  --mw-brand-mid: #f05a28;
  --mw-brand-dark: #8c3318;
  --mw-brand-glow: rgba(255, 107, 56, 0.42);
  /* Aliases usados no resto do CSS (laranja = antiga “esmeralda” de acento) */
  --mw-emerald: var(--mw-brand);
  --mw-emerald-bright: var(--mw-brand-bright);
  --mw-emerald-dim: var(--mw-brand-mid);
  --mw-emerald-dark: var(--mw-brand-dark);
  --mw-emerald-glow: var(--mw-brand-glow);
  --mw-gold: #ffcf66;
  --mw-gold-soft: #e8a535;
  --mw-cream: #fdf6ed;
  --mw-ink: #2c1810;
  --mw-bg-void: #140d0b;
  --mw-bg-deep: #1c1210;
  --mw-bg-panel: #2a1a15;
  --mw-bg-header: #18100e;
  --mw-text: #f8ebe4;
  --mw-text-muted: #dcc8bc;
  --mw-text-dim: #927568;
  --mw-border: rgba(255, 150, 100, 0.12);
  --mw-border-strong: rgba(255, 120, 75, 0.28);
  --mw-link: #ffb884;
  --mw-link-hover: #ffd4a8;

  --fonts-primary: "DM Sans", system-ui, -apple-system, sans-serif;
  --fonts-modern: "DM Sans", sans-serif;
  --colors-primaryText: var(--mw-text);
  --colors-secondaryText: var(--mw-text-muted);
  --colors-tertiaryText: var(--mw-text-dim);
  --colors-primaryBackground: var(--mw-bg-deep);
  --colors-secondaryBackground: var(--mw-bg-panel);
  --colors-separator: var(--mw-border-strong);
  --colors-navbarBackgroundSolid: var(--mw-bg-header);
  --colors-navbarBackground: rgba(24, 16, 12, 0.94);
  --colors-navbarCtaBackground: #c9491e;
  --colors-navbarCtaBackgroundHover: #e8622e;
  --colors-green: var(--mw-emerald-dim);
  --colors-greenHover: var(--mw-emerald);
  --colors-red: #e04d4d;
  --colors-redHover: #f06060;
  --colors-blue: var(--mw-link);
  --colors-orange: var(--mw-gold);
  --shadows-sm: 0px 1px 0px rgba(0, 0, 0, 0.1);
  --shadows-md: 0px 2px 0px rgba(0, 0, 0, 0.15);
  --shadows-lg: 0px 3px 0px rgba(0, 0, 0, 0.33);
  --radii-sm: 0.125rem;
  --radii-base: 0.25rem;
  --radii-md: 0.375rem;
  --radii-lg: 0.5rem;
  --radii-xl: 0.75rem;
  --radii-2xl: 1rem;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--fonts-primary);
  background-color: var(--mw-bg-void);
  color: var(--colors-primaryText);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Evita faixa lateral (100vw / overflow) quando o fundo vai até à borda */
.mw-site-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

body.mw-nav-open {
  overflow: hidden;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ——— Header ——— */
.header {
  position: relative;
  z-index: 10;
  width: 100%;
  background-color: transparent;
  border-bottom: 1px solid var(--mw-border);
}

.innerTop {
  width: 100%;
  margin: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 24px);
  min-height: clamp(72px, 14vw, 98px);
  height: auto;
  padding-block: 8px;
  background: linear-gradient(180deg, var(--mw-bg-header) 0%, #120c0a 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.innerBottom {
  width: 100%;
  margin: 0;
  padding: 6px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 11, 0.6);
  border-top: 1px solid var(--mw-border-strong);
}

.left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logoImage {
  border-radius: 8px;
  max-height: 102px;
  max-width: min(168px, 36vw);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.navItemWithDropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.navItem {
  color: var(--mw-text);
  font-size: 17px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  font-weight: 700;
}

.navPlus {
  color: var(--mw-gold);
  margin-left: 2px;
}

.navItem:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.navArrow {
  margin-left: 6px;
  font-size: 11px;
  transition: transform 0.16s ease;
  display: inline-flex;
  align-items: center;
  transform-origin: center;
}

.navItemWithDropdown:hover .navArrow {
  transform: rotate(180deg);
}

.navSubmenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  background: rgba(0, 0, 0, 0.95);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  min-width: 170px;
  z-index: 20;
}

.navItemWithDropdown:hover .navSubmenu,
.navSubmenu:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.navSubmenuItem {
  color: var(--mw-text);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: 4px 0;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 700;
}

.navSubmenuItem:hover {
  color: #ffffff;
}

.right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(6px, 1.5vw, 14px);
  min-height: 0;
  padding-left: clamp(6px, 2vw, 16px);
}

.online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: #ffffff;
  min-width: 140px;
  justify-content: flex-end;
  position: relative;
}

.onlineIcon {
  font-size: 16px;
  line-height: 1;
  color: var(--mw-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  position: relative;
}

.onlineIcon svg path {
  fill: currentColor;
}

.onlineIcon::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--mw-brand-glow) 0, rgba(255, 120, 70, 0.08) 65%, rgba(255, 100, 50, 0) 100%);
  opacity: 1;
  pointer-events: none;
  animation: sonarPing 1.8s infinite ease-out;
}

@keyframes sonarPing {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.onlineText {
  text-transform: lowercase;
  font-weight: 700;
}

.onlineDropdown {
  position: absolute;
  top: 140%;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  min-width: 190px;
  z-index: 20;
}

.online:hover .onlineDropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.onlineDropdownRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.onlineDropdownLabel {
  color: var(--mw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.onlineDropdownValue {
  color: #ffffff;
  font-weight: 700;
}

a.downloadButton {
  text-decoration: none;
}

.downloadButton {
  padding: 10px clamp(12px, 3vw, 26px);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--mw-emerald-dim) 0%, var(--mw-emerald-dark) 100%);
  color: var(--mw-ink);
  font-size: clamp(15px, 3.2vw, 29px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 24px var(--mw-brand-glow);
}

.downloadButton:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--mw-emerald-glow);
}

.downloadButton::after {
  content: "";
  position: absolute;
  left: -60%;
  bottom: -20%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate3d(-120%, 0, 0) rotate(12deg);
  opacity: 0;
}

.downloadButton:hover::after {
  opacity: 1;
  animation: downloadShine 0.7s ease-out forwards;
}

.menuButton {
  color: var(--mw-text);
  font-size: clamp(18px, 4.5vw, 28px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-weight: 700;
  touch-action: manipulation;
  border-radius: 8px;
}

.menuButton:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  /*
   * Layout mobile (posicionamento tipo referência comum):
   * barra fixa no topo — logo à esquerda; à direita só o menu; CTA de download fica no hero.
   */
  .header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .innerTop .online,
  .innerTop .downloadButton {
    display: none !important;
  }

  .innerTop .right {
    padding-left: 0;
    gap: 0;
    margin-left: auto;
  }

  .innerTop {
    justify-content: space-between;
    padding-inline: clamp(12px, 4vw, 20px);
  }

  .logoImage {
    max-height: 48px;
    max-width: min(104px, 42vw);
  }

  .menuButton {
    display: inline-flex;
  }

  .innerBottom {
    display: none;
  }

  .header--nav-open .innerBottom {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(76px, 18vw, 100px) 20px 32px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: rgba(14, 10, 8, 0.97);
    backdrop-filter: blur(10px);
    border-top: none;
  }

  .header--nav-open .innerTop {
    position: relative;
    z-index: 110;
  }

  .innerBottom .nav {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    gap: 8px;
  }

  .navItem {
    font-size: clamp(13px, 3.2vw, 16px);
    letter-spacing: 0.14em;
    padding: 14px 12px;
    white-space: normal;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
  }

  .navItemWithDropdown {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }

  .navItemWithDropdown > .navItem {
    width: 100%;
  }

  /* Submenu “Sociais”: fechado por defeito; abre com .navItemWithDropdown--open (clique no mobile) */
  .innerBottom .navItemWithDropdown:not(.navItemWithDropdown--open):hover .navSubmenu {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    padding-block: 0;
    pointer-events: none;
    overflow: hidden;
  }

  /*
   * Anular regras de hover do desktop (.navItemWithDropdown:hover .navSubmenu usa translate(-50%)
   * para position:absolute). Com position:static no mobile, esse translate desloca o texto para fora do ecrã.
   */
  .innerBottom .navItemWithDropdown:hover .navSubmenu,
  .innerBottom .navSubmenu:hover {
    transform: none;
  }

  .navSubmenu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    transition: max-height 0.24s ease, opacity 0.2s ease, padding 0.24s ease, margin-top 0.24s ease;
  }

  .navItemWithDropdown--open .navSubmenu,
  .navItemWithDropdown--open:hover .navSubmenu,
  .navItemWithDropdown--open .navSubmenu:hover {
    max-height: 220px;
    opacity: 1;
    padding: 8px 0 12px;
    margin-top: 4px;
    pointer-events: auto;
    transform: none;
  }

  .navItemWithDropdown--open .navArrow {
    transform: rotate(180deg);
  }

  .navItemWithDropdown:not(.navItemWithDropdown--open):hover .navArrow {
    transform: none;
  }

  .innerBottom .navSubmenuItem {
    text-align: center;
    width: 100%;
    justify-content: center;
    display: flex;
  }
}

@media (max-width: 600px) {
  .innerTop,
  .innerBottom {
    padding-inline: 12px;
  }

  .online {
    display: none;
  }
}

/* ——— Home / page ——— */
.page {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background-color: var(--mw-bg-deep);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.backgroundImage {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  background-color: var(--mw-bg-deep);
  pointer-events: none;
  z-index: 0;
  box-sizing: border-box;
  transform: translateZ(0);
}

/*
 * pagina_inicial.png — telemóvel: cobrir sempre o ecrã (sem faixas laterais),
 * cor de fallback igual ao fundo da arte; posição estável em retrato/paisagem.
 */
@media (max-width: 900px) {
  .page {
    min-height: 100svh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .backgroundImage {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    min-width: 100%;
    background-size: cover;
    background-position: center 12%;
    min-height: 100%;
  }

  .bannerGradient {
    left: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
  }
}

@media (max-width: 900px) and (max-aspect-ratio: 10/16) {
  .backgroundImage {
    background-position: center 8%;
  }
}

@media (max-width: 900px) and (min-aspect-ratio: 12/9) {
  .backgroundImage {
    background-position: center 40%;
  }
}

.bannerGradient {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  background: linear-gradient(
    to top,
    rgba(18, 10, 8, 1) 0%,
    rgba(26, 14, 10, 0.9) 18%,
    rgba(22, 12, 9, 0.52) 40%,
    rgba(16, 9, 6, 0.18) 58%,
    transparent 78%
  );
  pointer-events: none;
  z-index: 1;
}

.hero {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  /* Ocupa o primeiro ecrã abaixo do header e centra logo + texto no meio vertical */
  --mw-hero-header-gap: clamp(130px, 14vh, 200px);
  min-height: calc(100vh - var(--mw-hero-header-gap));
  min-height: calc(100dvh - var(--mw-hero-header-gap));
  padding: clamp(24px, 5vh, 56px) clamp(16px, 3vw, 24px) clamp(40px, 8vh, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-sizing: border-box;
}

.heroContent {
  max-width: min(820px, 96vw);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.heroTitle {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heroTitle--brand {
  margin: 0;
  line-height: 0;
}

.heroBrandLogo {
  display: block;
  width: min(680px, 96vw);
  height: auto;
  max-height: clamp(120px, 28vw, 280px);
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 28px rgba(255, 140, 80, 0.22));
}

.heroSubtitle {
  font-size: 16px;
  color: var(--mw-text-muted);
  max-width: 420px;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  justify-content: center;
}

a.heroPrimary {
  text-decoration: none;
}

.heroPrimary {
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mw-emerald-bright) 0%, var(--mw-emerald-dim) 45%, var(--mw-emerald-dark) 100%);
  color: var(--mw-ink);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 28px var(--mw-brand-glow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.heroPrimary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65), 0 0 36px var(--mw-brand-glow);
}

.heroSecondary {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--mw-border-strong);
  color: var(--mw-text);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(36, 20, 14, 0.88);
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.heroSecondary:hover {
  background: rgba(48, 26, 18, 0.95);
  border-color: rgba(255, 160, 100, 0.45);
  transform: translateY(-1px);
}

.mw-launcher-meta {
  margin: 4px 0 0;
  max-width: 520px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mw-text-muted);
}

.mw-launcher-meta[hidden] {
  display: none !important;
}

.mw-launcher-version-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mw-ink);
  background: linear-gradient(135deg, rgba(72, 209, 164, 0.35), rgba(24, 120, 90, 0.5));
  border: 1px solid rgba(255, 200, 160, 0.25);
  vertical-align: middle;
}

.mw-launcher-notes {
  display: inline;
  vertical-align: middle;
}

.mw-launcher-notes-link {
  color: var(--mw-brand-bright, #ffb366);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mw-launcher-notes-link:hover {
  filter: brightness(1.1);
}

.featuresSection {
  position: relative;
  z-index: 1;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--colors-separator);
}

.featureLink {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  border-right: 1px solid var(--colors-separator);
}

.featureLink:last-child {
  border-right: none;
}

.featureHolder {
  position: relative;
  aspect-ratio: 3/4;
  min-height: 280px;
  overflow: hidden;
}

.featureHolderBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
}

.featureCardOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 16, 12, 0.35) 0%, rgba(20, 10, 8, 0.68) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.featureCardSubtitle {
  font-size: clamp(12px, 2.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 6px;
  line-height: 1.3;
}

.featureCardTitle {
  font-size: clamp(1.25rem, 5.5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  max-width: 95%;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.15;
}

@media (max-width: 900px) {
  .featuresGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .featuresGrid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .featureHolder {
    min-height: 220px;
  }
}

.novidadesSection {
  position: relative;
  z-index: 1;
  background: var(--colors-primaryBackground);
  padding: 64px 24px 80px;
}

.novidadesInner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 24px;
}

.novidadesSectionTitle {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 32px;
}

.novidadesGrid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: start;
}

.novidadesFeatured {
  position: relative;
}

.featuredLink {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--colors-secondaryBackground);
  border-radius: var(--radii-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featuredLink:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadows-lg);
}

.featuredTag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radii-base);
  background: linear-gradient(135deg, var(--mw-emerald) 0%, var(--mw-emerald-dim) 100%);
  color: var(--mw-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featuredImageWrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--colors-secondaryBackground);
}

.featuredImagePlaceholder {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
}

.featuredContent {
  padding: 20px 24px 24px;
}

.featuredMeta {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 12px;
  color: var(--colors-tertiaryText);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featuredTitle {
  font-size: clamp(1.05rem, 4.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.featuredAuthor {
  display: block;
  font-size: 13px;
  color: var(--colors-secondaryText);
  margin-bottom: 12px;
}

.featuredCta {
  font-size: 13px;
  font-weight: 600;
  color: var(--mw-link);
}

.novidadesSidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.socialsPanel {
  background: var(--mw-bg-panel);
  border: 1px solid var(--mw-border);
  border-radius: var(--radii-lg);
  padding: 24px 20px;
  box-shadow: var(--shadows-md);
}

.socialsTitle {
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px;
  text-align: center;
}

.socialsRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.socialIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, transform 0.2s ease;
}

.socialIcon:hover {
  color: var(--mw-emerald-bright);
  transform: scale(1.08);
}

.socialIcon svg,
.socialIcon i {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.newsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsCard {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: var(--colors-secondaryBackground);
  border-radius: var(--radii-md);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

.newsCard:hover {
  background: rgba(21, 21, 21, 0.9);
  transform: translateX(4px);
}

.newsCardThumb {
  flex-shrink: 0;
  width: 80px;
  height: 64px;
  border-radius: var(--radii-sm);
  background: rgba(255, 255, 255, 0.08);
}

.newsCardBody {
  flex: 1;
  min-width: 0;
}

.newsCardTag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--colors-tertiaryText);
  margin-bottom: 4px;
}

.newsCardTitle {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.35;
}

.newsCardMeta {
  font-size: 12px;
  color: var(--colors-tertiaryText);
}

@media (max-width: 900px) {
  .novidadesGrid {
    grid-template-columns: 1fr;
  }

  .featuredImageWrap {
    aspect-ratio: 16/9;
  }

  /* Hero: coluna centrada no eixo X, bloco começa no topo da área útil (primeira vista); botões largura total */
  .hero {
    --mw-mob-header-h: clamp(52px, 15vw, 76px);
    min-height: calc(100vh - var(--mw-mob-header-h));
    min-height: calc(100dvh - var(--mw-mob-header-h));
    justify-content: flex-start;
    align-items: center;
    padding: clamp(6px, 2vh, 16px) clamp(16px, 5vw, 24px) clamp(24px, 7vh, 56px);
  }

  .heroTitle:not(.heroTitle--brand) {
    font-size: clamp(1.35rem, 5vw, 32px);
  }

  .heroContent {
    align-self: center;
    width: 100%;
    max-width: min(400px, calc(100vw - 32px));
    gap: clamp(20px, 5vh, 36px);
  }

  .heroBrandLogo {
    width: min(300px, 86vw);
    max-height: clamp(92px, 36vw, 188px);
  }

  .heroSubtitle {
    max-width: 100%;
    padding: 0 2px;
  }

  .heroActions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin-top: 0;
  }

  .heroPrimary,
  .heroSecondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .featuresSection {
    padding-inline: clamp(12px, 3vw, 24px);
  }

  .novidadesSection {
    padding-inline: clamp(12px, 3vw, 24px);
  }

  .novidadesInner {
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  .featuredMeta {
    position: static;
    display: block;
    margin-bottom: 10px;
  }

  .featuredContent {
    padding-top: 16px;
  }
}

.footerCtaSection {
  position: relative;
  z-index: 2;
  padding: 40px 24px 32px;
  background: var(--mw-bg-void);
}

.footerCtaInner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 60px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2a1410 0%, #4a2218 38%, #c9491e 100%);
  border: 1px solid var(--mw-border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 220, 180, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footerCtaContent {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footerCtaLogo {
  flex-shrink: 0;
  width: 152px;
  height: 152px;
  padding: 0;
  border-radius: 22px;
  background: rgba(44, 24, 16, 0.55);
  border: 1px solid var(--mw-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footerCtaLogoImg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footerCtaText {
  font-size: 23px;
  line-height: 1.5;
  color: var(--mw-cream);
  max-width: 640px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

a.footerCtaButton {
  text-decoration: none;
  box-sizing: border-box;
}

.footerCtaButton {
  padding: 30px 80px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.footerCtaButton:hover {
  background: rgba(255, 180, 120, 0.12);
  border-color: var(--mw-brand-bright);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 24px var(--mw-brand-glow);
}

.footerCtaButton::after {
  content: "";
  position: absolute;
  left: -60%;
  bottom: -20%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate3d(-120%, 0, 0) rotate(12deg);
  opacity: 0;
}

.footerCtaButton:hover::after {
  opacity: 1;
  animation: downloadShine 0.7s ease-out forwards;
}

@keyframes downloadShine {
  0% {
    transform: translate3d(-140%, 0, 0) rotate(12deg);
  }
  100% {
    transform: translate3d(415%, 0, 0) rotate(12deg);
  }
}

@media (max-width: 800px) {
  .footerCtaInner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
    padding: clamp(28px, 6vw, 48px) clamp(16px, 4vw, 28px);
  }

  .footerCtaLogo {
    width: min(132px, 38vw);
    height: min(132px, 38vw);
  }

  .footerCtaButton {
    align-self: stretch;
    justify-content: center;
    padding: 18px 28px;
    font-size: 12px;
  }

  .footerCtaText {
    font-size: clamp(16px, 4vw, 22px);
  }
}

.siteFooter {
  padding: 20px clamp(14px, 4vw, 24px) 32px;
  background: var(--mw-bg-void);
  border-top: 1px solid var(--mw-border);
}

.siteFooterInner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 12px;
  color: var(--colors-tertiaryText);
}

.siteFooterBrand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.siteFooterLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.siteFooterLogoImg {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(76px, 24vw);
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.siteFooterNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.siteFooterNav a {
  color: inherit;
  text-decoration: none;
}

.siteFooterNav a:hover {
  color: var(--mw-link-hover);
}

.siteFooterBottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.siteFooterDisclaimer {
  margin: 0;
  font-size: 14px;
  color: var(--colors-tertiaryText);
  text-align: right;
}

.siteFooterSocials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.siteFooterSocials a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.siteFooterSocials a svg {
  width: 40px;
  height: 26px;
}

.siteFooterSocials a:hover {
  color: var(--mw-emerald-bright);
}

@media (max-width: 700px) {
  .siteFooterInner {
    flex-direction: column;
    align-items: flex-start;
  }

  .siteFooterBottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .siteFooterDisclaimer {
    text-align: left;
  }
}
