:root {
  --gradient-main: linear-gradient(90deg, #5b8def, #8e2de2, #ff9a5a);
  --text-dark: #121826;
  --text-muted: #5f6473;
  --surface: #ffffff;
  --surface-soft: #f4f6fb;
  --line: rgba(18, 24, 38, 0.12);
  --shadow-soft: 0 16px 36px rgba(19, 24, 40, 0.08);
  --shadow-card: 0 20px 44px rgba(20, 26, 44, 0.12);
  --container: min(1320px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--surface-soft);
  font-family: "Inter", sans-serif;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 22px 0 0;
}

.nav-shell {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 10, 23, 0.78);
  backdrop-filter: blur(22px);
  padding: 14px 20px;
  box-shadow: 0 28px 80px rgba(5, 8, 22, 0.42);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(7, 10, 23, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

.brand img {
  width: 146px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: rgba(245, 247, 251, 0.74);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: #f5f7fb;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.45;
}

.form-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #9d37e8;
}

.form-consent a {
  color: inherit;
  text-decoration: underline;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.45;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.button span {
  transform: translateY(0.5px);
}

.btn-gradient {
  background: var(--gradient-main);
  color: #090d19;
  box-shadow: 0 16px 36px rgba(143, 56, 218, 0.28);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  background: transparent;
}

.btn-dark {
  background: #0a0f1f;
  color: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  opacity: 0.94;
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  background: url("./assets/hero-immersive-v2.webp") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 138px 0 68px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.92) 0%, rgba(5, 8, 20, 0.62) 36%, rgba(5, 8, 20, 0.28) 62%, rgba(5, 8, 20, 0.36) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 24px;
}

.hero-copy {
  max-width: 980px;
  color: #fff;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: pretty;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
  line-height: 1.55;
}

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

.section {
  padding: 64px 0;
  scroll-margin-top: 150px;
}

.section-light {
  background: #fff;
  border-top: 1px solid rgba(18, 24, 38, 0.06);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(340px, 410px) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}

.intro-col h2 {
  margin: 12px 0 0;
  max-width: 20ch;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-block;
  color: #8e2de2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.88);
}

.section-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: #8e2de2;
  font-weight: 700;
  font-size: 0.95rem;
}

.section-link::after {
  content: "→";
  margin-left: 8px;
}

.cards-row {
  display: grid;
  gap: 14px;
}

.cards-row-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cards-row-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.image-card,
.service-card,
.project-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.image-card:hover,
.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.image-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 10, 24, 0.04), rgba(8, 10, 22, 0.42));
  opacity: 1;
}

.tone-retail::after {
  background: linear-gradient(180deg, rgba(255, 120, 180, 0.14), rgba(9, 11, 20, 0.44));
}

.tone-shopping::after {
  background: linear-gradient(180deg, rgba(255, 165, 110, 0.12), rgba(9, 11, 20, 0.44));
}

.tone-events::after,
.tone-corporate::after,
.tone-festival::after {
  background: linear-gradient(180deg, rgba(142, 45, 226, 0.16), rgba(9, 11, 20, 0.46));
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 7;
  object-fit: cover;
}

.image-card-content {
  position: relative;
  padding: 16px 14px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
  text-align: center;
}

.image-card-content h3 {
  margin: 0;
  color: #141e34;
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  font-family: inherit;
}

.image-card-content-below {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 7;
  object-fit: cover;
}

.card-close img {
  aspect-ratio: 4 / 7;
}

.card-medium img {
  aspect-ratio: 4 / 7;
}

.card-open img {
  aspect-ratio: 4 / 7;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
}

.service-card h3 {
  margin: 0;
  color: #071126;
  font-size: clamp(0.76rem, 0.82vw, 0.88rem);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: 0;
  text-align: center;
  font-family: inherit;
}

.service-card p {
  margin: 11px 0 0;
  color: #5f6473;
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  line-height: 1.38;
  text-align: center;
}

.service-card img {
  order: 0;
  aspect-ratio: 4 / 5.65;
  min-height: 0;
}

.service-card-content {
  order: 2;
  display: flex;
  min-height: 136px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding: 16px 9px 18px;
  background: #fff;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
}

.service-card {
  background: #fff;
}

.games-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(91, 141, 239, 0.08), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(255, 154, 90, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f9fd 0%, #ffffff 100%);
}

.games-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.games-copy h2 {
  margin: 12px 0 0;
  max-width: 16ch;
  color: #141e34;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.games-copy p {
  margin: 18px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
}

.games-copy .button-outline {
  border-color: rgba(20, 30, 52, 0.18);
  color: #141e34;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(20, 30, 52, 0.08);
}

