/* =====================================================================
   Vernissage & Emirates — base compartilhada
   ---------------------------------------------------------------------
   Aqui fica só o que é comum: reset, grade, botão, perguntas, rodapé,
   aviso de cookies. Cada página define o próprio "mundo" (cores, fonte
   de título e formato dos cantos) no seu estilo.css, pelas variáveis
   do bloco TEMA abaixo.
   ===================================================================== */

:root {
  /* Marca (usadas também pelos Regulamentos) */
  --ink: #14110F;
  --ivory: #F6F1E8;
  --ivory-2: #EAE3D5;
  --ivory-ink: #1C1A16;
  --ivory-muted: #5E574B;
  --text: #F6F1E8;
  --muted: rgba(246, 241, 232, .74);
  --faint: rgba(246, 241, 232, .52);
  --gold: #C6A15B;
  --gold-hi: #E9D3A1;
  --gold-lo: #8E6C33;
  --line: rgba(246, 241, 232, .12);
  --line-2: rgba(246, 241, 232, .2);
  --line-gold: rgba(198, 161, 91, .4);

  /* Fontes padrão (Kits, Obrigado, Privacidade e painel). Embaixadores e
     Revendedores trocam as duas no próprio estilo.css. */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand: var(--serif);

  /* TEMA: cada página sobrescreve */
  --bg: var(--ink);
  --fg: var(--text);
  --fg-2: var(--muted);
  --fg-3: var(--faint);
  --rule: var(--line);
  --accent: var(--gold);
  --display: var(--serif);
  --btn-bg: var(--gold);
  --btn-fg: #1A140A;
  --btn-bg-hover: var(--gold-hi);
  --btn-r: 999px;
  --foot-bg: #0C0A09;
  --foot-fg: rgba(246, 241, 232, .6);
  --foot-rule: rgba(246, 241, 232, .12);
  --sticky-bg: var(--bg);

  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 10vw, 136px);
  --gap: clamp(20px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --banner-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (min-width: 900px) { html { scroll-padding-top: 96px; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* As serifas de título têm um peso só: nunca deixar o navegador engrossar */
  font-synthesis-weight: none;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
b, strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* botão de pausar vídeo: mostra "pausar" enquanto toca e "tocar" quando parado */
[data-pausa]:not([data-tocando]) .ic-pausa, [data-pausa][data-tocando] .ic-play { display: none; }
video[data-video] { cursor: pointer; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Grade ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 860px; }
.section { position: relative; padding: var(--sec) 0; }

/* Duas colunas: título fixo à esquerda, conteúdo à direita */
.split { display: grid; gap: clamp(28px, 5vw, 48px); }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 96px); align-items: start; }
  .split__aside { position: sticky; top: 48px; }
}

/* ---------- Marca ---------- */
/* Os dois logos oficiais, lado a lado, separados por um fio. --logo-h é a altura do logo da Vernissage.
   Os dois são usados como máscara, por isso assumem a cor de cada página (currentColor).
   Vernissage: arquivo do site da loja (nome + "Luxury Parfumerie").
   Emirates: arquivo enviado pela marca (nome + "Luxury Private Fragrances"), recortado rente às letras.
   A altura dele (95%) deixa as maiúsculas dos dois nomes do mesmo tamanho. */
.wordmark {
  --logo-h: 27px;
  display: inline-flex; align-items: center; gap: calc(var(--logo-h) * .46);
  text-decoration: none; color: inherit;
}
.wordmark .logo {
  flex: none; height: var(--logo-h); aspect-ratio: 1000 / 192; background: currentColor;
  -webkit-mask: url(/compartilhado/logo-vernissage-completo.png) center / 100% 100% no-repeat;
  mask: url(/compartilhado/logo-vernissage-completo.png) center / 100% 100% no-repeat;
}
.wordmark i { flex: none; align-self: center; width: 1px; height: var(--logo-h); background: currentColor; opacity: .38; }
.wordmark .logo-e {
  flex: none; height: calc(var(--logo-h) * .95); aspect-ratio: 1057 / 200; background: currentColor;
  -webkit-mask: url(/compartilhado/logo-emirates.png) center / 100% 100% no-repeat;
  mask: url(/compartilhado/logo-emirates.png) center / 100% 100% no-repeat;
}
@media (min-width: 760px) { .wordmark { --logo-h: 38px; } }

