/* =========================================================
   ZIVA ART
   STYLE.CSS
   Identidade: Preto + Vermelho
   ========================================================= */


/* =========================================================
   01. VARIÁVEIS GERAIS
   ========================================================= */

:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --line: #232323;

  --text: #f4f4f4;
  --muted: #8c8c8c;

  --red: #ff1722;
  --red2: #d90812;

  --red-glow: rgba(255, 23, 34, 0.35);
  --red-soft: rgba(255, 23, 34, 0.12);
}


/* =========================================================
   02. RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

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

button,
input {
  font: inherit;
}


/* =========================================================
   03. BARRA SUPERIOR
   ========================================================= */

.announcement {
  height: 30px;
  background: #0e0e0e;
  border-bottom: 1px solid #191919;

  color: #aaa;
  text-align: center;

  font-size: 10px;
  letter-spacing: 2px;

  padding: 8px;
}

.announcement span {
  color: var(--red);
  padding: 0 12px;
}


/* =========================================================
   04. HEADER / MENU
   ========================================================= */

.header {
  height: 78px;

  border-bottom: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5vw;

  position: sticky;
  top: 0;

  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);

  z-index: 20;
}

.brand img {
  width: 130px;
  height: auto;
  display: block;
}


/* =========================================================
   05. NAVEGAÇÃO
   ========================================================= */

