/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --cream: #f5f0e8;
  --gold: #c9a96e;
  --dark: #1a1a18;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Josefin Sans', sans-serif;
  background: var(--dark);
  overflow-x: hidden;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(0.4); opacity: 1; }
}
@keyframes sweep {
  from { transform: translateX(-101%); }
  to   { transform: translateX(101%); }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 0;
}

/* Multi-layer overlay: left darkness + bottom vignette + top shadow */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(18, 16, 12, 0.50) 0%,
      rgba(18, 16, 12, 0.32) 40%,
      rgba(18, 16, 12, 0.08) 68%,
      rgba(18, 16, 12, 0.01) 100%
    ),
    linear-gradient(to top,
      rgba(18, 16, 12, 0.40) 0%,
      rgba(18, 16, 12, 0.0) 28%
    ),
    linear-gradient(to bottom,
      rgba(18, 16, 12, 0.30) 0%,
      rgba(18, 16, 12, 0.0) 22%
    );
  z-index: 1;
}

/* Subtle grain texture */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ─── HEADER / LOGO ─── */
.hero__header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-top: 2.6rem;
  animation: fadeDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  color: var(--white);
}

.logo__img {
  width: clamp(260px, 42vw, 300px);
  height: auto;
  display: block;
  filter: invert(1) drop-shadow(0 2px 32px rgba(0,0,0,0.6));
}

.logo__main {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 32px rgba(0,0,0,0.6);
}

/* Thin gold rule between VILLAGE and ARTE DECOR */
.logo__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.7), transparent);
  margin: 0.35rem 0 0.3rem;
}

.logo__sub {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
  padding-right: 0.55em; /* compensate letter-spacing on last char */
}

/* ─── HERO CONTENT ─── */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 0 4rem 0 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 3px;
}

/* Eyebrow / date line */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: gold;
  animation: fadeIn 0.7s 0.35s ease both;
  margin-bottom: 5.5rem;
}

.hero__eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255, 191, 71));
  max-width: 40px;
}
.hero__eyebrow-line:last-child {
  background: linear-gradient(270deg, transparent, rgb(255, 194, 81));
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.06;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 0.2rem;
}

.hero__text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 460px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
  animation: fadeIn 0.8s 0.8s ease both;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.8rem 1.1rem;
  border-radius: 0.3rem;
}

.hero__text em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  color: rgba(255,255,255,0.95);
}

/* ─── CTA BUTTONS ─── */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.2rem;
  animation: fadeUp 0.7s 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.7rem;
  color: var(--white);
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 0.77rem;
  line-height: 1.2rem;
  text-align: center;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Sweep shimmer on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover::before {
  transform: translateX(0);
}
.btn--exp{
  background-color: rgb(0, 0, 0);
  border: 1px solid black;
  line-height: 1.5rem;
  text-align: center;
  
}
.btn--primary {
  background: #d35858;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--cream);
}
.btn--primary:hover {
  border-color: var(--gold);
  color: var(--white);
}

.btn--outline {
  background: rgb(0, 0, 0);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.85);
}

.btn--ghost {
  background: #000000;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.55rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  gap: 0.55rem;
  backdrop-filter: blur(4px);
  
  border-radius: 0.2rem;
}
.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(201, 169, 110, 0.6);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn--ghost:hover {
  color: rgba(255, 255, 255, 0.95);
}
.btn--ghost:hover::after {
  width: 100%;
}
.btn--ghost::before {
  display: none;
}

@media (min-width: 769px) {
  .btn--primary,
  .btn--outline,
  .btn--exp {
    width: 380px;
    min-height: 52px;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero__eyebrow {
    position: relative;
    left: -5rem;
    width: 100vw;
    justify-content: center;
    padding: 0 5rem;
  }
}

.hero__actions--secondary {
  margin-top: -0.2rem;
  gap: 1.2rem;
}

.btn svg {
  flex-shrink: 0;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.btn span {
  position: relative;
  z-index: 1;
}

/* ─── SCROLL INDICATOR ─── */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: fadeIn 1s 1.4s ease both;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  transform-origin: top;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── FOOTER / PARCEIROS ─── */
.footer {
  background: white;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  border-top: 1px solid rgba(201, 169, 110, 0.25);
}

.footer__label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  color: white;
  text-transform: uppercase;
}

.footer__logos {
  width: 100%;
}

.footer__logos img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.footer__logos img:hover {
  opacity: 1;
}

/* ─── COPYRIGHT ─── */
.copyright {
  background: var(--dark);
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero__content {
    padding: 0 2rem 4rem 2rem;
    max-width: 100%;
  }

  .hero__header {
    padding-top: 1.8rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
    max-width: 300px;
  }

  .btn--ghost {
    max-width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(201, 169, 110, 0.5);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-align: center;
    line-height: 1.4;
  }

  .btn--ghost::after {
    display: none;
  }

  .btn--ghost:hover {
    background: rgba(201, 169, 110, 0.2);
    border-color: rgba(201, 169, 110, 0.8);
    color: var(--white);
  }

  .hero__actions--secondary {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
  }

  .btn--ghost svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
  }

  .footer {
   
  }
}
