/* ══════════════════════════════════
   OLIMPO LANDING PAGE — Complete Rewrite
═══════════════════════════════════ */

/* ── Variables ── */
:root {
  --accent: #F97316;
  --accent-dark: #c2410c;
  --accent-glow: rgba(249, 115, 22, 0.12);
  --text: #1A1A1A;
  --text2: #4A4A4A;
  --text3: #71716D;
  --bg: #FBFBFA;
  --bg2: #F3F3F1;
  --bg-card: #FFFFFF;
  --border: #E2E2DF;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --sans: 'DM Sans', system-ui, sans-serif;
  --heading: 'Barlow Condensed', 'DM Sans', sans-serif;
  --r: 14px;
  --r-lg: 20px;
  --r-btn: 999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --text: #F0F0F0;
  --text2: #B0B0B0;
  --text3: #888;
  --bg: #141414;
  --bg2: #1E1E1E;
  --bg-card: #242424;
  --border: #3A3A3A;
  --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.4);
  --accent-glow: rgba(249, 115, 22, 0.1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px;
  overflow-x: hidden;
  /* Cobre área de overscroll do iOS/mobile com a mesma cor do body. Sem isso,
     o pull-to-refresh revela o fundo default (branco) mesmo em tema dark, e
     modais com backdrop transparente deixam vazar essa área clara. */
  background: var(--bg);
}
html.splash-active, html.splash-active body { overflow: hidden !important; height: 100dvh; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
*, *::before, *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Durante a troca de tema (classe adicionada pelo JS por 1.5s), força TODAS
   as transi\u00e7\u00f5es do site a 0.4s ease. Assim textos, fundos, bordas, cards,
   bot\u00f5es etc trocam na mesma velocidade, uniformemente. Depois volta ao normal. */
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition-duration: 0.4s !important;
  transition-timing-function: ease !important;
}
a { color: inherit; text-decoration: none; }
/* height: auto é CRUCIAL quando <img> tem atributos width/height no
   HTML e CSS aplica width:100%. Sem isso, o browser interpreta o
   height como valor literal (ex: 1536px) em vez de proporcional →
   imagem distorce verticalmente. Ref: web.dev/optimize-cls */
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--sans); }

/* ── Layout ── */
.container {
  width: calc(100% - 48px);
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Typography ── */
.section-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--heading);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--r-btn);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}
.btn-primary.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--r-btn);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════
   NAVBAR — floating pill glassmorphism
═══════════════════════════════════ */
/* ── Hero entrance animations ── */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-24px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroContentUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Pause all hero animations while splash is active */
.splash-active .navbar,
.splash-active .hero-bg-light,
.splash-active .hero-bg-dark,
.splash-active .hero-headline,
.splash-active .hero-sub,
.splash-active .hero-cta-group,
.splash-active .hero-scroll-btn,
.splash-active .hero-app-card {
  animation-play-state: paused !important;
}

.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 80rem;
  z-index: 1000;
  border-radius: var(--r-btn);
  padding: 12px 16px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  /* Entrance animation */
  opacity: 0;
  animation: navSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.navbar.scrolled {
  background: rgba(251, 251, 250, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(20, 20, 20, 0.6);
  border-color: rgba(255, 255, 255, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 80rem;
  margin: 0 auto;
}

.nav-logo-img { height: 36px; width: auto; }
/* !important porque temas aninhados (mockups com --mk-* próprios) podem
   introduzir regras que sobrescrevem display. Já deu esse bug no dashboard
   desktop onde as duas logos apareciam juntas. */
.nav-logo-light { display: block !important; }
.nav-logo-dark  { display: none  !important; }
[data-theme="dark"] .nav-logo-light { display: none  !important; }
[data-theme="dark"] .nav-logo-dark  { display: block !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--accent); }

.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav { padding: 8px 20px; font-size: 14px; }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text2);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}
.theme-toggle:hover { color: var(--accent); background: var(--accent-glow); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.lang-btn svg { transition: transform var(--transition); }
.lang-btn:hover {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--accent);
}
.lang-menu.open ~ .lang-btn svg,
.lang-switcher:has(.lang-menu.open) .lang-btn svg { transform: rotate(180deg); }
.lang-current-label { text-transform: uppercase; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  z-index: 1002;
}
.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.lang-option {
  background: none;
  border: none;
  text-align: left;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.lang-option:hover { color: var(--text); background: var(--accent-glow); }
.lang-option.on { color: var(--accent); background: var(--accent-glow); font-weight: 600; }

.nav-close-btn { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 768px) {
  .hamburger.active { transform: translate(-4px, 4px); }
}

@media (max-width: 768px) {
  .navbar {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px);
    padding: 8px 16px;
  }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .lang-btn { padding: 5px 8px; font-size: 12px; }
  .lang-menu { right: -4px; min-width: 140px; }
  .nav-links {
    position: fixed;
    top: 8px;
    right: 8px;
    width: 260px;
    height: auto;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 999;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    transform: translateX(calc(100% + 16px));
    transition: transform 0.3s ease, visibility 0s 0.3s;
    visibility: hidden;
    display: flex;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; transition: transform 0.3s ease, visibility 0s; }
  .nav-link {
    font-size: 18px;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    color: var(--text) !important;
  }
  a.nav-link[href="#sobre"] { border-bottom: none; }
  .nav-close-btn {
    align-self: flex-end;
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: var(--text3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: 24px;
    width: 100%;
    text-align: center;
  }
}

/* ══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Cor sólida na BASE (atrás das camadas SVG). Assim, se os SVGs
     tiverem áreas transparentes ou estiverem em meio a um crossfade,
     o fundo nunca fica translúcido deixando aparecer conteúdo atrás. */
  background-color: #FBFBFA;
  transition: background-color 0.4s ease;
}
[data-theme="dark"] .hero-bg {
  background-color: #0E0E0E;
}
.hero-bg-light,
.hero-bg-dark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.4s ease;
}
/* Sem animation — só transition. Assim as duas camadas usam a MESMA curva
   e MESMA duração (0.4s), cruzando sem buraco. Fade-in inicial é feito via
   classe splash-active (abaixo) que mantém opacidade 0 até o splash sumir. */
.hero-bg-light { opacity: 1; }
.hero-bg-dark { opacity: 0; }
@media (max-width: 768px) {
  .hero-bg-light { background-position: 70% calc(50% + 40px); }
  .hero-bg-dark { background-position: 70% calc(50% + 40px); }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(251, 251, 250, 0.55);
  }
  [data-theme="dark"] .hero-bg::after {
    background: rgba(0, 0, 0, 0.55);
  }
}
[data-theme="dark"] .hero-bg-light { opacity: 0; }
[data-theme="dark"] .hero-bg-dark { opacity: 1; }
/* Durante splash, mantém ambas escondidas (bg sólido cobre). Ao remover
   splash-active, a camada correta do tema vigente transiciona de 0 → 1. */
.splash-active .hero-bg-light,
.splash-active .hero-bg-dark {
  opacity: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-content {
  max-width: 560px;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  animation: heroContentUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-headline {
  font-family: var(--heading);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text);
  opacity: 0;
  animation: heroContentUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
[data-theme="dark"] .hero-headline { color: #fff; }
.hero-headline .accent { color: var(--accent); }

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text2);
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroContentUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
[data-theme="dark"] .hero-sub { color: rgba(255, 255, 255, 0.85); }

.microcopy { font-size: 13px; color: var(--text3); }
[data-theme="dark"] .microcopy { color: rgba(255, 255, 255, 0.6); }
.microcopy-pills { display: none; }
@media (max-width: 768px) {
  .microcopy-desktop { display: none; }
  .microcopy-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; justify-content: center; }
  .micro-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text2);
  }
  [data-theme="dark"] .micro-pill {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
  }
}


/* ── Hero interactive app cards ── */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  width: 310px;
  perspective: 600px;
}
.hero-app-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  animation: heroContentUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  user-select: none;
}
.hero-app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
[data-theme="dark"] .hero-app-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
[data-theme="dark"] .hero-app-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.hero-card-1 { animation-delay: 0.6s; }
.hero-card-2 { animation-delay: 0.75s; }
.hero-card-3 { animation-delay: 0.9s; }
.hero-card-4 { animation-delay: 1.05s; }

/* ── Meta card ── */
.hac-meta .hac-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.hac-emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.hac-info { flex: 1; min-width: 0; }
.hac-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .hac-title { color: #fff; }
.hac-cat {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
[data-theme="dark"] .hac-cat { color: rgba(255,255,255,0.5); }

/* Progress ring */
.hac-progress-ring {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.hac-progress-ring svg { width: 100%; height: 100%; }
[data-theme="dark"] .hac-progress-ring circle:first-child { stroke: rgba(255,255,255,0.1); }
.hac-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
}
[data-theme="dark"] .hac-pct { color: #fff; }

/* Expandable details */
.hac-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 12px;
  border-top: 0px solid transparent;
}
.hac-meta.open .hac-details {
  max-height: 600px;
  padding: 8px 12px 10px;
  border-top: 1px solid var(--border);
}
[data-theme="dark"] .hac-meta.open .hac-details { border-color: rgba(255,255,255,0.08); }

/* Nested project rows */
.hac-project {
  cursor: pointer;
  padding: 6px 4px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hac-project:hover { background: rgba(0,0,0,0.03); }
[data-theme="dark"] .hac-project:hover { background: rgba(255,255,255,0.04); }
.hac-project-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
[data-theme="dark"] .hac-project-header { color: #fff; }
.hac-chev {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--text2);
  transition: transform 0.25s ease;
}
.hac-project.open .hac-chev { transform: rotate(90deg); }
.hac-project-title { flex: 1; font-weight: 500; }
.hac-project-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg2);
  padding: 2px 8px;
  border-radius: 999px;
}
[data-theme="dark"] .hac-project-count { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.hac-project-tasks {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding-left: 22px;
}
.hac-project.open .hac-project-tasks {
  max-height: 200px;
  padding: 4px 0 2px 22px;
}
.hac-subtask {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: var(--text2);
  cursor: pointer;
}
[data-theme="dark"] .hac-subtask { color: rgba(255,255,255,0.7); }
.hac-subtask .hac-check { width: 16px; height: 16px; border-radius: 4px; border-width: 1.5px; }
.hac-subtask .hac-check svg { width: 10px; height: 10px; }
.hac-subtask.done .hac-check {
  background: #22C55E;
  border-color: #22C55E;
  color: #fff;
}
.hac-subtask.done span {
  text-decoration: line-through;
  opacity: 0.5;
}

/* ── Task cards ── */
.hac-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}
.hac-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: transparent;
}
.hac-check svg { width: 14px; height: 14px; }
[data-theme="dark"] .hac-check { border-color: rgba(255,255,255,0.2); }

