/* ==========================================================
   PRIME MODA MASCULINA — LAYOUT
   Grid system, seções, espaçamentos de página

   ALTERAÇÕES vs versão anterior:
   - Hero gradient: vinho/burgundy → preto profundo com vinheta sutil
   - .hero__title-em: italic dourado → vermelho marca bold (sem itálico)
   - Newsletter gradient: vinho → preto + glow vermelho radial
   - .section--gold: texto branco (sobre vermelho) ao invés de preto sobre dourado
   - Tracking de títulos: ajustado para Oswald (sans condensed)
   - Estrutura (grids, containers, breakpoints) mantida 100%
   ========================================================== */

/* ----------------------------------------------------------
   SECTION BASE
---------------------------------------------------------- */
.section {
  padding-block: var(--sp-12);
}
.section--sm  { padding-block: var(--sp-8); }
.section--lg  { padding-block: var(--sp-20); }
.section--xl  { padding-block: var(--sp-24); }

@media (min-width: 1024px) {
  .section     { padding-block: var(--sp-20); }
  .section--sm { padding-block: var(--sp-12); }
  .section--lg { padding-block: var(--sp-32); }
}

/* Fundos de seção */
.section--cream   { background: var(--c-cream-light); }                          /* off-white */
.section--dark    { background: var(--c-burgundy); color: var(--c-cream); }      /* preto */
.section--gold    { background: var(--c-gold); color: var(--c-white); }          /* vermelho — texto branco */
.section--surface { background: var(--c-surface); }                              /* branco */

/* ----------------------------------------------------------
   HERO — Home moda masculina (gradient preto premium)
---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    162deg,
    #000000     0%,
    #0A0A0A    38%,
    #141414    68%,
    #1F1F1F   100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Textura radial — realce vermelho sutil (era dourado) */
.hero__bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 28% 52%, rgba(237,27,36,0.08) 0%, transparent 58%),
    radial-gradient(ellipse at 72% 22%, rgba(245,245,245,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Inner — conteúdo centralizado */
.hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding-block: calc(var(--sp-32) + var(--sp-8)) var(--sp-20);
}

.hero__eyebrow {
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: var(--fw-semibold);
  color: var(--c-cream);
  letter-spacing: 0.005em;
  line-height: 1.05;
  margin-bottom: var(--sp-6);
  text-transform: uppercase;
}

/* Ênfase: vermelho marca (era dourado italic) */
.hero__title-em {
  font-style: normal;
  color: var(--c-gold);
  font-weight: var(--fw-bold);
}

.hero__desc {
  font-size: var(--text-md);
  color: var(--c-text-on-dark);
  opacity: 0.80;
  max-width: 480px;
  margin: 0 auto var(--sp-8);
  line-height: 1.85;
  letter-spacing: 0.008em;
  text-transform: none;       /* hero desc não-uppercase pra equilibrar */
}

.hero__ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Indicador de scroll */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(245,245,245,0.38);
  pointer-events: none;
  user-select: none;
}
.hero__scroll-label {
  font-size: var(--text-2xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}
.hero__scroll-icon { display: block; }

/* ----------------------------------------------------------
   GRIDS DE PRODUTOS
---------------------------------------------------------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
@media (min-width: 640px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
}
@media (min-width: 1024px) {
  .grid-products { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
}
@media (min-width: 1280px) {
  .grid-products { gap: var(--sp-6); }
}

/* Grid 3 colunas */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------------------------------------
   COLEÇÕES — Grid de categorias na home
---------------------------------------------------------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 1024px) {
  .collection-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
  }
}

/* ----------------------------------------------------------
   SECTION HEADER — título de seção
---------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-header__eyebrow {
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
}
.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: var(--c-dark);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}
.section-header__desc {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.85;
}

/* Variante sobre fundo escuro */
.section--dark .section-header__title { color: var(--c-cream); }
.section--dark .section-header__desc  { color: rgba(245,245,245,0.65); }

/* ----------------------------------------------------------
   EDITORIAL — Split layout (imagem + conteúdo)
---------------------------------------------------------- */
.editorial-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 768px) {
  .editorial-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-20);
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .editorial-block { gap: var(--sp-24); }
}

.editorial-block__media {
  position: relative;
}
.editorial-block__img-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(
    135deg,
    var(--c-gray-200)   0%,
    var(--c-gray-100)  100%
  );
  border-radius: var(--radius-sm);
}
.editorial-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 5;
}

