/* ===========================================
   DESIGN TOKENS
   =========================================== */
:root {
  --mel-500: #F5A623;
  --mel-600: #D98B10;
  --mel-400: #F7B547;
  --mel-300: #FCD17A;
  --mel-100: #FFF4DC;
  --mel-50:  #FFFBF0;

  --preto-900: #0F0F0F;
  --preto-800: #1A1A1A;
  --preto-700: #2A2A2A;
  --cinza-500: #6B6B6B;
  --cinza-400: #9A9A9A;
  --cinza-300: #D9D9D9;
  --cinza-200: #EDEDED;
  --cinza-100: #F5F5F5;
  --branco:    #FFFFFF;

  --sucesso: #2E7D32;
  --atencao: #ED6C02;
  --alerta:  #C62828;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(15,15,15,0.08);
  --shadow-lg: 0 20px 60px rgba(15,15,15,0.12);
  --shadow-xl: 0 40px 100px rgba(15,15,15,0.18);
  --shadow-mel: 0 12px 32px rgba(245,166,35,0.25);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--preto-700);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
.display, h1.hero-title, h2.section-title, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===========================================
   NAVBAR — premium, com drawer mobile
   =========================================== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,12,12,0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(8,8,8,0.92);
  border-bottom-color: rgba(245,166,35,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; display: block; }
.logo-symbol {
  /* used in places where only the mark fits */
  height: 32px; width: auto;
}

/* Desktop nav — pill background, hover underline */
.nav-menu {
  display: flex; align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  padding: 4px;
}
.nav-menu a {
  position: relative;
  color: var(--cinza-300);
  font-size: 13.5px; font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}
.nav-menu a:hover {
  color: var(--branco);
  background: rgba(255,255,255,0.06);
}
.nav-menu a.active {
  color: var(--mel-500);
  background: rgba(245,166,35,0.1);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login {
  color: var(--cinza-300); font-size: 14px; font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-login:hover { color: var(--branco); background: rgba(255,255,255,0.06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--mel-500); color: var(--preto-900);
  font-weight: 700; font-size: 14px;
  border-radius: 100px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245,166,35,0.25);
}
.nav-cta:hover {
  background: var(--mel-400);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
}

/* Hamburger button — animated to X */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  align-items: center; justify-content: center;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle span {
  position: absolute;
  display: block;
  width: 18px; height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s, top 0.35s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 200;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  border-left: 1px solid rgba(245,166,35,0.15);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.32,.72,.34,1), visibility 0s linear 0.45s, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
  padding: 24px 24px 32px;
  visibility: hidden;
}
.drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s cubic-bezier(.32,.72,.34,1), visibility 0s linear, box-shadow 0.3s ease;
  box-shadow: -40px 0 80px rgba(0,0,0,0.4);
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.drawer-close {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--cinza-300);
  transition: background 0.2s, color 0.2s;
}
.drawer-close:hover { background: rgba(245,166,35,0.12); color: var(--mel-500); }

.drawer-nav {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: auto;
}
.drawer-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 16px; font-weight: 600;
  color: var(--cinza-300);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.drawer-nav a:hover {
  background: rgba(245,166,35,0.08);
  color: var(--mel-500);
}
.drawer-nav a .num {
  font-family: 'Fraunces', serif;
  font-size: 13px; font-weight: 500;
  color: var(--cinza-500);
  width: 24px;
}
.drawer-nav a:hover .num { color: var(--mel-500); }
.drawer-nav a .arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.drawer-nav a:hover .arrow { opacity: 1; transform: translateX(0); }

.drawer-foot {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 10px;
}
.drawer-foot .nav-cta { width: 100%; justify-content: center; padding: 14px; }
.drawer-foot .drawer-login {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px;
  color: var(--cinza-300);
  font-weight: 600; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  transition: all 0.2s;
}
.drawer-foot .drawer-login:hover { border-color: var(--mel-500); color: var(--mel-500); }
.drawer-social {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.drawer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--cinza-400);
  transition: all 0.2s;
}
.drawer-social a:hover { background: rgba(245,166,35,0.12); color: var(--mel-500); transform: translateY(-2px); }