/* Done state (click toggle) */
.hac-task.done .hac-check,
.hac-check.done {
  background: #22C55E;
  border-color: #22C55E;
  color: #fff;
}
.hac-task.done .hac-title,
.hac-task-done .hac-title {
  text-decoration: line-through;
  opacity: 0.5;
}
.hac-task.done .hac-cat,
.hac-task-done .hac-cat { opacity: 0.4; }

@media (max-width: 900px) {
  .hero-cards { width: 260px; }
}
@media (max-width: 768px) {
  .hero-cards { display: none; }
}

/* Chevron scroll */
.hero-scroll-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text3);
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  opacity: 0;
  animation: heroContentUp 0.4s ease 1.2s forwards, bounce 2s 2s infinite;
}
.hero-scroll-btn:hover {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Placeholder images */
.placeholder-img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  max-height: 70vh;
  border: 2px dashed var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
}
.placeholder-img::after { content: attr(data-label); }

.placeholder-visual {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 3/4;
  max-height: 70vh;
  border: 2px dashed var(--border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
}
.placeholder-visual::after { content: attr(data-label); }
.placeholder-visual-wide {
  max-width: 960px;
  aspect-ratio: 16/9;
  margin: 0 auto;
}
.placeholder-visual-infographic {
  max-width: 700px;
  aspect-ratio: 4/3;
  margin: 0 auto;
}
.placeholder-round {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-card);
  flex-shrink: 0;
}
.placeholder-round::after { content: attr(data-label); }

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero-container { justify-content: center; text-align: center; }
  .hero-content { max-width: 480px !important; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-group { align-items: center; }
}

/* ══════════════════════════════════
   SECTION: O METODO
═══════════════════════════════════ */
/* ── Intercalamento de BG para as 3 sections com mockup ──
   Cores oficiais das áreas da vida (src/constants/taxonomy.js):
   Comun.   → 🤝 Relacionamentos #DB2777 (rosa)
   Ranking  → 💪 Saúde           #16A34A (verde)
   Autoconh → 🧠 Mente            #0891B2 (ciano)
   Light = 5%, Dark = 9%. Demais sections mantêm --bg / --bg2. */
.section-metodo {
  background: var(--bg);
  padding: 100px 0;
}
.metodo-layout { text-align: center; }
.metodo-layout .section-title,
.metodo-layout .section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.metodo-text {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
}
/* Method cards — image on top, content below */
.metodo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.metodo-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.metodo-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.metodo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.metodo-img-dark { display: none; }
[data-theme="dark"] .metodo-img-light { display: none; }
[data-theme="dark"] .metodo-img-dark { display: block; }
.metodo-card-content {
  padding: 24px 20px;
  color: var(--text);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.metodo-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.metodo-card-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metodo-card-name {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}
.metodo-card-content p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  text-align: left;
}
.metodo-saiba-mais {
  margin-top: 32px;
}
@media (max-width: 640px) {
  .metodo-cards { grid-template-columns: 1fr; }
  .section-metodo { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: MODO FOCO
═══════════════════════════════════ */
.section-foco {
  background: var(--bg);
  padding: 100px 0;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.split-text { order: 1; }
.split-visual { order: 2; display: flex; justify-content: center; }
.split-img { width: 100%; max-width: 320px; max-height: 60vh; object-fit: contain; border-radius: var(--r-lg); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

/* Phone mockup frame */
.phone-mockup {
  position: relative;
  width: 380px;
  padding: 3%;
  background: #E5E5E5;
  border-radius: 36px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.25),
    0 8px 24px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #C0C0C0;
  border-radius: 12px;
  /* Acima do .app-mockup (z:3) e da .am-statusbar (z:5) — o notch fica
     renderizado por cima de tudo, como o dynamic island de um iPhone real. */
  z-index: 10;
}
[data-theme="dark"] .phone-mockup::before { background: #000; }
/* Aplica só a imagens que são filhas DIRETAS de .phone-mockup (caso do mockup
   estático antigo). Os mockups animados usam <div class="app-mockup"> com <img>
   internos de tamanho próprio (avatares, etc) que NÃO devem virar 100%. */
.phone-mockup > img {
  width: 100%;
  display: block;
  border-radius: 24px;
  image-rendering: -webkit-optimize-contrast;
}
.phone-tilt-right {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.phone-tilt-left {
  transform: perspective(1600px) rotateY(6deg) rotateX(2deg);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
[data-theme="dark"] .phone-mockup {
  background: #1A1A1A;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
/* Tablet mockup frame */
.tablet-mockup {
  position: relative;
  display: inline-block;
  padding: 1.5%;
  background: #E5E5E5;
  border-radius: 24px;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.18),
    0 12px 32px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: perspective(1600px) rotateX(4deg);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  max-width: 80%;
  width: 100%;
}
.tablet-mockup img {
  width: 100%;
  display: block;
  border-radius: 12px;
  image-rendering: -webkit-optimize-contrast;
}
.tablet-mockup-hero {
  max-width: 560px;
}
[data-theme="dark"] .tablet-mockup {
  background: #1A1A1A;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.4),
    0 12px 32px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
  .tablet-mockup { max-width: 100% !important; border-radius: 16px; }
  .tablet-mockup img { border-radius: 10px; }
  .tablet-mockup-hero { max-width: 100%; }
  .phone-mockup { width: 100%; max-width: 340px; border-radius: 28px; }
  .phone-mockup::before { width: 60px; height: 18px; top: 6px; }
  .phone-mockup > img { border-radius: 18px; }
  .phone-tilt-right, .phone-tilt-left { transform: perspective(1200px) rotateY(0deg); }
}

/* Dashboard mockup swap: tablet landscape no desktop, phone portrait em tablet/mobile */
.dashboard-frame-mobile { display: none; }
@media (max-width: 900px) {
  .dashboard-frame-desktop { display: none !important; }
  .dashboard-frame-mobile { display: inline-block; margin: 0 auto; width: 100%; max-width: 340px; }
}

/* ══════════════════════════════════
   DASHBOARD MOCKUPS (desktop + mobile, estáticos, fiéis ao app real)
   Reconstruídos em código pra permitir tradução. NÃO herdam de .app-mockup
   (que aplica cores escuras). Theme-aware via CSS custom properties.
   Sem interação: pointer-events: none no container e sem overflow scroll.
═══════════════════════════════════ */
.mk-dash, .mk-dash-m {
  /* Light theme (default) — mesma paleta do mockup de comunidade pra coerência visual */
  --mk-bg: #FBFBFA;
  --mk-bg2: #F3F3F1;
  --mk-fg: #141414;
  --mk-muted: rgba(20,20,20,0.62);
  --mk-faded: rgba(20,20,20,0.42);
  --mk-card: #FFFFFF;
  --mk-border: rgba(20,20,20,0.08);
  --mk-border-soft: rgba(20,20,20,0.05);
  --mk-side-active: rgba(249,115,22,0.12);
  --mk-accent: #F97316;
  --mk-accent-2: #EA580C;
  --mk-grad: linear-gradient(90deg, #F97316 0%, #EA580C 100%);

  background: var(--mk-bg);
  color: var(--mk-fg);
  font-family: var(--sans);
  width: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  border-radius: 24px;
  text-align: left;
}
[data-theme="dark"] .mk-dash,
[data-theme="dark"] .mk-dash-m {
  --mk-bg: #0E0E0E;
  --mk-bg2: #141414;
  --mk-fg: #E8E6E1;
  --mk-muted: rgba(232,230,225,0.62);
  --mk-faded: rgba(232,230,225,0.38);
  --mk-card: #1A1A1A;
  --mk-border: rgba(255,255,255,0.06);
  --mk-border-soft: rgba(255,255,255,0.04);
  --mk-side-active: rgba(249,115,22,0.16);
}
/* Mobile: aspect ratio de phone igual aos outros mockups do site */
.mk-dash-m { aspect-ratio: 478 / 848; }
@media (max-width: 768px) {
  .mk-dash, .mk-dash-m { border-radius: 18px; }
}
/* Desktop: aspect ratio landscape de tablet (mesmo do .tablet-mockup frame) */
.mk-dash { aspect-ratio: 16 / 10; }

/* ─── DESKTOP: sidebar + main ─── */
.mk-dash { display: grid; grid-template-columns: 180px 1fr; }
.mk-side {
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  border-right: 1px solid var(--mk-border-soft);
  background: var(--mk-side-bg);
  font-size: 11px;
}
/* Alinha o lado esquerdo da logo com o lado esquerdo dos ícones do nav.
   Padding deve bater com o padding-x dos mk-side-item (10px) pra criar
   uma linha vertical visual consistente. margin-left negativo compensa
   o whitespace interno do SVG (viewBox começa antes do texto). */
.mk-brand { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; padding: 0 10px; }
.mk-brand-logo { height: 28px; width: auto; margin-left: -8px; }

.mk-side-sect { margin-bottom: 14px; }
.mk-side-lbl { font-size: 8px; font-weight: 700; color: var(--mk-faded); letter-spacing: 1.4px; padding: 0 8px; margin-bottom: 4px; }
.mk-side-nav { display: flex; flex-direction: column; gap: 2px; }
.mk-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 500;
}
.mk-side-item svg { flex-shrink: 0; }
.mk-side-active {
  background: var(--mk-side-active);
  color: var(--mk-accent);
  font-weight: 600;
}
.mk-side-spacer { flex: 1; }
.mk-side-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 0;
  border-top: 1px solid var(--mk-border-soft);
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mk-fg);
}
.mk-side-user-av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mk-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.mk-main {
  padding: 22px 26px;
  overflow: hidden;
}

/* ─── MOBILE: statusbar + content + bottom nav ─── */
.mk-dash-m { display: flex; flex-direction: column; }
.mk-m-statusbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 8px 22px 4px;
  height: 32px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mk-fg);
  flex-shrink: 0;
}
.mk-m-sb-dot { width: 12px; height: 6px; background: var(--mk-fg); border-radius: 2px; }
.mk-m-scroll {
  flex: 1;
  overflow: hidden;
  padding: 4px 14px 0;
}
.mk-m-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px 8px;
  border-top: 1px solid var(--mk-border-soft);
  background: var(--mk-bg);
  flex-shrink: 0;
}
.mk-m-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--mk-faded);
  font-size: 9px;
  font-weight: 500;
}
.mk-m-active { color: var(--mk-accent); }

