/*
  reuZu — Redesign Gráfico 2025
  Plataforma de Compra, Venda e Troca de Artigos Desportivos
  Design: moderno, desportivo, energético
  Cores: vermelho primário (#D3280C), preto, branco, cinza escuro
  Fontes: Saira Stencil One (headings) + Urbanist (body)
*/

/* ==============================================
   1. VARIÁVEIS E RESET
   ============================================== */
:root {
  /* Cores reuZu */
  --red:        #D3280C;
  --red-dark:   #A81F09;
  --red-light:  #F04530;
  --red-glow:   rgba(211, 40, 12, 0.18);
  --black:      #0A0A0A;
  --dark:       #141414;
  --dark-2:     #1E1E1E;
  --dark-3:     #2A2A2A;
  --gray-1:     #3C3C3C;
  --gray-2:     #6B6B6B;
  --gray-3:     #9E9E9E;
  --gray-4:     #C8C8C8;
  --gray-5:     #EBEBEB;
  --gray-6:     #F5F5F5;
  --white:      #FFFFFF;
  --success:    #2ECC71;

  /* Legado Bootstrap compat */
  --bs-primary:        var(--red);
  --bs-secondary:      var(--gray-6);
  --bs-dark:           var(--black);
  --bs-light:          var(--white);
  --accent-color:      var(--black);
  --navbar-color-color:#131814;
  --swiper-theme-color:var(--red);
  --swiper-pagination-color: var(--red);

  /* Tipografia */
  --font-display: "Saira Stencil One", sans-serif;
  --font-body:    "Urbanist", sans-serif;

  /* Espaçamentos */
  --section-py: 5rem;
  --section-py-sm: 3rem;

  /* Raios */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Sombras */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.18);
  --shadow-red: 0 8px 32px rgba(211,40,12,0.28);

  /* Transições */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--red); }

ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 400; /* Saira Stencil One é só regular */
}

.container-fluid { max-width: 1540px; }

/* Padding utilitários  */
.padding-small  { padding-top: 2em;  padding-bottom: 2em; }
.padding-medium { padding-top: 4em;  padding-bottom: 4em; }
.padding-large  { padding-top: 8em;  padding-bottom: 8em; }
.margin-small   { margin-top: 3em;   margin-bottom: 3em; }
.margin-medium  { margin-top: 5em;   margin-bottom: 5em; }
.margin-large   { margin-top: 7em;   margin-bottom: 7em; }

@media (max-width: 768px) {
  .margin-small, .margin-medium, .margin-large { margin-top: 3em; margin-bottom: 3em; }
}

/* ==============================================
   2. PRELOADER
   ============================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--dark-3);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

/* ==============================================
   3. HEADER E NAVBAR
   ============================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#header-nav {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.navbar-brand img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.navbar-brand:hover img { transform: scale(1.04); }

/* -----------------------------------------------
   NAVBAR DESKTOP
----------------------------------------------- */
.rz-navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  height: 76px;
}

.rz-hamburger {
  margin-left: auto;
}

.navbar-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.navbar-brand:hover img { transform: scale(1.04); }

/* Links desktop */
.rz-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 auto 0 2rem;
  gap: 0;
}

#navbar .nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 0.4rem 0;
  margin: 0 0.85rem;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}

#navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}

#navbar .nav-link:hover,
#navbar .nav-link.active { color: var(--red); }

#navbar .nav-link:hover::after,
#navbar .nav-link.active::after { width: 100%; }

/* Ações desktop (ícones + botão anunciar) */
.rz-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* Ícone circular */
.rz-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--dark);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.rz-icon-btn:hover {
  background: var(--gray-5);
  color: var(--red);
}

/* Botão Anunciar */
.btn-anunciar {
  background: var(--red) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.55rem 1.4rem !important;
  transition: background 0.25s ease, transform 0.2s var(--ease-bounce), box-shadow 0.25s ease !important;
  white-space: nowrap !important;
  cursor: pointer;
}

