/* ============================================================
   Wanderson Cruz — Landing Premium Cinematográfica
   Design tokens + base
   ============================================================ */

:root {
  /* Navy — cor principal */
  --navy-950: #0c1020;
  --navy-900: #11162a;
  --navy-850: #161d36;
  --navy-800: #1f2742; /* PRD principal */
  --navy-700: #2a3454;
  --navy-600: #394566;

  /* Dourado — da marca Cruz (#E8C28F) */
  --gold-300: #f2dcb6;
  --gold-400: #e8c28f; /* brand gold */
  --gold-500: #d9ab6f; /* base */
  --gold-600: #c08f52;
  --gold-glow: rgba(232, 194, 143, 0.34);

  /* Neutros sofisticados */
  --offwhite: #f4f1ea;
  --bege: #e6ddcc;
  --cream: #faf8f3;
  --ink: #0a0d18;

  /* Texto */
  --text-on-dark: #ece8df;
  --text-on-dark-dim: #a7aebf;
  --text-on-dark-faint: #717a90;
  --text-on-light: #1f2742;
  --text-on-light-dim: #5a6173;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(255, 255, 255, 0.085);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-gold: rgba(232, 194, 143, 0.28);

  /* Sombras profundas discretas */
  --shadow-sm: 0 2px 12px rgba(5, 8, 18, 0.35);
  --shadow-md: 0 18px 50px -12px rgba(5, 8, 18, 0.55);
  --shadow-lg: 0 40px 90px -20px rgba(4, 6, 14, 0.72);
  --shadow-gold: 0 20px 60px -18px rgba(232, 194, 143, 0.30);

  /* Tipografia */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;

  /* Layout */
  --maxw: 1480px;
  --pad-x: clamp(20px, 4vw, 60px);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* Easing cinematográfico */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* WhatsApp / verde CTA */
  --wa-green: #25d366;
  --wa-green-d: #1eb456;
  --gray-soft: #b8bbc2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold-500); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.section { position: relative; }

/* ---- Kicker / eyebrow ---- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.kicker.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.005em;
  padding: 16px 26px;
  border-radius: 999px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .4s, color .4s, border-color .4s;
  position: relative;
  white-space: nowrap;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: #1a1407;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px -18px rgba(232,194,143,0.5), inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-on-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-gold);
  transform: translateY(-3px);
}

.btn-wa {
  background: linear-gradient(180deg, var(--wa-green), var(--wa-green-d));
  color: #06270f;
  box-shadow: 0 18px 50px -16px rgba(37, 200, 100, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 26px 64px -16px rgba(37, 200, 100, 0.62), inset 0 1px 0 rgba(255,255,255,0.5); }

.btn-lg { padding: 19px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---- Glass card ---- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-radius: var(--r-lg);
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Section eyebrow heading block ---- */
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-title {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  margin-top: 22px;
}
.sec-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.62;
  color: var(--text-on-dark-dim);
}

/* ---- Striped image placeholder ---- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--navy-700), var(--navy-850));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-label {
  font-family: "Inter Tight", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  padding: 7px 13px;
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(8,11,22,0.4);
  text-align: center;
  line-height: 1.5;
}

/* ---- Thin divider line (linhas suaves conectando seções) ---- */
.thread {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-500), transparent);
  margin-inline: auto;
}

/* ---- Reusable atmospheric glow ---- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* ---- Grain overlay ---- */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Floating animation ---- */
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes floaty2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(11px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}

/* scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 99px; border: 3px solid var(--navy-950); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-600); }