/* ─── Componentes compartilhados (header, week, streak, stats, prog, tasks) ─── */
.mk-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mk-date { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: var(--mk-muted); text-transform: uppercase; }
.mk-greet {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--mk-fg);
  margin: 4px 0 2px;
  line-height: 1.15;
}
.mk-dash .mk-greet { font-size: 22px; }
.mk-dash-m .mk-greet { font-size: 18px; }
.mk-streak-mini {
  font-size: 11px;
  color: var(--mk-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-streak-mini em { font-style: italic; }
.mk-bell { color: var(--mk-muted); flex-shrink: 0; margin-top: 4px; }

.mk-week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--mk-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.mk-arr { font-size: 14px; color: var(--mk-faded); }
.mk-wcal { color: var(--mk-faded); }

.mk-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.mk-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mk-fg);
}
.mk-dl { font-size: 9px; font-weight: 500; letter-spacing: 0.5px; color: var(--mk-faded); text-transform: uppercase; }
.mk-dn { font-size: 13px; font-weight: 700; color: var(--mk-fg); }
.mk-day-sel {
  background: var(--mk-grad);
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}
.mk-day-sel .mk-dl, .mk-day-sel .mk-dn { color: #fff; }

.mk-streak {
  background: var(--mk-grad);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(249,115,22,0.30);
}
.mk-streak-mid { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.mk-streak-n { font-family: var(--heading); font-weight: 700; }
.mk-dash .mk-streak-n { font-size: 28px; }
.mk-dash-m .mk-streak-n { font-size: 24px; }
.mk-streak-lbl { font-size: 10px; letter-spacing: 1.4px; font-weight: 700; opacity: 0.95; margin-top: 3px; }
.mk-streak-bolt { font-size: 16px; opacity: 0.9; }

.mk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.mk-stat {
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.mk-stat-ico { color: var(--mk-muted); margin-bottom: 4px; display: block; }
.mk-stat-n {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--mk-fg);
  line-height: 1;
  margin-bottom: 3px;
}
.mk-dash .mk-stat-n { font-size: 22px; }
.mk-dash-m .mk-stat-n { font-size: 18px; }
.mk-stat-lbl { font-size: 10px; color: var(--mk-muted); }

.mk-prog {
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.mk-prog-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.mk-prog-ico { color: var(--mk-muted); flex-shrink: 0; }
.mk-prog-title { flex: 1; font-size: 11px; font-weight: 600; color: var(--mk-fg); }
.mk-prog-pct { font-size: 12px; font-weight: 700; color: var(--mk-fg); }
.mk-prog-bar {
  height: 4px;
  background: var(--mk-border-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mk-prog-fill {
  height: 100%;
  background: var(--mk-grad);
  border-radius: 999px;
}
.mk-goals { display: flex; flex-direction: column; gap: 6px; }
.mk-goal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--mk-muted);
}
.mk-goal-em { font-size: 12px; flex-shrink: 0; }
.mk-goal-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mk-goal-pct { font-size: 10px; color: var(--mk-muted); flex-shrink: 0; font-weight: 500; }

.mk-tar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 10px;
}
.mk-tar-title {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--mk-fg);
}
.mk-dash .mk-tar-title { font-size: 16px; }
.mk-dash-m .mk-tar-title { font-size: 13px; }
.mk-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--mk-muted);
}
.mk-switch {
  width: 28px; height: 16px;
  border-radius: 999px;
  background: var(--mk-border);
  position: relative;
  display: inline-block;
}
.mk-switch-dot {
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
}
.mk-switch.mk-on { background: var(--mk-accent); }
.mk-switch.mk-on .mk-switch-dot { left: 14px; }

