/* Dama Piercer — design system (tokens + componentes).
   Paleta "estúdio à noite", tirada da foto da hero: azul-cobalto da parede, índigo profundo,
   violeta do canto da foto, rosa da pele/mecha e o roxo da logo. */

:root {
  /* Noite — fundo da foto e avental */
  --noite-950: #07081a;
  --noite-900: #0b0d26;   /* fundo da página */
  --noite-800: #11133f;   /* seções elevadas (degradê da foto) */
  --noite-700: #1a1d5a;
  /* Cobalto — parede iluminada */
  --cobalto: #2a44b0;
  --cobalto-claro: #7f94ff;
  /* Violeta — canto inferior da foto */
  --violeta-900: #2a0d63;
  /* Roxo da marca — logo */
  --roxo: #8a2bd6;
  --roxo-escuro: #6a1cb0;
  --roxo-claro: #c6a6ff;
  /* Rosa — pele e mecha (acento quente, pouco) */
  --rosa: #ec9a90;
  --carmim: #8f1640;
  /* Texto */
  --lavanda-50: #efecfb;   /* texto principal */
  --lavanda-300: #aeacd2;  /* texto secundário */
  --linha: rgb(239 236 251 / 0.12);
  --vidro: rgb(239 236 251 / 0.05);
  --wpp: #25d366;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.05rem, 0.9rem + 0.5vw, 1.25rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --fs-h1: clamp(2.5rem, 1.8rem + 3vw, 4.25rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;

  --radius-sm: 6px; --radius: 14px; --radius-lg: 28px; --radius-pill: 999px;
  --shadow: 0 24px 50px -24px rgb(0 0 0 / 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--lavanda-50); background: var(--noite-900); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--roxo-claro); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--roxo-claro); display: inline-flex; align-items: center; gap: var(--space-3); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--rosa); }
.lead { font-size: var(--fs-lead); color: var(--lavanda-300); max-width: 46ch; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 var(--space-8); border-radius: var(--radius-pill); font: 600 0.95rem/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }
.btn-primary { background: var(--roxo); color: #fff; box-shadow: 0 12px 28px -14px rgb(0 0 0 / 0.8); }
.btn-primary:hover { background: var(--roxo-escuro); }
.btn-ghost { background: transparent; color: var(--lavanda-50); border-color: rgb(239 236 251 / 0.28); }
.btn-ghost:hover { border-color: var(--lavanda-50); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Selos de diferencial */
.badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); background: var(--vidro); border: 1px solid var(--linha); backdrop-filter: blur(8px); font-size: 0.8rem; font-weight: 600; color: var(--lavanda-50); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rosa); }

/* Hero — desktop: foto em painel à direita, fundindo no fundo noturno.
   Mobile (container < 900px): ver site.css (foto em tela cheia, texto embaixo). */
.hero { container-type: inline-size; position: relative; overflow: hidden; background: var(--noite-900); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: center; gap: var(--space-6); padding: var(--space-24) clamp(1.25rem, 5cqi, 5rem); max-width: min(680px, 52cqi); }
.hero-content .lead { color: var(--lavanda-300); }
.hero-badges, .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

@container (min-width: 900px) {
  .hero { min-height: min(92vh, 860px); background: var(--noite-900); }
  .hero-media { inset: 0 0 0 auto; width: 48%; }
  /* funde a borda esquerda da foto no fundo, sem corte seco */
  .hero-media::after { background: linear-gradient(90deg, var(--noite-900) 0%, rgb(11 13 38 / 0) 28%), linear-gradient(0deg, var(--noite-900) 0%, rgb(11 13 38 / 0) 18%); }
  .hero-content { min-height: min(92vh, 860px); max-width: 52%; }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.5rem; color: var(--roxo-claro); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--space-6); color: var(--lavanda-300); max-width: 62ch; }

/* WhatsApp fixo */
.wpp-float { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--wpp); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.6); }
.wpp-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