.editorial-block__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.editorial-block__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--fw-semibold);
  letter-spacing: 0.005em;
  color: var(--c-dark);
  margin-block: var(--sp-3) var(--sp-6);
  line-height: 1.08;
  text-transform: uppercase;
}
.editorial-block__desc {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  line-height: 1.90;
  margin-bottom: var(--sp-10);
  max-width: 44ch;
}

/* ----------------------------------------------------------
   TRUST BAR — Faixa de credenciais da home
---------------------------------------------------------- */
.section--trust-bar {
  background: var(--c-cream-light);
  border-block: 1px solid var(--c-border-subtle);
  padding-block: var(--sp-12);
}
@media (min-width: 1024px) {
  .section--trust-bar {
    padding-block: var(--sp-16);
  }
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10) var(--sp-5);    /* mais gap entre linhas, menos entre colunas */
}
@media (min-width: 1024px) {
  .trust-row {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-8);
  }
}

/* ----------------------------------------------------------
   SECTION CTA — botão de encerramento de seção
---------------------------------------------------------- */
.section-cta {
  text-align: center;
  margin-top: var(--sp-10);
}

/* ----------------------------------------------------------
   HERO SPACER — empurra conteúdo atrás do header fixo
---------------------------------------------------------- */
.page-offset {
  padding-top: var(--header-h-mobile);
}
.page-offset--announce {
  padding-top: calc(var(--header-h-mobile) + var(--announce-h));
}
@media (min-width: 1024px) {
  .page-offset { padding-top: var(--header-h-desktop); }
  .page-offset--announce {
    padding-top: calc(var(--header-h-desktop) + var(--announce-h));
  }
}

/* ==========================================================
   PRIME — ADIÇÕES PREMIUM
   ========================================================== */

/* Hero: overlay superior ancora legibilidade do header transparente */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Hero animations */
@keyframes hero-float {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 4px); }
}
.hero__scroll-hint {
  animation: hero-float 2.8s var(--ease-inout) infinite;
}

/* Editorial: ícone-estrela decorativo antes do eyebrow */
.editorial-block__content .section-header__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.editorial-block__content .section-header__eyebrow::before {
  content: '';
  display: block;
  width: 11px;
  height: 16px;
  background: url('../img/eyebrow-star.svg') no-repeat center / contain;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Collection grid: establece contexto de posicionamento */
.collection-grid {
  position: relative;
}


/* ==========================================================
   PRIME — HOME PAGE LAYOUTS
   hero--home, sticker-bar, cat-cover-grid, testimonials,
   instagram-grid, newsletter
   ========================================================== */

/* ----------------------------------------------------------
   HERO HOME — conteúdo ancorado no terço inferior
---------------------------------------------------------- */
.hero--home {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img,
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay: gradiente preto puro + lateral esquerda */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.45) 22%,
      rgba(0, 0, 0, 0.15) 45%,
      transparent          70%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.25) 0%,
      transparent          55%
    );
  pointer-events: none;
}

/* Conteúdo */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: var(--sp-20);
  padding-top: var(--sp-10);
}
@media (min-width: 1024px) {
  .hero__content {
    max-width: 720px;
    margin-inline: auto;
    padding-bottom: calc(var(--sp-24) + var(--sp-4));
  }
}

/* Eyebrow: linha decorativa antes do texto */
.hero--home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
}
.hero--home .hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 14px;
  background: url('../img/eyebrow-star.svg') no-repeat center / contain;
  opacity: 0.9;
  flex-shrink: 0;
}

.hero--home .hero__eyebrow,
.hero--home .hero__title,
.hero--home .hero__desc { text-align: center; }

/* Título monumental */
.hero--home .hero__title {
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  letter-spacing: 0.005em;
  line-height: 1.02;
  margin-bottom: var(--sp-5);
}

.hero--home .hero__desc {
  margin-inline: auto;
  max-width: 460px;
  opacity: 0.80;
  line-height: 1.8;
}

/* CTA row centralizada */
.hero--home .hero__ctas {
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

/* ----------------------------------------------------------
   STICKER BAR — marquee de marca
---------------------------------------------------------- */
.sticker-bar {
  background: var(--c-burgundy-dark);                      /* preto puro */
  border-bottom: 1px solid rgba(237,27,36,0.18);           /* linha vermelha sutil */
  overflow: hidden;
  padding-block: var(--sp-4);
}
.sticker-bar__track {
  display: flex;
  white-space: nowrap;
  animation: sticker-marquee 60s linear infinite;
  will-change: transform;
}
.sticker-bar__track:hover { animation-play-state: paused; }
.sticker-bar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-5);
  padding-inline: var(--sp-8);
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(245,245,245,0.62);
}
.sticker-bar__item::after {
  content: '·';
  font-size: var(--text-sm);
  color: var(--c-gold);          /* separador vermelho marca */
  opacity: 0.7;
  flex-shrink: 0;
  line-height: 1;
}
@keyframes sticker-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ----------------------------------------------------------
   CATEGORY COVER GRID — 6 cards editoriais