.mk-tasks { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mk-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.mk-chk {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mk-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mk-task-body { flex: 1; min-width: 0; }
.mk-task-name { font-size: 12px; font-weight: 500; color: var(--mk-fg); }
.mk-task-done .mk-task-name { text-decoration: line-through; color: var(--mk-faded); }
.mk-task-meta { font-size: 10px; color: var(--mk-muted); margin-top: 2px; }

/* Auto-scroll lento das metas: mostra topo → desliza pra revelar as tarefas embaixo → volta.
   Puramente decorativo. Respeita prefers-reduced-motion. */
.mk-autoscroll {
  animation: mk-slow-scroll 28s ease-in-out infinite;
  will-change: transform;
}
@keyframes mk-slow-scroll {
  0%, 12%  { transform: translateY(0); }
  50%, 62% { transform: translateY(-32%); }
  100%     { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mk-autoscroll { animation: none; }
}
.img-dark, .arquetipos-img-dark { display: none !important; }
[data-theme="dark"] .img-light, [data-theme="dark"] .arquetipos-img-light { display: none !important; }
[data-theme="dark"] .img-dark, [data-theme="dark"] .arquetipos-img-dark { display: block !important; }
.split-layout.reversed .split-text { order: 2; }
.split-layout.reversed .split-visual { order: 1; }

.feature-pills {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: border-color var(--transition);
}
.feature-pill:hover { border-color: var(--accent); }
.feature-pill svg { color: var(--accent); flex-shrink: 0; }

.btn-saiba-mais {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 0;
  margin-top: 8px;
  transition: opacity var(--transition);
}
.btn-saiba-mais:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; }
  .split-visual { order: 1 !important; }
  .split-text { order: 2 !important; }
  .section-foco { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: ORACULO IA
═══════════════════════════════════ */
.section-oraculo {
  background: var(--bg2);
  padding: 100px 0;
}
.oraculo-steps {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.oraculo-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.oraculo-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.oraculo-step-text strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 15px;
}
.oraculo-step-text p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .section-oraculo { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: DASHBOARD
═══════════════════════════════════ */
.section-dashboard {
  background: var(--bg2);
  padding: 100px 0;
  text-align: center;
}
.section-dashboard .section-title,
.section-dashboard .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.dashboard-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
}
.dashboard-pill svg { color: var(--accent); }
@media (max-width: 768px) {
  .section-dashboard { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: CONSISTENCIA
═══════════════════════════════════ */
.section-consistencia {
  background: linear-gradient(135deg, #F97316 0%, #c2410c 100%);
  padding: 100px 0;
  color: #fff;
}
.section-consistencia .section-eyebrow { color: rgba(255,255,255,0.7); }
.section-consistencia .section-title { color: #fff; }
.section-consistencia .section-sub { color: rgba(255,255,255,0.85); }
.consistencia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.consistencia-card {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.consistencia-card:hover { transform: translateY(-3px); }
.consistencia-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}
.consistencia-card-icon svg { color: #fff; }
.consistencia-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.consistencia-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.consistencia-more {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(255,255,255,0.5);
  padding: 0;
  transition: border-color var(--transition);
  margin-top: auto;
  align-self: flex-start;
}
.consistencia-more:hover { border-color: #fff; }
@media (max-width: 900px) { .consistencia-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .consistencia-grid { grid-template-columns: 1fr; }
  .section-consistencia { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: MAIS FEATURES
═══════════════════════════════════ */
.section-mais {
  background: var(--bg2);
  padding: 100px 0;
  text-align: center;
}
.section-mais .section-title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
/* ── "E mais" — 2 rows no desktop: 4 em cima + 3 embaixo centralizadas.
   Estilo emoji consistente com .cat-card das categorias (mesmo --r, mesmo padding). */
.mais-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.mais-card {
  /* 4 cards por linha: (100% - 3×12px gap) / 4 = (100% - 36px) / 4 */
  flex: 0 0 calc((100% - 36px) / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--transition), transform 0.15s;
  cursor: default;
}
@media (hover: hover) {
  .mais-card:hover { border-color: var(--accent); transform: translateY(-2px); }
}
.mais-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.mais-card h4 {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
  letter-spacing: -0.1px;
}
.mais-card p {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.35;
  margin: 0;
}
@media (max-width: 900px) {
  /* Tablet: 3 colunas */
  .mais-card { flex: 0 0 calc((100% - 24px) / 3); }
}
@media (max-width: 640px) {
  /* Mobile: 2 colunas */
  .mais-card { flex: 0 0 calc((100% - 12px) / 2); min-width: 0; }
  .section-mais { padding: 64px 0; }
  .mais-emoji { font-size: 28px; }
}

/* ══════════════════════════════════
   SECTION: PLANOS
═══════════════════════════════════ */
.section-planos {
  background: var(--bg);
  padding: 100px 0;
  text-align: center;
}
.section-planos .section-title,
.section-planos .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.plan-card:hover { transform: translateY(-2px); }
.plan-featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--r-btn);
  letter-spacing: 0.5px;
}
.plan-header { margin-bottom: 24px; }
.plan-name {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.plan-currency { font-size: 18px; font-weight: 600; color: var(--text3); }
.plan-amount { font-size: 48px; font-weight: 800; color: var(--text); line-height: 1; }
.plan-mo { font-size: 15px; color: var(--text3); margin-left: 4px; }
.plan-period { font-size: 13px; color: var(--text3); margin-top: 4px; }
.plan-features {
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
}
.plan-feature.on { color: var(--text2); }
.plan-feature.off { color: var(--text3); opacity: 0.4; }
.plan-feature.highlight { color: var(--accent); font-weight: 700; }
.plan-card .btn-primary, .plan-card .btn-secondary, .plan-card .btn-plan-pro { width: 100%; text-align: center; }
.btn-plan-pro { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--accent); border: 2px solid var(--accent); border-radius: var(--r-btn); padding: 12px 28px; font-size: 15px; font-weight: 700; font-family: var(--sans); cursor: pointer; text-decoration: none; }
.btn-plan-pro:hover { background: var(--accent); color: #fff; }
.w-full { width: 100%; }
/* Period toggle */
.period-toggle { display: flex; background: var(--bg2); border-radius: var(--r-btn); padding: 4px; max-width: 280px; margin: 32px auto; }
.period-btn { flex: 1; padding: 10px 16px; border: none; border-radius: var(--r-btn); background: none; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text3); cursor: pointer; }
.period-btn.active { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow); }
.period-badge { background: var(--accent); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: var(--r-btn); margin-left: 6px; }
.plan-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text3);
}
@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  /* No mobile o Oráculo (plan-featured) vem primeiro por ser a recomendação principal */
  .plans-grid .plan-featured { order: -1; }
  .section-planos { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: SOBRE
═══════════════════════════════════ */
.section-sobre {
  background: var(--bg2);
  padding: 100px 0;
}
.sobre-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}
.sobre-photo { flex-shrink: 0; }
.sobre-text h3 {
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}
.sobre-role {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.sobre-text p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 12px;
}
/* Links no modal Sobre (Psicologia, Portfólio, LinkedIn) */
.sobre-links-modal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.sobre-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.sobre-link-item:hover {
  border-color: var(--accent);
  background: var(--bg2);
  transform: translateX(2px);
}
.sobre-link-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border-radius: var(--r);
}
.sobre-link-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sobre-link-body strong { font-size: 14px; color: var(--text); font-weight: 700; }
.sobre-link-body span { font-size: 12px; color: var(--text3); font-family: var(--mono, monospace); }
.sobre-link-arrow {
  color: var(--text3);
  font-size: 16px;
  flex-shrink: 0;
  transition: color var(--transition), transform var(--transition);
}
.sobre-link-item:hover .sobre-link-arrow { color: var(--accent); transform: translate(2px, -2px); }
@media (max-width: 640px) {
  .sobre-layout { flex-direction: column; text-align: center; }
  .sobre-layout .placeholder-round { margin: 0 auto; }
  .section-sobre { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: FAQ
═══════════════════════════════════ */
.section-faq {
  background: var(--bg);
  padding: 100px 0;
}
.section-faq .section-eyebrow,
.section-faq .section-title,
.section-faq .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--text3);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
  padding-bottom: 0;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 8px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.faq-answer a:hover { opacity: 0.8; }
@media (max-width: 768px) {
  .section-faq { padding: 64px 0; }
}

/* ══════════════════════════════════
   SECTION: CTA FINAL
═══════════════════════════════════ */
.section-cta-final {
  background: url(assets/cta-final-light.webp) top center/cover no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: var(--text);
  position: relative;
  margin-bottom: 0;
}
.section-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(243,243,241,0) 0%, rgba(243,243,241,0) 40%, rgba(243,243,241,0.9) 75%, #F3F3F1 100%);
  z-index: 0;
}
.section-cta-final .container { position: relative; z-index: 1; }
[data-theme="dark"] .section-cta-final { background-image: url(assets/cta-final-dark.webp); color: #fff; }
[data-theme="dark"] .section-cta-final::before {
  background: linear-gradient(to bottom, rgba(30,30,30,0) 0%, rgba(30,30,30,0) 40%, rgba(30,30,30,0.9) 75%, #1E1E1E 100%);
}
.cta-final-title {
  font-family: var(--heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
[data-theme="dark"] .cta-final-title { color: #fff; }
.cta-final-sub {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-microcopy {
  font-size: 13px;
  color: var(--text3);
  margin-top: 16px;
}
[data-theme="dark"] .cta-final-sub { color: rgba(255,255,255,0.8); }
[data-theme="dark"] .cta-final-microcopy { color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  background: var(--bg2);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 32px; width: auto; }
.footer-tagline { font-size: 14px; color: var(--text3); line-height: 1.6; max-width: 260px; }
.btn-sm { padding: 10px 20px; font-size: 13px; width: fit-content; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text3); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════
   BACK TO TOP — fixed button
═══════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ══════════════════════════════════
   MODAL
═══════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
[data-theme="dark"] .modal-overlay { background: rgba(0,0,0,0.7); }
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
/* Wrapper relativo que envolve o modal-box + hospeda o close button em absolute.
   Assim o close fica ancorado no canto do modal SEM interferir com o scroll
   ou layout interno do modal-box. JS cria esse wrapper dinamicamente. */
.modal-wrapper {
  position: relative;
  max-width: 640px;
  width: 100%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-wrapper {
  transform: translateY(0) scale(1);
}
.modal-box {
  background: var(--bg);
  border-radius: var(--r-lg);
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  overscroll-behavior: contain;
}
/* Scrollbar nativa fina (CSS puro, sem JS). Thin em Firefox/Safari,
   4px com pílula sem setas no Chromium. Não é overlay verdadeira
   (ocupa ~4px do padding direito), mas zero impacto em performance. */
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; margin: 12px 0; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.22); border-radius: 999px; }
.modal-box::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.38); }
.modal-box::-webkit-scrollbar-button { display: none; }
.modal-box { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.22) transparent; }
[data-theme="dark"] .modal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); }
[data-theme="dark"] .modal-box::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.38); }
[data-theme="dark"] .modal-box { scrollbar-color: rgba(255,255,255,0.22) transparent; }
.modal-img-wrap {
  width: calc(100% + 72px);
  margin: -40px -36px 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.modal-img-wrap img {
  width: 100%;
  display: block;
}
.modal-img-wrap img.modal-img-dark { display: none; }
[data-theme="dark"] .modal-img-wrap img.modal-img-light { display: none; }
[data-theme="dark"] .modal-img-wrap img.modal-img-dark { display: block; }
.modal-close {
  /* Absolute no modal-wrapper (não no modal-box), então o botão fica
     ancorado no canto do modal e não rola com o conteúdo. Como o wrapper
     tem a mesma caixa que o modal-box, top/right 16px coincide com o
     canto visível do modal. Zero interferência com layout interno. */
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text2);
  transition: background var(--transition), color var(--transition);
  z-index: 10;
}
.modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.modal-box h3 {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-right: 40px;
}
.modal-box p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.modal-box p:last-child { margin-bottom: 0; }
.modal-box strong { color: var(--text); }
@media (max-width: 640px) {
  .modal-box { padding: 28px 20px; }
  .modal-img-wrap { width: calc(100% + 40px); margin: -28px -20px 20px; }
  .modal-close { top: 12px; right: 12px; }
}

/* ══════════════════════════════════
   APP MOCKUPS (animados, fiéis ao app)
═══════════════════════════════════ */
.app-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 478 / 848;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  font-family: var(--sans);
  z-index: 3;
  background: #0E1428;
}
/* Mockups são animações passivas, não interativos. Nenhum cursor de pointer. */
.app-mockup, .app-mockup *, .app-mockup button, .app-mockup [role="button"] {
  cursor: default !important;
}
.phone-mockup .app-mockup { border-radius: 24px; }
@media (max-width: 768px) {
  .phone-mockup .app-mockup { border-radius: 18px; }
}
.am-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mf-text, rgba(255,255,255,0.85));
  letter-spacing: 0.3px;
  z-index: 5;
  pointer-events: none;
}
.am-statusbar .am-sb-right {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.am-statusbar .am-sb-dot {
  width: 14px; height: 7px;
  background: var(--mf-text, rgba(255,255,255,0.85));
  border-radius: 2px;
}
.app-mockup-oraculo .am-statusbar { color: var(--text); }
.app-mockup-oraculo .am-statusbar .am-sb-dot { background: var(--text); }

/* ── Foco ── */
.app-mockup-foco {
  /* Tema light (default) — within Olimpo branding */
  --mf-bg1: #FBFBFA;
  --mf-bg2: #F2ECE3;
  --mf-glow: #FFE0C4;
  --mf-text: #141414;
  --mf-text-muted: rgba(20,20,20,0.62);
  --mf-text-faded: rgba(20,20,20,0.38);
  --mf-border: rgba(20,20,20,0.08);
  --mf-ring-bg: rgba(20,20,20,0.08);
  --mf-card-bg: rgba(255,255,255,0.92);
  --mf-card-border: rgba(20,20,20,0.08);
  --mf-card-text: #141414;
  --mf-card-text-muted: rgba(20,20,20,0.55);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--mf-glow) 0%, transparent 60%),
    linear-gradient(160deg, var(--mf-bg1) 0%, var(--mf-bg2) 50%, var(--mf-bg1) 100%);
  background-size: 100% 100%, 180% 180%;
  background-position: 0 0, 0 0;
  color: var(--mf-text);
}
[data-theme="dark"] .app-mockup-foco {
  --mf-bg1: #0E1428;
  --mf-bg2: #1E2545;
  --mf-glow: #2a3566;
  --mf-text: #ffffff;
  --mf-text-muted: rgba(255,255,255,0.65);
  --mf-text-faded: rgba(255,255,255,0.45);
  --mf-border: rgba(255,255,255,0.12);
  --mf-ring-bg: rgba(255,255,255,0.12);
  --mf-card-bg: rgba(20,20,20,0.82);
  --mf-card-border: rgba(255,255,255,0.12);
  --mf-card-text: #ffffff;
  --mf-card-text-muted: rgba(255,255,255,0.55);
}
/* Animação removida — era background-position em loop infinito, propriedade
   NÃO-COMPOSTÁVEL que forçava reflow contínuo no main thread mesmo quando
   fora do viewport (PageSpeed confirmou: 29 animações não-compostas).
   Resultado visual era mínimo, custo de performance era enorme. */
