/* 
  Estilo Cinematográfico e Nostálgico 
*/

:root {
  /* Paleta Escura e Profunda */
  --color-charcoal: #0F0D0D;
  --color-aged-brown: #1F1814;
  --color-deep-wine: #3A1C1D;
  --color-matte-gold: #B69B69;
  --color-light-parchment: #E6DCD1;
  --color-text-muted: #8E8377;

  /* Tipografia Clássica e Editorial */
  --font-serif-heading: 'Cormorant Garamond', serif;
  --font-serif-body: 'Lora', serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* Para não esconder conteúdo atrás do header */
}

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

body {
  background-color: var(--color-charcoal);
  color: var(--color-light-parchment);
  font-family: var(--font-serif-body);
  line-height: 1.8;
  overflow-x: hidden;
  background-image: radial-gradient(circle at center, rgba(31, 24, 20, 0.4) 0%, rgba(15, 13, 13, 1) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-matte-gold);
  text-decoration: none;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

h1,
h2,
h3 {
  font-family: var(--font-serif-heading);
  font-weight: 300;
  letter-spacing: 1px;
}

/* Base Scene Layout (Slow Rhythm) */
.scene {
  position: relative;
  width: 100%;
  padding: 8vh 5vw;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.scene.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Hero Section ---------------- */
.hero {
  height: 100vh;
  padding: 0;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6) contrast(1.1) grayscale(0.2);
  z-index: -1;
  transition: transform 10s ease-out;
}

.hero.is-visible .hero-bg {
  transform: scale(1.03);
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  background: radial-gradient(circle, rgba(15, 13, 13, 0.7) 0%, rgba(15, 13, 13, 0) 70%);
  padding: 40px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5vh 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(15, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(182, 155, 105, 0.1);
  transition: all 0.3s ease;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3vw;
}

.main-nav a {
  color: var(--color-light-parchment);
  font-family: var(--font-serif-heading);
  font-size: 1.4rem;
  letter-spacing: 1px;
  position: relative;
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-matte-gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-matte-gold);
  opacity: 1;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-logo {
  max-width: 165px;
  mix-blend-mode: screen;
  opacity: 0.85;
  filter: drop-shadow(0 0 15px rgba(182, 155, 105, 0.2));
  transition: all 0.5s ease;
}

.logo-link:hover .header-logo {
  opacity: 1;
  filter: drop-shadow(0 0 25px rgba(182, 155, 105, 0.5));
  transform: scale(1.05);
}

.headline {
  font-size: clamp(3rem, 6vw, 6rem);
  font-style: italic;
  color: var(--color-light-parchment);
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--color-matte-gold);
  letter-spacing: 2px;
  margin-bottom: 50px;
}

.cta-link {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(182, 155, 105, 0.3);
  padding-bottom: 5px;
}

.cta-link:hover {
  color: var(--color-matte-gold);
  border-bottom-color: var(--color-matte-gold);
  text-shadow: 0 0 10px rgba(182, 155, 105, 0.2);
}

/* ---------------- Manifesto Section ---------------- */
.manifesto {
  min-height: 60vh;
}

.manifesto-text {
  max-width: 800px;
  text-align: left;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ---------------- Featured Pieces ---------------- */
.featured-pieces {
  flex-direction: column;
  gap: 8vh;
  padding: 8vh 5vw;
}

.piece {
  display: flex;
  align-items: center;
  gap: 4vw;
  width: 100%;
}

.piece-right {
  flex-direction: row-reverse;
}

.piece-image {
  flex: 1;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.piece-image img {
  width: 100%;
  display: block;
  transition: transform 2s ease;
  filter: brightness(0.85);
}

.piece:hover .piece-image img {
  transform: scale(1.05);
  filter: brightness(1);
}

.piece-info {
  flex: 1;
  max-width: 400px;
}

.piece-info h2 {
  font-size: 2.5rem;
  color: var(--color-light-parchment);
  margin-bottom: 10px;
}

.piece-info .origin {
  display: block;
  font-size: 0.9rem;
  color: var(--color-matte-gold);
  margin-bottom: 20px;
  font-style: italic;
}

.piece-info p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  text-align: left;
}

/* ---------------- Exploration ---------------- */
.exploration {
  flex-direction: column;
  background-color: var(--color-aged-brown);
  border-top: 1px solid rgba(182, 155, 105, 0.1);
  border-bottom: 1px solid rgba(182, 155, 105, 0.1);
  min-height: 50vh;
}

.section-title {
  font-size: 2rem;
  color: var(--color-matte-gold);
  margin-bottom: 3rem;
  text-align: center;
}

.emotional-nav {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.emotional-nav li a {
  font-family: var(--font-serif-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-text-muted);
  position: relative;
}

.emotional-nav li a::before {
  content: '✦';
  position: absolute;
  left: -30px;
  opacity: 0;
  color: var(--color-deep-wine);
  transition: opacity 0.5s, color 0.5s;
}

.emotional-nav li a:hover {
  color: var(--color-light-parchment);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.emotional-nav li a:hover::before {
  opacity: 1;
  color: var(--color-matte-gold);
}

/* ---------------- Brand History ---------------- */
.brand-history {
  flex-direction: row;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.atelier-image {
  flex: 1;
  height: 80vh;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: filter 2s ease;
}

.brand-history:hover .atelier-image {
  filter: brightness(0.8);
}

.history-content {
  flex: 1;
  padding: 10vw;
  background: var(--color-charcoal);
  z-index: 1;
}

.history-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.history-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: left;
}

/* ---------------- Piece Focus ---------------- */
.piece-focus {
  flex-direction: column;
  padding: 15vh 5vw;
}

.focus-parallax {
  width: 100%;
  max-width: 1200px;
  height: 60vh;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
  margin-bottom: 3rem;
}

.focus-img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  transform: translateY(-10%);
  transition: transform 0.1s linear;
  filter: brightness(0.7);
}

.piece-focus:hover .focus-img {
  filter: brightness(0.9);
}

.focus-story {
  max-width: 700px;
  text-align: center;
}

.focus-story h2 {
  font-size: 3.5rem;
  color: var(--color-light-parchment);
  margin-bottom: 0.5rem;
}

.focus-story .origin {
  display: block;
  font-size: 1rem;
  color: var(--color-matte-gold);
  margin-bottom: 1.5rem;
  font-style: italic;
  letter-spacing: 2px;
}

.focus-story p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: justify;
}

/* ---------------- Footer ---------------- */
.site-footer {
  flex-direction: column;
  background-color: #080707;
  border-top: 1px solid rgba(182, 155, 105, 0.1);
  padding: 10vh 5vw 5vh 5vw;
  min-height: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 800px;
}

.footer-logo {
  max-width: 180px;
  mix-blend-mode: screen;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(182, 155, 105, 0.1));
  transition: opacity 0.5s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.contact-info p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info .appointment-only {
  color: var(--color-matte-gold);
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-light-parchment);
  font-family: var(--font-serif-heading);
  font-size: 1.4rem;
  letter-spacing: 1px;
  position: relative;
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--color-matte-gold);
  opacity: 1;
  text-shadow: 0 0 10px rgba(182, 155, 105, 0.3);
}

