:root {
  --bg: #05060b;
  --text: #f3efe6;
  --muted: #9a98a3;
  --gold: #e8b866;
  --gold-2: #f6d9a0;
  --blue: #7fa8ff;
  --line: rgba(243, 239, 230, 0.12);
  --display: "Bebas Neue", Impact, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: #fff; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); text-transform: none; letter-spacing: 0; }

/* ---------- Cena ---------- */
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(232, 184, 102, 0.08), transparent 65%);
  transition: opacity 0.4s;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 18px;
  justify-items: center;
  background: var(--bg);
  transition: opacity 1s var(--ease), visibility 1s;
}

.loader.done { opacity: 0; visibility: hidden; }

.loader__logo {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.4em;
  color: var(--gold-2);
}

.loader__bar {
  width: 160px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.loader__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  animation: load 1.4s var(--ease) forwards;
  transform-origin: left;
}

@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(16px, 5vw, 64px);
  transition: background 0.4s, padding 0.4s;
}

.nav.scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(5, 6, 11, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.25em;
}

.nav__logo span { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: 0.08em; }

.nav__links a { position: relative; opacity: 0.8; transition: opacity 0.3s; }
.nav__links a:hover { opacity: 1; }

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  padding: 10px 20px;
  border: 1px solid rgba(232, 184, 102, 0.5);
  border-radius: 100px;
  opacity: 1 !important;
  transition: background 0.3s, color 0.3s !important;
}

.nav__cta:hover { background: var(--gold); color: #111; }

.nav__menu { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 20px; position: relative; }
.nav__menu span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__menu span:first-child { top: 5px; }
.nav__menu span:last-child { top: 14px; }
.nav.open .nav__menu span:first-child { top: 9px; transform: rotate(45deg); }
.nav.open .nav__menu span:last-child { top: 9px; transform: rotate(-45deg); }

/* ---------- Layout ---------- */
main { position: relative; z-index: 2; }

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.container {
  width: 100%;
  padding: 0 clamp(16px, 7vw, 120px);
}

.container > * { max-width: 560px; }
.container--right { display: flex; flex-direction: column; align-items: flex-end; text-align: left; }
.container--right > * { width: 100%; max-width: 520px; }
.container--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.container--center > * { max-width: 900px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.title,
.hero__title,
.quote {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.title { font-size: clamp(52px, 7vw, 104px); margin-bottom: 40px; }

/* padding/margin extra para não cortar acentos (Ê, É) com line-height baixo */
.line { display: block; overflow: hidden; padding: 0.14em 0 0.04em; margin-top: -0.14em; }

.hero__title,
.quote,
.hero__text { text-shadow: 0 0 40px rgba(5, 6, 11, 0.85); }

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

/* ---------- Revelações ---------- */
.reveal {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.2s var(--ease);
}

.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.in .reveal { transform: none; }
.in .reveal-fade { opacity: 1; transform: none; }

.in .line:nth-child(2) .reveal { transition-delay: 0.1s; }
.in .line:nth-child(3) .reveal { transition-delay: 0.2s; }
.in .reveal-fade { transition-delay: 0.35s; }
.in .reveal-fade:nth-child(2) { transition-delay: 0.45s; }
.in .reveal-fade:nth-child(3) { transition-delay: 0.55s; }
.in .reveal-fade:nth-child(4) { transition-delay: 0.65s; }

/* ---------- Hero ---------- */
.container > .hero__content > .hero__title { max-width: none; }
.hero__content { max-width: 760px; }
.hero__title { font-size: clamp(76px, min(12vw, 17vh), 180px); margin-bottom: 28px; }
.hero__text, .hero__actions { max-width: 440px; }

.hero__title .line:first-child { display: flex; align-items: center; gap: 0.15em; }

.badge {
  position: relative;
  flex: none;
  width: 0.5em;
  height: 0.5em;
}

.badge svg {
  width: 100%;
  height: 100%;
  animation: spin 14s linear infinite;
}

.badge text {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  fill: var(--gold-2);
}

.badge__star {
  position: absolute;
  inset: 37%;
  width: 26%;
  height: 26%;
  color: var(--gold);
  filter: drop-shadow(0 0 10px var(--gold));
  animation: spin 14s linear infinite reverse;
}

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

.hero__text { font-size: clamp(16px, 1.4vw, 19px); color: #cfcbd6; max-width: 440px; margin-bottom: 40px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s;
}

.btn:hover { transform: translateY(-3px); }

.btn--gold { background: var(--gold); color: #141109; }
.btn--gold:hover { box-shadow: 0 10px 40px -10px var(--gold); }

.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--text); }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2s var(--ease) infinite;
  transform-origin: top;
}

@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Notas ---------- */
.notes { list-style: none; }

.note {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.note:last-child { border-bottom: 1px solid var(--line); }

.note__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); width: 28px; flex: none; }