.am-foco-stage {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 28px 110px;
}
.am-foco-top {
  position: absolute;
  top: 16px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--mf-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.am-foco-configbtn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--mf-text-muted);
  opacity: 0.85;
}
.am-foco-topright {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.am-foco-topright .am-foco-iconbtn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--mf-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--mf-text-muted);
}
.am-foco-ring-wrap {
  position: relative;
  width: 200px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-foco-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 10px rgba(249,115,22,0.45));
}
.am-foco-ring .am-ring-bg {
  fill: none;
  stroke: var(--mf-ring-bg);
  stroke-width: 6;
}
.am-foco-ring .am-ring-fill {
  fill: none;
  stroke: #F97316;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 628.3;
  stroke-dashoffset: 94;
  transition: stroke-dashoffset 0.9s linear;
}
.am-foco-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.am-foco-phase {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--mf-text-muted);
  text-transform: uppercase;
}
.am-foco-time {
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--mf-text);
  font-variant-numeric: tabular-nums;
}
.am-foco-pct {
  font-size: 11px;
  color: var(--mf-text-faded);
  font-weight: 500;
}
.am-foco-task-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 230px;
}
.am-foco-task {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--mf-text);
  line-height: 1.2;
}
.am-foco-meta {
  font-size: 12px;
  color: var(--mf-text-muted);
}
.am-foco-actions {
  display: flex;
  gap: 12px;
}
.am-foco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  min-width: 110px;
  padding: 0 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--mf-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid var(--mf-border);
  text-transform: uppercase;
  white-space: nowrap;
}
/* Em telas estreitas o phone-mockup encolhe e os 2 botões (Pausar + Encerrar)
   não cabem com o padding desktop. Mantém o look proporcional reduzindo padding
   e min-width na mesma proporção do frame. */
@media (max-width: 400px) {
  .am-foco-btn {
    min-width: 0;
    padding: 0 14px;
    letter-spacing: 0.3px;
    font-size: 11px;
  }
}
.am-foco-btn.am-foco-btn-primary {
  background: rgba(249,115,22,0.92);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(249,115,22,0.35);
}
.am-foco-temp { display: inline-flex; align-items: center; gap: 4px; }
.am-foco-temp-caret { font-size: 10px; opacity: 0.7; }
.am-foco-phase { transition: color 0.3s ease; }
.app-mockup-foco.am-foco-resting .am-foco-phase { color: #22C55E; }
.app-mockup-foco.am-foco-resting .am-ring-fill { stroke: #22C55E; filter: none; }
.app-mockup-foco.am-foco-resting .am-foco-ring { filter: drop-shadow(0 0 10px rgba(34,197,94,0.35)); }

/* Card de música Lo-Fi (overlay) — adapta light/dark via CSS vars */
.am-foco-music {
  position: absolute;
  left: 18px; right: 18px;
  bottom: 28px;
  background: var(--mf-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--mf-card-border);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.am-foco-music.am-show { opacity: 1; transform: translateY(0); }
.am-foco-music-cover {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.am-foco-music-info { flex: 1; min-width: 0; }
.am-foco-music-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mf-card-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-foco-music-sub {
  font-size: 10.5px;
  color: var(--mf-card-text-muted);
  margin-top: 1px;
}
.am-foco-music-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  flex-shrink: 0;
}
.am-foco-music-eq span {
  width: 2px;
  background: #F97316;
  border-radius: 2px;
  animation: amEq 1s ease-in-out infinite;
}
.am-foco-music-eq span:nth-child(1) { animation-delay: 0s;  height: 40%; }
.am-foco-music-eq span:nth-child(2) { animation-delay: .2s; height: 70%; }
.am-foco-music-eq span:nth-child(3) { animation-delay: .1s; height: 55%; }
.am-foco-music-eq span:nth-child(4) { animation-delay: .3s; height: 85%; }
@keyframes amEq {
  0%, 100% { transform: scaleY(0.35); }
  50%      { transform: scaleY(1.1); }
}

/* ── Oráculo ── */
.app-mockup-oraculo {
  background: var(--bg);
  color: var(--text);
}
[data-theme="dark"] .app-mockup-oraculo { background: #141414; }
.am-orac-stage {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  flex-direction: column;
}
.am-orac-header {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-orac-header .am-orac-sigil {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #c2410c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 14px rgba(249,115,22,0.4);
}
.am-orac-title {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.am-orac-subtitle {
  margin-left: auto;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.am-orac-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  scroll-behavior: smooth;
  background: var(--bg);
  scrollbar-width: none;
}
.am-orac-body::-webkit-scrollbar { width: 0; display: none; }
.am-bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.am-bubble.am-show { opacity: 1; transform: translateY(0); }
.am-bubble-user {
  align-self: flex-end;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--text);
}
.am-bubble-user .am-cursor {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--accent);
  vertical-align: -3px;
  margin-left: 1px;
  animation: amCursor 0.9s steps(2) infinite;
}
@keyframes amCursor { 50% { opacity: 0; } }
.am-bubble-ai {
  align-self: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
}
.am-bubble-ai .am-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}
.am-bubble-ai .am-dots span {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text3);
  animation: amDot 1.1s ease-in-out infinite;
}
.am-bubble-ai .am-dots span:nth-child(2) { animation-delay: 0.15s; }
.am-bubble-ai .am-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes amDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}
.am-plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  min-height: 184px;
}
.am-plan.am-show { opacity: 1; transform: translateY(0); }
.am-plan-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: absolute;
  inset: 0;
  font-size: 12.5px;
  color: var(--text2);
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.am-plan-loading.am-hide { opacity: 0; }
.am-plan-loading-text { letter-spacing: 0.2px; }
.am-plan-content {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.am-plan-content.am-show { opacity: 1; }
.am-plan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.am-plan-row:last-child { border-bottom: none; }
.am-plan-row.am-show { opacity: 1; transform: translateX(0); }
.am-plan-chk {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}
.am-plan-meta {
  background: var(--bg2);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text);
  font-family: var(--heading);
  letter-spacing: 0.2px;
}
.am-plan-projeto {
  background: rgba(249,115,22,0.07);
  padding-left: 22px;
  font-weight: 600;
  color: var(--text);
}
.am-plan-tarefa {
  padding-left: 34px;
  color: var(--text2);
}
.am-plan-tarefa .am-plan-date {
  margin-left: auto;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.3px;
}
.am-orac-input {
  margin: 8px 12px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text3);
  min-height: 36px;
  transition: border-color 0.2s;
}
.am-orac-input.am-orac-focused { border-color: var(--accent); }
.am-orac-input-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  color: var(--text3);
  font-size: 12.5px;
  line-height: 1.3;
}
.am-orac-input-text.am-typing { color: var(--text); }
.am-orac-input-cursor {
  display: none;
  width: 1.5px;
  height: 1.05em;
  background: var(--accent);
  margin: 0 1px 0 -4px;
  animation: amCursor 0.9s steps(2) infinite;
  flex-shrink: 0;
}
.am-orac-input.am-orac-focused .am-orac-input-cursor { display: inline-block; }
.am-orac-mic,
.am-orac-send {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  border: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.am-orac-mic.am-listening {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.am-orac-mic-ring {
  display: none;
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.28;
  animation: amMicPulse 1.1s ease-out infinite;
  z-index: -1;
}
.am-orac-mic.am-listening .am-orac-mic-ring { display: block; }
@keyframes amMicPulse {
  0%   { transform: scale(1);   opacity: 0.35; }
  70%  { transform: scale(1.4); opacity: 0;    }
  100% { transform: scale(1.4); opacity: 0;    }
}
.am-orac-send {
  font-family: var(--mono), 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.am-orac-send.am-active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.am-orac-send.am-pressed {
  transform: scale(0.85);
}

/* ── Comunidade (fiel ao app: votes ↑/↓, post-types foco/rank/imagem/youtube, sem "Conexões") ── */
.app-mockup-comunidade {
  --mc-bg: #FBFBFA;
  --mc-bg2: #F3F3F1;
  --mc-card: #FFFFFF;
  --mc-border: rgba(20,20,20,0.08);
  --mc-border2: rgba(20,20,20,0.12);
  --mc-text: #141414;
  --mc-muted: rgba(20,20,20,0.55);
  --mc-accent: #F97316;
  --mc-share-bg: rgba(249,115,22,0.08);
  background: var(--mc-bg);
  color: var(--mc-text);
}
[data-theme="dark"] .app-mockup-comunidade {
  --mc-bg: #0E0E0E;
  --mc-bg2: #141414;
  --mc-card: #1A1A1A;
  --mc-border: rgba(255,255,255,0.06);
  --mc-border2: rgba(255,255,255,0.1);
  --mc-text: #E8E6E1;
  --mc-muted: rgba(232,230,225,0.55);
  --mc-share-bg: rgba(249,115,22,0.12);
}
.app-mockup-comunidade .am-statusbar { color: var(--mc-text); }
.app-mockup-comunidade .am-statusbar .am-sb-dot { background: var(--mc-text); }
.am-com-stage {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.am-com-header {
  padding: 10px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--mc-border);
}
.am-com-title {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--mc-text);
  letter-spacing: -0.3px;
  line-height: 1;
}
.am-com-filters { display: flex; gap: 6px; }
.am-com-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--mc-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--mc-border);
  background: var(--mc-card);
  letter-spacing: 0.2px;
}
.am-com-chip.am-on {
  color: var(--mc-accent);
  border-color: var(--mc-accent);
  background: var(--mc-share-bg);
}
/* Compose bar (igual app: avatar + placeholder que abre modal) */
.am-com-compose {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: var(--mc-card);
  border-bottom: 1px solid var(--mc-border);
}
.am-com-compose-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--mc-border);
}
.am-com-compose-text {
  flex: 1;
  font-size: 11.5px;
  color: var(--mc-muted);
  padding: 6px 12px;
  background: var(--mc-bg2);
  border-radius: 999px;
  border: 1px solid var(--mc-border);
}
/* Feed scrollável — a viewport está em .am-com-feed (overflow:hidden)
   e é o .am-com-feed-inner que realmente TRANSLADA verticalmente pra simular
   o usuário rolando a página inteira (não cards individuais flutuando). */