.btn-anunciar:hover,
.btn-anunciar:focus {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-red) !important;
  color: var(--white) !important;
}

/* Badge mensagens */
.badge-chat {
  font-size: 0.58rem;
  padding: 3px 5px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
}

/* -----------------------------------------------
   HAMBURGER (só mobile)
----------------------------------------------- */
.rz-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.rz-hamburger:focus { outline: none; box-shadow: 0 0 0 3px rgba(211,40,12,.2); }
.rz-hamburger:hover { border-color: var(--red); }

.rz-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.rz-hamburger:hover span { background: var(--red); }

/* -----------------------------------------------
   MENU MOBILE — overlay + drawer
   (vanilla JS, sem Bootstrap)
----------------------------------------------- */
#rz-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#rz-mobile-overlay.is-open {
  display: block;
  opacity: 1;
}

#rz-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 88vw;
  height: 100%;
  background: var(--white);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#rz-mobile-menu.is-open {
  transform: translateX(0);
}

#rz-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1.5px solid var(--gray-5);
  flex-shrink: 0;
}

#rz-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gray-5);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}

#rz-mobile-close:hover {
  border-color: var(--red);
  background: rgba(211,40,12,.06);
  color: var(--red);
}

#rz-mobile-menu-body {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 2rem;
  flex: 1;
  gap: 2px;
}

/* Links mobile */
.rz-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  border-left: 3px solid transparent;
}

.rz-mobile-link i,
.rz-mobile-link img,
.rz-mobile-link svg {
  width: 18px;
  text-align: center;
  color: var(--gray-3);
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.7;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.rz-mobile-link:hover,
.rz-mobile-link.active {
  background: rgba(211,40,12,.07);
  color: var(--red);
  border-left-color: var(--red);
}

.rz-mobile-link:hover i,
.rz-mobile-link.active i {
  color: var(--red);
  opacity: 1;
}

/* Divisor mobile */
.rz-mobile-divider {
  height: 1px;
  background: var(--gray-5);
  margin: 0.5rem 0;
}

/* Navbar Bootstrap compat — esconder toggler original */
.navbar-toggler { display: none !important; }
.navbar-toggler:focus { box-shadow: none; }

/* Offcanvas Bootstrap — não usado mas deixar neutro */
.offcanvas {
  background: var(--white);
}
.offcanvas-header {
  border-bottom: 1.5px solid var(--gray-5);
  padding: 1.1rem 1.5rem;
}

/* ==============================================
   4. SEARCH BOX
   ============================================== */
.search-box {
  background: var(--black);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 999;
  display: none;
}

.search-box.is-open { display: block; }

.search-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.4rem;
  padding: 0.75rem 3rem 0.75rem 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input::placeholder { color: rgba(255,255,255,0.35); }
.search-input:focus { border-bottom-color: var(--red); }

.close-button {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--white);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.close-button:hover { opacity: 1; }

#search-results {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  max-height: 350px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
}

/* ==============================================
   5. HERO / BILLBOARD
   ============================================== */
#billboard {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#billboard .bg-parallax {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center top;
  will-change: transform;
}

#billboard .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.75) 0%,
    rgba(211,40,12,0.35) 60%,
    rgba(10,10,10,0.60) 100%
  );
  z-index: 1;
}

#billboard .content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  padding: 0 1.5rem;
  text-align: center;
}

#billboard h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  margin-bottom: 1.25rem;
}

.typing-container {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--red);
  animation: blink 1s step-start infinite;
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 2px;
}

@keyframes blink { 50% { opacity: 0; } }

#billboard .lead {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Formulário de pesquisa no hero */
.hero-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-input {
  flex: 1;
  min-width: 200px;
  height: 52px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0 1.25rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-input option { background: var(--dark); color: var(--white); }
.hero-input::placeholder { color: rgba(255,255,255,0.5); }

.hero-input:focus {
  background: rgba(255,255,255,0.2);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211,40,12,0.2);
}

