/* ============================================
   TAON — Estilos compartilhados das páginas internas
   (Catálogo, Coleção, Contato, Minha Conta)
   Referência: Figma "GUILHERME" — página SITE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --bg-dark: #0a0a0a;
  --white: #ffffff;
  --orange: #ff4b00;
  --gray-muted: #9ca3af;
  --gray-text: #6b7280;
  --gray-line: #e6e6e6;
  --gray-line-dark: #1f1f1f;
  --card-bg: #f8f8f8;
  --font-sans: 'Inter', sans-serif;          /* Open Sauce One do Figma */
  --font-archivo: 'Archivo', sans-serif;
  --font-display: 'Big Shoulders Display', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--black);
  overflow-x: hidden;
  max-width: 100vw;
}

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

/* ============ 1. Header preto (Frame 12) ============ */
.store-header {
  background-color: var(--black);
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 5.2%;
  position: relative;
  width: 100%;
  z-index: 20;
}

.store-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.store-nav-left {
  display: flex;
  gap: 26px;
}

.store-nav-link {
  color: var(--white);
  font-family: var(--font-archivo);
  font-weight: 700;
  font-size: clamp(11px, 0.75vw, 14px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.store-nav-link:hover {
  opacity: 0.7;
}

.store-nav-center {
  display: flex;
  justify-content: center;
}

.store-logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.store-nav-center a:hover .store-logo-img {
  transform: scale(1.05);
}

.store-nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.store-icon-link {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-icon-link:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ============ 2. Card de produto (GUI 4) ============ */
.taon-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
}

.taon-product-card {
  background-color: #ffffff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.taon-product-card:hover {
  transform: translateY(-6px);
  border-color: #e2e2e2;
  box-shadow: 0 24px 44px -22px rgba(0, 0, 0, 0.22);
}

.taon-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: #f4f4f6;
}

.taon-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.taon-product-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.45;
  min-height: 2.9em;
  display: flex;
  align-items: flex-start;
}

.taon-product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
}

.taon-product-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  text-transform: uppercase;
}

.taon-product-price.on-sale { color: var(--orange); }

.taon-product-compare-price {
  font-weight: 400;
  font-size: 14px;
  color: #a8a8a8;
  text-decoration: line-through;
}

.taon-product-soldout-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background-color: rgba(15, 15, 15, 0.88);
  color: #ffffff;
  font-family: var(--font-archivo);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
}

.taon-product-card.is-soldout .taon-product-image img {
  opacity: 0.5;
  filter: grayscale(0.35);
}

.taon-product-card.is-soldout:hover {
  transform: none;
  box-shadow: none;
}