.am-com-feed {
  flex: 1;
  overflow: hidden;
  position: relative;
  /* Sem padding interno — o padding fica no inner pra não quebrar o scroll */
}
.am-com-feed-inner {
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: transform;
}
.am-com-post {
  background: var(--mc-card);
  border: 1px solid var(--mc-border);
  border-radius: 12px;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
  /* Posts SEMPRE visíveis — eliminamos o opacity:0/translateY que criava
     sensação de cards flutuando. O feed inteiro é que se move. */
}
/* Post "novo" (p5) entra crescendo do topo — altura + scale.
   overflow: hidden evita que a foto (altura natural) transborde e cubra o post
   de baixo durante e depois da animação. max-height 600 é generoso o suficiente
   pra qualquer post real caber. */
.am-com-post-new {
  order: -1;
  overflow: hidden;
  transform-origin: top center;
  animation: amComPostNew 0.5s cubic-bezier(0.22, 1.4, 0.5, 1) both;
}
@keyframes amComPostNew {
  0%   { opacity: 0; transform: scaleY(0.3); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -8px; }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scaleY(1); max-height: 600px; }
}
.am-com-you {
  font-weight: 500;
  color: var(--mc-muted);
  font-size: 9.5px;
}
.am-com-post-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.am-com-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--mc-border);
}
.am-com-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.am-com-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mc-text);
  line-height: 1.2;
}
.am-com-sub {
  font-size: 9.5px;
  color: var(--mc-muted);
  line-height: 1.2;
  margin-top: 1px;
}
.am-com-text {
  font-size: 11.5px;
  color: var(--mc-text);
  line-height: 1.45;
  letter-spacing: -0.1px;
}
/* Blocos especiais: foco, rank (matching post-types do app real) */
.am-com-block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--mc-border);
  background: var(--mc-bg2);
}
.am-com-block-foco { border-color: rgba(249,115,22,0.22); background: var(--mc-share-bg); }
.am-com-block-ico {
  font-size: 18px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--mc-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.am-com-block-foco .am-com-block-title,
.am-com-block-rank .am-com-block-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mc-text);
  line-height: 1.1;
}
.am-com-block-sub {
  font-size: 9.5px;
  color: var(--mc-muted);
  line-height: 1.1;
  margin-top: 2px;
  display: block;
}
.am-com-block-info { display: flex; flex-direction: column; }
.am-com-block-rank .am-com-block-pos {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--mc-accent);
  width: 42px;
  text-align: center;
  letter-spacing: -0.5px;
}
.am-com-block-medal { font-size: 18px; }
/* SVGs do footer (votes + comment) — mesmos ícones Lucide do app real */
.am-com-vote-svg {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
}
.am-com-cm-svg {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}
/* Imagem e YouTube — .am-com-photo agora é <img> real (não mais div com background),
   replicando exatamente o .post-img do app: width 100%, object-fit contain, sem crop.
   O user pediu sem overflow/crop. */
.am-com-photo {
  width: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  background: var(--mc-bg2);
}
.am-com-yt {
  position: relative;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #18181b, #27272a);
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
}
.am-com-yt-thumb {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=400&q=60') center/cover no-repeat;
  opacity: 0.55;
}
.am-com-yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,0,0,0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
}
.am-com-yt-title {
  position: relative;
  z-index: 2;
  font-size: 10px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  line-height: 1.3;
}
/* Footer com votes up/down (MESMA lógica do app) */
.am-com-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 5px;
  border-top: 1px solid var(--mc-border);
  margin-top: 1px;
}
.am-com-vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mc-bg2);
  border: 1px solid var(--mc-border);
  font-size: 10.5px;
  color: var(--mc-muted);
}
.am-com-vote-up, .am-com-vote-dn {
  font-size: 10px;
  color: var(--mc-muted);
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}
.am-com-vote-up.am-voted {
  color: var(--mc-accent);
  transform: scale(1.25);
}
.am-com-vote-n {
  font-weight: 700;
  color: var(--mc-text);
  font-variant-numeric: tabular-nums;
  min-width: 14px;
  text-align: center;
}
.am-com-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--mc-muted);
  font-weight: 600;
}
.am-com-foot-end { margin-left: auto; font-size: 14px; }

/* Modal de novo post (overlay sobre o feed) */
/* ── Modal "Novo post" — bottom-sheet fiel ao <Modal id="m-novo-post"> do app ──
   Filho DIRETO do .app-mockup (FORA do .am-com-stage) pra cobrir a status bar
   também (igual modal real do app, que tem z-index altíssimo). */
.am-com-modal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}
.am-com-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.am-com-modal.am-show .am-com-modal-backdrop { opacity: 1; }
.am-com-modal-card {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--mc-card);
  border-radius: 20px 20px 0 0;
  padding: 8px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 90%;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1);
  box-shadow: 0 -10px 32px rgba(0,0,0,0.18);
}
.am-com-modal.am-show .am-com-modal-card { transform: translateY(0); }
.am-com-modal-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--mc-border2);
  margin: 2px auto 6px;
  flex-shrink: 0;
}
.am-com-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mc-muted);
  font-size: 11px;
  border-radius: 50%;
  background: var(--mc-bg2);
}
.am-com-modal-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: var(--mc-accent);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.am-com-modal-title {
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--mc-text);
  letter-spacing: -0.3px;
  line-height: 1;
}
.am-com-modal-fg { display: flex; flex-direction: column; gap: 6px; }
.am-com-modal-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--mc-muted);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.am-com-modal-label.am-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.am-com-modal-counter {
  font-size: 10px;
  color: var(--mc-muted);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.am-com-modal-tipos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.am-com-tipo {
  padding: 9px 4px;
  border-radius: 8px;
  border: 1px solid var(--mc-border);
  background: var(--mc-bg2);
  color: var(--mc-muted);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.am-com-tipo.am-on {
  background: var(--mc-share-bg);
  color: var(--mc-accent);
  border-color: var(--mc-accent);
}
/* Upload de imagem — wrapper com altura fixa e os 3 estados sobrepostos
   (position: absolute). Trocar estado só muda opacity; nada empurra pra baixo. */
.am-com-modal-upload {
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}
.am-com-upload-state {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
/* Placeholder: dashed, centralizado */
.am-com-upload-placeholder {
  background: var(--mc-bg2);
  border: 1.5px dashed var(--mc-border2);
  color: var(--mc-muted);
  transition: opacity 0.25s ease, transform 0.2s, background 0.25s, border-color 0.25s;
}
.am-com-upload-placeholder.am-pressed {
  transform: scale(0.97);
  background: var(--mc-share-bg);
  border-color: var(--mc-accent);
}
.am-com-upload-icon { font-size: 24px; line-height: 1; }
.am-com-upload-text { font-size: 11px; font-weight: 500; }
/* Loading: spinner centralizado + "Enviando…" */
.am-com-upload-loading {
  background: var(--mc-bg2);
  border: 1px solid var(--mc-border);
  color: var(--mc-muted);
}
.am-com-upload-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--mc-border2);
  border-top-color: var(--mc-accent);
  animation: amComSpin 0.7s linear infinite;
}
@keyframes amComSpin { to { transform: rotate(360deg); } }
.am-com-upload-loading-text { font-size: 11px; font-weight: 500; }
/* Preview: imagem cobre o slot inteiro */
.am-com-upload-preview { padding: 0; }
.am-com-upload-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.am-com-upload-remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
/* Qual estado fica visível (opacity) */
.am-com-modal-upload[data-state="ph"]      .am-com-upload-placeholder { opacity: 1; }
.am-com-modal-upload[data-state="loading"] .am-com-upload-loading     { opacity: 1; }
.am-com-modal-upload[data-state="preview"] .am-com-upload-preview     { opacity: 1; }

.am-com-modal-textarea {
  min-height: 74px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--mc-border);
  background: var(--mc-bg2);
  font-size: 12px;
  color: var(--mc-text);
  line-height: 1.45;
  word-wrap: break-word;
  text-align: left;
  /* SEM white-space: pre-wrap — o typewriter escreve texto simples sem \n,
     e pre-wrap estava preservando o whitespace entre as tags HTML, criando
     um espaço fantasma antes da primeira letra. */
}
.am-com-compose-cursor {
  display: inline-block;
  width: 1.5px;
  height: 11px;
  background: var(--mc-accent);
  vertical-align: middle;
  margin-left: 1px;
  animation: amComCursor 0.9s ease-in-out infinite;
}
@keyframes amComCursor {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.am-com-modal-footer {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.am-com-modal-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  letter-spacing: 0.1px;
}
.am-com-modal-btn-primary {
  background: var(--mc-border2);
  color: var(--mc-muted);
}
.am-com-modal-btn-primary.am-active {
  background: var(--mc-accent);
  color: #fff;
}
.am-com-modal-btn-primary.am-pressed { transform: scale(0.96); }
.am-com-modal-btn-ghost {
  background: transparent;
  color: var(--mc-muted);
  border: 1px solid var(--mc-border);
  /* mesmo flex: 1 do primary pra ambos ocuparem metade cada */
}

/* ── Ranking (fiel ao app: abas Ranking ao vivo / Hall of Fame, Sua posição, breakdown 4 seções) ── */
.app-mockup-ranking {
  --rk-bg: #FBFBFA;
  --rk-bg2: #F3F3F1;
  --rk-card: #FFFFFF;
  --rk-border: rgba(20,20,20,0.08);
  --rk-text: #141414;
  --rk-muted: rgba(20,20,20,0.55);
  --rk-accent: #F97316;
  --rk-accent-soft: rgba(249,115,22,0.10);
  background: var(--rk-bg);
  color: var(--rk-text);
}
[data-theme="dark"] .app-mockup-ranking {
  --rk-bg: #0E0E0E;
  --rk-bg2: #141414;
  --rk-card: #1A1A1A;
  --rk-border: rgba(255,255,255,0.08);
  --rk-text: #E8E6E1;
  --rk-muted: rgba(232,230,225,0.55);
  --rk-accent-soft: rgba(249,115,22,0.14);
}
.app-mockup-ranking .am-statusbar { color: var(--rk-text); }
.app-mockup-ranking .am-statusbar .am-sb-dot { background: var(--rk-text); }
.am-rk-stage {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.am-rk-header {
  padding: 10px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--rk-border);
}
.am-rk-title {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--rk-text);
  letter-spacing: -0.3px;
  line-height: 1;
}
.am-rk-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--rk-border);
  margin: 0 -14px;
  padding: 0 14px;
}
.am-rk-tab {
  font-size: 11px;
  color: var(--rk-muted);
  padding: 6px 0 8px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.am-rk-tab.am-on { color: var(--rk-text); border-color: var(--rk-accent); }

/* Views (Ranking ao vivo / Hall of Fame) */
.am-rk-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
  overflow: hidden;
  transition: opacity 0.35s ease;
}
.am-rk-view.am-hidden { display: none; }