/* Compat legada (outras páginas que usem form-select/form-control dentro do hero) */
.hero-search-form .form-select,
.hero-search-form .form-control {
  flex: 1;
  min-width: 200px;
  height: 52px !important;
  box-sizing: border-box !important;
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: var(--radius-md) !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0 1.25rem !important;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-search-form .form-select option { background: var(--dark); color: var(--white); }
.hero-search-form .form-select::placeholder,
.hero-search-form .form-control::placeholder { color: rgba(255,255,255,0.5); }

.hero-search-form .form-select:focus,
.hero-search-form .form-control:focus {
  background: rgba(255,255,255,0.2) !important;
  border-color: var(--red) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(211,40,12,0.2) !important;
}

.hero-search-form .btn-hero-search {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  height: 52px;
  padding: 0 2rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s var(--ease-bounce), box-shadow 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 1;
}

.hero-search-form .btn-hero-search:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* Dropdown resultados hero */
#resultados-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 860px;
  margin-top: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  max-height: 480px;
  overflow-y: auto;
  z-index: 100;
}

.produto-linha {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--gray-5);
  text-decoration: none;
  color: var(--dark);
  transition: background 0.2s ease;
}

.produto-linha:last-child { border-bottom: none; }
.produto-linha:hover { background: var(--gray-6); }

.produto-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--gray-5);
}

.produto-linha h6 {
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce-down 2s ease-in-out infinite;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ==============================================
   6. SECÇÕES GENÉRICAS
   ============================================== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--black);
  margin-bottom: 0.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-2);
  max-width: 520px;
  line-height: 1.6;
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.2rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-see-all:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ==============================================
   7. PRODUCT CARDS
   ============================================== */
.product-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
  background: var(--white);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.product-card .card-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}

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

.product-card .card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.product-card .card-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .price {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.2rem;
}

.product-card .location {
  font-size: 0.78rem;
  color: var(--gray-2);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Botão Favorito */
.btn-favorito {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-2);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-bounce);
  z-index: 3;
}

.btn-favorito:hover, .btn-favorito.ativo {
  background: var(--white);
  color: var(--red);
  transform: scale(1.15);
}

/* ==============================================
   8. SECÇÃO TRENDING / DESTAQUE (Swiper)
   ============================================== */
#trending-products {
  padding: var(--section-py) 0;
  background: var(--gray-6);
  position: relative;
  overflow: hidden;
}

#trending-products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-light), transparent);
}

.trendingSwiper .swiper-slide,
.featuredSwiper .swiper-slide {
  height: auto;
}

/* Sem pontos de paginação nos swipers contínuos */
.trendingSwiper .swiper-pagination,
.featuredSwiper .swiper-pagination {
  display: none !important;
}

.trendingSwiper.single-slide .swiper-wrapper {
  justify-content: center;
  display: flex;
  flex-wrap: nowrap;
}

.trendingSwiper.single-slide .swiper-slide {
  flex: 0 0 auto;
  max-width: 300px;
}

/* ==============================================
   9. CATEGORIAS
   ============================================== */
#banner {
  padding: var(--section-py) 0;
  background: var(--white);
}

.categoria-card {
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.categoria-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.categoria-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.categoria-card:hover::before {
  transform: scaleX(1);
}

.categoria-card h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.categoria-card .count {
  font-size: 0.8rem;
  color: var(--gray-2);
  margin-bottom: 1.25rem;
  display: block;
}

.categoria-card .cat-icon {
  width: 52px;
  height: 52px;
  background: var(--red-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--red);
  font-size: 1.4rem;
  transition: background 0.25s ease, transform 0.25s var(--ease-bounce);
}

.categoria-card:hover .cat-icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.btn-categoria {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-categoria:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateX(2px);
}

/* ==============================================
   10. FEATURES / VANTAGENS
   ============================================== */
#interiors-features {
  padding: var(--section-py) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

#interiors-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 10% 50%, rgba(211,40,12,0.12), transparent),
    radial-gradient(ellipse 40% 80% at 90% 20%, rgba(211,40,12,0.08), transparent);
  pointer-events: none;
}

