/* ============================================================
   IMPERIUM PARFUM — Landing Page
   ============================================================ */

:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --black-card: #121212;
  --gold: #d4af37;
  --gold-light: #f3d98b;
  --gold-dark: #9c7a22;
  --white: #f7f5f0;
  --grey: #a9a49a;

  --gold-gradient: linear-gradient(135deg, #b8860b 0%, #f3d98b 25%, #d4af37 50%, #f7e7a1 75%, #9c7a22 100%);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-width: 1160px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 220px;
  margin: 32px auto 0;
  color: var(--gold);
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.divider span:last-child {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.divider i {
  font-style: normal;
  font-size: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold-gradient);
  background-size: 200% 200%;
  color: #0a0a0a;
  box-shadow: 0 8px 30px -8px rgba(212, 175, 55, 0.6);
}

.btn--gold:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow: 0 14px 36px -10px rgba(212, 175, 55, 0.8);
}

.btn--outline {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--gold-light);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.btn--block {
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: border-color var(--transition);
}

/* backdrop-filter lives on a pseudo-element (not on .header itself) so that
   .header never becomes the containing block for its fixed-position
   descendants (the mobile nav overlay relies on being fixed to the viewport) */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--transition);
}

.header.is-scrolled {
  border-bottom-color: rgba(212, 175, 55, 0.3);
}

.header.is-scrolled::before {
  background: rgba(0, 0, 0, 0.85);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__brand {
  display: flex;
  align-items: center;
}

.header__logo {
  height: 52px;
  width: auto;
  border-radius: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--gold-light);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold-light);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    var(--black);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  opacity: 0.5;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero__ornament {
  position: absolute;
  top: 18%;
  color: rgba(212, 175, 55, 0.25);
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.hero__ornament--left { left: 8%; }
.hero__ornament--right { right: 8%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(320px, 62vw);
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 40px rgba(212, 175, 55, 0.25));
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--white);
  max-width: 640px;
  margin-bottom: 32px;
  font-weight: 600;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.05);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollCue 1.8s ease infinite;
}

@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section {
  padding: 120px 0;
  position: relative;
}

.about {
  text-align: center;
  background: var(--black-soft);
}

.about__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  max-width: 760px;
  margin: 0 auto;
  color: var(--grey);
}

/* ---------- Mission ---------- */
.mission {
  background: var(--black);
}

.mission__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.mission__text {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 560px;
}

.mission__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame__crown {
  font-size: 4.5rem;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.5));
  z-index: 2;
}

.frame__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.frame__ring::before,
.frame__ring::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  top: -3px;
  left: calc(50% - 3px);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
}

.frame__ring--2 {
  inset: 30px;
  border-color: rgba(212, 175, 55, 0.2);
  animation-duration: 34s;
  animation-direction: reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Offer / Diferencial ---------- */
.offer {
  background: var(--black-soft);
  text-align: center;
}

.offer .section-title {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.offer__cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.offer-card {
  position: relative;
  background: linear-gradient(180deg, var(--black-card), #0c0c0c);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 10px;
  padding: 40px 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.offer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px -20px rgba(212, 175, 55, 0.35);
}

.offer-card--highlight {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), var(--black-card));
}

.offer-card__tag {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--gold-gradient);
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
}

.offer-card__icon {
  color: var(--gold);
  margin-bottom: 22px;
}

.offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.offer-card p {
  color: var(--grey);
  font-size: 0.95rem;
}

.offer-card strong {
  color: var(--gold-light);
}

/* ============================================================
   SURVEY
   ============================================================ */
.survey {
  background: var(--black);
}

.survey::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--gold-dark));
}

.survey__inner {
  text-align: center;
}

.survey__lead {
  color: var(--grey);
  max-width: 540px;
  margin: 0 auto 48px;
  font-size: 1rem;
}

.survey-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  background: var(--black-card);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group select {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input[type="text"]::placeholder {
  color: #6b6b6b;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%23d4af37' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: #0a0a0a;
  color: var(--white);
}

.choice-row {
  display: flex;
  gap: 24px;
}

.choice-row--wrap {
  flex-wrap: wrap;
  gap: 12px 24px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--grey);
  cursor: pointer;
}

.choice input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.survey-success {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--black-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 56px 40px;
}

.survey-success__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0a0a0a;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.survey-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.survey-success p {
  color: var(--grey);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: var(--black-soft);
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.footer__brand span {
  color: var(--white);
  font-weight: 500;
}

.footer__copy {
  font-size: 0.78rem;
  color: #6b6b6b;
  letter-spacing: 0.03em;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 90;
  box-shadow: 0 10px 30px -8px rgba(212, 175, 55, 0.6);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .mission__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission__text {
    margin: 0 auto;
  }

  .offer__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  section {
    padding: 88px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .survey-form {
    padding: 30px 22px;
  }

  .choice-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .header__logo {
    height: 42px;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .badge {
    font-size: 0.65rem;
    padding: 7px 14px;
  }
}