.taon-product-installments {
  font-weight: 300;
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

/* ============ 3. Seção depoimentos Instagram (GUI 9) ============ */
.testimonials-section {
  background-color: var(--white);
  padding: 110px 5% 100px;
}

.testimonials-title {
  font-weight: 600;
  font-size: clamp(1.8rem, 2.46vw, 47px);
  color: var(--black);
  text-align: center;
  margin-bottom: 109px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1730px;
  margin: 0 auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.testimonial-media {
  background-color: #d9d9d9;
  width: 100%;
  aspect-ratio: 562 / 549;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-media.has-embed {
  aspect-ratio: auto;
  background-color: transparent;
  position: relative;
  min-height: 500px;
}

.testimonial-media span {
  font-weight: 600;
  font-size: clamp(1.6rem, 2.46vw, 47px);
  color: var(--black);
}

.testimonial-username {
  font-weight: 600;
  font-size: clamp(1.2rem, 1.56vw, 30px);
  color: var(--black);
  text-align: center;
}

.testimonial-text {
  font-weight: 300;
  font-size: clamp(0.9rem, 1.04vw, 20px);
  color: var(--black);
  text-align: center;
  max-width: 520px;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.btn-instagram {
  border: 1.2px solid var(--black);
  background: transparent;
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 23px;
  text-align: center;
  width: 270px;
  padding: 26px 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.btn-instagram:hover {
  background-color: var(--black);
  color: var(--white);
}

/* ============ 4. Footer TAON (footer-taon) ============ */
.taon-footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 8.3vw, 160px);
  line-height: 0.8;
  color: var(--white);
}

.footer-brand-tagline {
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: 18px;
  color: var(--gray-muted);
}

.footer-newsletter {
  width: 480px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-newsletter-label {
  font-family: var(--font-archivo);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--white);
}

.footer-input-row {
  display: flex;
  height: 56px;
  width: 100%;
}

.footer-email-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-archivo);
  font-size: 14px;
  padding: 0 20px;
  outline: none;
}

.footer-email-input::placeholder {
  color: var(--gray-muted);
}

.footer-submit-btn {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  font-family: var(--font-archivo);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 0 32px;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.footer-submit-btn:hover {
  filter: brightness(1.15);
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--gray-line-dark);
  width: 100%;
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  gap: 80px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-column-title {
  font-family: var(--font-archivo);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a,
.footer-address p {
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: 15px;
  color: var(--gray-muted);
  transition: color 0.3s ease;
}

.footer-links-group a:hover {
  color: var(--white);
}

.footer-address p {
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-legal p {
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: 13px;
  color: var(--gray-muted);
}

.footer-legal a {
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: 15px;
  color: var(--gray-muted);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-payments {
  display: flex;
  gap: 12px;
}

.payment-box {
  width: 48px;
  height: 32px;
  border: 1px solid var(--gray-line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-box img {
  width: 32px;
  height: 20px;
  object-fit: contain;
}

.footer-watermark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 360px;
  color: var(--white);
  opacity: 0.03;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

/* ============ Responsivo ============ */
@media (max-width: 1100px) {
  .taon-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-links {
    gap: 40px;
  }

  .taon-footer {
    padding: 80px 6%;
    gap: 60px;
  }
}

/* ============ Menu mobile (hambúrguer) ============ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white, #fff);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 25;
}

.mobile-nav-scrim.is-open {
  display: block;
}

@media (max-width: 900px) {
  .store-header,
  .main-header {
    height: auto;
    padding: 20px 5%;
    position: relative;
    overflow: visible;
    z-index: 27;
  }

  .store-nav,
  .navbar {
    grid-template-columns: auto 1fr auto;
  }

  .nav-hamburger {
    display: flex;
  }

  .store-nav-left,
  .nav-left {
    position: fixed;
    top: 76px;
    left: 0;
    bottom: 0;
    width: min(320px, 82vw);
    max-width: 82vw;
    background-color: var(--black, #000);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 28px 28px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 26;
    overflow-y: auto;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
  }

  .store-nav-left.is-open,
  .nav-left.is-open {
    transform: translateX(0);
  }

  .store-nav-link,
  .nav-link {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
  }

  #taon-lang-selector {
    margin: 24px 0 0;
  }

  .store-nav-right .store-icon-link[aria-label="Pesquisar"],
  .nav-right .icon-link[aria-label="Pesquisar"] {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer-links {
    flex-direction: column;
    gap: 0;
  }

  .footer-column {
    min-width: 100%;
    border-bottom: 1px solid var(--gray-line-dark);
  }

  .footer-column:first-child {
    border-top: 1px solid var(--gray-line-dark);
  }

  .footer-column-title {
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 18px 28px 18px 0;
    user-select: none;
  }

  .footer-column-title::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
  }

  .footer-column.is-open .footer-column-title::after {
    transform: translateY(-50%) rotate(45deg);
  }

  .footer-links-group,
  .footer-address {
    overflow: hidden;
    max-height: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  }

  .footer-column.is-open .footer-links-group,
  .footer-column.is-open .footer-address {
    max-height: 300px;
    padding-bottom: 20px;
  }
}

/* Banner overlay: texto/botão/link editável pelo admin por cima de qualquer banner */
.banner-slot-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: 8% 6%;
  pointer-events: none;
  text-align: left;
}

.banner-overlay-title {
  color: #ffffff;
  font-family: var(--font-display, var(--font-archivo));
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.banner-overlay-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.banner-overlay-btn {
  pointer-events: auto;
  display: inline-block;
  margin-top: 6px;
  padding: 12px 28px;
  background-color: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.banner-overlay-btn:hover {
  background-color: var(--orange, #ff4b00);
  color: #ffffff;
}

.banner-overlay-btn.is-static {
  pointer-events: none;
  cursor: default;
}

.banner-click-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-carousel {
  position: relative;
  overflow: hidden;
}

.banner-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-carousel-slide.is-active {
  opacity: 1;
}

@media (max-width: 560px) {
  .taon-products-grid {
    grid-template-columns: 1fr;
  }

  .footer-watermark {
    display: none;
  }
}