.features-item {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.feature-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(211,40,12,0.15);
  border: 1.5px solid rgba(211,40,12,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--red);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-bounce);
}

.features-item:hover .feature-icon-wrap {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.1);
}

.features-content h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.features-content p {
  font-size: 0.875rem;
  color: var(--gray-3);
  line-height: 1.6;
}

/* ==============================================
   11. SUBSCRIBE / CTA BANNER
   ============================================== */
.subscribe {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  position: relative;
  overflow: hidden;
}

.subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.subscribe-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.subscribe-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.btn-black,
.btn-full.btn-black {
  display: inline-block;
  background: var(--black);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  transition: background 0.25s ease, transform 0.2s var(--ease-bounce), box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-full.btn-black:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* ==============================================
   12. FOOTER
   ============================================== */
#footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 5rem;
  padding-bottom: 0;
}

#footer a {
  color: var(--gray-4);
  transition: color 0.25s ease;
}

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

.footer-logo img {
  height: 60px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.footer-logo:hover img { opacity: 1; }

.footer-menu h4,
.footer-menu h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 1.25rem;
}

.footer-menu p {
  font-size: 0.88rem;
  color: var(--gray-2);
  line-height: 1.7;
}

.footer-menu ul { list-style: none; padding: 0; }

.footer-menu li {
  margin-bottom: 0.65rem;
}

.footer-menu li a {
  font-size: 0.88rem;
  color: var(--gray-3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease, transform 0.2s ease;
}

.footer-menu li a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 3rem;
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-2);
  margin: 0;
}

.footer-bottom a { color: var(--red); }
.footer-bottom a:hover { color: var(--red-light); }

/* Botão flutuante anunciar */
.btntoanunciar {
  position: fixed;
  background: var(--red);
  color: var(--white);
  bottom: 2rem;
  right: 2rem;
  border: none;
  z-index: 999;
  display: none;
  width: 52px;
  height: 52px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-red);
  transition: background 0.25s ease, transform 0.25s var(--ease-bounce);
}

.btntoanunciar:hover {
  background: var(--red-dark);
  transform: scale(1.1);
}

/* ==============================================
   13. PÁGINAS INTERNAS — ANÚNCIOS
   ============================================== */
.page-hero {
  padding: 5rem 0 3rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--gray-6), transparent);
}

