/* Prime Dramas — estilos globais */
:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --surface: #14141b;
  --surface-2: #1b1b24;
  --line: rgba(232, 190, 92, 0.18);
  --text: #f3efe6;
  --muted: #a9a399;
  --gold: #e8be5c;
  --gold-2: #f7dc8f;
  --gold-3: #b8862b;
  --gold-grad: linear-gradient(135deg, #f7dc8f 0%, #e8be5c 45%, #b8862b 100%);
  --whats: #25d366;
  --radius: 18px;
  --max: 1160px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .2px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 10px 30px -10px rgba(232, 190, 92, .55); }
.btn-gold:hover { color: #1a1205; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(232, 190, 92, .7); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { color: var(--gold-2); border-color: var(--gold); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 10, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 190, 92, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: .3px; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--gold-2); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav .btn-gold { color: #1a1205; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav .btn { margin-top: 14px; border-bottom: 0; padding: 14px 20px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(232,190,92,.20) 0%, rgba(232,190,92,0) 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(232,190,92,.06);
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 64px); line-height: 1.08; margin: 22px 0 18px; letter-spacing: -.5px;
}
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-note .stars { color: var(--gold); letter-spacing: 3px; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); text-align: center; }

/* Emblema animado */
.emblem { position: relative; width: 100%; aspect-ratio: 1; animation: float 6s ease-in-out infinite; }
.emblem img {
  position: relative; z-index: 2; width: 100%; height: 100%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
}
.emblem-glow {
  position: absolute; inset: 8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,220,143,.35) 0%, rgba(232,190,92,.12) 40%, rgba(232,190,92,0) 70%);
  animation: glow 4s ease-in-out infinite;
}
.emblem-rays {
  position: absolute; inset: -6%; z-index: 1; border-radius: 50%; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(247,220,143,.09) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  animation: spin 40s linear infinite;
}
.spark {
  position: absolute; z-index: 3; left: var(--x); top: var(--y);
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  transform: scale(0); opacity: 0;
  animation: twinkle 3.2s ease-in-out var(--d) infinite;
}
.spark::before, .spark::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-2);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 4px rgba(247,220,143,.9));
}
.spark::after { transform: rotate(45deg) scale(.55); opacity: .7; }

.wordmark {
  margin: 4px 0 0; font-family: var(--font); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.5px;
  background: linear-gradient(100deg, #b8862b 0%, #e8be5c 30%, #fff3c9 50%, #e8be5c 70%, #b8862b 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s ease-in-out infinite;
}
.wordmark-stars { margin: 8px 0 0; display: flex; justify-content: center; gap: 10px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; }
.wordmark-stars span {
  color: var(--gold); text-shadow: 0 0 12px rgba(232,190,92,.5);
  display: inline-block; animation: star-pop 5s ease-in-out infinite;
}
.wordmark-stars span:nth-child(2) { animation-delay: .15s; }
.wordmark-stars span:nth-child(3) { animation-delay: .3s; }
.wordmark-stars span:nth-child(4) { animation-delay: .45s; }
.wordmark-stars span:nth-child(5) { animation-delay: .6s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  45% { transform: scale(var(--s)) rotate(45deg); opacity: 1; }
  60% { transform: scale(calc(var(--s) * .8)) rotate(60deg); opacity: .8; }
}
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes star-pop { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.25); color: var(--gold-2); } }

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { width: min(260px, 70%); order: -1; }
  .wordmark { font-size: 30px; }
  .wordmark-stars { font-size: 20px; gap: 8px; }
  .hero p.lead { font-size: 16px; }
}

/* Seções */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.03); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 14px 0 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
@media (max-width: 640px) { .section { padding: 68px 0; } .section-head { margin-bottom: 40px; } }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 14px 0 18px; }
.about-grid p { color: var(--muted); margin: 0 0 16px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.stat strong { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.2; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Catálogo / cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 30px 24px; transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(232,190,92,.1); color: var(--gold); margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255,255,255,.06); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 18px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Compromissos */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(232,190,92,.05), rgba(232,190,92,0)); }
.pillar h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pillar h3 svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--gold); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }

/* CTA final */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 28px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at top, rgba(232,190,92,.18), rgba(232,190,92,0) 65%), var(--surface);
}
.cta-box h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; line-height: 1.15; }
.cta-box p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-phone { display: block; margin-top: 18px; color: var(--muted); font-size: 15px; }
.cta-phone a { color: var(--gold-2); font-weight: 600; }

/* Footer */
.site-footer { background: #050507; border-top: 1px solid rgba(232,190,92,.1); padding: 64px 0 28px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 16px 0 0; max-width: 340px; }
.site-footer h4 { color: var(--text); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-2); }
.company-data { font-style: normal; display: grid; gap: 6px; }
.company-data strong { color: var(--text); font-weight: 500; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s ease;
}
.whats-float:hover { color: #fff; transform: scale(1.06); }
.whats-float svg { width: 32px; height: 32px; }

/* Páginas legais */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.05); background: var(--bg-2); }
.legal-hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 48px); margin: 14px 0 10px; line-height: 1.15; }
.legal-hero p { color: var(--muted); margin: 0; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 56px 0 96px; align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: 14px; }
.legal-toc h2 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.legal-toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--muted); }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--gold-2); }
.legal-content { max-width: 780px; min-width: 0; }
.legal-content h2 { font-size: 22px; margin: 44px 0 14px; color: var(--text); scroll-margin-top: 90px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 17px; margin: 26px 0 10px; color: var(--gold-2); }
.legal-content p, .legal-content li { color: #d6d1c7; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
.legal-content .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 20px 0; }
.legal-content .box p:last-child { margin-bottom: 0; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; display: block; overflow-x: auto; }
.legal-content th, .legal-content td { text-align: left; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); vertical-align: top; color: #d6d1c7; }
.legal-content th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.legal-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.06); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .legal-toc { position: static; background: var(--surface); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .spark { display: none; }
}