/* Chips de período (stats-pill style) */
.am-rk-chips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.am-rk-chip {
  font-size: 10px;
  font-weight: 600;
  color: var(--rk-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rk-border);
  background: var(--rk-card);
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.am-rk-chip.am-on {
  background: var(--rk-accent);
  color: #fff;
  border-color: var(--rk-accent);
}

/* Card "Sua posição" (igual rank-me do app) */
.am-rk-me-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rk-muted);
  font-weight: 700;
  margin-top: 4px;
}
.am-rk-me {
  display: grid;
  grid-template-columns: 26px 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--rk-accent-soft);
  border: 1.5px solid var(--rk-accent);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 0 3px var(--rk-accent-soft);
}
.am-rk-me .am-rk-name { color: var(--rk-text); font-weight: 700; font-size: 12px; }
.am-rk-me .am-rk-pos { font-size: 17px; }
.am-rk-score-me {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--rk-accent);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.am-rk-me.am-clickable { transition: transform 0.2s; }

/* Lista top 5 */
.am-rk-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.am-rk-row {
  display: grid;
  grid-template-columns: 26px 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--rk-card);
  border: 1px solid var(--rk-border);
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.am-rk-row.am-show { opacity: 1; transform: translateX(0); }
.am-rk-row.am-rk-me-row {
  border-left: 3px solid var(--rk-accent);
  background: var(--rk-accent-soft);
}
.am-rk-pos {
  font-size: 13px;
  font-weight: 700;
  color: var(--rk-muted);
  text-align: center;
  line-height: 1;
}
.am-rk-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rk-border);
}
.am-rk-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.am-rk-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--rk-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-rk-name small {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--rk-muted);
  margin-left: 3px;
}
.am-rk-sub {
  font-size: 9.5px;
  color: var(--rk-muted);
  margin-top: 1px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-rk-score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--rk-text);
  font-variant-numeric: tabular-nums;
}
.am-rk-row.am-rk-me-row .am-rk-score { color: var(--rk-accent); }
.am-rk-star { font-size: 12px; line-height: 1; }