.page-hero .page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white) !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.page-hero .page-hero-sub {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* -----------------------------------------------
   Hero escuro inline (usado nas páginas internas
   com style="background:var(--dark)") — garante
   contraste em todos os textos filhos
----------------------------------------------- */
[style*="background:var(--dark)"] .page-hero-title,
[style*="background: var(--dark)"] .page-hero-title {
  color: var(--white) !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

[style*="background:var(--dark)"] .page-hero-sub,
[style*="background: var(--dark)"] .page-hero-sub {
  color: rgba(255,255,255,0.65) !important;
}

[style*="background:var(--dark)"] .section-eyebrow,
[style*="background: var(--dark)"] .section-eyebrow {
  color: var(--red) !important;
}

/* Classe utilitária para qualquer hero com fundo escuro */
.hero-dark {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.hero-dark .page-hero-title,
.hero-dark h1,
.hero-dark h2 {
  color: var(--white) !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-dark .page-hero-sub,
.hero-dark p {
  color: rgba(255,255,255,0.65) !important;
}

.hero-dark .section-eyebrow {
  color: var(--red) !important;
}

/* Fallback universal: qualquer .page-hero-title
   herda branco independentemente do contexto */
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white) !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  line-height: 1.1;
}

.page-hero-sub {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Filtros de pesquisa */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.filter-bar .form-select,
.filter-bar .form-control {
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  color: var(--dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-bar .form-select:focus,
.filter-bar .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211,40,12,0.12);
  outline: none;
}

.filter-bar .btn-filter {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  transition: background 0.25s ease, transform 0.2s ease;
}

.filter-bar .btn-filter:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Pagination */
.pagination .page-link {
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-sm) !important;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  margin: 0 0.15rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pagination .page-link:hover {
  background: var(--gray-6);
  border-color: var(--gray-4);
}

.pagination .page-item.active .page-link {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ==============================================
   14. PÁGINA PRODUTO
   ============================================== */
.product-gallery-main img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.product-gallery-thumbs img {
  border-radius: var(--radius-sm);
  height: 80px;
  width: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.65;
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  border-color: var(--red);
  opacity: 1;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.product-price {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  margin: 0.75rem 0;
}

.badge-estado {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--gray-6);
  color: var(--gray-1);
  border: 1.5px solid var(--gray-5);
}

.badge-estado.novo { background: #EBF9F1; color: #1A7A44; border-color: #A3E6C1; }
.badge-estado.usado { background: #FFF7EB; color: #7A4F1A; border-color: #F5D9A3; }

/* Botões de compra */
.btn-comprar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  width: 100%;
  transition: background 0.25s ease, transform 0.2s var(--ease-bounce), box-shadow 0.25s ease;
  cursor: pointer;
}

.btn-comprar:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
  color: var(--white);
}

.btn-comprar-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  width: 100%;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn-comprar-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.seller-card {
  background: var(--gray-6);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1.5px solid var(--gray-5);
}

.seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-4);
  object-fit: cover;
}

/* Avaliações */
.rating-star { color: #F5A623; }
.rating-empty { color: var(--gray-4); }

/* ==============================================
   15. LOGIN / REGISTO
   ============================================== */
.auth-section {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: var(--gray-6);
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-card .auth-logo {
  display: block;
  margin: 0 auto 2rem;
  height: 72px;
  width: auto;
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--gray-2);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211,40,12,0.12);
  outline: none;
}

.btn-auth {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem;
  margin-top: 0.5rem;
  transition: background 0.25s ease, transform 0.2s var(--ease-bounce), box-shadow 0.25s ease;
  cursor: pointer;
}

.btn-auth:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
  color: var(--white);
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
  color: var(--gray-3);
  font-size: 0.8rem;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-5);
}

.auth-divider span {
  position: relative;
  background: var(--white);
  padding: 0 0.75rem;
}

/* ==============================================
   16. ÁREA CLIENTE
   ============================================== */
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-5);
  overflow: hidden;
}

.account-sidebar-header {
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
}

.account-sidebar-header .user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.account-sidebar-header h6 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.account-sidebar-header small { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

.account-nav {
  padding: 0.75rem 0;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-1);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-left: 3px solid transparent;
}

.account-nav a:hover {
  background: var(--gray-6);
  color: var(--dark);
}

.account-nav a.active {
  background: rgba(211,40,12,0.06);
  color: var(--red);
  border-left-color: var(--red);
  font-weight: 700;
}

.account-nav a.logout-link { color: var(--red); margin-top: 0.5rem; border-top: 1px solid var(--gray-5); }
.account-nav a.logout-link:hover { background: #FFF0EE; }

.account-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-5);
  padding: 2rem;
}

.account-content h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--gray-5);
}

/* Stats cards área cliente */
.stat-card {
  background: var(--gray-6);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1.5px solid var(--gray-5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ==============================================
   17. CART
   ============================================== */
.cart-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-5);
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  transition: box-shadow 0.25s ease;
}

.cart-item:hover { box-shadow: var(--shadow-sm); }

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-item-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-5);
  padding: 1.75rem;
  position: sticky;
  top: 120px;
}

.cart-summary h5 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--gray-5);
}

/* ==============================================
   18. CHAT
   ============================================== */
.chat-sidebar {
  background: var(--white);
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 580px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
}

