/* ─────────────────────────────────────────
   LUSCOFUSCO — Estilos
   ───────────────────────────────────────── */

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

:root {
  --bg:     #090909;
  --fg:     #ede8df;
  --muted:  #857f78;   /* era #5a554f — mais legível no fundo escuro */
  --border: #1e1e1e;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}


/* ── Cursor ─────────────────────────────── */

#cur {
  position: fixed; width: 7px; height: 7px;
  background: var(--fg); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
#cur-ring {
  position: fixed; width: 30px; height: 30px;
  border: 1px solid rgba(237,232,223,.22); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
}


/* ── Navegação ───────────────────────────── */

nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
  mix-blend-mode: difference;
}
.logo {
  font-size: 13px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg); text-decoration: none;
}
.burger {
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 6px;
}
.burger span {
  display: block; width: 26px; height: 1px;
  background: var(--fg);
  transition: transform .45s cubic-bezier(.76,0,.24,1), opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Menu Overlay ────────────────────────── */

.overlay {
  position: fixed; inset: 0; background: var(--bg); z-index: 190;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s cubic-bezier(.76,0,.24,1);
}
.overlay.open { clip-path: inset(0 0 0% 0); }
.overlay ul { list-style: none; }
.overlay ul li { overflow: hidden; }
.overlay ul a {
  display: block;
  font-size: clamp(52px,9vw,104px); font-weight: 300;
  letter-spacing: -.03em; line-height: 1.1;
  color: var(--fg); text-decoration: none;
  transform: translateY(105%);
  transition: transform .65s cubic-bezier(.76,0,.24,1), color .3s;
}
.overlay.open ul a { transform: translateY(0); }
.overlay ul li:nth-child(1) a { transition-delay: .04s; }
.overlay ul li:nth-child(2) a { transition-delay: .09s; }
.overlay ul li:nth-child(3) a { transition-delay: .14s; }
.overlay ul li:nth-child(4) a { transition-delay: .19s; }
.overlay ul a:hover { color: var(--muted); }
.overlay-foot {
  position: absolute; bottom: 48px; left: 48px; right: 48px;
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}


/* ── Utilitários ─────────────────────────── */

/* Fonte itálica usada como ruptura expressiva */
.italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
}

/* Label de seção (ex: "— Coleção 01") */
.sec-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 9px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 80px;
}
.sec-label::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--muted);
}

/* Animação de entrada por scroll */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ── Hero ────────────────────────────────── */

#home {
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 64px;
  position: relative; overflow: hidden;
}
.hero-titles { line-height: .9; }
.hero-word {
  display: block; overflow: hidden;
  font-size: clamp(80px,13vw,200px);
  font-weight: 300; letter-spacing: -.045em;
}
.hero-word span {
  display: block;
  transform: translateY(110%);
  animation: up .9s cubic-bezier(.76,0,.24,1) forwards;

  /* gradiente dia → lusco-fusco → noite controlado pelo mouse */
  background: linear-gradient(
    90deg,
    #FCD0AA 0%,    /* dia  */
    #A07AC0 40%,   /* entre-lugar */
    #173E98 100%   /* noite */
  );
  background-size: 220% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-word:nth-child(2) span { animation-delay: .08s; }
@keyframes up { to { transform: translateY(0); } }

.hero-bottom {
  margin-top: 48px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.hero-tag {
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); line-height: 2; max-width: 320px;
}
.hero-caption {
  font-size: clamp(18px,2vw,26px);
  color: var(--muted); text-align: right; line-height: 1.5;
}
.hero-year {
  position: absolute; top: 110px; right: 48px;
  font-size: 10px; letter-spacing: .22em; color: var(--muted);
  writing-mode: vertical-rl;
  opacity: 0; animation: fin .8s 1s forwards;
}
.scroll-hint {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fin .8s 1.2s forwards;
}
.scroll-hint span {
  font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 44px; background: var(--muted);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scaleY(1); opacity:.6; }
  50%      { transform: scaleY(.4); opacity:.15; }
}
@keyframes fin { to { opacity: 1; } }


/* ── Vídeo ───────────────────────────────── */

#video {
  position: relative; width: 100%;
  height: 100vh; min-height: 500px;
  overflow: hidden; background: #050505;
}
#video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .72;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
}
.video-placeholder-line {
  width: 1px; height: 60px; background: var(--border);
}
.video-placeholder-label {
  font-size: 9px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted);
}
/* Some o placeholder quando o vídeo tiver src */
#videoEl[src] ~ .video-placeholder,
#videoEl:not([src=""]) ~ .video-placeholder { display: none; }


/* ── Gradiente Fullscreen ────────────────── */

/*
  Seção fullscreen com o gradiente dia↔noite controlado pelo mouse.
  O script.js atualiza o background-position em tempo real.

  Uso no index.html:

  <section class="fullgrad">
    <div class="fullgrad-caption">
      <span class="fullgrad-caption-label">— label opcional</span>
      <p class="fullgrad-caption-text italic">Legenda aqui.</p>
    </div>
  </section>

  A .fullgrad-caption inteira é opcional.
*/

.fullgrad {
  position: relative; width: 100%;
  height: 20vh; min-height: 50px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #262630 0%,
    #C89079 25%,
    #B296E0 60%,
    #332f49 100%
  );
  background-size: 220% 100%;
  background-position: 0% 0;
}

.fullgrad-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 48px;
}

.fullgrad-caption-label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: #fff;
  opacity: 80%;
  mix-blend-mode: normal;
}

.fullgrad-caption-text {
  font-size: clamp(16px,2vw,24px);
  color: #fff; line-height: 1.65; opacity: 80%;
  max-width: 560px; font-weight: 300;
  mix-blend-mode: normal;
}

