/* Aprovando OAB — tema profissional + acessibilidade */
:root {
  --navy: #122640;
  --navy-deep: #0a1628;
  --navy-soft: #1a3555;
  --gold: #c9a227;
  --gold-soft: #e8c96a;
  --cream: #fdfaf5;
  --cream-dark: #f3ede3;
  --text: #1e2a3a;
  --text-muted: #5a6b7d;
  --text-light: #8ba3be;
  --border: rgba(18, 38, 64, 0.12);
  --shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max: 1120px;
  --line: 1.65;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: var(--line);
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a { color: inherit; }

.container {
  width: min(var(--max), 100% - 2rem);
  margin-inline: auto;
}

/* ── Marketing header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand img { height: 68px; width: auto; display: block; }

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(18, 38, 64, 0.2);
}

.btn-primary:hover { box-shadow: 0 6px 24px rgba(18, 38, 64, 0.28); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ── Hero (Myhra-style) ── */
.hero-landing {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-landing .logo-wrap {
  max-width: min(560px, 92vw);
  margin: 0 auto 2rem;
  padding: 32px 20px 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-landing .logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-landing h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-landing .lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Sections ── */
.section {
  padding: 4.5rem 0;
}

.section-alt { background: #fff; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Accessibility highlight ── */
.a11y-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #e8edf5;
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.a11y-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gold-soft);
}

.a11y-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.a11y-list li {
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.a11y-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Pricing ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.15);
  transform: scale(1.02);
}

.price-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.price-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-features li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── App hub (index) ── */
body.app-hub {
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(55, 138, 221, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(201, 162, 39, 0.06), transparent 45%),
    var(--navy-deep);
  color: #c8d8e8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-hero {
  text-align: center;
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 480px;
  width: 100%;
}

.app-tagline {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 320px;
  margin: 0 auto;
}

.portal-cards {
  max-width: 520px;
  width: 100%;
  padding: 0 1.1rem 3rem;
  display: grid;
  gap: 0.85rem;
}

.portal-card {
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.portal-card:active { transform: scale(0.975); }

.portal-card-estudo {
  background: linear-gradient(145deg, #0c1828, #091220);
  border: 1px solid #1e4070;
}

.portal-card-estudo:hover {
  border-color: #378add;
  box-shadow: 0 0 24px rgba(55, 138, 221, 0.12);
}

.portal-card-sim {
  background: linear-gradient(145deg, #1a1200, #100c00);
  border: 1px solid #7a5a0a;
}

.portal-card-sim:hover {
  border-color: #c8a020;
  box-shadow: 0 0 24px rgba(240, 192, 64, 0.12);
}

.portal-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.portal-card-desc {
  font-size: 0.8125rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.portal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.chip {
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  border: 0.5px solid rgba(255,255,255,0.08);
  color: var(--text-light);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-family: inherit;
  padding: 12px 20px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #0c447c;
  color: #e8edf5;
}

.sim-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.sim-link {
  display: block;
  text-align: center;
  padding: 0.85rem 0.5rem;
  background: rgba(0,0,0,0.35);
  border: 0.5px solid #3a2a00;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.sim-link:hover { border-color: #b8860b; }

.app-footer {
  padding: 1.5rem;
  font-size: 0.625rem;
  color: #1e3050;
  text-align: center;
  letter-spacing: 0.08em;
}

.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--navy);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   LANDING PAGE — visual premium (Myhra-style)
   ═══════════════════════════════════════════ */
body.landing-page {
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(18, 38, 64, 0.04), transparent);
}

body.landing-page .site-header {
  background: rgba(253, 250, 245, 0.88);
  border-bottom-color: rgba(18, 38, 64, 0.06);
}

body.landing-page .brand img { height: 74px; }

/* Hero */
body.landing-page .hero-landing {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(18, 38, 64, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* Hero split + photo collage */
.hero-landing-split {
  text-align: left;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy .hero-eyebrow { margin-bottom: 1rem; }

.hero-logo-compact {
  max-width: 340px;
  margin: 0 0 1.5rem;
  padding: 24px 16px 14px;
}

body.landing-page .hero-landing-split h1 {
  max-width: 14ch;
  margin-inline: 0;
  text-align: left;
}

body.landing-page .hero-landing-split .lead {
  max-width: 34rem;
  margin-inline: 0;
  text-align: left;
}

body.landing-page .hero-landing-split .lead strong {
  color: var(--navy);
  font-weight: 600;
}

.hero-landing-split .hero-actions {
  justify-content: flex-start;
}

.hero-landing-split .hero-note {
  text-align: left;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.photo-collage {
  position: relative;
  width: min(100%, 480px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}

.photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    0 24px 64px rgba(10, 22, 40, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.02) 0%,
    rgba(10, 22, 40, 0.08) 55%,
    rgba(10, 22, 40, 0.35) 100%
  );
  pointer-events: none;
}

.photo-card-main {
  inset: 0;
  z-index: 1;
  animation: photo-float-main 8s ease-in-out infinite;
}

.photo-card-float {
  width: 42%;
  aspect-ratio: 4 / 5;
  z-index: 2;
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.photo-card-a {
  top: 6%;
  right: -6%;
  animation: photo-float-a 7s ease-in-out infinite;
}

.photo-card-b {
  bottom: 10%;
  left: -8%;
  animation: photo-float-b 9s ease-in-out infinite;
}

.photo-card-c {
  bottom: -4%;
  right: 8%;
  width: 36%;
  animation: photo-float-c 8.5s ease-in-out infinite;
}

.photo-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-visual-badge {
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 38, 64, 0.08);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

@keyframes photo-float-main {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes photo-float-a {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes photo-float-b {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes photo-float-c {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Community / diversity section */
.section-community {
  background:
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}

.community-header {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.community-sub {
  max-width: 36rem;
  margin-inline: auto;
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.community-photo {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.community-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(10, 22, 40, 0.16);
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.community-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.community-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 40, 0.55) 100%);
  pointer-events: none;
}

.community-photo-featured {
  transform: translateY(-12px);
  box-shadow: 0 28px 64px rgba(10, 22, 40, 0.14);
}

.community-photo-featured:hover {
  transform: translateY(-18px);
}

.community-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

.community-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.community-feature {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.04);
}

.community-feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.community-feature p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  body.landing-page .hero-landing-split h1,
  body.landing-page .hero-landing-split .lead,
  .hero-landing-split .hero-note {
    text-align: center;
    margin-inline: auto;
  }

  .hero-logo-compact { margin-inline: auto; }

  .hero-landing-split .hero-actions { justify-content: center; }

  .hero-visual { min-height: 360px; }

  .photo-card-a { right: -2%; }
  .photo-card-b { left: -2%; }

  .community-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-photo-featured { transform: none; }
  .community-photo-featured:hover { transform: translateY(-6px); }

  .community-features { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .photo-card-float { display: none; }
  .photo-collage { aspect-ratio: 4 / 5; max-width: 320px; }
  .community-gallery { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-logo-card {
  border-radius: 18px;
  border: 1px solid rgba(18, 38, 64, 0.06);
  box-shadow:
    0 4px 24px rgba(10, 22, 40, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

body.landing-page .hero-landing h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 700;
  max-width: 18ch;
  margin-inline: auto;
}

body.landing-page .hero-landing .lead {
  max-width: 38rem;
  line-height: 1.75;
}

body.landing-page .btn-primary {
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  letter-spacing: 0.01em;
}

body.landing-page .btn-outline {
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
}

body.landing-page .btn-outline:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(18, 38, 64, 0.08);
}

/* Sections */
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

body.landing-page .section {
  padding: 5.5rem 0;
}

body.landing-page .section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body.landing-page .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}

body.landing-page .feature-card {
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
  display: flex;
  flex-direction: column;
}

body.landing-page .feature-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

body.landing-page .a11y-banner {
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 24px 64px rgba(10, 22, 40, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Pricing section (premium dark band) ── */
.section-pricing {
  position: relative;
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.pricing-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-soft) 100%);
  z-index: 0;
}

.pricing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03), transparent 40%);
  pointer-events: none;
}

.pricing-inner {
  position: relative;
  z-index: 1;
}

.section-title-light {
  color: #f5f0e8 !important;
}

.section-sub-light {
  color: rgba(232, 237, 245, 0.65) !important;
}

body.landing-page .section-pricing .section-eyebrow {
  color: var(--gold-soft);
}

body.landing-page .price-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 960px;
  margin-inline: auto;
}

body.landing-page .price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.landing-page .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

body.landing-page .price-card-top {
  padding: 2rem 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.price-tier {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

body.landing-page .price-card .price-amount {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.price-suffix {
  font-family: var(--font);
  font-size: 0.4em;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.15em;
}

.price-period {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

body.landing-page .price-card .price-features {
  flex: 1;
  padding: 1.25rem 1.75rem;
  margin-bottom: 0;
}

body.landing-page .price-card .price-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  border-bottom: 1px solid rgba(18, 38, 64, 0.05);
}

body.landing-page .price-card .price-features li:last-child {
  border-bottom: none;
}

.btn-block {
  width: calc(100% - 3rem);
  margin: 0 1.5rem 1.5rem;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
}

body.landing-page .price-card.featured {
  transform: scale(1.04);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.2),
    0 24px 56px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

body.landing-page .price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

body.landing-page .price-card.featured .price-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.35);
}

body.landing-page .price-card.featured .price-card-top {
  padding-top: 2.25rem;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.06) 0%, transparent 100%);
}

body.landing-page .price-card.featured .price-amount {
  color: var(--gold);
}

body.landing-page .site-footer {
  background: var(--navy-deep);
  color: rgba(232, 237, 245, 0.55);
  border-top: none;
  padding: 3rem 0;
}

body.landing-page .site-footer a {
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  body.landing-page .price-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  body.landing-page .price-card.featured {
    transform: none;
    order: -1;
  }
  body.landing-page .price-card.featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .a11y-banner { grid-template-columns: 1fr; }
  body.landing-page .hero-landing { padding: 3.5rem 0 4rem; }
  body.landing-page .section { padding: 4rem 0; }
  body.landing-page .section-pricing { padding: 4.5rem 0 5rem; }
}

/* ═══════════════════════════════════════════
   APP HUB — index, area-estudo, simulador-hub
   ═══════════════════════════════════════════ */

.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(720px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.25rem 0 0.5rem;
}

.hub-topbar-brand img {
  height: 62px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.hub-topbar-brand-sm img { height: 56px; }

.hub-topbar-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.hub-topbar-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}

.hub-topbar-nav a:hover { color: #e8edf5; }

.hub-topbar-back {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}

.hub-topbar-back:hover { color: var(--gold-soft); }

.hub-topbar-spacer { width: 4rem; }

.hub-main {
  width: min(720px, 100% - 2rem);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  flex: 1;
}

.hub-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hub-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b9bd5;
  margin-bottom: 0.85rem;
}

.hub-eyebrow-gold { color: var(--gold-soft); }

.hub-intro h1,
.hub-sub-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  color: #e8edf5;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hub-lead {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 34rem;
  margin-inline: auto;
}

.hub-portals {
  display: grid;
  gap: 1rem;
}

.hub-portals-single { max-width: 520px; margin-inline: auto; }

.hub-portal {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 1.25rem;
  padding: 1.75rem;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.hub-portal:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hub-portal-estudo {
  background: linear-gradient(145deg, rgba(12, 24, 40, 0.95) 0%, rgba(9, 18, 32, 0.98) 100%);
  border-color: rgba(55, 138, 221, 0.25);
}

.hub-portal-estudo:hover { border-color: rgba(55, 138, 221, 0.5); }

.hub-portal-featured {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 2rem 1.75rem;
}

.hub-portal-featured .hub-portal-icon {
  margin: 0 auto 1rem;
}

.hub-portal-featured .hub-portal-body p {
  max-width: 28rem;
  margin-inline: auto;
}

.hub-portal-sim {
  background: linear-gradient(145deg, rgba(26, 18, 0, 0.6) 0%, rgba(16, 12, 0, 0.8) 100%);
  border-color: rgba(201, 162, 39, 0.2);
}

.hub-portal-sim:hover { border-color: rgba(201, 162, 39, 0.45); }

.hub-portal-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(55, 138, 221, 0.12);
  color: #5b9bd5;
  grid-row: span 2;
  align-self: center;
}

.hub-portal-sim .hub-portal-icon {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-soft);
}

.hub-portal-icon svg { width: 100%; height: 100%; }

.hub-portal-body h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e8edf5;
  margin-bottom: 0.35rem;
}

.hub-portal-body p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.65;
}

.hub-portal-cta {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 11px;
  font-size: 0.875rem;
  font-weight: 600;
  background: #0c447c;
  color: #e8edf5;
}

.hub-portal-cta-gold {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.hub-alt-link {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.hub-alt-link a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 500;
}

.hub-alt-link a:hover { text-decoration: underline; }

.hub-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.625rem;
  color: #3a5070;
  letter-spacing: 0.08em;
}

.hub-footer a {
  color: #5b9bd5;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0;
}

/* Subpages: area-estudo, simulador-hub */
.hub-sub-main {
  width: min(640px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.hub-sub-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hub-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hub-stat {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.hub-stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 0.2rem;
}

.hub-stat span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.hub-features-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.hub-features-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hub-feature-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.hub-feature-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hub-feature-list li:last-child { border-bottom: none; }

.hub-feature-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8edf5;
}

.hub-feature-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

.hub-sub-cta-wrap {
  text-align: center;
}

.hub-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #0c447c 0%, #1a5a9e 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(12, 68, 124, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hub-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(12, 68, 124, 0.45);
}

.hub-sub-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
}

.hub-sub-note-center { text-align: center; max-width: 28rem; margin-inline: auto; }

/* Simulador hub — phase cards */
.phase-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.phase-card {
  display: block;
  padding: 2rem 1.75rem;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, rgba(12, 24, 40, 0.9), rgba(9, 18, 32, 0.95));
  border: 1px solid rgba(55, 138, 221, 0.2);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.phase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 138, 221, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.phase-card-gold {
  background: linear-gradient(145deg, rgba(26, 20, 6, 0.85), rgba(16, 12, 0, 0.9));
  border-color: rgba(201, 162, 39, 0.25);
}

.phase-card-gold:hover {
  border-color: rgba(201, 162, 39, 0.5);
}

.phase-card-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b9bd5;
  background: rgba(55, 138, 221, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.phase-card-badge-gold {
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.12);
}

.phase-card h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #e8edf5;
  margin-bottom: 0.65rem;
}

.phase-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.phase-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.phase-meta li {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-light);
}