.chat-list-item {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--gray-5);
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chat-list-item:hover,
.chat-list-item.active { background: var(--gray-6); }
.chat-list-item.active { border-left: 3px solid var(--red); }

.chat-window {
  background: var(--white);
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius-lg);
  height: 580px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  background: var(--gray-6);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 72%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-bubble.me {
  background: var(--red);
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble.other {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-5);
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  padding: 1rem 1.25rem;
  border-top: 1.5px solid var(--gray-5);
  background: var(--white);
  display: flex;
  gap: 0.75rem;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--gray-5);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.chat-input:focus { border-color: var(--red); }

.btn-chat-send {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-chat-send:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

/* ==============================================
   19. CONTACTOS / FAQs / PLANOS
   ============================================== */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 3rem;
}

.faq-item .accordion-button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  box-shadow: none;
  border: none;
  padding: 1.2rem 0;
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--red);
}

.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D3280C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-body {
  font-size: 0.9rem;
  color: var(--gray-1);
  padding: 0 0 1.25rem;
  line-height: 1.7;
}

.faq-item .accordion-item {
  border: none;
  border-bottom: 1px solid var(--gray-5);
}

/* Planos */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-5);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  border-color: var(--red);
  background: linear-gradient(165deg, #fff 60%, rgba(211,40,12,0.03) 100%);
  box-shadow: var(--shadow-red);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.plan-price {
  font-family: var(--font-body);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.plan-price sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.plan-price sub {
  font-size: 0.75rem;
  color: var(--gray-2);
}

.plan-features {
  list-style: none;
  padding: 1.5rem 0;
  text-align: left;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-1);
  margin-bottom: 0.75rem;
}

.plan-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.plan-features li.disabled { opacity: 0.4; }

.plan-features li.disabled::before {
  background-color: var(--gray-4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M2 2l4 4M6 2l-4 4' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.btn-plan {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s var(--ease-bounce);
  text-decoration: none;
  display: block;
}

.plan-card.featured .btn-plan {
  background: var(--red);
}

.btn-plan:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==============================================
   20. WISHLIST / FAVORITOS
   ============================================== */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-6);
  border: 2px solid var(--gray-5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gray-3);
  font-size: 2rem;
}

.empty-state h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.empty-state p { color: var(--gray-2); font-size: 0.9rem; }

/* ==============================================
   21. 404
   ============================================== */
.error-404 {
  text-align: center;
  padding: 6rem 2rem;
}

.error-404 .error-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  color: var(--red);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

/* ==============================================
   22. TOAST PERSONALIZADO
   ============================================== */
.toast-custom {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--dark);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 9999;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 4px solid var(--red);
  animation: toast-in 0.4s var(--ease);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Bootstrap toast overrides */
.toast.bg-dark {
  background-color: var(--dark) !important;
  color: var(--white) !important;
  border-left: 4px solid var(--red);
}

.toast.bg-secondary {
  background-color: #FFF0EE !important;
  color: #7A1A1A !important;
  border-left: 4px solid var(--red);
}

/* ==============================================
   23. BOTÕES GERAIS
   ============================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  transition: all 0.25s var(--ease);
}

.btn-primary {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  box-shadow: var(--shadow-red) !important;
}

.btn-outline-dark {
  border: 1.5px solid var(--dark);
  color: var(--dark);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
}

/* Botão arrow */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==============================================
   24. FORMS GERAIS
   ============================================== */
.form-control:focus, .accordion-button:focus { box-shadow: none; }

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap .icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-3);
  pointer-events: none;
}

.input-icon-wrap .form-control {
  padding-left: 2.4rem;
}

/* Checkbox / Radio */
.form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.form-check-input:focus { box-shadow: 0 0 0 3px rgba(211,40,12,0.15); }

/* ==============================================
   25. TABLES (backoffice, ver-tabelas)
   ============================================== */
.table {
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
  border-bottom: 2px solid var(--gray-5);
}