.fullgrad-caption-text.italic {
  font-size: clamp(22px,2.8vw,36px);
}


/* ── Imagem Fullscreen ───────────────────── */

/*
  Seção com imagem de fundo fullscreen e legenda opcional.

  Uso no index.html:

  <section class="fullimg">
    <img src="assets/nome.jpg" alt="descrição">
    <div class="fullimg-caption">
      <span class="fullimg-caption-label">— label opcional</span>
      <p class="fullimg-caption-text">Legenda aqui.</p>
    </div>
  </section>
*/

.fullimg {
  position: relative; width: 100%;
  height: 100vh; min-height: 500px;
  overflow: hidden; background: #050505;
}
.fullimg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .85;
}
.fullimg-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 48px;
  background: linear-gradient(to bottom,
    rgba(9,9,9,.15) 0%,
    rgba(9,9,9,.45) 100%);
}
.fullimg-caption-label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--muted);
}
.fullimg-caption-text {
  font-size: clamp(16px,2vw,24px);
  color: var(--fg); line-height: 1.65;
  max-width: 560px; font-weight: 300;
}
.fullimg-caption-text.italic {
  font-size: clamp(22px,2.8vw,36px);
}


/* ── A Marca ─────────────────────────────── */

#sobre {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}
.sobre-grid {
  display: grid; grid-template-columns: 180px 1fr; gap: 80px;
}
.sobre-side {
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); padding-top: 6px;
}
.sobre-main h2 {
  font-size: clamp(26px,3.5vw,48px); font-weight: 300;
  letter-spacing: -.02em; line-height: 1.25; margin-bottom: 40px;
}
.sobre-main p {
  font-size: 16px; line-height: 1.85; color: var(--muted);
  max-width: 520px; margin-bottom: 20px;
}
.manifesto {
  margin-top: 48px; padding-top: 48px;
  border-top: 1px solid var(--border);
  font-size: clamp(22px,2.5vw,32px);
  color: var(--fg); line-height: 1.55;
}


/* ── Coleção ─────────────────────────────── */

#colecao {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}
.col-grid {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 75vh;
}
.col-left {
  display: flex; flex-direction: column; justify-content: space-between;
  padding-right: 80px; padding-bottom: 4px;
}
.col-title {
  font-size: clamp(56px,7.5vw,128px);
  font-weight: 300; letter-spacing: -.03em; line-height: .95;
}
.col-title-caption {
  display: block;
  font-size: clamp(28px,3.5vw,52px);
  color: var(--muted); margin-top: 12px;
}
.col-desc {
  font-size: 16px; line-height: 1.85; color: var(--muted);
  max-width: 400px; margin-bottom: 36px;
}
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg); text-decoration: none;
  border-bottom: 1px solid var(--fg); padding-bottom: 3px;
  transition: gap .35s ease, opacity .3s;
}
.cta:hover { gap: 18px; opacity: .55; }

.col-right {
  background: #0d0d0d;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.panoptico-wrap { text-align: center; }
.panoptico-label {
  display: block; font-size: 9px; letter-spacing: .45em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 32px;
}
.eye {
  width: 110px; height: 110px; position: relative; margin: 0 auto 32px;
}
.eye-ring {
  position: absolute; inset: 0; border: 1px solid var(--border);
  border-radius: 50%; animation: spin 22s linear infinite;
}
.eye-ring::before {
  content: ''; position: absolute;
  top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--muted); background: var(--bg);
}
.eye-dot {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
}
.eye-dot::after {
  content: ''; width: 5px; height: 5px;
  background: var(--fg); border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }
.panoptico-sub {
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.col-badge {
  position: absolute; bottom: 24px; right: 24px;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}


/* ── Contato ─────────────────────────────── */

#contato {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}
.contato-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.contato-title {
  font-size: clamp(56px,9vw,136px); font-weight: 300;
  letter-spacing: -.045em; line-height: .9;
  margin-bottom: 20px;
}
.contato-sub {
  font-size: clamp(22px,2.5vw,34px);
  color: var(--muted); margin-bottom: 64px;
}
.email-form {
  display: flex; border-bottom: 1px solid var(--border);
  width: 100%; max-width: 520px; margin-bottom: 80px;
}
.email-form input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--fg); font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; letter-spacing: .04em; padding: 16px 0;
  text-align: center;
}
.email-form input::placeholder { color: var(--muted); }
.email-form button {
  background: none; border: none; color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer; padding: 16px 0 16px 16px;
  transition: opacity .3s; white-space: nowrap;
}
.email-form button:hover { opacity: .45; }
.contato-divider {
  width: 1px; height: 48px; background: var(--border); margin-bottom: 40px;
}
.contato-links {
  display: flex; gap: 48px;
}
.contato-link {
  font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s, color .3s;
}
.contato-link:hover { border-color: var(--muted); color: var(--fg); }


/* ── Footer ──────────────────────────────── */

footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
footer span {
  font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}
.footer-link {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s, color .3s;
}
.footer-link:hover { color: var(--fg); border-color: var(--muted); }


/* ── Responsivo (mobile) ─────────────────── */

@media (max-width: 768px) {
  nav { padding: 22px 24px; }
  .overlay { padding: 24px; }
  .overlay-foot { left: 24px; right: 24px; bottom: 24px; }

  #home { padding: 0 24px 52px; }
  .hero-year { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  #sobre, #colecao, #contato { padding: 80px 24px; }
  .sec-label { margin-bottom: 48px; }

  .sobre-grid { grid-template-columns: 1fr; gap: 20px; }
  .sobre-side { display: none; }

  .col-grid { grid-template-columns: 1fr; }
  .col-left { padding-right: 0; gap: 40px; }
  .col-right { min-height: 380px; }

  .contato-links { flex-direction: column; align-items: center; gap: 20px; }

  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px; }
}