@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-login { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .logo img { height: 48px; }
}
@media (max-width: 480px) {
  .logo img { height: 44px; }
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--preto-900) 0%, var(--preto-800) 100%);
  color: var(--branco);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -200px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-honeycomb {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath d='M30 0l26 15v22L30 52 4 37V15z' fill='none' stroke='%23F5A623' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  color: var(--mel-500);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 28px;
  white-space: nowrap;
}
.pill-text-short { display: none; }
@media (max-width: 600px) {
  .pill { font-size: 10.5px; padding: 7px 13px; letter-spacing: 0.06em; }
  .pill-text-full { display: none; }
  .pill-text-short { display: inline; }
}
.pill-dot { width: 6px; height: 6px; background: var(--mel-500); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

h1.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; line-height: 1.03;
  margin-bottom: 20px; color: var(--branco);
}
h1.hero-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(120deg, var(--mel-500) 0%, var(--mel-300) 30%, var(--mel-500) 60%, var(--mel-400) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  position: relative;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--cinza-300); line-height: 1.55; margin-bottom: 14px; }
.hero-sub strong { color: var(--mel-500); font-weight: 700; }
.hero-extra { font-size: 15px; color: var(--cinza-400); line-height: 1.5; margin-bottom: 28px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
@media (max-width: 960px) { .hero-ctas { justify-content: center; } }

/* ===========================================
   STORE BUTTONS — Google Play & App Store, estilo oficial
   =========================================== */
.store-btn.coming-soon {
  cursor: default;
  opacity: 0.78;
  position: relative;
}
.store-btn.coming-soon:hover {
  border-color: rgba(255,255,255,0.15);
  transform: none;
  box-shadow: none;
}
.store-btn .store-soon-badge {
  position: absolute;
  top: -8px; right: 14px;
  padding: 3px 9px;
  background: var(--mel-500);
  color: var(--preto-900);
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(245,166,35,0.4);
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; gap: 12px; }
  .hero-ctas .store-btn { width: auto; min-width: 240px; justify-content: flex-start; }
  .store-btn .store-soon-badge { right: 14px; }
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  min-height: 60px;
  transition: all 0.25s ease;
  text-align: left;
}
.store-btn:hover {
  border-color: rgba(245,166,35,0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,166,35,0.2);
}
.store-btn.light {
  background: var(--branco);
  color: var(--preto-900);
  border-color: var(--cinza-300);
}
.store-btn.light:hover { border-color: var(--mel-500); }
.store-btn-icon { flex-shrink: 0; width: 28px; height: 28px; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn-pre { font-size: 10px; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.06em; }
.store-btn-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; font-family: 'Manrope', sans-serif; }

/* CTA primário e secundário (mantidos para outras seções) */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  background: var(--mel-500); color: var(--preto-900);
  font-weight: 700; font-size: 16px;
  border-radius: var(--r-md);
  min-height: 58px;
  box-shadow: var(--shadow-mel);
  transition: all 0.25s ease;
}
.btn-primary:hover { background: var(--mel-400); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245,166,35,0.35); }
.btn-primary .btn-arrow { transition: transform 0.2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  background: transparent; color: var(--branco);
  font-weight: 600; font-size: 16px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--r-md);
  min-height: 58px;
  transition: all 0.25s ease;
}
.btn-secondary:hover { border-color: var(--mel-500); color: var(--mel-500); background: rgba(245,166,35,0.05); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; color: var(--cinza-400); font-weight: 500; }
@media (max-width: 960px) { .hero-trust { justify-content: center; } }
.hero-trust-item { display: inline-flex; align-items: center; gap: 8px; }

/* Mockup celular do hero — aspect-ratio 9:20 pra fit screenshot real */
.phone-mockup {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 2px rgba(255,255,255,0.04);
}
.phone-screen {
  width: 100%; height: 100%;
  background: #FAFAFC;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.app-ui { padding: 42px 16px 16px; height: 100%; display: flex; flex-direction: column; gap: 10px; background: #FAFAFC; }
.app-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 6px; }
.app-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; color: var(--preto-900); }
.app-bell { width: 32px; height: 32px; background: var(--mel-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--mel-600); }
.app-card { background: var(--branco); border-radius: 14px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #F0F0F0; }
.app-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.app-card-title { font-weight: 700; font-size: 14px; color: var(--preto-900); }
.app-card-sub { font-size: 11px; color: var(--cinza-500); }
.chip { padding: 3px 9px; border-radius: 100px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.chip-green { background: #E8F5E9; color: var(--sucesso); }
.chip-orange { background: #FFF3E0; color: var(--atencao); }
.chip-red { background: #FFEBEE; color: var(--alerta); }
.chip-mel { background: var(--mel-100); color: var(--mel-600); }
.app-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }

/* ===========================================
   SEÇÃO PROBLEMA (legado, mas vazio agora — substituído pelos blocos novos)
   =========================================== */
h2.section-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700; line-height: 1.1;
  color: var(--preto-900);
  margin-bottom: 20px;
}
h2.section-title em { font-style: italic; font-weight: 500; color: var(--mel-600); }
.section-lead { font-size: 18px; color: var(--cinza-500); line-height: 1.65; }

/* ===========================================
   ANIMAÇÕES
   =========================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.2); }
}
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .scroll-reveal { opacity: 1; transform: none; }
}