/* Hall of Fame — Pódio 2-1-3 com pedestais */
.am-rk-hof-period {
  font-size: 11px;
  color: var(--rk-muted);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.2px;
  margin-top: 6px;
}
.am-rk-podium {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 6px;
  align-items: end;
  padding: 6px 4px 0;
  /* Sem flex:1 — deixa o pódio com altura natural e libera espaço pra lista
     de posições 4–10 abaixo. Antes ficava um "buraco" gigante entre o label
     da semana e o pódio. */
}
/* Lista de 4º–10º logo abaixo do pódio (evita a sensação de vazio) */
.am-rk-hof-rest {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}
.am-rk-hof-row {
  display: grid;
  grid-template-columns: 18px 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 8px;
  background: var(--rk-card);
  border: 1px solid var(--rk-border);
}
.am-rk-hof-pos {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--rk-muted);
  text-align: center;
}
.am-rk-hof-row img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rk-border);
}
.am-rk-hof-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--rk-text);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-rk-hof-pts {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--rk-text);
  font-variant-numeric: tabular-nums;
}
.am-rk-hof-more {
  text-align: center;
  font-size: 10px;
  color: var(--rk-muted);
  font-weight: 600;
  padding-top: 2px;
  letter-spacing: 0.2px;
}
.am-rk-pod {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1.4, 0.5, 1), transform 0.55s cubic-bezier(0.22, 1.4, 0.5, 1);
}
.am-rk-pod.am-show { opacity: 1; transform: translateY(0); }
.am-rk-pod-medal { font-size: 20px; line-height: 1; }
.am-rk-pod-1 .am-rk-pod-medal { font-size: 24px; }
.am-rk-pod-av {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rk-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.am-rk-pod-1 .am-rk-pod-av { width: 58px; height: 58px; }
.am-rk-pod-3 .am-rk-pod-av { width: 42px; height: 42px; }
.am-rk-pod-name {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--rk-text);
  line-height: 1.1;
  text-align: center;
}
.am-rk-pod-score {
  font-size: 10px;
  color: var(--rk-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.am-rk-pedestal {
  width: 100%;
  border-radius: 6px 6px 0 0;
  margin-top: 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  color: rgba(255,255,255,0.9);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.am-rk-pedestal-1 {
  height: 58px;
  background: linear-gradient(180deg, #FFD700, #B8860B);
  box-shadow: 0 -2px 8px rgba(255,215,0,0.3);
}
.am-rk-pedestal-2 {
  height: 42px;
  background: linear-gradient(180deg, #D9D9D9, #9E9E9E);
  box-shadow: 0 -2px 8px rgba(192,192,192,0.3);
}
.am-rk-pedestal-3 {
  height: 30px;
  background: linear-gradient(180deg, #D08256, #8B5A2B);
  box-shadow: 0 -2px 8px rgba(205,127,50,0.3);
}

/* Modal breakdown (bottom-sheet) */
.am-rk-breakdown {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  background: var(--rk-card);
  border-top: 1px solid var(--rk-border);
  border-radius: 16px 16px 0 0;
  padding: 8px 16px 14px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.14);
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 0.9, 0.3, 1);
  pointer-events: none;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.am-rk-breakdown.am-show { opacity: 1; transform: translateY(0); }
.am-rk-bd-handle {
  width: 36px; height: 4px;
  background: var(--rk-border);
  border-radius: 999px;
  margin: 2px auto 4px;
}
.am-rk-bd-eye {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rk-muted);
  font-weight: 700;
}
.am-rk-bd-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 10px;
  background: var(--rk-accent-soft);
  border-radius: 10px;
}
.am-rk-bd-total-lbl {
  font-size: 11px;
  color: var(--rk-text);
  font-weight: 600;
}
.am-rk-bd-total {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--rk-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}
.am-rk-bd-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.am-rk-bd-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--rk-text);
  font-weight: 600;
  margin-bottom: 3px;
}
.am-rk-bd-val {
  color: var(--rk-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.am-rk-bd-track {
  height: 5px;
  background: var(--rk-bg2);
  border-radius: 999px;
  overflow: hidden;
}
.am-rk-bd-fill {
  height: 100%;
  width: var(--w, 0%);
  background: var(--rk-accent);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.am-rk-bd-bar.am-rk-bd-neg .am-rk-bd-fill { background: #DC2626; }
.am-rk-bd-bar.am-rk-bd-neg .am-rk-bd-val { color: #DC2626; }

/* ── Quiz / Autoconhecimento ── */
.app-mockup-quiz {
  --qz-bg: #FBFBFA;
  --qz-bg2: #F3F3F1;
  --qz-card: #FFFFFF;
  --qz-border: rgba(20,20,20,0.08);
  --qz-border2: rgba(20,20,20,0.14);
  --qz-text: #141414;
  --qz-muted: rgba(20,20,20,0.55);
  --qz-accent: #F97316;
  --qz-accent-soft: rgba(249,115,22,0.08);
  background: var(--qz-bg);
  color: var(--qz-text);
}
[data-theme="dark"] .app-mockup-quiz {
  --qz-bg: #0E0E0E;
  --qz-bg2: #141414;
  --qz-card: #1A1A1A;
  --qz-border: rgba(255,255,255,0.06);
  --qz-border2: rgba(255,255,255,0.14);
  --qz-text: #E8E6E1;
  --qz-muted: rgba(232,230,225,0.55);
  --qz-accent-soft: rgba(249,115,22,0.14);
}
.app-mockup-quiz .am-statusbar { color: var(--qz-text); }
.app-mockup-quiz .am-statusbar .am-sb-dot { background: var(--qz-text); }
.am-qz-stage {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 20px;
  gap: 12px;
}

/* Quiz state */
.am-qz-quiz,
.am-qz-computing,
.am-qz-result {
  position: absolute;
  inset: 52px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.am-qz-quiz.am-show,
.am-qz-computing.am-show,
.am-qz-result.am-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.am-qz-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.am-qz-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--qz-muted);
  font-weight: 700;
}
.am-qz-prog {
  font-size: 11px;
  color: var(--qz-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.am-qz-progtrack {
  height: 4px;
  background: var(--qz-bg2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: -2px;
}
.am-qz-progfill {
  height: 100%;
  background: var(--qz-accent);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.22, 0.9, 0.3, 1);
}
/* Banner de imagem em cima da pergunta (fiel ao app: quiz-01 a quiz-10)
   Aspect-ratio 16:9 pra consistência com o app real. */
.am-qz-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background-color: var(--qz-bg2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 4px;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.am-qz-question {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--qz-text);
  line-height: 1.3;
  letter-spacing: -0.2px;
  margin-top: 4px;
  min-height: 42px;
}
.am-qz-opts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.am-qz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--qz-card);
  border: 1.5px solid var(--qz-border);
  border-radius: 11px;
  color: var(--qz-text);
  font-size: 11.5px;
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.15s;
  cursor: pointer;
  font-family: var(--sans);
}
.am-qz-opt.am-selected {
  border-color: var(--qz-accent);
  background: var(--qz-accent-soft);
}
.am-qz-opt-ico {
  font-size: 16px;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--qz-bg2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.am-qz-opt.am-selected .am-qz-opt-ico {
  background: var(--qz-accent);
  color: #fff;
}
.am-qz-opt-text {
  flex: 1;
  line-height: 1.35;
}

/* Computing state */
.am-qz-computing {
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.am-qz-spinner {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid var(--qz-border);
  border-top-color: var(--qz-accent);
  animation: amQzSpin 0.9s linear infinite;
}
@keyframes amQzSpin { to { transform: rotate(360deg); } }
.am-qz-computing-text {
  font-size: 12px;
  color: var(--qz-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Result state */
.am-qz-result { gap: 10px; }
.am-qz-result-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--qz-muted);
  font-weight: 700;
}
.am-qz-result-card {
  background: var(--qz-card);
  border: 1.5px solid var(--qz-accent);
  border-radius: 14px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  box-shadow: 0 0 0 3px var(--qz-accent-soft), 0 8px 24px rgba(249,115,22,0.18);
  transition: transform 0.5s cubic-bezier(0.22, 1.6, 0.5, 1), opacity 0.4s ease;
}
.am-qz-result-emoji {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 2px;
}
.am-qz-result-img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 6px;
  border: 2px solid var(--qz-accent);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.am-qz-result-name {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--qz-text);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.am-qz-result-mbti {
  font-size: 10px;
  color: var(--qz-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.am-qz-result-tag {
  font-size: 11px;
  color: var(--qz-text);
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
  max-width: 240px;
  font-style: italic;
}
.am-qz-result-sub {
  font-size: 10px;
  color: var(--qz-muted);
  text-align: center;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

/* Slideshow dos 16 deuses (grid 4×4 com flash) */
.am-qz-gods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 6px;
}
.am-qz-god {
  aspect-ratio: 1;
  background: var(--qz-bg2);
  border: 1px solid var(--qz-border);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1.5, 0.5, 1), border-color 0.3s, background 0.3s;
}
.am-qz-god.am-show { opacity: 1; transform: scale(1); }
.am-qz-god.am-flash {
  border-color: var(--qz-accent);
  background: var(--qz-accent-soft);
  transform: scale(1.1);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(249,115,22,0.25);
}
/* Imagem do deus (em vez de emoji) — tira do /public/quiz/ */
.am-qz-god-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 9px;
  padding: 0;
  display: block;
}
.am-qz-god {
  overflow: hidden;
  padding: 0;
}
.am-qz-god-name {
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  font-size: 7px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  pointer-events: none;
}
.am-qz-god { position: relative; }
.am-qz-god.am-result {
  border-color: var(--qz-accent);
  border-width: 2px;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
  transform: scale(1.08);
  z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
  .app-mockup-foco,
  .app-mockup-foco.am-playing { animation: none !important; }
  .am-foco-ring .am-ring-fill { transition: none !important; }
  .am-bubble, .am-plan, .am-plan-row, .am-plan-content, .am-foco-music { opacity: 1 !important; transform: none !important; transition: none !important; }
  .am-plan-loading { opacity: 0 !important; }
  .am-bubble-ai .am-dots span,
  .am-bubble-user .am-cursor,
  .am-orac-input-cursor,
  .am-foco-music-eq span { animation: none !important; }
  .am-orac-mic-ring { display: none !important; }
}

/* ══════════════════════════════════
   UTILITIES
═══════════════════════════════════ */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════
   CLICKABLE PLACEHOLDER
═══════════════════════════════════ */
.placeholder-visual-clickable {
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.placeholder-visual-clickable:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-lg);
  transform: translateY(-2px);
}
.placeholder-play-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}

/* ══════════════════════════════════
   SECTION: CATEGORIAS
═══════════════════════════════════ */
.section-categorias { background: var(--bg); padding: 100px 0; }
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.cat-card { min-width: 0; }
.cat-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color var(--transition), transform 0.15s;
}
@media (hover: hover) {
  .cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
}
.cat-emoji { font-size: 28px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); }
.callouts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.descanso-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 24px;
}
.descanso-callout-emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
}
.descanso-callout-text {
  flex: 1;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
}
.descanso-callout-text strong { color: var(--text); }
.descanso-callout .btn-saiba-mais {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .callouts-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .categorias-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .descanso-callout { flex-direction: column; text-align: center; gap: 12px; }
}

/* ══════════════════════════════════
   SECTION: COMUNIDADE & AUTOCONHECIMENTO
═══════════════════════════════════ */
/* Intercala --bg / --bg2 nas 3 sections de mockup pra que cada uma fique
   visualmente distinta da anterior E da categorias (que é --bg).
   Sequência: categorias(bg) → comunidade(bg2) → ranking(bg) → autoconh(bg2). */
.section-comunidade-solo  { background: var(--bg2); padding: 100px 0; }
.section-ranking          { background: var(--bg);  padding: 100px 0; }
.section-autoconhecimento { background: var(--bg2); padding: 100px 0; }
/* legacy compat */
.section-comunidade { background: var(--bg2); padding: 100px 0; }
.split-heading {
  font-family: var(--heading);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.feature-list {
  margin: 16px 0 20px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.feature-list li strong {
  color: var(--text);
}
@media (max-width: 768px) {
  .section-comunidade { padding: 64px 0; }
}

/* ══════════════════════════════════
   MODAL: FOCO DEMO
═══════════════════════════════════ */
.foco-demo-box {
  max-width: 420px;
  padding: 0 !important;
  min-height: 500px;
  overflow: hidden;
  background: #0E0E0E !important;
  border: 1px solid rgba(255,255,255,0.08);
}
.foco-demo-box .modal-close {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  z-index: 10;
}
.foco-demo-box .modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.foco-demo {
  background: linear-gradient(180deg, #0E0E0E 0%, #151520 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  min-height: 500px;
  position: relative;
}
.foco-demo-ring {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}
.foco-demo-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.foco-demo-progress {
  transition: stroke-dashoffset 0.5s ease;
}
.foco-demo-time {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}
.foco-demo-task {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  font-weight: 500;
}
.foco-demo-times {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.foco-time-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.foco-time-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.foco-time-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.foco-demo-controls {
  margin-bottom: 24px;
}
.foco-demo-play {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 48px;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.foco-demo-play:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}
.foco-demo-icons {
  display: flex;
  gap: 12px;
}
.foco-demo-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.foco-demo-icon-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}

/* Breathing overlay */
.foco-demo-breathing {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 5;
}
.breathing-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(249,115,22,0.2) 70%, transparent 100%);
  animation: breathe 12s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  33% { transform: scale(1.4); opacity: 1; }
  50% { transform: scale(1.4); opacity: 1; }
  83% { transform: scale(1); opacity: 0.6; }
}
.breathing-label {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
}
.breathing-close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.breathing-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ══════════════════════════════════
   MODAL: ARQUETIPOS
═══════════════════════════════════ */
.arquetipos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.arquetipo-pill {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  transition: border-color var(--transition), background var(--transition);
}
.arquetipo-pill:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}
@media (max-width: 480px) {
  .arquetipos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════
   COOKIE BANNER + POLICY MODAL
═══════════════════════════════════ */
/* Banner fixo no rodapé: reusa btn-primary / btn-secondary do sistema */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
  /* Estado inicial (pre-animação): descolado pra baixo + invisível */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
/* Classe adicionada pelo JS após hidden=false (com reflow). Dispara
   slide up + fade in de uma vez. Mesmo comportamento reverso no hide. */
.cookie-banner.cookie-banner-shown {
  opacity: 1;
  transform: translateY(0);
}
/* CRÍTICO: vence o display:flex quando o JS seta o atributo `hidden`. Sem
   isso, banner.hidden=true não tem efeito visual porque o CSS sobrescreve. */
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cookie-banner-text strong {
  color: var(--text);
  font-weight: 700;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 14px 16px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions .btn-primary,
  .cookie-banner-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ── Modal de cookies: container mais estreito que o padrão pra caber bem
      em desktop e não ficar gigante sem precisar ── */
.modal-cookies-box {
  max-width: 520px;
}

/* Categorias com dropdown de detalhe (click no título/caret expande) */
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
}
.cookie-cat {
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
}
button.cookie-cat-header { cursor: pointer; }
.cookie-cat-titles {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--text);
}
.cookie-cat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.cookie-cat-sub {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.5;
  font-weight: 400;
}
.cookie-cat-caret {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text3);
  cursor: pointer;
  padding: 4px 6px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.cookie-cat-open .cookie-cat-caret {
  transform: rotate(180deg);
}
.cookie-cat-detail {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.6;
  padding: 0 14px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}
.cookie-cat-open .cookie-cat-detail {
  max-height: 200px;
  padding: 0 14px 14px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

/* Toggle switch (checkbox escondido) */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-dot {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background var(--transition);
}
.cookie-toggle-dot::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-dot {
  background: var(--accent);
}
.cookie-toggle input:checked + .cookie-toggle-dot::after {
  transform: translateX(18px);
}
.cookie-toggle-locked {
  cursor: not-allowed;
  opacity: 0.55;
}
.cookie-toggle-locked .cookie-toggle-dot {
  background: var(--accent);
}
.cookie-toggle-locked .cookie-toggle-dot::after {
  transform: translateX(18px);
}

.cookie-modal-note {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-top: 6px;
}

/* Botões finais do modal: coluna em todas as resoluções pra consistência.
   Cada um ocupa 100% da largura disponível. Primary primeiro (ação mais comum). */
.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.cookie-modal-actions .btn-primary,
.cookie-modal-actions .btn-secondary {
  width: 100%;
  justify-content: center;
}
