/* ==========================================================================
   HOMEPAGE — assets/css/homepage.css
   SENV Theme · Todas as secoes da homepage concatenadas
   ========================================================================== */
/* ==========================================================================
   HERO — assets/css/sections/hero.css
   SENV Theme · Seção de destaque principal da homepage
   ========================================================================== */

.senv-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--senv-noir);
}

/* Imagem de fundo */
.senv-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease-out;
  will-change: transform;
}

.senv-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 8, 7, 0.78) 0%,
    rgba(10, 8, 7, 0.45) 55%,
    rgba(10, 8, 7, 0.20) 100%
  );
}

/* Conteúdo */
.senv-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.senv-hero__label {
  display: inline-block;
  font-family: var(--senv-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--senv-gold);
  margin-bottom: 20px;
}

.senv-hero__title {
  font-family: var(--senv-font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.02;
  color: var(--senv-offwhite);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.senv-hero__subtitle {
  font-family: var(--senv-font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--senv-nude);
  margin: 0 0 40px;
  opacity: 0.88;
}

/* Botões CTA */
.senv-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Indicador de scroll */
.senv-hero__scroll {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--senv-gold);
  opacity: 0.6;
}

/* Animação de entrada */
@keyframes senv-hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.senv-hero__label   { animation: senv-hero-fade-up 0.7s ease both; }
.senv-hero__title   { animation: senv-hero-fade-up 0.7s 0.1s ease both; }
.senv-hero__subtitle{ animation: senv-hero-fade-up 0.7s 0.2s ease both; }
.senv-hero__actions { animation: senv-hero-fade-up 0.7s 0.3s ease both; }
.senv-hero__scroll  { animation: senv-hero-fade-up 0.7s 0.5s ease both; }

/* Responsive */
@media (max-width: 768px) {
  .senv-hero__content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .senv-hero__title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .senv-hero__actions {
    flex-direction: column;
  }

  .senv-hero__actions .senv-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   CAT-BAR — assets/css/sections/cat-bar.css
   SENV Theme · Barra de navegação por categorias
   ========================================================================== */

.senv-cat-bar {
  background-color: var(--senv-noir);
  border-top: 1px solid rgba(184, 146, 74, 0.15);
  border-bottom: 1px solid rgba(184, 146, 74, 0.15);
  padding: 0;
  position: sticky;
  top: 72px; /* altura do header */
  z-index: 90;
  backdrop-filter: blur(8px);
}

.senv-cat-bar__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.senv-cat-bar__list::-webkit-scrollbar {
  display: none;
}

.senv-cat-bar__link {
  display: block;
  padding: 14px 22px;
  font-family: var(--senv-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 234, 226, 0.6);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.senv-cat-bar__link:hover,
.senv-cat-bar__link:focus-visible {
  color: var(--senv-gold);
  border-bottom-color: var(--senv-gold);
  outline: none;
}

/* Item ativo (quando na categoria correspondente) */
.senv-cat-bar__link.is-active,
.current-cat .senv-cat-bar__link {
  color: var(--senv-gold);
  border-bottom-color: var(--senv-gold);
}

@media (max-width: 768px) {
  .senv-cat-bar {
    top: 60px;
  }

  .senv-cat-bar__link {
    padding: 12px 16px;
    font-size: 10px;
  }
}

/* ==========================================================================
   FEATURED — assets/css/sections/featured.css
   SENV Theme · Grid de produtos em destaque
   ========================================================================== */

.senv-featured {
  background-color: var(--senv-noir);
  padding: var(--senv-section-gap) 0;
}

/* Cabeçalho de seção */
.senv-section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.senv-section-header h2 {
  font-family: var(--senv-font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--senv-offwhite);
  margin: 0;
  flex: 1;
  text-align: left;
}

.senv-section-header__link {
  font-family: var(--senv-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--senv-gold);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.senv-section-header__link:hover {
  opacity: 0.7;
}

.senv-section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Grid de produtos */
.senv-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card de produto */
.senv-product-card {
  position: relative;
  background-color: #0f0d0c;
  border: 1px solid rgba(184, 146, 74, 0.08);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.senv-product-card:hover {
  border-color: rgba(184, 146, 74, 0.3);
  transform: translateY(-4px);
}

/* Imagem */
.senv-product-card__image {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #1a1614;
}

.senv-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.senv-product-card:hover .senv-product-card__image img {
  transform: scale(1.05);
}

/* Badge */
.senv-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: var(--senv-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--senv-gold);
  color: var(--senv-noir);
  border-radius: 1px;
}

.senv-product-card__badge--sale {
  background-color: #c0392b;
  color: #fff;
}

/* Wishlist */
.senv-product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 7, 0.65);
  border: 1px solid rgba(184, 146, 74, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--senv-offwhite);
  transition: background 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(4px);
}

.senv-product-card__wishlist:hover {
  background: var(--senv-gold);
  color: var(--senv-noir);
}

/* Body do card */
.senv-product-card__body {
  padding: 16px 18px 20px;
}

.senv-product-card__category {
  display: block;
  font-family: var(--senv-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--senv-gold);
  margin-bottom: 6px;
}

.senv-product-card__name {
  font-family: var(--senv-font-heading);
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.35;
}

.senv-product-card__name a {
  color: var(--senv-offwhite);
  text-decoration: none;
  transition: color 0.2s ease;
}

.senv-product-card__name a:hover {
  color: var(--senv-gold);
}

/* Preço */
.senv-product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.senv-product-card__price {
  font-family: var(--senv-font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--senv-offwhite);
}

.senv-product-card__price-old {
  font-size: 0.8rem;
  color: rgba(226, 201, 176, 0.4);
  text-decoration: line-through;
}

/* Botão adicionar */
.senv-product-card__btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  font-family: var(--senv-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(184, 146, 74, 0.4);
  color: var(--senv-gold);
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.senv-product-card__btn:hover {
  background: var(--senv-gold);
  color: var(--senv-noir);
  border-color: var(--senv-gold);
}

/* Estado vazio */
.senv-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(226, 201, 176, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .senv-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .senv-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 32px;
  }

  .senv-section-header .senv-label {
    order: 0;
  }

  .senv-section-header h2 {
    order: 1;
    flex: unset;
  }

  .senv-section-header__link {
    order: 2;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .senv-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   EDITORIAL-BANNER — assets/css/sections/editorial.css
   SENV Theme · Banner Editorial
   ========================================================================== */

.senv-editorial-banner {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax suave */
  overflow: hidden;
}

/* Overlay escuro */
.senv-editorial-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 8, 7, 0.85) 0%,
    rgba(10, 8, 7, 0.55) 60%,
    rgba(10, 8, 7, 0.20) 100%
  );
}

/* Conteúdo */
.senv-editorial-banner__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.senv-editorial-banner__title {
  font-family: var(--senv-font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: var(--senv-offwhite);
  margin: 12px 0 20px;
}

.senv-editorial-banner__text {
  font-family: var(--senv-font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--senv-nude);
  margin: 0 0 32px;
  opacity: 0.9;
}

.senv-editorial-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--senv-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--senv-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 146, 74, 0.4);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.senv-editorial-banner__link:hover {
  border-color: var(--senv-gold);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .senv-editorial-banner {
    padding: 80px 0;
    background-attachment: scroll; /* parallax desabilitado no mobile */
  }

  .senv-editorial-banner__content {
    max-width: 100%;
  }
}

/* ==========================================================================
   TESTIMONIALS — assets/css/sections/testimonials.css
   SENV Theme · Grid de depoimentos de clientes
   ========================================================================== */

.senv-testimonials {
  background-color: #0d0b0a;
  padding: var(--senv-section-gap, 80px) 0;
  border-top: 1px solid rgba(184, 146, 74, 0.08);
}

.senv-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

/* Card de depoimento */
.senv-testimonial-card {
  margin: 0;
  padding: 32px;
  background-color: rgba(184, 146, 74, 0.04);
  border: 1px solid rgba(184, 146, 74, 0.12);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.senv-testimonial-card:hover {
  border-color: rgba(184, 146, 74, 0.28);
  background-color: rgba(184, 146, 74, 0.07);
}

/* Estrelas */
.senv-testimonial-card__stars {
  font-size: 14px;
  color: var(--senv-gold);
  letter-spacing: 3px;
}

/* Texto */
.senv-testimonial-card__text {
  font-family: var(--senv-font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--senv-nude);
  margin: 0;
  flex: 1;
  font-style: italic;
}

/* Autor */
.senv-testimonial-card__author {
  font-family: var(--senv-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 201, 176, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .senv-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   NEWSLETTER — assets/css/sections/newsletter.css
   SENV Theme · Seção de captura de e-mail
   ========================================================================== */

.senv-newsletter {
  background-color: var(--senv-noir);
  border-top: 1px solid rgba(184, 146, 74, 0.12);
  padding: 80px 0;
}

.senv-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Copy */
.senv-newsletter__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senv-newsletter__title {
  font-family: var(--senv-font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--senv-offwhite);
  margin: 0;
}

/* Formulário */
.senv-newsletter__form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.senv-newsletter__row {
  display: flex;
  gap: 0;
}

.senv-newsletter__input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--senv-font-body);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 146, 74, 0.25);
  border-right: none;
  color: var(--senv-offwhite);
  border-radius: 1px 0 0 1px;
  outline: none;
  transition: border-color 0.2s ease;
}

.senv-newsletter__input::placeholder {
  color: rgba(226, 201, 176, 0.3);
}

.senv-newsletter__input:focus {
  border-color: var(--senv-gold);
}

.senv-newsletter__row .senv-btn {
  border-radius: 0 1px 1px 0;
  white-space: nowrap;
}

/* Disclaimer */
.senv-newsletter__disclaimer {
  font-family: var(--senv-font-body);
  font-size: 11px;
  color: rgba(226, 201, 176, 0.35);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .senv-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .senv-newsletter__input {
    border-right: 1px solid rgba(184, 146, 74, 0.25);
    border-radius: 1px;
  }

  .senv-newsletter__row .senv-btn {
    border-radius: 1px;
    width: 100%;
    text-align: center;
  }
}