.separator {
  color: var(--color-matte-gold);
  opacity: 0.5;
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(182, 155, 105, 0.05);
  width: 100%;
}

.footer-bottom p {
  color: rgba(142, 131, 119, 0.5);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    padding: 2vh 5vw;
    gap: 1.5rem;
  }

  .main-nav ul {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .headline {
    font-size: 3rem;
  }

  .scene {
    padding: 6vh 5vw;
  }

  .featured-pieces {
    padding: 6vh 5vw;
    gap: 6vh;
  }

  .piece {
    flex-direction: column;
    text-align: center;
  }

  .piece-right {
    flex-direction: column;
  }

  .piece-image {
    max-width: 100%;
  }

  .brand-history {
    flex-direction: column;
  }

  .atelier-image {
    width: 100%;
    height: 40vh;
  }

  .history-content {
    padding: 10vw 5vw;
    text-align: center;
  }

  .history-content h2 {
    font-size: 2.2rem;
  }

  .focus-story h2 {
    font-size: 2.5rem;
  }

  .focus-parallax {
    height: 40vh;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header-logo {
    max-width: 120px;
  }

  .headline {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .emotional-nav li a {
    font-size: 1.5rem;
  }

  .footer-logo {
    max-width: 130px;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .social-link {
    font-size: 1.2rem;
  }

  .separator {
    display: none;
  }

  .contact-info p {
    font-size: 0.95rem;
  }

  .contact-info .appointment-only {
    font-size: 1.1rem;
  }
}