/* ==========================================================================
   DUBAI ELIXIR — BIO LINK PRIME & LANDING SYSTEM (V2.1)
   Design System Autoral: Preto Obsidian, Âmbar Profundo & Ouro Nobre
   Zero Caixas Cinzas • Mobile-First Rigoroso • Enquadramento Total de Imagens
   ========================================================================== */

/* --- 1. FONTES LOCAIS (SELF-HOSTED WOFF2) --- */
@font-face {
  font-family: 'DisplaySerif';
  src: url('fonts/display.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: 'TextSans';
  src: url('fonts/text.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'DataMono';
  src: url('fonts/mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* --- 2. DESIGN TOKENS (PALETA DA MARCA) --- */
:root {
  /* Fundo e Superfícies (Preto Obsidian & Âmbar Profundo) */
  --ink-900: #080605;
  --ink-800: #100c09;
  --ink-700: #191410;
  --ink-600: #241d17;
  
  /* Ouro Real & Realce */
  --gold-600: #b59228;
  --gold-500: #d4af37;
  --gold-400: #e8c45d;
  --gold-300: #fae498;
  --gold-glow: rgba(212, 175, 55, 0.42);
  --gold-soft: rgba(212, 175, 55, 0.12);
  
  /* Âmbar & Madeira Nobre */
  --amber-700: #422817;
  --amber-500: #7a4620;
  --amber-glow: rgba(122, 70, 32, 0.32);

  /* Texto e Contraste */
  --paper-100: #fcf9f2;
  --paper-200: #e8e2d5;
  --paper-muted: #9e9587;
  
  /* Bordas e Arestas de Luz */
  --edge: rgba(212, 175, 55, 0.22);
  --edge-subtle: rgba(255, 255, 255, 0.10);
  --glow-surface: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 48px -20px rgba(0, 0, 0, 0.85);

  /* Transição de Véu */
  --veil-1: rgba(212, 175, 55, 0.10);
  --veil-2: rgba(122, 70, 32, 0.14);

  /* Tipografia */
  --ff-display: 'DisplaySerif', 'Cinzel', 'Georgia', serif;
  --ff-text: 'TextSans', 'Montserrat', -apple-system, sans-serif;
  --ff-mono: 'DataMono', 'Courier New', monospace;

  /* Escala Tipográfica da Casa */
  --fs-display: clamp(2.05rem, 6.8vw, 3.2rem);
  --fs-h2: clamp(1.65rem, 3.5vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-tiny: 0.75rem;
  
  --track-wide: 0.18em;
  --radius-card: 20px;
  --radius-btn: 999px;
  
  /* Medidas de Container do Bio Link Prime */
  --container-max: 760px;
  --container-mobile: 580px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 3. RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--ff-text);
  color: var(--paper-100);
  background-color: var(--ink-900);
  line-height: 1.62;
  overflow-x: hidden !important;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Fundo Global Contínuo (Deriva Lenta) */
.field {
  background:
    radial-gradient(65% 50% at 15% 10%, var(--veil-1), transparent 75%),
    radial-gradient(60% 45% at 85% 35%, var(--veil-2), transparent 70%),
    radial-gradient(70% 55% at 50% 90%, var(--veil-1), transparent 75%),
    var(--ink-900);
  background-size: 150% 150%;
  animation: fieldDrift 30s ease-in-out infinite alternate;
}

@keyframes fieldDrift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 15% 10%, 85% 20%, 45% 85%; }
}

@media (prefers-reduced-motion: reduce) {
  .field { animation: none; }
}

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

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

/* Estrutura Centralizada Bio Link */
.biolink-shell {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 32px);
}

.center {
  text-align: center;
}

/* --- 4. CABEÇALHOS DE SEÇÃO E VÉUS --- */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 6.5vw, 84px);
}

.section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: clamp(100px, 14vh, 200px);
  background: linear-gradient(to bottom, var(--veil-1), transparent);
  pointer-events: none;
  z-index: -1;
}

.section-label {
  font-family: var(--ff-text);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: var(--track-wide);
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--paper-100);
  margin-bottom: 12px;
}

.section-sub {
  font-size: var(--fs-small);
  color: var(--paper-muted);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.55;
}

/* --- 5. HERO LINKBIO PRIME (SEM BARRA NO TOPO) --- */
.hero-biolink {
  padding-top: clamp(40px, 7vh, 64px);
  padding-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar / Logo Integrada da Marca */
.brand-avatar-box {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  background: radial-gradient(circle, rgba(122, 70, 32, 0.4), var(--ink-800) 80%);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px -4px var(--gold-glow);
  margin-bottom: 20px;
  overflow: hidden;
}

.avatar-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(12px);
  z-index: 1;
}

.brand-avatar-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--paper-100);
  margin-bottom: 16px;
  max-width: 600px;
}

.hero-title-accent {
  color: var(--gold-400);
  font-style: italic;
  display: inline-block;
}

.hero-lead {
  font-size: var(--fs-small);
  color: var(--paper-200);
  max-width: 520px;
  line-height: 1.58;
  margin-bottom: 28px;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #080605;
  font-family: var(--ff-text);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -4px var(--gold-glow);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 40px -4px var(--gold-glow);
}

.btn-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-sweep:hover::after {
  left: 140%;
}

