:root {
  --bg-main: #fff8d9;
  --border-main: #00a7b5;
  --accent: #ff5a3c;
  --accent-dark: #e2472b;
  --accent-soft: #ffd581;
  --text-main: #223046;
  --text-soft: #6c7c8f;
  --tile-green: #00bf8f;
  --tile-blue: #00a7b5;
  --tile-red: #ff5a3c;
  --tile-yellow: #ffd237;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* BASE */
body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden; /* evita scroll lateral acidental */
}

img {
  max-width: 100%;
  height: auto;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / MENU SUPERIOR */
.top-bar {
  width: 100%;
  background: #fffdf3;
  border-bottom: 3px solid var(--border-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap; /* melhora responsivo no header */
  row-gap: 10px;
}

/* Logo + nome na barra superior */
.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

/* NAV DESKTOP */
.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: var(--text-main);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
}

/* Active automático (JS usa .is-active) */
.nav-menu a.is-active {
  color: var(--text-main);
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
}

.top-contact {
  font-size: 11px;
  text-align: right;
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
}

.top-contact strong {
  color: var(--accent-dark);
}

/* =========================
   MENU HAMBÚRGUER
========================= */

.burger-btn{
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  border-radius: 10px;
  transition: 0.2s ease;
}

.burger-btn:focus{
  outline: 2px solid rgba(0,167,181,.35);
  outline-offset: 2px;
}

.burger-btn:hover{
  background: rgba(0,0,0,0.05);
}

.burger-lines{
  width: 28px;
  height: 2px;
  background: var(--text-main);
  display: block;
  position: relative;
  border-radius: 999px;
  transition: 0.2s ease;
}

.burger-lines::before,
.burger-lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 28px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  transition: 0.2s ease;
}

.burger-lines::before{ top: -8px; }
.burger-lines::after{ top: 8px; }

.burger-btn.is-open .burger-lines{
  background: transparent;
}
.burger-btn.is-open .burger-lines::before{
  top: 0;
  transform: rotate(45deg);
}
.burger-btn.is-open .burger-lines::after{
  top: 0;
  transform: rotate(-45deg);
}

/* Menu Mobile */
.mobile-menu{
  display: none;
  width: 100%;
  margin-top: 10px;
  background: #fffdf3;
  border: 2px solid rgba(0,167,181,.35);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.mobile-menu a{
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.mobile-menu a:hover{
  background: rgba(255,90,60,.10);
  color: var(--accent-dark);
}

.mobile-menu a.is-active{
  background: rgba(255,90,60,.12);
  color: var(--accent-dark);
  border: 1px solid rgba(255,90,60,.25);
}

.mobile-menu.is-open{
  display: block;
}

/* CONTEÚDO PRINCIPAL */
.content {
  flex: 1;
  width: 100%;
  padding: 80px 0 10px;
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LADO ESQUERDO: LOGO HERO */
.hero-left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.logo-card {
  transform: rotate(-2deg);
}

.logo-card img {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-sticker {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--accent-soft);
  padding: 7px 28px;
  border-radius: 30px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  z-index: 10;
  max-width: calc(100% - 24px);
  text-align: center;
}

/* LADO DIREITO */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.hero-k7-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
}

.hero-title-main {
  font-size: clamp(26px, 3vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.25;
}

.hero-title-main span {
  display: block;
}

.hero-title-highlight {
  color: var(--accent-dark);
  text-shadow: 2px 2px 0 #ffe7c0;
}

.hero-sub {
  font-size: 13px;
  max-width: 460px;
  color: var(--text-soft);
}

.hero-list {
  margin-top: 6px;
  font-size: 11px;
}

.hero-list span {
  display: inline-block;
  background: #fffdf3;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e4d8b4;
  margin: 3px;
}

.hero-when {
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

/* CTA */
.cta-wrapper {
  margin-top: 16px;
}

.cta-lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

/* BOTÕES (versão consolidada e final) */
.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cta-store-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 2px solid transparent;
  transition: 0.2s;
  white-space: normal;
  text-align: center;
  min-width: 160px;
}

/* Mercado Livre */
.cta-store-btn-outline.ml {
  border-color: #bfa000;
  color: #bfa000;
}

.cta-store-btn-outline.ml:hover {
  background: #bfa000;
  color: #fff;
}

/* Shopee */
.cta-store-btn-outline.shopee {
  border-color: #ee4d2d;
  color: #ee4d2d;
}

.cta-store-btn-outline.shopee:hover {
  background: #ee4d2d;
  color: #fff;
}

.cta-note {
  font-size: 11px;
  color: var(--text-soft);
}

/* REDES SOCIAIS */
.social-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}

.social-strip label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fffef7;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-main);
  text-decoration: none;
  max-width: 100%;
}