.nav {
  display: flex;
  gap: 32px;

  color: #aaa;

  font-size: 12px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav a {
  position: relative;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav a:hover {
  color: var(--red);
  transform: translateY(-2px);
}


/* Linha vermelha do menu */

.nav a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -9px;

  width: 0;
  height: 2px;

  background: var(--red);

  box-shadow:
    0 0 6px rgba(255, 23, 34, 0.7),
    0 0 14px rgba(255, 23, 34, 0.35);

  transform: translateX(-50%);

  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}


/* =========================================================
   06. AÇÕES DO HEADER
   ========================================================= */

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-btn,
.cart-btn {
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: #ddd;

  height: 38px;
  padding: 0 13px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.icon-btn {
  width: 40px;
  font-size: 22px;
}

.icon-btn:hover,
.cart-btn:hover {
  color: #fff;
  border-color: var(--red);

  transform: translateY(-3px);

  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 14px rgba(255, 23, 34, 0.15);
}

.cart-btn {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-btn b {
  background: var(--red);

  padding: 3px 6px;
  margin-left: 7px;

  color: #fff;
}


/* =========================================================
   07. HERO
   ========================================================= */

.hero {
  min-height: 690px;

  padding: 70px 6vw 65px;

  display: grid;
  grid-template-columns: 1fr 0.9fr;

  gap: 30px;

  overflow: hidden;
  position: relative;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;

  color: #777;
  font-weight: 700;
}

.eyebrow span {
  display: inline-block;

  width: 7px;
  height: 7px;

  background: var(--red);

  margin-right: 8px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(65px, 9vw, 150px);
  line-height: 0.82;

  letter-spacing: -7px;

  margin: 24px 0 28px;

  font-weight: 700;
}

.hero h1 em,
.feature em,
.cta em {
  color: var(--red);
  font-style: normal;
}

.hero p {
  max-width: 510px;

  color: #9a9a9a;

  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   08. BOTÕES
   ========================================================= */

.hero-actions {
  display: flex;
  gap: 10px;

  margin: 28px 0 45px;
}

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  min-height: 48px;

  padding: 0 22px;

  border: 1px solid #2a2a2a;

  font-size: 11px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
    box-shadow:
        0 10px 28px rgba(255, 23, 34, 0.22),
        0 0 20px rgba(255, 23, 34, 0.12);
}

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

.btn.primary:hover {
  background: #ff3039;

  box-shadow:
    0 8px 25px rgba(255, 23, 34, 0.25),
    0 0 20px rgba(255, 23, 34, 0.18);
}

.btn.ghost:hover {
  border-color: var(--red);
  color: var(--red);

  box-shadow:
    0 0 15px rgba(255, 23, 34, 0.1);
}


/* =========================================================
   09. ESTATÍSTICAS
   ========================================================= */

.stats {
  display: flex;
  gap: 42px;
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats strong {
  font-size: 20px;
}

.stats small {
  font-size: 9px;

  color: #666;

  text-transform: uppercase;
  letter-spacing: 1.5px;
}


/* =========================================================
   10. ARTE DO HERO
   ========================================================= */

.hero-art {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  position: absolute;
  inset: 5%;

  background-image:
    linear-gradient(#181818 1px, transparent 1px),
    linear-gradient(90deg, #181818 1px, transparent 1px);

  background-size: 38px 38px;

  mask-image:
    radial-gradient(circle, #000 20%, transparent 72%);

  opacity: 0.6;
}

.orb {
  position: absolute;

  width: 430px;
  height: 430px;

  border: 1px solid #292929;

  border-radius: 50%;

  box-shadow:
    0 0 90px rgba(255, 23, 34, 0.08),
    inset 0 0 80px rgba(255, 23, 34, 0.03);
}

.poster {
  width: 300px;
  height: 390px;

  background: #101010;

  border: 1px solid #303030;

  position: relative;

  transform: rotate(5deg);

  padding: 25px;

  box-shadow: 25px 35px 80px #000;
}

.poster:before {
  content: "";

  position: absolute;
  inset: 12px;

  border: 1px solid #222;
}

.poster-line {
  font-size: 9px;
  letter-spacing: 3px;
  color: #777;
}

.poster-word {
  font-family: "Space Grotesk";

  font-size: 53px;
  line-height: 0.8;

  font-weight: 700;

  margin-top: 70px;

  letter-spacing: -3px;
}

.poster-bottom {
  position: absolute;

  bottom: 25px;

  font-size: 7px;
  letter-spacing: 2px;

  color: #777;
}

.poster:after {
  content: "Z";

  position: absolute;

  right: -50px;
  bottom: -55px;

  color: transparent;

  -webkit-text-stroke: 1px #222;

  font-size: 230px;

  font-weight: 900;

  z-index: -1;
}

.floating-card {
  position: absolute;

  background: #111;

  border: 1px solid #333;

  padding: 10px 14px;

  font-size: 8px;
  letter-spacing: 2px;

  color: #888;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-card.top {
  top: 25%;
  right: 4%;
}

.floating-card:hover {
  transform: translateY(-5px);

  border-color: var(--red);

  box-shadow:
    0 0 18px rgba(255, 23, 34, 0.15);
}


/* =========================================================
   11. TICKER
   ========================================================= */

.ticker {
  display: flex;

  gap: 50px;

  white-space: nowrap;
  overflow: hidden;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  padding: 15px 0;

  color: #666;

  font-size: 10px;
  letter-spacing: 3px;
}

.ticker div:before {
  content: "✦";

  color: var(--red);

  margin-right: 45px;
}


/* =========================================================
   12. SEÇÕES
   ========================================================= */

.section {
  padding: 100px 6vw;
}

.section-head {
  display: flex;

  justify-content: space-between;
  align-items: end;

  margin-bottom: 35px;
}

.section h2,
.feature h2,
.cta h2 {
  font-family: "Space Grotesk";

  font-size: clamp(42px, 5vw, 72px);

  line-height: 0.9;

  margin: 12px 0 0;

  letter-spacing: -3px;
}

.text-link {
  font-size: 10px;

  text-transform: uppercase;
  letter-spacing: 2px;

  color: #999;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.text-link:hover {
  color: var(--red);
  transform: translateX(4px);
}


/* =========================================================
   13. PRODUTOS / CARDS
   ========================================================= */

.products {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 15px;
}

.product {
  background: #0a0a0a;

  border: 1px solid #1c1c1c;

  position: relative;

  overflow: hidden;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;

  animation: zivaProductIn 0.6s ease both;
}


/* NEON + LEVITAÇÃO */

.product:hover {
  transform: translateY(-9px);

  border-color: var(--red);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 23, 34, 0.28),
    0 0 45px rgba(255, 23, 34, 0.12);
}


/* Linha luminosa superior */

.product::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background: var(--red);

  transform: scaleX(0);

  transform-origin: center;

  transition: transform 0.35s ease;

  z-index: 5;
}

.product:hover::before {
  transform: scaleX(1);
}


/* =========================================================
   14. IMAGEM DOS PRODUTOS
   ========================================================= */

.product-img {
  height: 300px;

  background:
    radial-gradient(
      circle at 50% 40%,
      #222,
      #090909 65%
    );

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  position: relative;
}

.product-img:after {
  content: "ZIVA";

  font-family: "Space Grotesk";

  font-size: 68px;

  font-weight: 900;

  letter-spacing: -5px;

  color: #121212;

  transform: rotate(-10deg);

  transition:
    transform 0.5s ease,
    color 0.5s ease;
}

.product:hover .product-img:after {
  transform: rotate(-10deg) scale(1.08);

  color: #181818;
}


/* Efeito de luz passando */

.product-img::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 23, 34, 0.08),
      transparent
    );

  transform: skewX(-20deg);

  transition: left 0.65s ease;

  pointer-events: none;
}

.product:hover .product-img::before {
  left: 150%;
}


/* =========================================================
   15. TAG DOS PRODUTOS
   ========================================================= */

.tag {
  position: absolute;

  top: 12px;
  left: 12px;

  background: var(--red);

  font-size: 8px;

  padding: 5px 8px;

  letter-spacing: 1px;

  z-index: 3;

  box-shadow:
    0 0 12px rgba(255, 23, 34, 0.18);
}


/* =========================================================
   16. INFORMAÇÕES DO PRODUTO
   ========================================================= */

.product-info {
  padding: 17px;
}

.product-info small {
  font-size: 8px;

  color: #777;

  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.product-info h3 {
  font-size: 13px;

  margin: 8px 0 12px;

  transition: color 0.25s ease;
}

.product:hover .product-info h3 {
  color: #fff;
}

.price {
  display: flex;

  gap: 8px;

  align-items: center;
}

.price strong {
  font-size: 15px;
}

.price del {
  font-size: 10px;
  color: #555;
}


/* =========================================================
   17. BOTÃO DOS PRODUTOS
   ========================================================= */

.add {
  width: 100%;

  margin-top: 14px;

  background: #111;

  color: #fff;

  border: 1px solid #292929;

  height: 38px;

  font-size: 9px;

  letter-spacing: 1px;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.add:hover {
  background: var(--red);

  border-color: var(--red);

  transform: translateY(-3px);

  box-shadow:
    0 7px 18px rgba(255, 23, 34, 0.25),
    0 0 15px rgba(255, 23, 34, 0.15);
}


/* =========================================================
   18. CATEGORIAS
   ========================================================= */

.categories {
  background: #080808;
}

.category-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr 1fr;

  grid-template-rows: 250px 250px;

  gap: 12px;
}

.cat {
  border: 1px solid #222;

  background:
    linear-gradient(
      135deg,
      #141414,
      #080808
    );

  padding: 22px;

  position: relative;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.cat:after {
  content: "Z";

  position: absolute;

  right: -25px;
  bottom: -80px;

  color: transparent;

  -webkit-text-stroke: 1px #1d1d1d;

  font-size: 260px;

  font-weight: 900;

  transition:
    transform 0.5s ease,
    -webkit-text-stroke-color 0.35s ease;
}

.cat:hover {
  transform: translateY(-6px);

  border-color: var(--red);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(255, 23, 34, 0.12);
}

.cat:hover:after {
  transform: scale(1.08);

  -webkit-text-stroke-color: rgba(255, 23, 34, 0.18);
}

.cat-big {
  grid-row: span 2;

  background:
    linear-gradient(
      145deg,
      #181818,
      #090909
    );
}

.cat span {
  font-size: 9px;
  color: #666;
}

.cat h3 {
  font-family: "Space Grotesk";

  font-size: 32px;

  line-height: 0.9;

  letter-spacing: -1px;

  position: relative;

  z-index: 2;
}

.cat b {
  position: absolute;

  bottom: 20px;
  left: 22px;

  font-size: 9px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  z-index: 2;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.cat:hover b {
  color: var(--red);
  transform: translateX(5px);
}


/* =========================================================
   19. COMO FUNCIONA
   ========================================================= */

.feature {
  padding: 110px 6vw;

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 80px;

  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 1px;
}

.steps > div {
  border-top: 1px solid #222;

  padding: 25px 0;

  display: grid;

  grid-template-columns: 55px 1fr;

  column-gap: 20px;
}

.steps b {
  color: var(--red);

  font-size: 10px;
}

.steps h3 {
  margin: 0 0 7px;

  font-size: 16px;
}

.steps p {
  grid-column: 2;

  margin: 0;

  color: #777;

  font-size: 12px;

  line-height: 1.6;
}


/* =========================================================
   20. CTA
   ========================================================= */

.cta {
  text-align: center;

  padding: 130px 20px;

  position: relative;

  overflow: hidden;
}

.cta-mark {
  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -45%);

  font-size: 400px;

  font-weight: 900;

  color: transparent;

  -webkit-text-stroke: 1px #151515;

  z-index: -1;
}

.cta p {
  color: #777;

  max-width: 500px;

  margin: 25px auto;
}

.cta .btn {
  margin-top: 15px;
}


/* =========================================================
   21. RODAPÉ
   ========================================================= */

footer {
  border-top: 1px solid var(--line);

  padding: 45px 6vw;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 15px;

  color: #777;
}

footer img {
  width: 110px;
}

.footer-links {
  display: flex;

  gap: 25px;

  justify-content: flex-end;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.footer-links a {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--red);

  transform: translateY(-2px);
}

footer small {
  font-size: 9px;
  color: #555;
}


/* =========================================================
   22. BUSCA
   ========================================================= */

.search-modal {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.8);

  backdrop-filter: blur(10px);

  display: none;

  align-items: flex-start;
  justify-content: center;

  padding-top: 120px;

  z-index: 50;
}

.search-modal.open {
  display: flex;
}

.search-box {
  width: min(700px, 90vw);

  background: #0d0d0d;

  border: 1px solid #333;

  padding: 25px;

  position: relative;
}

.search-box > button {
  position: absolute;

  right: 15px;
  top: 10px;

  background: none;

  border: 0;

  color: #aaa;

  font-size: 25px;

  cursor: pointer;
}

.search-box span {
  font-size: 9px;

  letter-spacing: 2px;

  color: #777;
}

.search-box input {
  width: 100%;

  background: #080808;

  border: 1px solid #2b2b2b;

  color: white;

  padding: 16px;

  margin-top: 12px;

  outline: none;
}

.search-box input:focus {
  border-color: var(--red);

  box-shadow:
    0 0 15px rgba(255, 23, 34, 0.12);
}


/* =========================================================
   23. CARRINHO
   IMPORTANTE: NÃO ALTERADO
   ========================================================= */

.cart {
  position: fixed;

  right: -430px;
  top: 0;

  width: min(430px, 100vw);

  height: 100vh;

  background: #0b0b0b;

  border-left: 1px solid #333;

  z-index: 60;

  display: flex;
  flex-direction: column;

  transition: 0.3s;
}

.cart.open {
  right: 0;
}

.cart-head {
  padding: 25px;

  border-bottom: 1px solid #222;

  display: flex;

  justify-content: space-between;
}

.cart-head h3 {
  font-size: 11px;

  letter-spacing: 2px;
}

.cart-head button {
  background: none;

  border: 0;

  color: #aaa;

  font-size: 25px;

  cursor: pointer;
}

.cart-items {
  padding: 20px;

  flex: 1;

  overflow: auto;
}

.empty {
  text-align: center;

  color: #555;

  margin-top: 100px;

  font-size: 12px;
}

.cart-item {
  display: flex;

  gap: 15px;

  padding: 15px 0;

  border-bottom: 1px solid #1d1d1d;
}

.cart-item .mini {
  width: 70px;
  height: 70px;

  background: #151515;
}

.cart-item h4 {
  font-size: 11px;

  margin: 4px 0;
}

.cart-item span {
  font-size: 10px;

  color: #888;
}

.cart-foot {
  padding: 22px;

  border-top: 1px solid #222;
}

.cart-foot > div {
  display: flex;

  justify-content: space-between;

  margin-bottom: 15px;
}

.cart-foot span {
  color: #777;

  font-size: 11px;
}

.cart-foot strong {
  font-size: 16px;
}

.cart-foot .btn {
  width: 100%;
}


/* =========================================================
   24. OVERLAY
   ========================================================= */

.overlay {
  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.65);

  z-index: 55;
}

.overlay.open {
  display: block;
}


/* =========================================================
   25. ANIMAÇÃO DOS CARDS
   ========================================================= */

@keyframes zivaProductIn {

  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   26. RESPONSIVIDADE
   ========================================================= */

@media (max-width: 900px) {

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    padding-top: 50px;
  }

  .hero-art {
    min-height: 420px;
  }

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

  .category-grid {
    grid-template-columns: 1fr 1fr;

    grid-template-rows: 220px 220px;
  }

  .cat-big {
    grid-row: auto;
    grid-column: span 2;
  }

  .feature {
    grid-template-columns: 1fr;

    gap: 45px;
  }

}


@media (max-width: 600px) {

  .header {
    padding: 0 18px;
  }

  .brand img {
    width: 105px;
  }

  .hero {
    padding: 55px 22px;
  }

  .hero h1 {
    font-size: 70px;

    letter-spacing: -5px;
  }

  .hero-art {
    min-height: 360px;
  }

  .poster {
    width: 235px;
    height: 305px;
  }

  .poster-word {
    font-size: 42px;
  }

  .stats {
    gap: 20px;
  }

  .section {
    padding: 75px 22px;
  }

  .products {
    grid-template-columns: 1fr 1fr;

    gap: 8px;
  }

  .product-img {
    height: 190px;
  }

  .product-info {
    padding: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;

    grid-template-rows: auto;
  }

  .cat,
  .cat-big {
    grid-column: auto;

    min-height: 190px;
  }

  .feature {
    padding: 75px 22px;
  }

  .cta {
    padding: 100px 22px;
  }

  footer {
    grid-template-columns: 1fr;

    padding: 35px 22px;
  }

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

    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

}


/* =========================================================
   27. ACESSIBILIDADE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
  }

}
/* =========================================================
   28. CANTOS ARREDONDADOS - ZIVA ART
   ========================================================= */

/* Cards das artes */
.product {
  border-radius: 12px;
  overflow: hidden;
}

/* Imagens dos produtos */
.product-img {
  border-radius: 12px 12px 0 0;
}

/* Botões */
.btn,
.add,
.icon-btn,
.cart-btn {
  border-radius: 8px;
}

/* Campo de pesquisa */
.search-box,
.search-box input {
  border-radius: 10px;
}

/* Categorias */
.cat {
  border-radius: 12px;
  overflow: hidden;
}

/* Poster principal */
.poster {
  border-radius: 10px;
}

/* Cards flutuantes */
.floating-card {
  border-radius: 7px;
}

/* Ticker */
.ticker {
  border-radius: 0;
}

/* Carrinho */
.cart {
  border-radius: 14px 0 0 14px;
}

/* Itens e áreas internas */
.cart-item .mini {
  border-radius: 8px;
}

/* Botões do carrinho */
.cart-foot .btn {
  border-radius: 8px;
}

/* Modal de busca */
.search-modal {
  border-radius: 12px;
}

/* Pequenos elementos */
.tag {
  border-radius: 5px;
}

/* =========================================================
   29. HOVER MAIS ELEGANTE
   ========================================================= */

.product,
.cat,
.btn,
.add,
.icon-btn,
.cart-btn,
.floating-card {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

/* =========================================================
   30. NEON DOS CARDS
   ========================================================= */

.product:hover {
  transform: translateY(-9px);
  border-color: var(--red);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(255, 23, 34, 0.28),
    0 0 45px rgba(255, 23, 34, 0.12);
}

.cat:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(255, 23, 34, 0.14);
}

/* =========================================================
   31. BOTÕES
   ========================================================= */

.btn {
    position: relative;
    overflow: hidden;

    translate: var(--mouse-x, 0px) var(--mouse-y, 0px);

    transition:
        translate 0.18s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;

    will-change: translate;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.45s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 140%;
}

.btn:hover {
  box-shadow:
    0 9px 24px rgba(255, 23, 34, 0.20),
    0 0 18px rgba(255, 23, 34, 0.10);
}

.btn.primary:hover {
  background: #ff3039;
  border-color: #ff3039;
  box-shadow:
    0 9px 26px rgba(255, 23, 34, 0.30),
    0 0 22px rgba(255, 23, 34, 0.16);
}

.btn.ghost:hover {
  color: #fff;
  border-color: var(--red);
  box-shadow:
    0 8px 22px rgba(255, 23, 34, 0.16),
    inset 0 0 15px rgba(255, 23, 34, 0.04);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* =========================================================
   32. ANIMAÇÃO DE ENTRADA
   ========================================================= */

/* Esconde o conteúdo somente enquanto o loader está ativo. */
body:not(.ziva-loaded) .announcement,
body:not(.ziva-loaded) .header,
body:not(.ziva-loaded) .hero,
body:not(.ziva-loaded) .ticker,
body:not(.ziva-loaded) .section,
body:not(.ziva-loaded) .feature,
body:not(.ziva-loaded) .cta,
body:not(.ziva-loaded) footer {
  opacity: 0;
}

/* Entrada rápida, mas perceptível. */
body.ziva-loaded .announcement {
  animation: zivaFadeDown 0.30s ease-out 0.02s both;
}

body.ziva-loaded .header {
  animation: zivaFadeDown 0.38s ease-out 0.06s both;
}

body.ziva-loaded .hero-copy .eyebrow {
  animation: zivaFadeUp 0.32s ease-out 0.10s both;
}

body.ziva-loaded .hero-copy h1 {
  animation: zivaFadeUp 0.38s ease-out 0.15s both;
}

body.ziva-loaded .hero-copy > p {
  animation: zivaFadeUp 0.32s ease-out 0.22s both;
}

body.ziva-loaded .hero-actions {
  animation: zivaFadeUp 0.32s ease-out 0.28s both;
}

body.ziva-loaded .stats {
  animation: zivaFadeUp 0.32s ease-out 0.34s both;
}

body.ziva-loaded .hero-art {
  animation: zivaFadeLeft 0.45s ease-out 0.18s both;
}

body.ziva-loaded .ticker {
  animation: zivaFadeUp 0.30s ease-out 0.40s both;
}

/* Cards entram em sequência. */
body.ziva-loaded .product {
  animation: zivaProductIn 0.45s ease-out both;
}

body.ziva-loaded .product:nth-child(1) { animation-delay: 0.42s; }
body.ziva-loaded .product:nth-child(2) { animation-delay: 0.47s; }
body.ziva-loaded .product:nth-child(3) { animation-delay: 0.52s; }
body.ziva-loaded .product:nth-child(4) { animation-delay: 0.57s; }
body.ziva-loaded .product:nth-child(5) { animation-delay: 0.62s; }
body.ziva-loaded .product:nth-child(6) { animation-delay: 0.67s; }
body.ziva-loaded .product:nth-child(7) { animation-delay: 0.72s; }
body.ziva-loaded .product:nth-child(8) { animation-delay: 0.77s; }

@keyframes zivaProductIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zivaFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zivaFadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zivaFadeLeft {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================================
   33. LOADER
   ========================================================= */

.ziva-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #050505;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.40s ease,
    visibility 0.40s ease;
}

.ziva-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  animation: zivaLoaderLogo 0.40s ease-out both;
}

.loader-logo span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 54px;
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -4px;
}

.loader-logo small {
  margin-top: 8px;
  color: #ff1722;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 8px;
  transform: translateX(4px);
}

.loader-line {
  width: 100px;
  height: 2px;
  margin-top: 28px;
  background: #ff1722;
  transform-origin: left;
  animation: zivaLoaderLine 0.50s ease-out 0.08s both;
}

@keyframes zivaLoaderLogo {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zivaLoaderLine {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* =========================================================
   34. ACESSIBILIDADE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   35. MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .btn:hover {
    transform: translateY(-2px);
  }
}
