/*
 * Estilos-base compilados da interface pública.
 * Arquivo expandido apenas para facilitar inspeção e manutenção visual.
 */
:root {
  color: #e2e2ea;
  font-synthesis: none;
  --surface: #111319;
  --low: #191b21;
  --container: #1d1f26;
  --high: #282a30;
  --highest: #33353b;
  --primary: #dcdcdc;
  --muted: #c4c7c7;
  --outline: #444748;
  background: #111319;
  font-family: Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

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

button,
a {
  transition: all .2s;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Hanken Grotesk, sans-serif;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.header {
  z-index: 20;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #111319e8;
  border-bottom: 1px solid #4447484d;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 max(16px, 50vw - 640px);
  display: flex;
  position: sticky;
  top: 0;
}

.brand img {
  height: 90px;
  display: block;
}

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

.header nav a {
  color: var(--muted);
}

.header nav a:hover,
.header nav .active {
  color: #fff;
}

.active {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 6px;
  font-weight: 700;
}

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

.contact-link {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
}

.button {
  background: var(--primary);
  color: #ffffff;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-weight: 800;
  display: inline-flex;
}

.button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.button.small {
  padding: 11px 22px;
  font-size: 14px;
}

.hero {
  align-items: center;
  min-height: 600px;
  padding: 80px 24px;
  display: flex;
}

.hero-inner,
.content-section,
.gallery-inner,
.footer-grid,
.copyright {
  width: min(1280px, 100%);
  margin: auto;
}

.hero-inner {
  align-items: center;
  display: block;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  background: #dcdcdc1a;
  border: 1px solid #dcdcdc4d;
  border-radius: 99px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
}

.hero h1 {
  color: #fff;
  margin: 28px 0 22px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
}

.hero p {
  max-width: 570px;
  font-size: 18px;
}

.actions {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  display: flex;
}

.button.secondary {
  color: #fff;
  background: #fff;
  border: 1px solid #8e9192;
}

.content-section {
  padding: 96px 24px;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  display: flex;
}

.section-heading h2,
.center-heading h2,
.contact-card h2 {
  color: #fff;
  font-size: 40px;
}

.section-heading p,
.center-heading p {
  margin: 8px 0;
}

.section-heading>a {
  font-weight: 800;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  display: grid;
}

.product-card {
  background: var(--low);
  border: 1px solid #44474880;
  border-radius: 5px;
  flex-direction: column;
  min-height: 480px;
  padding: 20px;
  display: flex;
}

.product-card:hover {
  background: var(--high);
}

.product-image {
  aspect-ratio: 1;
  background: var(--highest);
  border-radius: 4px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: all .7s;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-image span {
  background: #e8d800;
  color: #000000;
  text-transform: uppercase;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-card small {
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: .08em;
  font-weight: 700;
}

.product-card h3 {
  color: #fff;
  margin-top: 7px;
  font-size: 21px;
}

.product-card p {
  margin: 8px 0 20px;
  font-size: 14px;
}

.outline-button {
  text-align: center;
  border: 1px solid #dcdcdc80;
  border-radius: 4px;
  margin-top: auto;
  padding: 12px;
  font-weight: 800;
}

.outline-button:hover {
  color: #2f3131;
  background: var(--primary);
}

.skeleton {
  background: linear-gradient(90deg, var(--low), var(--high), var(--low));
  background-size: 200%;
  animation: 1.3s infinite pulse;
}

.gallery {
  background: #0c0e14;
  padding: 96px 24px;
}

.center-heading {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  display: grid;
}

.gallery-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  object-fit: cover;
  filter: grayscale();
  width: 100%;
  height: 100%;
  transition: all .5s;
}

.gallery-item span {
  opacity: 0;
  background: #dcdcdc22;
  place-items: center;
  font-size: 32px;
  display: grid;
  position: absolute;
  inset: 0;
}

.gallery-item:hover img {
  filter: none;
  transform: scale(1.04);
}

.gallery-item:hover span {
  opacity: 1;
}

.contact-section {
  padding: 96px 24px;
}

.contact-card {
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #1d1f26cc;
  border: 1px solid #44474880;
  max-width: 900px;
  margin: auto;
  padding: 56px;
  box-shadow: 0 24px 60px #0006;
}

.contact-card p {
  max-width: 680px;
  margin: 20px auto 34px;
  font-size: 18px;
}

.whatsapp {
  font-size: 17px;
}

footer {
  background: #0c0e14;
  border-top: 1px solid #44474855;
  padding: 90px 24px 30px;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 52px;
  display: grid;
}

.footer-logo {
  height: 48px;
}

.footer-grid h3 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 20px;
}

.footer-grid a {
  color: var(--muted);
  margin: 13px 0;
  display: block;
}

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

.map {
  background: var(--high);
  border: 1px solid var(--outline);
  place-items: center;
  height: 100px;
  font-size: 40px;
  display: grid;
}

.copyright {
  color: #9da0a2;
  border-top: 1px solid #44474880;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 28px;
  font-size: 13px;
  display: flex;
}

.section-fallback {
  min-height: 180px;
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
}

.section-fallback span {
  border: 2px solid var(--outline);
  border-top-color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: .8s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }

}

@keyframes pulse {
  50% {
    background-position: 100%;
  }

}

@media (width<=900px) {
  .header nav,
  .contact-link {
    display: none;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

}

@media (width<=560px) {
  .header {
    padding: 0 16px;
  }

  .brand img {
    height: 64px;
  }

  .button.small {
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 580px;
    padding: 64px 20px;
  }

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

  .actions .button {
    width: 100%;
  }

  .content-section,
  .gallery,
  .contact-section {
    padding: 72px 16px;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

  .section-heading h2,
  .center-heading h2,
  .contact-card h2 {
    font-size: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-card {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright {
    flex-direction: column;
    gap: 12px;
  }

  .product-card {
    min-height: 460px;
  }

}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
    animation-duration: .01ms!important;
  }

}

body:has(.cart-overlay) {
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
}

.product-card {
  min-height: 520px;
}

.product-price {
  color: #fff;
  margin: auto 0 18px;
  font-family: Hanken Grotesk, sans-serif;
  font-size: 24px;
  display: block;
}

.outline-button {
  width: 100%;
  color: var(--primary);
  cursor: pointer;
  background: 0 0;
  margin-top: 0;
}

.catalog-page {
  min-height: 100vh;
}

.catalog-hero {
  background: radial-gradient(circle at 25% 40%, #dcdcdc16, transparent 32%), var(--container);
  padding: 84px max(24px, 50vw - 640px);
}

.catalog-hero>a {
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 700;
  display: block;
}

.catalog-hero>a:hover {
  color: #fff;
}

.catalog-hero .eyebrow {
  margin-bottom: 22px;
}

.catalog-hero h1 {
  color: #fff;
  font-size: clamp(44px, 6vw, 68px);
}

.catalog-hero p {
  font-size: 18px;
}

.catalog-content {
  padding-top: 72px;
}

.catalog-mobile-card {
  background: linear-gradient(145deg, var(--container), var(--low));
  text-align: center;
  border: 1px dashed #dcdcdc80;
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  display: flex;
}

.catalog-mobile-card>span {
  border: 1px solid var(--outline);
  border-radius: 50%;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 24px;
  display: grid;
}

.catalog-mobile-card>strong {
  font-family: Hanken Grotesk, sans-serif;
  font-size: 18px;
}

.catalog-mobile-card>small {
  color: var(--muted);
}

.cart-trigger {
  z-index: 30;
  background: var(--primary);
  color: #2f3131;
  cursor: pointer;
  border: 1px solid #ffffff35;
  border-radius: 99px;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-weight: 800;
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 14px 40px #0008;
}

.cart-trigger:hover {
  transform: translateY(-2px);
}

.cart-trigger b {
  color: #fff;
  background: #111319;
  border-radius: 99px;
  place-items: center;
  min-width: 22px;
  height: 22px;
  font-size: 12px;
  display: grid;
}

.cart-overlay {
  z-index: 60;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #000a;
  justify-content: flex-end;
  display: flex;
  position: fixed;
  inset: 0;
}

.cart-drawer {
  background: var(--surface);
  border-left: 1px solid var(--outline);
  flex-direction: column;
  width: min(460px, 100%);
  height: 100%;
  animation: .25s drawer-in;
  display: flex;
  box-shadow: -20px 0 60px #0008;
}

.cart-header {
  border-bottom: 1px solid var(--outline);
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  display: flex;
}

.cart-header small {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.cart-header h2 {
  font-size: 30px;
}

.cart-header button {
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 34px;
}

.cart-items {
  flex: 1;
  padding: 8px 24px;
  overflow: auto;
}

.cart-item {
  border-bottom: 1px solid #44474880;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  display: grid;
  position: relative;
}

.cart-item>img {
  object-fit: contain;
  background: var(--highest);
  border-radius: 4px;
  width: 76px;
  height: 76px;
}

.cart-item-info h3 {
  padding-right: 18px;
  font-size: 16px;
}

.cart-item-info>strong {
  color: #fff;
  margin: 6px 0;
  display: block;
}

.quantity {
  border: 1px solid var(--outline);
  border-radius: 4px;
  display: inline-flex;
  overflow: hidden;
}

.quantity button,
.quantity span {
  background: 0 0;
  border: 0;
  place-items: center;
  width: 32px;
  height: 30px;
  display: grid;
}

.quantity button {
  cursor: pointer;
}

.quantity button:hover {
  background: var(--high);
}

.remove-item {
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-self: start;
  font-size: 22px;
}

.cart-summary {
  border-top: 1px solid var(--outline);
  background: var(--low);
  padding: 22px 24px;
}

.cart-summary>div {
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  display: flex;
}

.cart-summary>div strong {
  font-size: 26px;
}

.cart-summary p {
  margin: 8px 0 16px;
  font-size: 12px;
}

.checkout {
  cursor: pointer;
  border: 0;
  width: 100%;
}

.clear-cart {
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin: 14px auto 0;
  text-decoration: underline;
  display: block;
}

.empty-cart {
  text-align: center;
  margin: auto;
  padding: 40px;
}

.empty-cart>span {
  font-size: 46px;
}

.empty-cart h3 {
  margin-top: 16px;
  font-size: 24px;
}

.empty-cart .button {
  cursor: pointer;
  border: 0;
  margin-top: 12px;
}

@keyframes drawer-in {
  0% {
    transform: translate(100%);
  }

}

@media (width<=560px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    min-height: 390px;
    padding: 11px;
  }

  .product-image {
    margin-bottom: 14px;
  }

  .product-card h3 {
    font-size: 16px;
  }

  .product-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .product-price {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .outline-button {
    padding: 10px 6px;
    font-size: 12px;
  }

  .catalog-mobile-card {
    min-height: 390px;
    display: flex;
  }

  #catalogo .product-card:nth-child(n+6) {
    display: none;
  }

  .catalog-page .catalog-mobile-card {
    display: none;
  }

  .catalog-hero {
    padding: 60px 20px;
  }

  .cart-trigger {
    padding: 13px;
    bottom: 16px;
    right: 16px;
  }

  .cart-label {
    display: none;
  }

  .cart-drawer {
    border-left: 0;
  }

  .cart-items {
    padding: 8px 16px;
  }

  .cart-summary {
    padding: 18px 16px;
  }

}