.social-pill:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.social-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
}

.icon-fb { background: #1877f2; }
.icon-ig { background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 40%, #d6249f 70%, #285aeb 100%); }
.icon-tt { background: #000; }
.icon-web { background: #00a7b5; }
.icon-mail { background: #ffd237; }

/* FUNDO RETRÔ */
.retro-floor {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.retro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.12) 1px, transparent 1px),
    linear-gradient(to top, rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(420px) rotateX(65deg);
  transform-origin: top;
  opacity: 0.35;
}

/* FOOTER */
.site-footer {
  width: 100%;
  position: absolute;
  bottom: 18px;
  text-align: center;
  font-size: 11px;
  color: #08333c;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ONDAS */
.retro-city {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 105px;
  background-image: linear-gradient(to top, #00a7b5, transparent);
  clip-path: polygon(
    0 100%, 0 55%, 5% 40%, 10% 52%, 15% 35%, 20% 55%, 25% 38%, 30% 54%, 35% 30%,
    40% 50%, 45% 28%, 50% 55%, 55% 30%, 60% 52%, 65% 35%, 70% 58%, 75% 32%,
    80% 52%, 85% 35%, 90% 60%, 95% 42%, 100% 60%, 100% 100%
  );
  opacity: 0.85;
}

/* MINI ÍCONES */
.retro-cards {
  position: absolute;
  bottom: 24px;
  right: 32px;
  display: flex;
  gap: 10px;
  opacity: 0.9;
}

.cassette,
.cartridge,
.controller {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  overflow: hidden;
}

/* K7 */
.cassette {
  width: 72px;
  height: 42px;
  background: #00a7b5;
  border: 2px solid #007986;
}

.cassette::before {
  content: "";
  position: absolute;
  inset: 7px 8px;
  background: #fffdf3;
  border-radius: 4px;
}

.cassette::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

/* CARTUCHO */
.cartridge {
  width: 54px;
  height: 54px;
  background: #ffd237;
  border: 2px solid #f2b800;
}

.cartridge::before {
  content: "";
  position: absolute;
  inset: 8px 8px 20px;
  background: #fffdf3;
  border-radius: 4px;
}

.cartridge::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 10px;
  background: #f2b800;
  border-radius: 3px;
}

/* CONTROLE */
.controller {
  width: 80px;
  height: 44px;
  background: #00bf8f;
  border: 2px solid #00976f;
  border-radius: 22px;
}

.controller::before,
.controller::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffd237;
}

.controller::before {
  left: 16px;
  box-shadow: 0 0 0 3px #ff5a3c;
}

.controller::after {
  right: 16px;
  box-shadow: 0 0 0 3px #00a7b5;
}

/* Barra lateral */
.side-bar {
  position: fixed;
  top: 140px;
  right: 10px;
  width: 10px;
  height: 150px;
  background: linear-gradient(
    to bottom,
    var(--tile-green) 0 25%,
    var(--tile-blue) 25% 50%,
    var(--tile-yellow) 50% 75%,
    var(--tile-red) 75% 100%
  );
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

/* Logos dos marketplaces */
.store-logo {
  height: 18px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: contain;
}

/* Base dos ícones das redes */
.brand-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 6px;
  display: inline-block;
}

/* Facebook */
.facebook-icon {
  content: url("data:image/svg+xml,%3Csvg width='256' height='256' viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%231877F2' d='M0 128C0 57.3 57.3 0 128 0s128 57.3 128 128-57.3 128-128 128S0 198.7 0 128z'/%3E%3Cpath fill='%23fff' d='M140 80h28V48h-28c-26.5 0-48 21.5-48 48v20H72v32h20v76h32v-76h28l4-32h-32v-20c0-8.8 7.2-16 16-16z'/%3E%3C/svg%3E");
}

/* Instagram */
.instagram-icon {
  content: url("data:image/svg+xml,%3Csvg width='256' height='256' viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='50%25' r='75%25'%3E%3Cstop offset='0%25' stop-color='%23fdf497'/%3E%3Cstop offset='40%25' stop-color='%23fd5949'/%3E%3Cstop offset='70%25' stop-color='%23d6249f'/%3E%3Cstop offset='100%25' stop-color='%23285AEB'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='256' height='256' rx='60' fill='url(%23g)'/%3E%3Cpath fill='%23fff' d='M128 80a48 48 0 1 0 0 96a48 48 0 1 0 0-96zm0 80a32 32 0 1 1 0-64a32 32 0 1 1 0 64zm52-84a12 12 0 1 1-24 0a12 12 0 1 1 24 0z'/%3E%3C/svg%3E");
}

/* TikTok */
.tiktok-icon {
  content: url("data:image/svg+xml,%3Csvg width='256' height='256' viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='256' height='256' fill='%23000' rx='56'/%3E%3Cpath fill='%23fff' d='M176 88.7c-12.6-4.8-21.1-16.9-21.1-31V48h-20.7v96.7c0 11.4-9.3 20.7-20.7 20.7-11.4 0-20.7-9.3-20.7-20.7 0-11.4 9.3-20.7 20.7-20.7c2.7 0 5.3.5 7.7 1.5v-21.5c-2.5-.3-5-.5-7.7-.5-23.2 0-42 18.8-42 42s18.8 42 42 42c23.2 0 42-18.8 42-42v-45c7 7 16.2 12 26.6 14.1V88.7z'/%3E%3C/svg%3E");
}

/* Email */
.email-icon {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='18' y='3' rx='3' fill='%23FEC43D'/%3E%3Cpath d='M3 6l9 6l9-6' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

/* =========================
   RESPONSIVO (Aprimorado)
========================= */

/* Desktop grande */
@media (min-width: 1300px){
  .top-inner,
  .content-inner{
    max-width: 1240px;
  }
}

/* Tablet */
@media (max-width: 1024px){
  .content{
    padding: 60px 0 20px;
  }

  .logo-card img{
    width: 320px;
  }

  .hero-sub{
    font-size: 14px;
    max-width: 100%;
  }
}

/* <= 860px (tablet/phone) */
@media (max-width: 860px) {
  .content {
    padding: 40px 0 70px;
  }

  .content-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  /* some menu desktop e entra hamburger */
  .nav-menu {
    display: none;
  }

  .burger-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-inner{
    padding: 12px 16px;
    gap: 12px;
  }

  .top-contact{
    width: 100%;
    text-align: left;
  }

  .brand-mini{
    letter-spacing: 0.14em;
    font-size: 13px;
  }

  .logo-card img {
    width: 260px;
  }

  .hero-right {
    text-align: left;
    gap: 12px;
  }

  .hero-title-main{
    letter-spacing: 0.12em;
  }

  .hero-sticker{
    bottom: 22px;
    padding: 8px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
    white-space: normal;
    line-height: 1.15;
  }

  .cta-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cta-store-btn-outline {
    width: 100%;
    min-width: unset;
  }

  .retro-cards,
  .side-bar {
    display: none;
  }

  .site-footer {
    bottom: 85px;
    font-size: 10px;
  }
}

/* Mobile */
@media (max-width: 520px){
  .content{
    padding: 38px 0 20px;
  }

  .brand-logo{
    height: 24px;
  }

  .logo-card{
    transform: rotate(-1deg);
  }

  .logo-card img{
    width: 240px;
  }

  .hero-left{
    min-height: 220px;
  }

  .hero-k7-label{
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-title-main{
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.10em;
  }

  .hero-sub{
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-list{
    font-size: 10px;
  }

  .hero-list span{
    padding: 6px 10px;
    border-radius: 10px;
  }

  .cta-lead{
    font-size: 13px;
    line-height: 1.35;
  }

  .cta-store-btn-outline{
    padding: 12px 16px;
    font-size: 10px;
  }

  .store-logo{
    height: 16px;
  }

  .social-pill{
    padding: 8px 12px;
  }

  .retro-floor{
    height: 190px;
  }

  .site-footer{
    bottom: 70px;
    font-size: 9px;
    letter-spacing: 0.10em;
    padding: 0 10px;
  }
}

/* Mobile pequeno */
@media (max-width: 360px){
  .logo-card img{ width: 210px; }
  .hero-title-main{ font-size: 22px; }
  .hero-sticker{ font-size: 9px; padding: 7px 14px; }
}