.games-copy .button-outline:hover {
  border-color: rgba(20, 30, 52, 0.28);
  background: #fff;
  color: #0a0f1f;
}

.games-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.games-brands span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(20, 30, 52, 0.06);
  border: 1px solid rgba(20, 30, 52, 0.08);
  color: #24304a;
  font-size: 0.88rem;
  font-weight: 600;
}

.games-points {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.games-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24304a;
  font-size: 0.98rem;
  font-weight: 500;
}

.games-points span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #5b8def, #8e2de2, #ff9a5a);
  flex: 0 0 auto;
}

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

.game-mural-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(18, 24, 38, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.game-mural-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(18, 24, 38, 0.14);
  border-color: rgba(91, 141, 239, 0.18);
}

.game-mural-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.game-mural-card-large {
  grid-column: span 2;
}

.game-mural-card-large img {
  aspect-ratio: 16 / 9;
}

.game-mural-card:not(.game-mural-card-large) img {
  aspect-ratio: 4 / 3;
}

.game-mural-meta {
  padding: 16px 16px 18px;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
  background: #ffffff;
}

.game-mural-meta strong {
  display: block;
  color: #141e34;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

.game-mural-meta span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-card h3 {
  margin: 12px 12px 8px;
  font-size: 1.05rem;
}

.project-card p {
  margin: 0 12px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project-card small {
  display: block;
  margin: 0 12px 14px;
  color: #73798a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.proof-section {
  position: relative;
  padding: 72px 0;
  background:
    url("./assets/case-event-v2.webp") center/cover no-repeat;
  overflow: hidden;
}

.proof-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(7, 10, 20, 0.88) 0%, rgba(7, 10, 20, 0.82) 42%, rgba(7, 10, 20, 0.68) 100%);
}

.proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
  align-items: center;
}

.proof-copy h2 {
  margin: 10px 0 0;
  max-width: 22ch;
  color: #fff;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.proof-copy p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  line-height: 1.7;
}

.proof-copy .button {
  margin-top: 22px;
}

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

.proof-metrics article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px;
}

.proof-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
}

.proof-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-band {
  position: relative;
  padding: 54px 0;
  background:
    linear-gradient(120deg, rgba(91, 141, 239, 0.96), rgba(142, 45, 226, 0.96), rgba(255, 154, 90, 0.96)),
    url("./assets/hero-immersive-v2.webp") center/cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.contact-copy h2 {
  margin: 12px 0 0;
  color: #fff;
  max-width: 18ch;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.contact-copy p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-form input {
  min-height: 48px;
  border: 1px solid rgba(18, 24, 38, 0.14);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
}

.contact-form input[name="mensagem"] {
  grid-column: span 2;
}

.contact-form .button {
  min-height: 48px;
}

.button-whatsapp {
  min-height: 48px;
  background: #28cc67;
  color: #03240f;
}

.trust-strip {
  position: relative;
  padding-top: 52px;
  padding-bottom: 52px;
  background:
    radial-gradient(circle at 8% 0%, rgba(142, 45, 226, 0.08), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(255, 154, 90, 0.08), transparent 32%),
    #f8f9fd;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stats,
.brands {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
}

.stats h3,
.brands h3 {
  margin: 0;
  font-size: 1rem;
  color: #8e2de2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stats-row article strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #8e2de2;
}

.stats-row article span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.brands-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brands-row span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 141, 239, 0.2), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(255, 154, 90, 0.16), transparent 38%),
    #070d1b;
  padding: 56px 0 24px;
}

.final-cta-section {
  position: relative;
  padding: 84px 0;
  background:
    url("./assets/hero-immersive-v2.webp") center/cover no-repeat;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 8, 18, 0.9) 0%, rgba(5, 8, 18, 0.74) 52%, rgba(5, 8, 18, 0.68) 100%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.final-cta-content h2 {
  margin: 12px 0 0;
  max-width: 20ch;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.final-cta-content p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  max-width: 56ch;
}

.footer-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
}

.footer-cta h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.footer-cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.footer-cta .button {
  margin-top: 18px;
}

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

.footer-columns h4 {
  margin: 0 0 12px;
  color: #ff9a5a;
  text-transform: uppercase;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
}

.footer-columns a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.footer-columns a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.footer-bottom img {
  width: 92px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

#onde-atuamos .image-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(390px, 34vw, 470px);
  background: #101624;
}

#onde-atuamos .image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 9, 20, 0) 42%, rgba(6, 9, 20, 0.62) 100%);
}

#onde-atuamos .image-card img {
  width: 100%;
  height: 100%;
  min-height: clamp(390px, 34vw, 470px);
  object-fit: cover;
}

