/* ==========================================================================
   ARAUJO STORE - STYLE SHEET
   Preto e Branco Premium | Alta Performance | Zero Caixas Cinzas
   ========================================================================== */

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/albertsans.woff2') format('woff2');
}

:root {
  --color-black: #000000;
  --color-black-pure: #050505;
  --color-white: #ffffff;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-light: rgba(0, 0, 0, 0.12);
  --font-main: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--color-black);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

body {
  width: 100%;
  overflow-x: hidden;
  min-height: 100svh;
  line-height: 1.5;
  background-color: var(--color-black);
}

/* Todos os blocos visíveis por padrão */
header, section, footer, article, div, p, h1, h2, a, button {
  opacity: 1;
  visibility: visible;
}

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

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* ==========================================================================
   BUTTONS & SHINY SWEEP GLOW
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth);
  min-height: 52px;
  min-width: 220px;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Botão Branco para Seção Preta */
.btn-white {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.28);
}

.btn-white::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(0, 0, 0, 0.25) 50%, transparent 80%);
  transform: translateX(-150%);
  animation: shinySweep 3.6s infinite ease-in-out;
}

/* Botão Preto para Seção Branca */
.btn-black {
  background-color: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.btn-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.btn-black::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
  transform: translateX(-150%);
  animation: shinySweep 3.6s infinite ease-in-out;
}

@keyframes shinySweep {
  0% {
    transform: translateX(-150%);
  }
  40%, 100% {
    transform: translateX(150%);
  }
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HERO (PRETO PREMIUM) - FORMATO BOLHA NA LOGO
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 60px;
  overflow: hidden;
}

.hero-bg-depth {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FORMATO BOLHA: Contorno arredondado, cantos curvos, fundo preto, sem canto quadrado */
.logo-bubble {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  background-color: var(--color-black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  margin: 0 auto 24px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.hero-support {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.45;
}

.hero-cta {
  position: relative;
  z-index: 12;
  margin-top: 8px;
}

/* Transição Hero -> Esteira (nunca cobre o botão) */
.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--color-black-pure));
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   ESTEIRA DE PRODUTOS
   ========================================================================== */
.marquee-section {
  position: relative;
  background-color: var(--color-black-pure);
  padding: 30px 0 70px;
  overflow: hidden;
  width: 100%;
}

.marquee-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 24px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.section-tag-dark {
  color: rgba(255, 255, 255, 0.6);
}

.section-tag-light {
  color: rgba(0, 0, 0, 0.6);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 15px 0;
  cursor: grab;
}

.marquee-container:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}

.product-item {
  position: relative;
  width: 260px;
  height: 350px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background-color: #0d0d0d;
  border: 1px solid var(--color-border-dark);
  transition: transform 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth);
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth);
}

.product-item:hover .product-overlay,
.product-item:focus-within .product-overlay,
.product-item.active .product-overlay {
  opacity: 1;
}

.product-item:hover img {
  transform: scale(1.05);
}

.btn-order-product {
  min-width: unset;
  width: 100%;
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
  min-height: 44px;
}

/* Transição Esteira (Preto) -> Compras e Envios (Branco) */
.transition-to-white {
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, var(--color-black-pure) 0%, var(--color-white) 100%);
}

/* ==========================================================================
   COMPRAS E ENVIOS (BRANCO PREMIUM)
   ========================================================================== */
.shipping-section {
  position: relative;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 80px 0 90px;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.card-white {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.card-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--color-black);
  line-height: 1.25;
}

/* Bloco de Aviso Simples */
.warning-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 16px;
  padding: 22px 28px;
  text-align: center;
  margin-top: 10px;
}

.warning-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-black);
}

/* Transição Compras (Branco) -> Atendimento (Preto) */
.transition-to-black {
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-black) 100%);
}

/* ==========================================================================
   ATENDIMENTO E CONTATO (PRETO PREMIUM)
   ========================================================================== */
.contact-section {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 90px;
}

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

.card-black {
  background-color: var(--color-black-pure);
  border: 1px solid var(--color-border-dark);
  border-radius: 20px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth);
}

.card-black:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
}

.card-black .card-title {
  color: var(--color-white);
}

.card-user {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

/* ==========================================================================
   PERGUNTAS FREQUENTES (FAQ) - SEÇÃO BRANCA PREMIUM
   ========================================================================== */
.faq-section {
  position: relative;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 80px 0 90px;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.faq-item[open] {
  border-color: var(--color-black);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.faq-question {
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--transition-smooth);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.btn-faq {
  min-width: unset;
  padding: 12px 24px;
  font-size: 13px;
  min-height: 44px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-black);
  border-top: 1px solid var(--color-border-dark);
  padding: 40px 0 45px;
  text-align: center;
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE FIRST & BREAKPOINTS)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 18px 45px;
    min-height: 100svh;
  }

  .logo-bubble {
    max-width: min(70vw, 260px);
    padding: 18px;
    margin-bottom: 20px;
  }

  .hero-support {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .btn {
    width: 100%;
    min-width: unset;
    padding: 15px 24px;
    font-size: 14px;
  }

  .product-item {
    width: 210px;
    height: 290px;
    border-radius: 14px;
  }

  .shipping-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-white,
  .card-black {
    padding: 28px 20px;
  }

  .card-title {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 23px;
  }

  .faq-question {
    font-size: 16px;
    padding: 18px 18px;
  }

  .faq-answer {
    padding: 0 18px 20px;
    font-size: 14px;
  }

  .warning-box {
    padding: 18px 18px;
  }

  .warning-text {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .logo-bubble {
    max-width: 68vw;
    padding: 14px;
  }

  .product-item {
    width: 185px;
    height: 260px;
  }
}

/* ==========================================================================
   PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .btn::after {
    display: none !important;
  }
}