.microcopy-tag {
  font-size: var(--fs-small);
  color: var(--paper-muted);
  font-weight: 500;
}

/* --- 6. ESTEIRA CONTÍNUA (BENDING MARQUEE) COM IMAGEM 100% ENQUADRADA --- */
.marquee-section {
  padding-block: clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.section-header {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-block: 10px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeRoll 32s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

.perfume-card {
  width: 250px;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--edge);
  background: rgba(18, 14, 11, 0.75);
  box-shadow: var(--glow-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.perfume-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}

/* ENQUADRAMENTO PERFEITO: PRODUTO CENTRALIZADO E SEM NENHUM CORTE */
.perfume-thumb {
  width: 100%;
  height: 250px;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08), var(--ink-800) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.perfume-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transition: transform 0.35s var(--ease);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
}

.perfume-card:hover .perfume-thumb img {
  transform: scale(1.06);
}

.perfume-info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.perfume-family {
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.perfume-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--paper-100);
  margin-bottom: 4px;
}

.perfume-desc {
  font-size: 0.8125rem;
  color: var(--paper-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex-grow: 1;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--edge);
  color: var(--gold-300);
  font-size: 0.775rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.btn-card-action:hover {
  background: var(--gold-500);
  color: #000;
}

/* --- 7. BIO LINK PRIME CARDS (ALINHAMENTO SÓLIDO) --- */
.link-container {
  max-width: 640px;
}

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  min-height: 74px;
  border-radius: var(--radius-card);
  border: 1px solid var(--edge);
  background: rgba(18, 14, 11, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 36px -16px var(--gold-glow);
}

.link-card__icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-400);
  flex-shrink: 0;
}

.link-card__body {
  flex-grow: 1;
  text-align: left;
}

.link-card__title {
  font-size: 0.985rem;
  font-weight: 600;
  color: var(--paper-100);
  margin-bottom: 2px;
}

.link-card__desc {
  font-size: 0.8125rem;
  color: var(--paper-muted);
  line-height: 1.4;
}

.link-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  color: var(--gold-400);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.link-card:hover .link-card__arrow {
  transform: translateX(3px) rotate(-45deg);
  background: var(--gold-500);
  color: #000;
}

/* Card Invertido de Alta Conversão */
.link-card--featured {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #080605;
  border-color: transparent;
  box-shadow: 0 12px 32px -4px var(--gold-glow);
}

.link-card--featured .link-card__icon-box {
  background: rgba(0, 0, 0, 0.12);
  color: #080605;
}

.link-card--featured .link-card__title {
  color: #080605;
  font-weight: 700;
}

.link-card--featured .link-card__desc {
  color: #2b221a;
  font-weight: 500;
}

.link-card--featured .link-card__arrow {
  border-color: rgba(0, 0, 0, 0.25);
  color: #080605;
}

.link-card--featured:hover .link-card__arrow {
  background: #080605;
  color: var(--gold-400);
}

/* --- 8. PILARES & DIFERENCIAIS --- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--edge);
  background: rgba(18, 14, 11, 0.55);
  box-shadow: var(--glow-surface);
  padding: 24px 20px;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pillar-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--paper-100);
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--paper-muted);
  line-height: 1.55;
}

/* --- 9. BLOCO DE DADOS (DATA BLOCK) --- */
.data-block {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding-block: 24px;
  gap: 20px;
  margin-bottom: 28px;
  text-align: left;
}

@media (min-width: 580px) {
  .data-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

.data-cell {
  display: flex;
  flex-direction: column;
}

.data-label {
  font-family: var(--ff-text);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: var(--track-wide);
  color: var(--gold-400);
  margin-bottom: 4px;
}

.data-value {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--paper-100);
  margin-bottom: 2px;
}

.data-mono {
  font-family: var(--ff-mono);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.data-sub {
  font-size: 0.8125rem;
  color: var(--paper-muted);
}

.data-action-row {
  display: flex;
  justify-content: center;
}

/* --- 10. FAQ ACORDEÃO ACESSÍVEL --- */
.faq-container {
  max-width: 640px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: rgba(18, 14, 11, 0.6);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--gold-500);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--paper-100);
  font-family: var(--ff-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--gold-400);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-trigger[aria-expanded="true"] + .faq-content {
  grid-template-rows: 1fr;
}

.faq-body {
  overflow: hidden;
}

.faq-body p {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--paper-muted);
  line-height: 1.6;
  text-align: left;
}

/* --- 11. RODAPÉ INSTITUCIONAL --- */
.site-footer {
  border-top: 1px solid var(--edge);
  padding-block: 36px;
  text-align: center;
  background: rgba(8, 6, 5, 0.95);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--gold-300);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--paper-muted);
  font-style: italic;
  margin-left: 8px;
}

.footer-info-row {
  font-size: 0.8125rem;
  color: var(--paper-muted);
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--paper-muted);
}

.footer-links-row a {
  color: var(--gold-400);
  transition: color 0.2s;
}

.footer-links-row a:hover {
  color: var(--paper-100);
}

.footer-sep {
  opacity: 0.4;
}

/* --- 12. CTA WHATSAPP FLUTUANTE (OBRIGATÓRIO) --- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #ffffff;
  z-index: 900;
  text-decoration: none;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px -4px rgba(37, 211, 102, 0.7);
}

.wa-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }
  body {
    padding-bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: none;
  }
}