#onde-atuamos .image-card-content,
#onde-atuamos .image-card-content-below {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 14px 24px;
  background: transparent !important;
  border: 0;
}

#onde-atuamos .image-card-content h3,
#onde-atuamos .image-card-content-below h3 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    padding: 0 14px;
  }

  .nav-shell {
    min-height: 58px;
    padding: 8px 10px 8px 16px;
    border-radius: 28px;
    justify-content: space-between;
  }

  .brand img {
    width: 118px;
    max-height: 38px;
    object-fit: contain;
  }

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

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(7, 10, 23, 0.96);
    box-shadow: 0 24px 60px rgba(5, 8, 22, 0.48);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links a {
    padding: 14px 12px;
    color: rgba(245, 247, 251, 0.82);
    font-size: 1rem;
    border-radius: 14px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
  }

  .site-header .button {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 292px);
    display: inline-flex;
    min-height: 52px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .hero {
    padding-top: 138px;
  }

  .hero-content {
    min-height: calc(100vh - 138px);
    align-items: start;
    padding-top: 0;
    padding-bottom: 56px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-kicker {
    display: block;
    max-width: 30ch;
    margin-bottom: 18px;
  }
}

.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(540px, calc(100vw - 32px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(7, 10, 23, 0.96);
  color: #fff;
  box-shadow: 0 24px 60px rgba(5, 8, 22, 0.42);
}

.cookie-consent strong,
.cookie-consent p { display: block; margin: 0; }
.cookie-consent p { margin-top: 5px; color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; line-height: 1.45; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-consent button { min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; }
.cookie-consent-reject { background: transparent; color: #fff; }
.cookie-consent-accept { background: var(--gradient-main); color: #05070e; }

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #041118;
  background: #38d56f;
  box-shadow: 0 16px 30px rgba(7, 60, 30, 0.32);
  z-index: 40;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-widget-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 41;
  width: min(340px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #111522;
  color: #fff;
  box-shadow: 0 24px 56px rgba(5, 8, 22, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.whatsapp-widget.is-open .whatsapp-widget-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.whatsapp-widget-panel strong { display: block; font-size: 1.08rem; }
.whatsapp-widget-panel p { margin: 9px 0 18px; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; line-height: 1.55; }
.whatsapp-widget-close { position: absolute; top: 9px; right: 11px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.7); font-size: 1.35rem; cursor: pointer; }
.whatsapp-widget-cta { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; background: #38d56f; color: #041118; font-weight: 800; }

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 213, 111, 0.34);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(56, 213, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 213, 111, 0);
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .cards-row-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-row-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-row-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1320px, calc(100vw - 34px));
  }

  .button-outline {
    display: none;
  }

  .split-layout,
  .contact-grid,
  .trust-grid,
  .footer-grid,
  .proof-grid,
  .games-layout {
    grid-template-columns: 1fr;
  }

  .intro-col h2 {
    max-width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form input[name="mensagem"] {
    grid-column: auto;
  }

  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .brands-row,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-mural {
    grid-template-columns: 1fr;
  }

  .game-mural-card-large {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .hero {
    min-height: 640px;
    padding-top: 110px;
  }
}

@media (max-width: 680px) {
  .site-header .nav-links {
    display: grid;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.1rem);
    line-height: 1.02;
  }

  .intro-col h2,
  .section-copy h2,
  .games-copy h2,
  .contact-panel h2 {
    font-size: clamp(2rem, 9.8vw, 2.65rem);
    line-height: 1.06;
  }

  .cards-row-5,
  .cards-row-6,
  .cards-row-4 {
    display: flex;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 6px 18px;
    margin-inline: -6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cards-row-5::-webkit-scrollbar,
  .cards-row-6::-webkit-scrollbar,
  .cards-row-4::-webkit-scrollbar {
    display: none;
  }

  .cards-row-5 > *,
  .cards-row-6 > *,
  .cards-row-4 > * {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
  }

  .stats-row,
  .brands-row,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  #onde-atuamos .image-card {
    min-height: 360px;
  }

  #onde-atuamos .image-card img {
    min-height: 360px;
  }

  .image-card img {
    aspect-ratio: 4 / 5;
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    transition: width 180ms ease, height 180ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .whatsapp.is-compact {
    width: 44px;
    height: 44px;
    opacity: 0.72;
    transform: scale(0.92);
    animation: none;
  }
}

@media (max-width: 560px) {
  .cookie-consent { right: 16px; bottom: 16px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent button { flex: 1; }
  .whatsapp-widget-panel { right: 16px; bottom: 86px; }
}