.phase-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5b9bd5;
}

.phase-cta-gold { color: var(--gold-soft); }

@media (max-width: 600px) {
  .hub-topbar-nav { display: none; }
  .hub-stats { grid-template-columns: repeat(2, 1fr); }
  .hub-portal { grid-template-columns: 1fr; text-align: center; }
  .hub-portal-icon { margin: 0 auto; grid-row: auto; }
  .hub-topbar-dash { flex-wrap: wrap; }
  .dash-user-bar { width: 100%; justify-content: space-between; }
}

/* ═══════════════════════════════════════════
   DASHBOARD — conta / progresso
   ═══════════════════════════════════════════ */

body.app-dashboard {
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(55, 138, 221, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(201, 162, 39, 0.06), transparent 45%),
    var(--navy-deep);
  color: #c8d8e8;
}

.hub-topbar-dash {
  width: min(960px, 100% - 2rem);
}

.hub-topbar-nav a.is-active {
  color: var(--gold-soft);
}

.dash-user-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.dash-user-meta {
  text-align: right;
  line-height: 1.35;
}

.dash-user-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8edf5;
}

.dash-user-tier {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin-top: 0.15rem;
}

.dash-logout-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.dash-logout-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #e8edf5;
}

.dash-main {
  width: min(720px, 100% - 2rem);
  padding-bottom: 3rem;
}