.note h3 { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 0.04em; line-height: 1; margin-bottom: 8px; }

.note p { color: var(--muted); font-size: 15px; }

/* ---------- Coleção ---------- */
.products { display: grid; gap: 14px; }

.product {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease) !important;
}

.product:hover { border-color: rgba(232, 184, 102, 0.45); background: rgba(232, 184, 102, 0.05); transform: translateX(8px) !important; }

.product__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px var(--c); }

.product h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: 0.04em; line-height: 1; }

.product p { font-size: 13px; color: var(--muted); }

.product__price { font-size: 15px; font-weight: 600; color: var(--gold-2); white-space: nowrap; }

.product__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.product:hover .product__btn { background: var(--gold); color: #111; transform: rotate(-45deg); }

/* ---------- Manifesto ---------- */
.quote { font-size: clamp(48px, 8vw, 120px); margin-bottom: 70px; }

.stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 90px); flex-wrap: wrap; }

.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--gold-2); }

.stat span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contato ---------- */
.contato__text { color: #cfcbd6; font-size: 17px; margin-bottom: 30px; }

.form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
}

.form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 0 20px;
}

.form input::placeholder { color: var(--muted); }

.form__msg { margin-top: 16px; font-size: 14px; color: var(--gold); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px clamp(16px, 7vw, 120px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--gold); }

/* ---------- Toque árabe ---------- */
[lang="ar"] { font-family: "Aref Ruqaa", serif; font-weight: 400; letter-spacing: 0; text-transform: none; }

/* Treliça geométrica de estrelas de 8 pontas, sumindo nas bordas */
.pattern {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e8b866' stroke-width='1'%3E%3Crect x='26' y='26' width='28' height='28'/%3E%3Crect x='26' y='26' width='28' height='28' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 40H20M60 40H80M40 0V20M40 60V80'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000 85%);
  mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000 85%);
}

.loader__ar { font-size: 64px; color: var(--gold); line-height: 1; }

.nav__logo { display: flex; align-items: center; }
.nav__star { width: 20px; height: 20px; margin-right: 12px; color: var(--gold); animation: spin 20s linear infinite; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.eyebrow b { font-size: 20px; letter-spacing: 0; color: var(--gold-2); opacity: 0.85; }

/* Arco mourisco que emoldura o frasco */
.arch {
  position: absolute;
  top: 50%;
  left: 74%;
  height: min(78vh, 700px);
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}

.arch path { fill: none; stroke: var(--gold); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.arch__outer { opacity: 0.55; stroke-dasharray: 900; stroke-dashoffset: 900; }
.arch__inner { opacity: 0.22; stroke-dasharray: 900; stroke-dashoffset: 900; }
.arch__star { color: var(--gold); opacity: 0; }

.hero.in .arch__outer { stroke-dashoffset: 0; transition: stroke-dashoffset 3s var(--ease) 0.3s; }
.hero.in .arch__inner { stroke-dashoffset: 0; transition: stroke-dashoffset 3s var(--ease) 0.6s; }
.hero.in .arch__star { opacity: 1; transition: opacity 1s 2.4s; }

.hero__ar { display: block; font-size: clamp(30px, 3vw, 44px); color: var(--gold); margin-bottom: 4px; text-align: left; }

.product__star { width: 18px; height: 18px; color: var(--c); filter: drop-shadow(0 0 8px var(--c)); transition: transform 0.8s var(--ease); }
.product:hover .product__star { transform: rotate(135deg); }
.product h3 span { font-size: 20px; color: var(--gold); margin-inline-start: 8px; opacity: 0.85; }

.manifesto { overflow: hidden; }

.manifesto__ar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: clamp(180px, 34vw, 520px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 184, 102, 0.12);
  pointer-events: none;
  white-space: nowrap;
}

.footer__ar { font-size: 20px; color: var(--gold); }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .nav__menu { display: block; z-index: 2; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-family: var(--display);
    font-size: 40px;
    letter-spacing: 0.06em;
    background: rgba(5, 6, 11, 0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
  }

  .nav.open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__cta { font-family: var(--sans); font-size: 15px; }

  .container--right { align-items: flex-start; }
  .section { padding: 110px 0 90px; }

  .product { grid-template-columns: auto 1fr auto; padding: 18px; gap: 14px; }
  .product__btn { display: none; }
  .product h3 { font-size: 24px; }

  .form { flex-direction: column; border-radius: 22px; }
  .form input { padding: 14px 16px; }

  .cursor-glow { display: none; }
  .arch { left: 50%; top: 42%; height: 62vh; opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-fade { transform: none !important; opacity: 1 !important; transition: none !important; }
  .badge svg, .scroll-hint i { animation: none; }
}