---------------------------------------------------------- */
.cat-cover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: var(--sp-10);
}
@media (min-width: 768px) {
  .cat-cover-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ----------------------------------------------------------
   TESTIMONIALS GRID
---------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-7);
  }
}

/* ----------------------------------------------------------
   INSTAGRAM GRID — 4 imagens quadradas
---------------------------------------------------------- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: var(--sp-8);
  border: 1px solid var(--c-border-subtle);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
@media (min-width: 640px) {
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------
   NEWSLETTER SECTION — preto profundo com glow vermelho
---------------------------------------------------------- */
.newsletter-section {
  background: linear-gradient(
    160deg,
    #000000     0%,
    #0A0A0A    55%,
    #141414   100%
  );
  padding-block: var(--sp-24);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
/* Realce vermelho sutil no canto */
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(237,27,36,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.newsletter-inner {
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-eyebrow {
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--fw-semibold);
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--c-cream);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}
.newsletter-desc {
  font-size: var(--text-base);
  color: rgba(245,245,245,0.65);
  line-height: 1.75;
  margin-bottom: 0;
}
.newsletter-form {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 200px;
  height: var(--btn-h-base);
  padding-inline: var(--sp-5);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(245,245,245,0.22);
  border-radius: 0;
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  transition:
    border-color var(--t-base),
    background   var(--t-base);
}
.newsletter-input::placeholder { color: rgba(245,245,245,0.32); }
.newsletter-input:focus {
  outline: none;
  border-color: var(--c-gold);
  background: rgba(255,255,255,0.10);
}
.newsletter-btn { flex-shrink: 0; }
.newsletter-feedback {
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--c-gold-light);
  min-height: 1.4em;
  opacity: 0;
  transition: opacity var(--t-base);
}
.newsletter-feedback.is-visible { opacity: 1; }


/* ============================================================
   HOME — SEÇÃO 6: MAPA / LOCALIZAÇÃO
   Layout 2 colunas no desktop (info à esquerda, mapa à direita),
   empilha no mobile. Consistência com .section--cream do tema.
============================================================ */

.home-map {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-6, 32px);
  align-items: stretch;
  margin-top: var(--sp-6, 32px);
}

/* Coluna info */
.home-map__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5, 24px);
  justify-content: center;
}

.home-map__info-block {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3, 14px);
}

.home-map__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-burgundy, #6B1F1F);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.home-map__info-body {
  flex: 1;
  min-width: 0;
}

.home-map__info-label {
  font-family: var(--font-display);
  font-size: var(--text-2xs, 10px);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider, 0.12em);
  text-transform: uppercase;
  color: var(--c-text-muted, #888);
  margin: 0 0 4px;
}

.home-map__info-value {
  font-size: var(--text-base, 16px);
  line-height: 1.5;
  color: var(--c-text, #2a2a2a);
  margin: 0;
}

.home-map__info-value--secondary {
  font-size: var(--text-sm, 14px);
  color: var(--c-text-muted, #888);
  margin-top: 2px;
}

/* CTA "Como chegar" — alinhado pra esquerda na coluna */
.home-map__info .btn {
  align-self: flex-start;
  margin-top: var(--sp-2, 8px);
}

/* Coluna mapa */
.home-map__embed {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  background: #f0f0f0; /* placeholder enquanto iframe carrega */
}

.home-map__embed iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Tablet / mobile: empilha, info primeiro, mapa abaixo */
@media (max-width: 900px) {
  .home-map {
    grid-template-columns: 1fr;
    gap: var(--sp-5, 24px);
  }
  .home-map__embed {
    min-height: 280px;
  }
}

/* Mobile pequeno: ícones um pouco menores */
@media (max-width: 480px) {
  .home-map__info-icon {
    width: 38px;
    height: 38px;
  }
  .home-map__info-icon svg {
    width: 18px;
    height: 18px;
  }
  .home-map__embed {
    min-height: 240px;
  }
}