.top { position: relative; z-index: 5; padding: clamp(18px, 3vw, 28px) 0; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top__note { font-size: 13.5px; color: var(--fg-2); white-space: nowrap; }
/* No celular o logo ocupa a linha: a nota do topo sai. */
@media (max-width: 560px) { .top .top__note { display: none; } }

/* Compatibilidade: marca antiga usada nos Regulamentos */
.brandmark { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brandmark__mono { font: 400 24px/1 var(--brand); letter-spacing: .04em; }
.brandmark__mono i { font-style: normal; color: var(--gold); padding: 0 2px; }
.brandmark__name { font: 600 11px/1.35 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }

/* ---------- Texto ---------- */
.small { font-size: 14px; line-height: 1.55; color: var(--fg-3); }
.small a { color: var(--fg-2); text-underline-offset: 3px; }
.disclaimer { display: block; max-width: 62ch; font-size: 13.5px; line-height: 1.55; color: var(--fg-3); }

/* ---------- Botão ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 30px;
  border: 0; border-radius: var(--btn-r); cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 16.5px/1.15 var(--sans); letter-spacing: .005em;
  text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .spinner + svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(28px, 4vw, 40px); }
.cta__note { font-size: 14px; color: var(--fg-3); }
@media (max-width: 640px) {
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
  .cta__note { text-align: center; }
}

/* ---------- Perguntas ---------- */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font: 600 18px/1.35 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; color: var(--accent); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: currentColor; transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 40px 26px 0; max-width: 64ch; color: var(--fg-2); }
.faq__a a { text-underline-offset: 3px; }
.faq details[open] .faq__a { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Rodapé ---------- */
.footer { padding: 56px 0 calc(116px + env(safe-area-inset-bottom)); background: var(--foot-bg); color: var(--foot-fg); font-size: 14px; }
@media (min-width: 900px) { .footer { padding-bottom: 56px; } }
.footer .wordmark, .footer .brandmark { color: #F6F1E8; }
@media (min-width: 760px) { .footer .wordmark { --logo-h: 46px; } }
@media (max-width: 350px) { .wordmark { --logo-h: 23.5px; } }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }

/* Redes: um grupo por marca, ícones redondos */
.footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer__social [data-rede-grupo] { display: inline-flex; align-items: center; gap: 8px; }
.footer__social [data-rede-grupo] > span { margin-right: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 241, 232, .72); }
.rede {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(246, 241, 232, .26); color: #F6F1E8;
  transition: background-color .2s, border-color .2s;
}
.rede::before {
  content: ''; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.rede:hover { background-color: rgba(246, 241, 232, .12); border-color: rgba(246, 241, 232, .6); }
.rede:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.rede--ig { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5.2'/%3E%3Ccircle cx='12' cy='12' r='4.1'/%3E%3Ccircle cx='17.4' cy='6.6' r='1.25' fill='%23000' stroke='none'/%3E%3C/svg%3E"); }
.rede--tt { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.53.02C13.84 0 15.14.01 16.44 0c.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E"); }

.footer__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--foot-rule); display: grid; gap: 8px; }
.footer__legal p { margin: 0; max-width: 76ch; }

/* Linha final: direitos à esquerda, assinatura de quem desenvolveu à direita */
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--foot-rule);
}
.footer__base .footer__copy { margin: 0; }
/* Assinatura da RS: "Desenvolvido por" + fio + monograma e nome da marca, nas cores dela.
   A fonte League Spartan é a do site da RS e vem só com as letras de "SOLUÇÕES digitais". */
