/* MIMOS — estilos específicos da homepage */

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 7rem;
  text-align: center;
  color: var(--color-cream);
  background: linear-gradient(165deg, var(--color-choc) 0%, var(--color-choc-soft) 55%, var(--color-choc) 100%);
}

.hero__bg {
  position: absolute;
  inset: -2% -2% -5% -2%;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(59, 42, 33, 0.72) 0%, rgba(59, 42, 33, 0.32) 30%, rgba(59, 42, 33, 0.4) 62%, rgba(59, 42, 33, 0.78) 100%),
    radial-gradient(55% 48% at 50% 44%, rgba(59, 42, 33, 0.42), transparent 72%),
    url('../assets/img/hero-storefront.webp');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  transform: translateY(0) scale(1.02);
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-bottom: var(--sp-8);
}

.hero__tagline {
  margin-bottom: var(--sp-8);
  color: var(--color-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__logo {
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-word {
  display: inline-block;
  opacity: 0;
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-12);
}

.hero .btn-outline {
  color: var(--color-cream);
  border-color: rgba(245, 240, 225, 0.7);
}

.hero .btn-outline::before { background: var(--color-cream); }

.hero .btn-outline:hover {
  color: var(--color-choc);
  border-color: var(--color-cream);
}

[data-hero-fade] { opacity: 0; }

/* ---- Image marquee ---- */
.hero__marquee {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  height: clamp(140px, 26vh, 280px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 94%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 94%, transparent);
}

.hero__marquee-track {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 100%;
  width: max-content;
  will-change: transform;
}

.hero__marquee-item {
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  height: clamp(150px, 22vw, 230px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(245, 240, 225, 0.15);
}
.hero__marquee-item:nth-child(odd) { transform: rotate(-3deg); }
.hero__marquee-item:nth-child(even) { transform: rotate(4deg); }
.hero__marquee-item img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .hero-word, [data-hero-fade] { opacity: 1 !important; }
}

/* ================= ABOUT ================= */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-24);
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__media-badge {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  background: rgba(59, 42, 33, 0.72);
  color: var(--color-cream);
  padding: 0.9em 1.2em;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  backdrop-filter: blur(6px);
}

.about__title { font-size: var(--fs-2xl); margin-block: var(--sp-4) var(--sp-6); }

.about__quote {
  margin: 0 0 var(--sp-6);
  padding-left: var(--sp-6);
  border-left: 3px solid var(--color-terracotta);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--color-text);
}

.about__text { color: var(--color-text-muted); max-width: 62ch; }

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.about__value { display: flex; flex-direction: column; gap: var(--sp-2); }
.about__value-num { font-family: var(--font-heading); font-size: var(--fs-xl); color: var(--color-terracotta-dark); }
.about__value span:last-child { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ================= CATALOG PREVIEW ================= */
.catalog-preview__cta { display: flex; justify-content: center; margin-top: var(--sp-16); }

/* ================= LOOKBOOK PREVIEW ================= */
.lookbook-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: var(--sp-6);
}
.look-teaser {
  position: relative;
  grid-row: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.look-teaser--tall { grid-row: span 2; }
.lookbook-preview__grid .look-teaser:nth-child(2),
.lookbook-preview__grid .look-teaser:nth-child(3) { grid-row: span 1; align-self: start; margin-top: 15%; }

.look-teaser img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-soft);
}
.look-teaser:hover img { transform: scale(1.06); }

.look-teaser__label {
  position: absolute;
  left: var(--sp-4); bottom: var(--sp-4);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  z-index: 1;
}
.look-teaser::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.45), transparent 50%);
}

/* ================= TESTIMONIALS ================= */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* ================= LOCATION ================= */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: stretch;
}

.location__list { display: flex; flex-direction: column; gap: var(--sp-4); margin: var(--sp-6) 0; }
.location__list li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--color-text-muted); }
.location__list svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--color-terracotta); margin-top: 2px; }
.location__list a { color: var(--color-text); font-weight: 600; }

.location__hours { border-collapse: collapse; margin-bottom: var(--sp-8); width: 100%; max-width: 420px; }
.location__hours td { padding: 0.6em 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-sm); }
.location__hours td:first-child { color: var(--color-text-muted); }
.location__hours td:last-child { text-align: right; font-weight: 600; }

.location__map {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.location__map iframe { position: absolute; inset: 0; }

/* ================= CONTACT ================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.contact__form { width: 100%; }
.contact__note { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--sp-3); text-align: center; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .about__media { max-height: 420px; }
  .location__grid, .contact__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: 100svh; padding-top: 6.5rem; }
  .hero__bg {
    background-position: center, center, center;
    background-image:
      linear-gradient(180deg, rgba(59, 42, 33, 0.78) 0%, rgba(59, 42, 33, 0.4) 32%, rgba(59, 42, 33, 0.45) 60%, rgba(59, 42, 33, 0.82) 100%),
      radial-gradient(70% 45% at 50% 42%, rgba(59, 42, 33, 0.48), transparent 75%),
      url('../assets/img/hero-storefront.webp');
  }
  .hero__content { padding-block: var(--sp-8); }
  .hero__marquee { height: clamp(120px, 22vh, 200px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .about__values { grid-template-columns: 1fr 1fr; }
  .lookbook-preview__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .lookbook-preview__grid .look-teaser:first-child { grid-column: span 2; grid-row: span 2; }
  .lookbook-preview__grid .look-teaser:nth-child(2), .lookbook-preview__grid .look-teaser:nth-child(3) { margin-top: 0; grid-row: span 1; }
  .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about__values { grid-template-columns: 1fr; gap: var(--sp-4); }
  .location__map { min-height: 260px; aspect-ratio: 4/3; }
  .lookbook-preview__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .lookbook-preview__grid .look-teaser:first-child { grid-column: span 1; }
}
