﻿:root {
  --black: #121216;
  --off: #f6f2ea;
  --gold: #c9a84c;
  --wine: #5b1f31;
  --text-dark: #1e1a15;
  --text-light: #efebe2;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text-light);
  cursor: none;
  scroll-behavior: smooth;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

p { line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, #16161b 72%, transparent);
}
.topbar a { position: relative; }
.topbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .4s var(--ease);
}
.topbar a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font: 600 1.6rem 'Cormorant Garamond', serif;
  color: var(--gold);
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  padding: 5px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff;
}
.desktop-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-btn {
  display: none;
  border: 1px solid #ffffff36;
  background: transparent;
  color: #fff;
  padding: 0.5rem 1rem;
}
.mobile-menu {
  position: fixed;
  inset: 0 0 auto 0;
  top: 4.6rem;
  z-index: 65;
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  background: #09090be6;
  backdrop-filter: blur(10px);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
}

.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, #d4b7771f 0%, transparent 44%),
    linear-gradient(145deg, #050506, #130f12);
  animation: introOut 1.3s var(--ease) 1.1s forwards;
}
.intro-curtain p {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: clamp(2.7rem, 11vw, 7rem);
  letter-spacing: 0.05em;
  animation: brandPulse 1.2s var(--ease) forwards;
}
@keyframes introOut {
  to { opacity: 0; visibility: hidden; }
}
@keyframes brandPulse {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

section {
  position: relative;
  overflow: clip;
  padding: 8rem 1.2rem;
}

.section-dark {
  background:
    radial-gradient(circle at 80% -10%, #c9a84c1f 0%, transparent 36%),
    linear-gradient(165deg, #17171d 0%, #121216 55%, #18141b 100%);
  color: var(--text-light);
}
.section-light { background: var(--off); color: var(--text-dark); }

.section-head {
  max-width: var(--max);
  margin: 0 auto 3rem;
}
.section-head h2 { font-size: clamp(2.2rem, 7vw, 5rem); max-width: 9ch; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 4rem;
}

#heroParticles,
.hero-overlay,
.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    radial-gradient(circle at 20% 30%, #8d6c31 0%, #1a1510 36%, transparent 70%),
    radial-gradient(circle at 70% 60%, #7f2945 0%, transparent 40%),
    linear-gradient(140deg, #050506 10%, #191314 45%, #0a0a0a 90%);
  transform: scale(1.08);
}

.hero-overlay {
  background: linear-gradient(180deg, #00000024 0%, #00000078 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.8rem, 9vw, 7rem);
  max-width: 11ch;
  margin-bottom: 1rem;
}

.sub { font-size: clamp(1rem, 2.2vw, 1.3rem); max-width: 34ch; }

.btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
}

.btn-gold { background: var(--gold); color: #111; }
.btn-wine { background: var(--wine); color: #fefefe; }
.btn:hover { transform: translateY(-3px) scale(1.02); }

.featured-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.featured-card, .product-card, .editorial-media, .look, .category-card {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  transform-style: preserve-3d;
}

.featured-card { min-height: 68vh; }
.featured-card .fabric { position: absolute; inset: 0; transition: transform .9s var(--ease); }
.featured-card:hover .fabric { transform: scale(1.08); }
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, #000000cc 100%);
}
.card-meta {
  position: absolute;
  left: 1.1rem;
  bottom: 1.2rem;
  z-index: 2;
}
.card-meta h3 { font-size: 2.1rem; margin-bottom: 0.3rem; }
.text-link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.fabric {
  background-size: 140% 140%;
  filter: contrast(1.08) saturate(1.18);
}
.fabric::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, #ffffff0f 0 2px, transparent 2px 9px);
  mix-blend-mode: soft-light;
}
.fabric-one { background-image: radial-gradient(circle at 10% 10%, #cdb17c 0, #5b2434 35%, #121015 80%); }
.fabric-two { background-image: radial-gradient(circle at 75% 20%, #7a4f25 0, #2f1d29 40%, #09080a 85%); }
.fabric-three { background-image: radial-gradient(circle at 25% 65%, #d8bf8f 0, #59212f 32%, #121013 78%); }
.fabric-four { background-image: radial-gradient(circle at 65% 35%, #b78e47 0, #5c2135 38%, #0e0d11 90%); }
.fabric-five { background-image: radial-gradient(circle at 40% 40%, #d8c089 0, #3e1420 38%, #0d0c0e 92%); }
.fabric-six { background-image: radial-gradient(circle at 20% 70%, #bc9e64 0, #4b1628 40%, #09090a 90%); }
.fabric-seven { background-image: radial-gradient(circle at 65% 60%, #b7904f 0, #4e1f2f 42%, #0a090b 89%); }
.fabric-eight { background-image: radial-gradient(circle at 45% 20%, #d1b071 0, #5a1d2d 43%, #0d0c10 92%); }

/* Placeholders fotográficos premium para prévia visual */
.fabric-one { background-image: linear-gradient(180deg, #00000033, #00000085), url('https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-two { background-image: linear-gradient(180deg, #00000022, #00000090), url('https://images.unsplash.com/photo-1464863979621-258859e62245?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-three { background-image: linear-gradient(180deg, #00000033, #00000095), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-four { background-image: linear-gradient(180deg, #0000002e, #00000090), url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-five { background-image: linear-gradient(180deg, #0000002a, #0000008f), url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-six { background-image: linear-gradient(180deg, #0000002a, #00000090), url('https://images.unsplash.com/photo-1551232864-3f0890e580d9?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-seven { background-image: linear-gradient(180deg, #0000002e, #00000091), url('https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?auto=format&fit=crop&w=1200&q=80'); background-position: center; }
.fabric-eight { background-image: linear-gradient(180deg, #0000002a, #00000092), url('https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=1200&q=80'); background-position: center; }

.products .carousel-track {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem;
}

.carousel-track::-webkit-scrollbar { display: none; }
.product-card {
  min-height: 440px;
  padding: 1rem;
  background: #101012;
  scroll-snap-align: start;
}
.product-card .fabric { height: 78%; border-radius: 0.6rem; }
.product-card h3 { font-size: 1.7rem; margin: 0.7rem 0 0.2rem; }
.product-card p { margin: 0; color: var(--gold); }

.carousel-wrap { position: relative; }
.carousel-btn {
  position: absolute;
  top: 45%;
  z-index: 10;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid #ffffff3d;
  background: #00000066;
  color: #fff;
  backdrop-filter: blur(6px);
}
.prev { left: 0.2rem; }
.next { right: 0.2rem; }

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: var(--max);
  margin: auto;
}
.editorial-media {
  min-height: 72vh;
  background:
   linear-gradient(180deg, #00000024, #00000088),
   url('https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
}
.editorial-copy { display: grid; align-content: center; }
.editorial-copy h2 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem; }

.category-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}
.category-card {
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #fdf7ea;
  background-size: cover;
  background-position: center;
  background-image:
    linear-gradient(180deg, #0000001a 15%, #0000009a 100%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #ccb47d 0%, #5a202e 35%, #0e0d10 85%);
  transition: transform .7s var(--ease), filter .8s var(--ease);
}
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  filter: brightness(1.15) contrast(1.05);
}
.category-card:nth-child(1) { background-image: linear-gradient(180deg, #0000001a 15%, #0000009a 100%), url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1200&q=80'); }
.category-card:nth-child(2) { background-image: linear-gradient(180deg, #0000001a 15%, #0000009a 100%), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=80'); }
.category-card:nth-child(3) { background-image: linear-gradient(180deg, #0000001a 15%, #0000009a 100%), url('https://images.unsplash.com/photo-1541099649105-f69ad21f3246?auto=format&fit=crop&w=1200&q=80'); }
.category-card:nth-child(4) { background-image: linear-gradient(180deg, #0000001a 15%, #0000009a 100%), url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1200&q=80'); }
.category-card:nth-child(5) { background-image: linear-gradient(180deg, #0000001a 15%, #0000009a 100%), url('https://images.unsplash.com/photo-1591348278863-a8fb3887e2aa?auto=format&fit=crop&w=1200&q=80'); }

.before-after .section-head h2 { max-width: 14ch; }
.compare-wrap {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.look {
  min-height: 420px;
  display: grid;
  place-items: end start;
  padding: 1.1rem;
  color: #fff;
}
.look-before { background: linear-gradient(130deg, #3f3530, #8d7e67); }
.look-after {
  background: linear-gradient(180deg, #00000020, #00000078), url('https://images.unsplash.com/photo-1485230895905-ec40ba36b9bc?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}
.look-before {
  background: linear-gradient(180deg, #00000035, #00000066), url('https://images.unsplash.com/photo-1485968579580-b6d095142e6e?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}
.look span {
  backdrop-filter: blur(4px);
  border: 1px solid #ffffff50;
  padding: 0.3rem 0.7rem;
}

.testimonials-track {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34vw);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem;
}
.testimonial-card {
  background: #111014;
  padding: 1.2rem;
  border: 1px solid #ffffff1f;
  border-radius: 0.7rem;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  background: linear-gradient(130deg, #9e8454, #4d1f2c);
}
.stars { color: var(--gold); letter-spacing: 0.1em; }

.newsletter-box {
  max-width: 760px;
  margin: auto;
  text-align: center;
  padding: 2rem;
  border: 1px solid #2f2413;
  background: linear-gradient(160deg, #f8f3e9, #efe4d0);
}
.newsletter-box h2 {
  font-size: clamp(1.7rem, 4.8vw, 3.6rem);
  margin-bottom: 1rem;
}
form {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
input {
  width: min(400px, 90vw);
  padding: 0.9rem 1rem;
  border: 1px solid #b49e74;
  background: #f8f4ec;
}

.final-cta {
  text-align: center;
  min-height: 56vh;
  display: grid;
  place-items: center;
}
.final-cta h2 {
  font-size: clamp(2.2rem, 8vw, 6rem);
  margin-bottom: 1rem;
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 3rem 1.2rem;
}
.footer h3 { font-size: 2rem; }
.footer h4 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.footer a { display: block; margin: 0.25rem 0; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 120;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid #c9a84c99;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease);
}

body.cursor-hover .cursor-ring {
  width: 54px;
  height: 54px;
  border-color: #c9a84ce3;
}

.reveal-depth {
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
  filter: blur(4px);
}

.reveal-depth[data-anim='left'] { transform: translate3d(-70px, 18px, -100px) rotateY(-8deg); }
.reveal-depth[data-anim='right'] { transform: translate3d(70px, 16px, -120px) rotateY(8deg); }
.reveal-depth[data-anim='up'] { transform: translate3d(0, 80px, -120px) rotateX(10deg); }
.reveal-depth[data-anim='scale'] { transform: scale(0.82) translateZ(-120px); }
.reveal-depth[data-anim='hero'] { transform: translate3d(0, 80px, -200px) scale(0.94); }
.reveal-depth[data-anim='product'] { transform: translate3d(0, 45px, -140px) rotateX(9deg); }

.reveal-depth.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
  filter: blur(0);
}

.split-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(34deg);
  transform-origin: 50% 100%;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}

.split-words.words-live .word {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-block; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { min-height: 52vh; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-media { min-height: 48vh; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-wrap { grid-template-columns: 1fr; }
  .footer { grid-template-columns: repeat(2, 1fr); }
  .carousel-btn { display: none; }
}

@media (max-width: 640px) {
  section { padding: 6.5rem 1rem; }
  .footer { grid-template-columns: 1fr; }
  .topbar { padding: 0.9rem 1rem; }
  html, body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