.assinatura {
  --rs-laranja: #EA9B34;
  position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 6px 0;
  color: rgba(246, 241, 232, .62); text-decoration: none;
}
.assinatura__por { font-size: 10.5px; font-weight: 600; line-height: 1; letter-spacing: .2em; text-transform: uppercase; transition: color .35s; }
.assinatura__marca { position: relative; display: inline-flex; align-items: center; gap: 9px; padding-left: 17px; }
.assinatura__marca::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 30px; transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(246, 241, 232, .34), transparent);
}
.assinatura__rs { flex: none; display: block; width: 25px; height: 22px; }
.assinatura__r { fill: #F6F1E8; }
.assinatura__s { fill: var(--rs-laranja); transition: fill .35s; }
.assinatura__nome {
  display: grid; font: 700 18px/.78 'League Spartan', var(--sans); letter-spacing: -.01em; color: #F6F1E8;
  padding-top: 1px;
}
.assinatura__nome small { margin-bottom: 4px; font-size: 6.6px; font-weight: 500; line-height: 1; letter-spacing: .38em; text-transform: uppercase; color: rgba(246, 241, 232, .78); }
/* a seta fica fora do fluxo para a assinatura encostar na margem direita como o resto do rodapé */
.assinatura__seta { position: absolute; right: -17px; top: 8px; color: var(--rs-laranja); opacity: 0; transform: translate(-4px, 4px); transition: opacity .35s, transform .35s; }
/* fio laranja que acende embaixo ao passar o mouse */
.assinatura::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rs-laranja) 30%, var(--rs-laranja) 70%, transparent);
  transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); opacity: .8;
}
.footer .assinatura:hover { color: rgba(246, 241, 232, .9); }
.assinatura:hover .assinatura__s { fill: #F5B04F; }
.assinatura:hover .assinatura__seta { opacity: 1; transform: none; }
.assinatura:hover::after { transform: scaleX(1); }
.assinatura:focus-visible { outline: 2px solid var(--rs-laranja); outline-offset: 6px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .assinatura *, .assinatura::after { transition: none; } }

/* ---------- Barra fixa: botão embaixo no celular, cabeçalho no computador ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: var(--banner-h); z-index: 60;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: var(--sticky-bg); color: var(--fg);
  box-shadow: 0 -1px 0 var(--rule), 0 -18px 36px -18px rgba(0, 0, 0, .35);
  transform: translateY(120%); transition: transform .45s var(--ease), bottom .3s var(--ease);
  pointer-events: none;
}
.sticky-cta.is-on { transform: none; pointer-events: auto; }
.sticky-cta .btn { width: 100%; min-height: 54px; }
.sticky-cta .btn:hover { transform: none; }
.sticky-cta__brand { display: none; }
@media (min-width: 900px) {
  .sticky-cta {
    top: 0; bottom: auto; padding: 0;
    box-shadow: 0 1px 0 var(--rule), 0 18px 36px -26px rgba(0, 0, 0, .4);
    transform: translateY(-110%);
  }
  .sticky-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
  .sticky-cta__brand { --logo-h: 32px; display: inline-flex; }
  .sticky-cta .btn { width: auto; min-height: 46px; padding: 0 22px; font-size: 15px; }
  .sticky-cta .btn svg { width: 19px; height: 19px; }
}

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 16px 18px; border-radius: 14px;
  background: #1B1816; color: rgba(246, 241, 232, .78);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  font-size: 13.5px; line-height: 1.5;
  animation: consent-in .5s var(--ease) both;
}
.consent p { flex: 1 1 260px; margin: 0; }
.consent a { color: #fff; }
.consent__actions { display: flex; gap: 8px; }
.consent button { border: 0; cursor: pointer; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 13px; }
.consent__yes { background: #F6F1E8; color: #14110F; }
.consent__no { background: transparent; color: rgba(246, 241, 232, .78); box-shadow: inset 0 0 0 1px rgba(246, 241, 232, .25); }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Modo demonstração ---------- */
.demo-bar {
  position: relative; z-index: 80;
  padding: 8px var(--pad); text-align: center;
  font: 600 12px/1.4 var(--sans);
  color: #2A2416; background: #EFE2BF;
}
.is-demo [data-pendente] { outline: 1.5px dashed currentColor; outline-offset: 4px; border-radius: 2px; }

/* ---------- Entrada suave ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* =====================================================================
   Luz e acabamento (comum às três páginas)
   Cada página define a própria iluminação no seu estilo.css. Aqui ficam
   só as peças compartilhadas: o grão, o botão com volume, a barra de
   vidro e o rodapé.
   ===================================================================== */
:root {
  /* grão fino: dá textura às áreas de cor e evita faixas nos degradês */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}
.btn { background-image: var(--btn-img, none); box-shadow: var(--btn-sh, none); }
.btn:hover { background-image: var(--btn-img-hover, var(--btn-img, none)); box-shadow: var(--btn-sh-hover, var(--btn-sh, none)); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sticky-cta { background: var(--sticky-glass, var(--sticky-bg)); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
}
.footer {
  background: var(--grain), radial-gradient(70% 150% at 50% -50%, var(--foot-glow, transparent), transparent 70%), var(--foot-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