.dash-intro h1 {
  color: #f0f4f8;
}

.dash-trial-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.dash-trial-banner.expired {
  background: rgba(220, 80, 80, 0.12);
  border-color: rgba(248, 113, 113, 0.45);
}

.dash-trial-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  color: #e8edf5;
  line-height: 1.55;
}

.dash-trial-text strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.dash-trial-banner.expired .dash-trial-text strong {
  color: #fca5a5;
}

.dash-trial-btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.dash-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2.5rem;
}

.dash-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.dash-portals {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dash-features {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.dash-feature-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-feature-item:first-child {
  padding-top: 0;
}

.dash-feature-item.locked {
  opacity: 0.55;
}

.dash-feature-body strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e8edf5;
  margin-bottom: 0.25rem;
}

.dash-feature-body p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.55;
}

.dash-feature-tag {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.dash-feature-tag.unlocked {
  background: rgba(74, 222, 128, 0.12);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.3);
}

.dash-plan-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.dash-plan-box h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 0.65rem;
}

.dash-plan-box h3 strong {
  color: var(--gold-soft);
  text-transform: uppercase;
  font-family: var(--font);
  font-size: 0.9em;
  letter-spacing: 0.06em;
}

.dash-plan-box p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  max-width: 28rem;
  margin-inline: auto;
}

.dash-payment-success {
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
  font-size: 0.875rem;
  text-align: center;
}

/* Feedback widget (plataforma) */
.feedback-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.4);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.feedback-btn:hover { transform: scale(1.05); }

.feedback-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.feedback-modal.open { display: flex; }

.feedback-modal-content {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  color: var(--text);
}

.feedback-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.feedback-modal-header {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.feedback-form-group { margin-bottom: 1rem; }

.feedback-form-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.feedback-form-group input,
.feedback-form-group textarea,
.feedback-form-group select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: #fff;
  color: var(--text);
}

.feedback-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.feedback-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.feedback-submit:hover { opacity: 0.92; }