.table tbody tr {
  transition: background 0.2s ease;
}

.table tbody tr:hover { background: var(--gray-6); }

/* ==============================================
   26. SOBRE NÓS
   ============================================== */
.about-highlight {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-highlight::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(211,40,12,0.12);
}

.about-stat {
  text-align: center;
}

.about-stat .number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--red);
  display: block;
  line-height: 1;
}

.about-stat .label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-top: 0.4rem;
}

/* ==============================================
   27. RESPONSIVO
   ============================================== */
@media (max-width: 991.98px) {
  .site-header { position: sticky; }

  /* Navbar mobile */
  .rz-navbar {
    padding: 0 1rem;
    height: 64px;
    justify-content: space-between;
  }
  .navbar-brand img { height: 52px; }
  .rz-nav-links { display: none !important; }
  .rz-nav-actions { display: none !important; }
  .rz-hamburger {
    display: flex !important;
    margin-left: 0;
  }

  #billboard { height: 100vh; min-height: 580px; }
  #billboard h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  .typing-container { min-height: 70px; }

  :root { --section-py: 3.5rem; }

  .auth-card { padding: 2rem; }
  .contact-form-card { padding: 2rem; }
  .about-highlight { padding: 2.5rem 1.75rem; }
}

@media (max-width: 767.98px) {
  :root { --section-py: 2.75rem; }

  #billboard { height: 100svh; min-height: 580px; }
  #billboard h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }

  .hero-search-form {
    flex-direction: column;
  }

  .hero-input,
  .hero-search-form .form-select,
  .hero-search-form .form-control,
  .hero-search-form .btn-hero-search {
    width: 100%;
    flex: none;
  }

  .product-card .card-img-wrap img { height: 180px; }

  .categoria-card { padding: 1.5rem 1rem; }

  .auth-card { padding: 1.75rem 1.25rem; }
  .auth-card h2 { font-size: 1.6rem; }

  .cart-item { flex-direction: column; align-items: flex-start; }
  .cart-item img { width: 100%; height: 200px; }

  .product-gallery-main img { height: 280px; }

  .plan-card { padding: 2rem 1.5rem; }
  .plan-price { font-size: 2.2rem; }

  #footer { text-align: center; }
  .footer-menu { margin-bottom: 2rem; }

  .btntoanunciar { bottom: 1.25rem; right: 1.25rem; }

  .account-sidebar { margin-bottom: 1.5rem; }
  .chat-sidebar, .chat-window { height: 420px; }
}

@media (max-width: 575.98px) {
  #billboard h1 { font-size: clamp(1.3rem, 7.5vw, 1.8rem); }

  .section-title { font-size: 1.6rem; }
  .subscribe-header h2 { font-size: 1.5rem; }

  .categoria-card h5 { font-size: 0.9rem; }

  .auth-card { border-radius: var(--radius-lg); }

  .product-gallery-thumbs img { width: 60px; height: 60px; }
}

/* ==============================================
   28. ANIMAÇÕES & ACESSIBILIDADE
   ============================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Reveal classes para GSAP */
.reveal { opacity: 0; }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-scale { opacity: 0; transform: scale(0.92); }

/* Stagger groups */
.stagger-item { opacity: 0; transform: translateY(20px); }

/* Focus visível */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Scrollbar customizada */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-6); }
::-webkit-scrollbar-thumb { background: var(--gray-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* Utilitários */
.bg-secondary { background: var(--gray-6) !important; }
.bg-dark { background: var(--dark) !important; }
.bg-light { background: var(--white) !important; }
.bg-gray-1 { background-color: var(--gray-6) !important; }
.text-primary, .text-red { color: var(--red) !important; }
.text-success { color: var(--success) !important; }

/* Imagem com efeito zoom (legado) */
.image-zoom-effect img {
  transition: transform 0.5s var(--ease);
}
.image-zoom-effect:hover img {
  transform: scale(1.05);
}