/* =========================================================
   Conexão Profissional · Treinamento de Capacitação
   Design tokens, dark/light themes, animations
   ========================================================= */

:root {
  /* Brand */
  --brand-blue: #0d73d7;
  --brand-blue-deep: #063f82;
  --brand-cyan: #12a8d4;
  --brand-orange: #ff7a00;
  --brand-orange-soft: #ffb02e;

  /* Light theme */
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #0a1628;
  --text-soft: #2c3a52;
  --muted: #54627a;
  --line: rgba(10, 22, 40, 0.09);
  --line-strong: rgba(10, 22, 40, 0.14);
  --header-bg: rgba(245, 247, 251, 0.78);
  --soft-bg: #eef2f9;

  --accent: var(--brand-orange);
  --accent-soft: var(--brand-orange-soft);
  --highlight: var(--brand-blue);
  --highlight-soft: var(--brand-cyan);

  --gradient-primary: linear-gradient(135deg, #0d73d7 0%, #063f82 100%);
  --gradient-warm: linear-gradient(135deg, #ff7a00 0%, #ffb02e 100%);
  --gradient-cool: linear-gradient(135deg, #12a8d4 0%, #0d73d7 60%, #063f82 100%);
  --gradient-text: linear-gradient(135deg, #0d73d7 0%, #12a8d4 50%, #ff7a00 100%);
  --hero-bg:
    radial-gradient(1100px 600px at 88% -10%, rgba(255, 122, 0, 0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 0%, rgba(18, 168, 212, 0.18), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);

  --shadow-sm: 0 6px 18px rgba(6, 35, 74, 0.06);
  --shadow: 0 22px 60px rgba(6, 35, 74, 0.12);
  --shadow-lg: 0 36px 80px rgba(6, 35, 74, 0.18);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #050912;
  --bg-elevated: #0c1628;
  --surface: rgba(13, 24, 42, 0.72);
  --surface-strong: #0d182a;
  --text: #f1f5fb;
  --text-soft: #d4dcea;
  --muted: #94a3bf;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --header-bg: rgba(5, 9, 18, 0.78);
  --soft-bg: #08111f;

  --accent: #ff9028;
  --accent-soft: #ffb763;
  --highlight: #4fb1ff;
  --highlight-soft: #6dd6f5;

  --gradient-primary: linear-gradient(135deg, #4fb1ff 0%, #1668d2 100%);
  --gradient-warm: linear-gradient(135deg, #ff9028 0%, #ffc06b 100%);
  --gradient-cool: linear-gradient(135deg, #6dd6f5 0%, #4fb1ff 50%, #1668d2 100%);
  --gradient-text: linear-gradient(135deg, #6dd6f5 0%, #4fb1ff 45%, #ff9028 100%);
  --hero-bg:
    radial-gradient(1000px 600px at 88% -10%, rgba(255, 144, 40, 0.22), transparent 60%),
    radial-gradient(900px 600px at 8% 0%, rgba(79, 177, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #050912 0%, #07101e 100%);

  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.65);
}

/* ---------------- Base ---------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--brand-blue);
}

:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.78);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  background: var(--brand-blue-deep);
  box-shadow: var(--shadow);
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text-gradient {
  background: var(--gradient-text);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient.bright {
  background: linear-gradient(135deg, #ffe8a8 0%, #ffb763 50%, #ff9028 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.eyebrow.on-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------------- Scroll progress ---------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--gradient-text);
  box-shadow: 0 0 18px rgba(13, 115, 215, 0.45);
  transition: width 0.1s linear;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav {
  display: grid;
  min-height: 76px;
  align-items: center;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-text strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.brand-logo {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  background: var(--surface-strong);
  transition:
    transform 0.25s var(--ease),
    background 0.2s var(--ease);
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

.theme-icon-sun,
.theme-icon-moon {
  display: inline-grid;
  place-items: center;
  transition: opacity 0.3s var(--ease);
}

.theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: inline-grid;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
  background: var(--gradient-primary);
  box-shadow: 0 12px 24px rgba(13, 115, 215, 0.32);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(13, 115, 215, 0.45);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  cursor: pointer;
  background: var(--surface-strong);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, -6px);
}

.menu-toggle span:nth-child(2) {
  transform: translateX(-50%);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------------- Sections ---------------- */

.section {
  position: relative;
  padding: 78px 0;
}

.section-soft {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(18, 168, 212, 0.10), transparent 60%),
    var(--soft-bg);
}

.section-feature {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(255, 122, 0, 0.10), transparent 50%),
    radial-gradient(700px 400px at 0% 100%, rgba(13, 115, 215, 0.10), transparent 50%),
    var(--bg);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(255, 122, 0, 0.18), transparent 55%),
    radial-gradient(800px 500px at 0% 100%, rgba(18, 168, 212, 0.16), transparent 55%),
    linear-gradient(135deg, #050912 0%, #0a1f3d 100%);
}

.section-cta {
  color: #fff;
  background:
    radial-gradient(700px 380px at 80% 20%, rgba(255, 144, 40, 0.45), transparent 55%),
    radial-gradient(600px 360px at 10% 90%, rgba(18, 168, 212, 0.55), transparent 55%),
    linear-gradient(135deg, #063f82 0%, #0d73d7 60%, #12a8d4 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.section-heading p,
.two-column p {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p,
.section-dark p,
.section-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

/* ---------------- Cursor glow ---------------- */

.cursor-glow {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 540px;
  height: 540px;
  pointer-events: none;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0) translate3d(var(--cx, 50vw), var(--cy, 50vh), 0);
  background: radial-gradient(closest-side, rgba(18, 168, 212, 0.18), rgba(255, 122, 0, 0.06) 45%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: screen;
}

[data-theme="dark"] .cursor-glow {
  background: radial-gradient(closest-side, rgba(79, 177, 255, 0.32), rgba(255, 144, 40, 0.12) 45%, transparent 70%);
}

.cursor-glow.is-visible {
  opacity: 1;
}

@media (hover: none), (max-width: 820px) {
  .cursor-glow {
    display: none;
  }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background: var(--hero-bg);
  perspective: 1400px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(360px 280px at calc(var(--mx, 50%) ) calc(var(--my, 35%)), rgba(18, 168, 212, 0.55), transparent 65%),
    radial-gradient(420px 320px at calc(100% - var(--mx, 50%)) calc(100% - var(--my, 50%)), rgba(255, 122, 0, 0.42), transparent 65%),
    radial-gradient(520px 380px at 50% 110%, rgba(13, 115, 215, 0.35), transparent 70%);
  opacity: 0.55;
  filter: blur(40px);
  transition: opacity 0.4s var(--ease);
}

[data-theme="dark"] .hero-mesh {
  opacity: 0.7;
  background:
    radial-gradient(360px 280px at calc(var(--mx, 50%)) calc(var(--my, 35%)), rgba(79, 177, 255, 0.45), transparent 65%),
    radial-gradient(420px 320px at calc(100% - var(--mx, 50%)) calc(100% - var(--my, 50%)), rgba(255, 144, 40, 0.35), transparent 65%),
    radial-gradient(520px 380px at 50% 110%, rgba(22, 104, 210, 0.55), transparent 70%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  background-position: 0 0, 1px 1px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(13, 115, 215, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 115, 215, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 440px at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 440px at 50% 30%, #000, transparent 80%);
}

[data-theme="dark"] .hero-grid-overlay {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 {
  top: -90px;
  right: -60px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--brand-orange) 0%, transparent 65%);
}

.orb-2 {
  left: -80px;
  bottom: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--brand-cyan) 0%, transparent 65%);
  animation-delay: -5s;
}

.orb-3 {
  top: 40%;
  left: 45%;
  width: 320px;
  height: 320px;
  opacity: 0.35;
  background: radial-gradient(circle, var(--brand-blue) 0%, transparent 65%);
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(24px, -28px, 0) scale(1.08);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
}

/* Cinematic display title */
.hero-display {
  display: grid;
  margin: 16px 0 0;
  gap: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: none;
}

.hero-display .hero-line {
  display: block;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-display .hero-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
  opacity: 0.0;
  pointer-events: none;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  animation: bounceCue 2.4s var(--ease) infinite;
}

@keyframes bounceCue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Hero card 3D + axes chips */

.hero-card {
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.hero-card-glow {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(18, 168, 212, 0.5), rgba(255, 122, 0, 0.4));
  filter: blur(28px);
  opacity: 0.5;
}

.hero-card-axes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.axis-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gradient-cool);
  box-shadow: 0 6px 14px rgba(18, 168, 212, 0.25);
}

.axis-chip-people {
  background: var(--gradient-warm);
  box-shadow: 0 6px 14px rgba(255, 122, 0, 0.28);
}

.axis-chip-business {
  background: var(--gradient-primary);
  box-shadow: 0 6px 14px rgba(13, 115, 215, 0.28);
}

.hero-lead {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.hero-proof span::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gradient-warm);
}

.hero-outcomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 22px;
}

.hero-outcomes article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.hero-outcomes article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--gradient-cool);
}

.hero-outcomes strong {
  display: block;
  color: var(--text);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

.hero-outcomes p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px 8px 12px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.badge-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.45);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.45);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 122, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:active,
.nav-cta:active,
.theme-toggle:active,
.menu-toggle:active,
.back-to-top:active {
  transform: translateY(0) scale(0.98);
}

.button.primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  box-shadow: 0 18px 40px rgba(13, 115, 215, 0.32);
}

.button.primary::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: transform 0.7s var(--ease);
}

.button.primary:hover::after {
  transform: translateX(120%);
}

.button.primary.white {
  color: var(--brand-blue-deep);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.button.ghost {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button.ghost:hover {
  border-color: var(--highlight);
}

.button.whatsapp {
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.36);
}

.button.whatsapp:hover {
  background: #1fb955;
}

/* Hero card sub-elements */

.hero-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.hero-logo-frame {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-strong);
}

.hero-logo-frame::before {
  position: absolute;
  inset: -50%;
  content: "";
  background: conic-gradient(from 90deg, transparent, var(--brand-cyan), transparent, var(--brand-orange), transparent);
  animation: spin 9s linear infinite;
}

.hero-logo {
  position: relative;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  border-radius: 18px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.card-eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown div {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 6px;
  background: var(--surface-strong);
}

.countdown strong {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--surface-strong);
  color: var(--text);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.hero-card-cta--link:hover {
  transform: translateY(-2px);
  border-color: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.22);
}

.hero-card-cta-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.32);
  flex-shrink: 0;
}

.hero-card-cta-text {
  min-width: 0;
}

.hero-card-cta-text strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-card-cta-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-card-cta-arrow {
  color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
  flex-shrink: 0;
}

.hero-card-cta--link:hover .hero-card-cta-arrow {
  color: #25d366;
  transform: translateX(3px);
}

.text-link {
  color: var(--highlight);
  font-weight: 800;
}

/* ---------------- Cinema scene (depth zoom, minimal & cohesive) ---------------- */

.cinema {
  --c-bg-1: #04070d;
  --c-bg-2: #0a1628;
  --c-axis-tech: #4fb1ff;
  --c-axis-people: #ff9028;
  --c-axis-business: #6dd6f5;

  position: relative;
  height: 280vh;
  view-timeline-name: --cinema-view;
  view-timeline-axis: block;
  background:
    radial-gradient(80% 60% at 50% 50%, rgba(13, 115, 215, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--c-bg-1) 18%, var(--c-bg-1) 82%, var(--bg) 100%);
}

.cinema-track {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.cinema-stage {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  row-gap: clamp(28px, 6vh, 64px);
  align-items: center;
  justify-items: center;
  padding: clamp(56px, 10vh, 96px) 24px;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.cinema-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(79, 177, 255, 0.18), transparent 70%);
  filter: blur(60px);
  opacity: 0.85;
}

.cinema-eyebrow {
  position: relative;
  z-index: 3;
  align-self: end;
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.cinema-headline {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  margin: 0;
  width: 100%;
}

.cinema-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cinema-act {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  gap: clamp(28px, 6vh, 56px);
  opacity: 0;
  transform: translate3d(0, 0, -1800px) scale(0.5);
  will-change: transform, opacity, filter;
}

.cinema-mark {
  display: block;
  width: clamp(48px, 7vw, 88px);
  height: 3px;
  border-radius: 999px;
  background: var(--c-axis-tech);
  box-shadow: 0 0 24px var(--c-axis-tech);
}

.cinema-act-1 .cinema-mark { background: var(--c-axis-tech); box-shadow: 0 0 24px var(--c-axis-tech); }
.cinema-act-2 .cinema-mark { background: var(--c-axis-people); box-shadow: 0 0 24px var(--c-axis-people); }
.cinema-act-3 .cinema-mark { background: var(--c-axis-business); box-shadow: 0 0 24px var(--c-axis-business); }

.cinema-fly {
  display: block;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 14vw, 11rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: lowercase;
  color: #ffffff;
  white-space: nowrap;
}

.cinema-act-1 .cinema-fly { text-shadow: 0 30px 60px rgba(79, 177, 255, 0.45); }
.cinema-act-2 .cinema-fly { text-shadow: 0 30px 60px rgba(255, 144, 40, 0.42); }
.cinema-act-3 .cinema-fly { text-shadow: 0 30px 60px rgba(109, 214, 245, 0.42); }

.cinema-tagline {
  position: relative;
  z-index: 3;
  align-self: start;
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.cinema-tagline strong {
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 0%, #6dd6f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinema-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  width: 2px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.65));
  transform: translateX(-50%);
  overflow: hidden;
}

.cinema-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  animation: cueFall 2s ease-in-out infinite;
}

@keyframes cueFall {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(220%); opacity: 0; }
}

/* Scroll-driven cinematic — three different motion styles */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cinema-act {
      animation-fill-mode: both;
      animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
      animation-timeline: --cinema-view;
    }

    /* Ato 1: zoom em profundidade (vem de longe na sua direção) */
    .cinema-act-1 {
      animation-name: actForward;
      animation-range: cover 5% cover 38%;
    }

    /* Ato 2: cortina vertical revela de baixo pra cima */
    .cinema-act-2 {
      animation-name: actCurtain;
      animation-range: cover 35% cover 68%;
    }

    /* Ato 3: deslize lateral cinematográfico (entra da direita, sai pra esquerda) */
    .cinema-act-3 {
      animation-name: actSlide;
      animation-range: cover 65% cover 98%;
    }

    @keyframes actForward {
      0% {
        opacity: 0;
        transform: translate3d(0, 0, -1800px) scale(0.5);
        filter: blur(16px);
      }
      22% { opacity: 1; filter: blur(0); }
      32%, 60% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
      }
      100% {
        opacity: 0;
        transform: translate3d(0, 0, 800px) scale(1.9);
        filter: blur(6px);
      }
    }

    @keyframes actCurtain {
      0% {
        opacity: 0;
        clip-path: inset(100% 0 0 0);
        transform: translate3d(0, 25%, 0) scale(0.92);
        filter: blur(8px);
      }
      18% { opacity: 1; }
      32%, 62% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
      }
      100% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translate3d(0, -25%, 0) scale(1.05);
        filter: blur(8px);
      }
    }

    @keyframes actSlide {
      0% {
        opacity: 0;
        transform: translate3d(60vw, 0, 0) scale(0.7) skewX(-10deg);
        filter: blur(14px);
      }
      22% { opacity: 1; filter: blur(0); }
      35%, 60% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) skewX(0deg);
        filter: blur(0);
      }
      100% {
        opacity: 0;
        transform: translate3d(-60vw, 0, 0) scale(1.5) skewX(10deg);
        filter: blur(8px);
      }
    }

    .cinema-aurora {
      animation: auroraShift linear both;
      animation-timeline: --cinema-view;
      animation-range: cover 0% cover 100%;
    }

    @keyframes auroraShift {
      0% { background: radial-gradient(60% 50% at 50% 50%, rgba(79, 177, 255, 0.20), transparent 70%); }
      33% { background: radial-gradient(60% 50% at 50% 50%, rgba(79, 177, 255, 0.20), transparent 70%); }
      50% { background: radial-gradient(60% 50% at 50% 50%, rgba(255, 144, 40, 0.18), transparent 70%); }
      83% { background: radial-gradient(60% 50% at 50% 50%, rgba(109, 214, 245, 0.20), transparent 70%); }
      100% { background: radial-gradient(60% 50% at 50% 50%, rgba(109, 214, 245, 0.20), transparent 70%); }
    }
  }
}

/* Fallback when scroll-timeline isn't supported */
@supports not (animation-timeline: view()) {
  .cinema { height: auto; padding: 80px 0; }
  .cinema-track { position: relative; height: auto; }
  .cinema-stage { height: auto; min-height: 60vh; }
  .cinema-act { opacity: 1; transform: none; }
  .cinema-act-2, .cinema-act-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema { height: auto; }
  .cinema-track { position: relative; height: auto; }
  .cinema-stage { height: auto; min-height: 50vh; }
  .cinema-act { opacity: 1; transform: none; }
  .cinema-act-2, .cinema-act-3 { display: none; }
  .cinema-cue { display: none; }
}

@media (max-width: 820px) {
  .cinema { height: 260vh; }
  .cinema-stage {
    row-gap: clamp(36px, 8vh, 72px);
    padding: clamp(72px, 12vh, 110px) 20px;
  }
  .cinema-act {
    gap: clamp(36px, 7vh, 60px);
  }
  .cinema-fly {
    font-size: clamp(3.2rem, 13vw, 7rem);
    line-height: 0.95;
  }
}

@media (max-width: 560px) {
  .cinema { height: 240vh; }
  .cinema-stage {
    row-gap: clamp(40px, 9vh, 80px);
    padding: clamp(80px, 14vh, 120px) 18px;
  }
  .cinema-act {
    gap: clamp(40px, 8vh, 64px);
  }
  .cinema-eyebrow {
    font-size: 0.62rem;
    padding: 7px 14px;
    letter-spacing: 0.18em;
  }
  .cinema-mark {
    height: 4px;
    width: clamp(56px, 14vw, 80px);
  }
  .cinema-fly {
    font-size: clamp(3rem, 14vw, 5rem);
  }
  .cinema-tagline {
    font-size: 0.92rem;
    padding: 0 12px;
    line-height: 1.5;
  }
}

/* ---------------- Pillars ---------------- */

.pillars {
  display: grid;
  gap: 16px;
}

.pillar {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.pillar::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  background: var(--gradient-cool);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--highlight);
  box-shadow: var(--shadow);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 14px;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 14px 28px rgba(13, 115, 215, 0.25);
}

.pillar h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

/* ---------------- Speakers ---------------- */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.speaker-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.speaker-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(220px 180px at var(--mx, 50%) var(--my, 0%), rgba(18, 168, 212, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.speaker-card:hover {
  transform: translateY(-8px);
  border-color: var(--highlight);
  box-shadow: var(--shadow);
}

.speaker-card:hover::after {
  opacity: 1;
}

.speaker-photo {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 26px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, var(--brand-blue-deep), var(--brand-cyan) 55%, var(--brand-orange));
  box-shadow: 0 18px 36px rgba(13, 115, 215, 0.25);
}

.speaker-tag {
  display: inline-flex;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--highlight);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
}

.speaker-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.speaker-card p {
  margin: 8px 0 14px;
  color: var(--muted);
}

.speaker-meta {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.speaker-meta li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.speaker-meta li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--gradient-cool);
}

/* ---------------- Themes (17 temas / 3 eixos) ---------------- */

.ministrantes-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 28px 0 36px;
  padding: 22px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.04) 0%, transparent 60%),
    var(--surface-strong);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform: translateX(-32px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

.ministrantes-banner.is-visible,
.ministrantes-banner.reveal.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.ministrantes-banner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--gradient-warm);
}

.ministrantes-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 122, 0, 0.10), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.ministrantes-icon {
  position: relative;
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--gradient-warm);
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.32);
  flex-shrink: 0;
}

.ministrantes-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(255, 122, 0, 0.55);
  animation: pulseBanner 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseBanner {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.ministrantes-body {
  min-width: 0;
}

.ministrantes-body strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.ministrantes-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ministrantes-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ministrantes-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.42);
}

.ministrantes-cta svg {
  transition: transform 0.25s var(--ease);
}

.ministrantes-cta:hover svg {
  transform: translateX(3px);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ministrantes-banner {
      animation: bannerSlideIn linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
      transition: none;
    }
  }
}

@keyframes bannerSlideIn {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 720px) {
  .ministrantes-banner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon body"
      "cta cta";
    gap: 14px;
    padding: 18px 20px;
  }
  .ministrantes-icon { grid-area: icon; }
  .ministrantes-body { grid-area: body; }
  .ministrantes-cta {
    grid-area: cta;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
  }
  .ministrantes-banner::after { display: none; }
}



.section-themes {
  background:
    radial-gradient(900px 460px at 12% -10%, rgba(13, 115, 215, 0.10), transparent 60%),
    radial-gradient(900px 460px at 100% 100%, rgba(255, 122, 0, 0.10), transparent 60%),
    var(--bg);
}

.theme-axis {
  --axis-grad: var(--gradient-cool);
  --axis-accent: var(--brand-cyan);
  --axis-accent-soft: rgba(18, 168, 212, 0.12);
  margin-top: 36px;
}

.theme-axis:first-of-type {
  margin-top: 28px;
}

.theme-axis.axis-tech {
  --axis-grad: var(--gradient-cool);
  --axis-accent: var(--brand-cyan);
  --axis-accent-soft: rgba(18, 168, 212, 0.12);
}

.theme-axis.axis-people {
  --axis-grad: var(--gradient-warm);
  --axis-accent: var(--brand-orange);
  --axis-accent-soft: rgba(255, 122, 0, 0.13);
}

.theme-axis.axis-business {
  --axis-grad: var(--gradient-primary);
  --axis-accent: var(--brand-blue);
  --axis-accent-soft: rgba(13, 115, 215, 0.12);
}

.theme-axis.axis-soon {
  --axis-grad: linear-gradient(135deg, #94a3bf 0%, #54627a 100%);
  --axis-accent: var(--muted);
  --axis-accent-soft: rgba(84, 98, 122, 0.10);
}

.axis-header {
  position: sticky;
  top: 86px;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.axis-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--axis-accent-soft);
  opacity: 0.3;
}

.axis-marker {
  display: inline-block;
  width: 10px;
  height: 44px;
  border-radius: 999px;
  background: var(--axis-grad);
  box-shadow: 0 8px 18px var(--axis-accent-soft);
}

.axis-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.axis-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--axis-accent);
}

.axis-title h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.axis-count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--axis-accent);
  background: var(--axis-accent-soft);
  white-space: nowrap;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1200px;
}

.theme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transform:
    rotateX(var(--ty, 0deg))
    rotateY(var(--tx, 0deg))
    translate3d(0, 0, 0);
  transition:
    transform 0.4s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  will-change: transform;
}

.theme-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--axis-grad);
}

.theme-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(260px 200px at var(--mx, 50%) var(--my, 50%), var(--axis-accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.theme-card:hover {
  border-color: var(--axis-accent);
  box-shadow:
    0 30px 60px -20px var(--axis-accent-soft),
    var(--shadow);
}

.theme-card:hover::after {
  opacity: 1;
}

.theme-card > * {
  position: relative;
  transform: translateZ(20px);
}

.theme-card .theme-cta {
  transform: translateZ(36px);
}

.theme-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--axis-accent);
  background: var(--axis-accent-soft);
}

.theme-card h4 {
  margin: 0 0 12px;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.theme-card.placeholder .theme-speaker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 600;
}

.theme-speaker-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 4px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--axis-accent-soft) 0%, transparent 70%),
    var(--surface-strong);
  overflow: hidden;
}

.theme-speaker-card::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  background:
    radial-gradient(closest-side at 100% 50%, var(--axis-accent-soft), transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}

.theme-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--axis-grad);
  box-shadow:
    0 8px 18px var(--axis-accent-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.theme-avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 50%;
  background: var(--axis-grad);
  opacity: 0.22;
  filter: blur(10px);
}

.theme-speaker-info {
  position: relative;
  min-width: 0;
}

.theme-speaker-name {
  display: block;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text);
}

.theme-speaker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.theme-speaker-tags li {
  position: relative;
  padding-left: 11px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.theme-speaker-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--axis-accent);
  transform: translateY(-50%);
}

@media (max-width: 380px) {
  .theme-speaker-card {
    padding: 10px 12px;
    gap: 12px;
  }
  .theme-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }
  .theme-speaker-name {
    font-size: 0.92rem;
  }
}

.theme-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--axis-grad);
  box-shadow: 0 14px 28px var(--axis-accent-soft);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.theme-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px var(--axis-accent-soft);
}

.theme-cta svg {
  transition: transform 0.25s var(--ease);
}

.theme-cta:hover svg {
  transform: translateX(2px);
}

.theme-cta.is-disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--axis-accent-soft);
  box-shadow: none;
  border: 1px dashed var(--line-strong);
}

.theme-cta.is-disabled:hover {
  transform: none;
}

.theme-card.placeholder {
  border-style: dashed;
  background: var(--surface);
}

.theme-card.placeholder::before {
  opacity: 0.5;
}

.theme-card.placeholder h4 {
  color: var(--text-soft);
}

.theme-card.placeholder .theme-speaker {
  font-style: italic;
}

.theme-card.placeholder:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

/* ---------------- Timeline ---------------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.timeline-item:hover {
  transform: translateY(-6px);
  border-color: var(--highlight);
  box-shadow: var(--shadow);
}

.timeline-item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--gradient-cool);
}

.timeline-item.highlight::before {
  background: var(--gradient-warm);
}

.timeline-item header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.timeline-item header strong {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.date-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 11px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient-primary);
}

.timeline-item.highlight .date-tag {
  background: var(--gradient-warm);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.timeline-item small {
  display: block;
  margin-top: 14px;
  color: var(--highlight);
  font-weight: 800;
}

.timeline-item.highlight small {
  color: var(--accent);
}

/* ---------------- Check list ---------------- */

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 14px 50px;
  color: var(--text-soft);
  font-weight: 600;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.check-list li:hover {
  transform: translateX(4px);
  border-color: var(--highlight);
}

.check-list li::before {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--gradient-primary);
}

/* ---------------- FAQ ---------------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.faq details[open] {
  border-color: var(--highlight);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] .faq-icon {
  background: var(--gradient-primary);
  border-color: transparent;
}

.faq details[open] .faq-icon::before,
.faq details[open] .faq-icon::after {
  background: #fff;
}

.faq details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
}

/* ---------------- Signup section ---------------- */

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.signup-grid h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.signup-grid p {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.signup-card {
  display: grid;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 22px;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.signup-card .qr-code {
  width: 240px;
  border: 10px solid #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.signup-card strong {
  margin: 18px 0 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.signup-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.micro-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.18);
  width: fit-content;
}

/* ---------------- Footer ---------------- */

.footer {
  padding: 56px 0 24px;
  color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, #050912 0%, #07101e 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-brand .logo-image {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.footer p {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-cta {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 800;
}

.footer-cta.secondary {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
}

/* ---------------- Floating ---------------- */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 30;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---------------- Reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .hero-grid,
  .two-column,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 62px 0 72px;
  }

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

  .nav-links {
    justify-content: flex-end;
  }
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong,
  .brand-text small {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    position: fixed;
    inset: 76px 14px auto;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    padding: 12px;
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav-actions {
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .speaker-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .axis-header {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "marker title"
      "count count";
    row-gap: 12px;
    padding: 16px 18px;
  }

  .axis-marker {
    grid-area: marker;
  }

  .axis-title {
    grid-area: title;
  }

  .axis-count {
    grid-area: count;
    justify-self: flex-start;
  }


  .section {
    padding: 62px 0;
  }
}

/* =========================================================
   v2 — 5 eixos, lista de ministrantes, filtro e refinos SEO
   ========================================================= */

:root {
  --brand-emerald: #10b981;
  --brand-emerald-soft: #34d399;
  --brand-rose: #e11d48;
  --brand-rose-soft: #fb7185;
  --gradient-fresh: linear-gradient(135deg, #10b981 0%, #047857 100%);
  --gradient-rose: linear-gradient(135deg, #fb7185 0%, #be123c 100%);
}

[data-theme="dark"] {
  --gradient-fresh: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --gradient-rose: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
}

/* Hero chips — 5 eixos */
.axis-chip-tech {
  background: var(--gradient-cool);
  box-shadow: 0 6px 14px rgba(18, 168, 212, 0.28);
}
.axis-chip-health {
  background: var(--gradient-fresh);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.28);
}
.axis-chip-law {
  background: var(--gradient-rose);
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.28);
}

.hero-card-axes {
  gap: 6px 6px;
  row-gap: 8px;
}

/* Eixos novos — Saúde + Direito */
.theme-axis.axis-health {
  --axis-grad: var(--gradient-fresh);
  --axis-accent: var(--brand-emerald);
  --axis-accent-soft: rgba(16, 185, 129, 0.13);
}

.theme-axis.axis-law {
  --axis-grad: var(--gradient-rose);
  --axis-accent: var(--brand-rose);
  --axis-accent-soft: rgba(225, 29, 72, 0.13);
}

/* Filtro de eixos — barra moderna acima dos cards */
.theme-filter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 24px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.theme-filter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.theme-filter-btn:hover {
  background: var(--axis-accent-soft, rgba(255, 255, 255, 0.06));
  transform: translateY(-1px);
}

.theme-filter-btn.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: 0 8px 20px rgba(6, 35, 74, 0.22);
}

[data-theme="dark"] .theme-filter-btn.is-active {
  background: linear-gradient(135deg, #f8fbff 0%, #ced9ec 100%);
  color: #050912;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.theme-filter-btn[data-filter="tech"].is-active { background: var(--gradient-cool); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(18, 168, 212, 0.35); }
.theme-filter-btn[data-filter="people"].is-active { background: var(--gradient-warm); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(255, 122, 0, 0.35); }
.theme-filter-btn[data-filter="business"].is-active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(13, 115, 215, 0.35); }
.theme-filter-btn[data-filter="health"].is-active { background: var(--gradient-fresh); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35); }
.theme-filter-btn[data-filter="law"].is-active { background: var(--gradient-rose); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(225, 29, 72, 0.35); }

.theme-filter-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.theme-filter-dot[data-axis="tech"] { background: var(--gradient-cool); }
.theme-filter-dot[data-axis="people"] { background: var(--gradient-warm); }
.theme-filter-dot[data-axis="business"] { background: var(--gradient-primary); }
.theme-filter-dot[data-axis="health"] { background: var(--gradient-fresh); }
.theme-filter-dot[data-axis="law"] { background: var(--gradient-rose); }

.theme-filter-btn.is-active .theme-filter-dot {
  filter: brightness(0) invert(1);
  background: rgba(255, 255, 255, 0.85);
}

.theme-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--axis-accent-soft, rgba(255, 255, 255, 0.08));
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.theme-filter-btn.is-active .theme-filter-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Eixo escondido pelo filtro */
.theme-axis.is-hidden {
  display: none;
}

.theme-empty {
  margin: 32px auto 0;
  padding: 28px;
  max-width: 520px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}

/* Lista de ministrantes (1, 2 ou 3 por card) */
.theme-speakers {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.theme-speaker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}

.theme-speaker:hover {
  border-color: var(--axis-accent);
  background: var(--axis-accent-soft);
}

.theme-speaker .theme-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--axis-grad);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 6px 14px var(--axis-accent-soft);
  position: relative;
  overflow: hidden;
}

.theme-speaker .theme-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 60%);
  pointer-events: none;
}

/* Avatares empilhados (multi-pessoa no mesmo dia/empresa) */
.theme-avatar-stack {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.theme-avatar-stack .theme-avatar {
  margin-left: -12px;
  border: 2px solid var(--surface-strong);
  box-shadow:
    0 6px 14px var(--axis-accent-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.theme-avatar-stack .theme-avatar:first-child {
  margin-left: 0;
}

.theme-avatar-stack .theme-avatar:nth-child(2) {
  filter: brightness(1.05) saturate(1.1);
}

.theme-speaker:hover .theme-avatar-stack .theme-avatar {
  border-color: var(--surface);
}

.theme-speaker-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.theme-speaker-info strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.theme-speaker-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.theme-speaker-meta .bullet {
  opacity: 0.5;
}

.day-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--axis-accent-soft);
  color: var(--axis-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.day-chip--full {
  background: var(--axis-grad);
  color: #fff;
}

/* Estado: ministrantes em confirmação */
.theme-speakers--pending {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 18px;
}

.speaker-pending {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pending-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--axis-accent);
  box-shadow: 0 0 0 4px var(--axis-accent-soft);
  animation: pendingPulse 2.4s ease-in-out infinite;
}

@keyframes pendingPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .pending-dot { animation: none; }
}

/* Card com ministrantes confirmados ganha sutil destaque */
.theme-card--featured {
  border-color: var(--axis-accent);
}

.theme-card--featured::before {
  background: linear-gradient(135deg, var(--axis-accent-soft), transparent 60%);
  opacity: 0.6;
}

/* Responsivo dos chips do hero (agora são 5) */
@media (max-width: 640px) {
  .hero-card-axes {
    gap: 5px;
  }
  .axis-chip {
    font-size: 0.68rem;
    padding: 5px 9px;
  }

  /* Filtro: vira fila horizontal com snap no mobile */
  .theme-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    gap: 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
  }
  .theme-filter::-webkit-scrollbar {
    display: none;
  }
  .theme-filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 540px) {
  .theme-speaker {
    grid-template-columns: auto 1fr;
    gap: 9px;
    padding: 7px 9px;
  }
  .theme-speaker .theme-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
  }
  .theme-avatar-stack .theme-avatar {
    margin-left: -10px;
    border-width: 1.5px;
  }
  .theme-avatar-stack .theme-avatar:first-child {
    margin-left: 0;
  }
  .theme-speaker-info strong {
    font-size: 0.86rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 50px 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-text strong {
    max-width: 126px;
  }

  .brand-text small {
    display: none;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .hero {
    padding: 48px 0 80px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .hero-display {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-card-axes {
    justify-content: center;
  }

  .hero-scroll-cue {
    display: none;
  }

  .axis-header {
    position: static;
  }

  .hero-card {
    padding: 18px;
    border-radius: 26px;
  }

  .hero-card-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo-frame {
    margin: 0 auto;
  }

  .countdown {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-outcomes {
    grid-template-columns: 1fr;
  }

  .hero-card-cta {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .button {
    flex: 1 1 100%;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-cue,
  .badge-dot,
  .orb {
    animation: none !important;
  }

}

/* ---------------- Scroll-driven animations (progressive enhancement) ---------------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .theme-card {
      animation: card-emerge linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }

    @keyframes card-emerge {
      from {
        opacity: 0;
        translate: 0 60px -260px;
        scale: 0.78;
      }
      to {
        opacity: 1;
        translate: 0 0 0;
        scale: 1;
      }
    }

    .pillar,
    .timeline-item {
      animation: card-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }

    @keyframes card-rise {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .hero-bg .orb {
      animation: orb-drift linear;
      animation-timeline: scroll(root);
    }

    @keyframes orb-drift {
      to {
        transform: translate3d(0, 220px, 0) scale(1.2);
      }
    }
  }
}

/* =========================================================
   v3 — Master-Detail explorer (lista + painel de detalhes)
   ========================================================= */

/* Variáveis de eixo disponíveis em qualquer elemento */
[data-axis="tech"] {
  --axis-grad: var(--gradient-cool);
  --axis-accent: var(--brand-cyan);
  --axis-accent-soft: rgba(18, 168, 212, 0.13);
}
[data-axis="people"] {
  --axis-grad: var(--gradient-warm);
  --axis-accent: var(--brand-orange);
  --axis-accent-soft: rgba(255, 122, 0, 0.13);
}
[data-axis="business"] {
  --axis-grad: var(--gradient-primary);
  --axis-accent: var(--brand-blue);
  --axis-accent-soft: rgba(13, 115, 215, 0.13);
}
[data-axis="health"] {
  --axis-grad: var(--gradient-fresh);
  --axis-accent: var(--brand-emerald);
  --axis-accent-soft: rgba(16, 185, 129, 0.13);
}
[data-axis="law"] {
  --axis-grad: var(--gradient-rose);
  --axis-accent: var(--brand-rose);
  --axis-accent-soft: rgba(225, 29, 72, 0.13);
}

.course-explorer {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: flex-start;
}

/* ============ LISTA (esquerda) ============ */
.course-list-pane {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.course-list-pane::-webkit-scrollbar {
  width: 6px;
}
.course-list-pane::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 10px;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-group-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.course-group-dot[data-axis="tech"] { background: var(--gradient-cool); }
.course-group-dot[data-axis="people"] { background: var(--gradient-warm); }
.course-group-dot[data-axis="business"] { background: var(--gradient-primary); }
.course-group-dot[data-axis="health"] { background: var(--gradient-fresh); }
.course-group-dot[data-axis="law"] { background: var(--gradient-rose); }

.course-group-count {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--axis-accent-soft);
  color: var(--axis-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.course-item {
  margin: 0;
}

.course-item-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.course-item-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 200ms var(--ease), top 200ms var(--ease), bottom 200ms var(--ease);
}

.course-item-btn:hover {
  background: var(--axis-accent-soft);
}

.course-item-btn:hover::before {
  background: var(--axis-accent);
  top: 14px;
  bottom: 14px;
}

.course-item.is-active .course-item-btn {
  background: var(--axis-accent-soft);
}

.course-item.is-active .course-item-btn::before {
  background: var(--axis-accent);
  top: 10px;
  bottom: 10px;
  width: 4px;
}

.course-item.is-active .course-item-btn strong {
  color: var(--axis-accent);
}

.course-item-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.course-item-info strong {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

.course-item-meta {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.course-item-meta--pending {
  color: var(--axis-accent);
  font-weight: 700;
}

.course-item-meta--pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--axis-accent);
  margin-right: 4px;
  animation: pendingPulse 2.4s ease-in-out infinite;
}

.course-item-chevron {
  color: var(--muted);
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 200ms var(--ease), color 200ms var(--ease), opacity 200ms var(--ease);
}

.course-item-btn:hover .course-item-chevron,
.course-item.is-active .course-item-chevron {
  color: var(--axis-accent);
  opacity: 1;
  transform: translateX(2px);
}

/* ============ DETALHE (direita) ============ */
.course-detail-pane {
  position: relative;
  min-height: 520px;
  padding: 36px 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.course-detail-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(540px 320px at 100% 0%, var(--axis-accent-soft), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, var(--axis-accent-soft), transparent 70%);
  opacity: 0.45;
  z-index: 0;
}

.course-detail-pane > * {
  position: relative;
  z-index: 1;
}

.course-detail-back {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.course-detail-back:hover {
  background: var(--axis-accent-soft);
  border-color: var(--axis-accent);
}

.course-pane {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: paneFadeIn 320ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .course-pane { animation: none; }
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.course-pane[hidden] {
  display: none;
}

.course-pane-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--axis-accent-soft);
  color: var(--axis-accent);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-pane-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--axis-grad);
  box-shadow: 0 0 12px var(--axis-accent);
}

.course-pane-title {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text);
}

.course-pane-desc {
  margin: 0;
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.course-pane-speakers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.course-pane-subtitle {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Lista de ministrantes em modo "lg" (no painel detalhado) */
.theme-speakers--lg {
  margin: 0;
}

.theme-speakers--lg .theme-speaker {
  padding: 12px 14px;
  gap: 14px;
}

.theme-speakers--lg .theme-avatar {
  width: 52px;
  height: 52px;
  font-size: 0.98rem;
}

.theme-speakers--lg .theme-avatar-stack .theme-avatar {
  margin-left: -16px;
  border-width: 3px;
}

.theme-speakers--lg .theme-avatar-stack .theme-avatar:first-child {
  margin-left: 0;
}

.theme-speakers--lg .theme-speaker-info strong {
  font-size: 1.04rem;
}

.theme-speakers--lg .theme-speaker-meta {
  font-size: 0.82rem;
  gap: 8px;
}

.course-pane-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--axis-grad);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 16px 32px var(--axis-accent-soft);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.course-pane-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px var(--axis-accent-soft);
}

.course-pane-cta svg {
  transition: transform 220ms var(--ease);
}

.course-pane-cta:hover svg {
  transform: translateX(3px);
}

/* Grupo escondido pelo filtro */
.course-group.is-hidden {
  display: none;
}

/* ============ Responsivo ============ */
@media (max-width: 920px) {
  .course-explorer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-list-pane {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  /* Em mobile, o painel de detalhe vira full-screen overlay */
  .course-detail-pane {
    position: fixed;
    inset: 0;
    z-index: 60;
    min-height: 100vh;
    border-radius: 0;
    border: none;
    padding: 16px 18px 80px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 300ms var(--ease);
    will-change: transform;
  }

  body.is-course-detail-open {
    overflow: hidden;
  }

  body.is-course-detail-open .course-detail-pane {
    transform: translateX(0);
  }

  .course-detail-back {
    display: inline-flex;
    position: sticky;
    top: 0;
    z-index: 2;
    margin-left: -4px;
  }

  .course-pane-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  .course-pane-speakers {
    padding: 16px;
  }
}

@media (max-width: 540px) {
  .course-list-pane {
    padding: 10px;
  }

  .course-item-btn {
    padding: 11px 10px;
  }

  .course-item-info strong {
    font-size: 0.9rem;
  }

  .course-pane-cta {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
}

/* =========================================================
   v4 — Grid de cursos + chip de palestrante + modal
   ========================================================= */

/* Grid principal */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--axis-grad);
}

.course-card:hover {
  transform: translateY(-2px);
  border-color: var(--axis-accent);
  box-shadow: 0 22px 48px -14px var(--axis-accent-soft), var(--shadow);
}

.course-card.is-hidden {
  display: none;
}

.course-card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--axis-accent);
  background: var(--axis-accent-soft);
}

.course-card-title {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.course-card-speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 6px;
}

.course-card-speakers--pending {
  margin-top: auto;
}

/* Chip clicável de palestrante */
.speaker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}

.speaker-chip:hover {
  border-color: var(--axis-accent);
  background: var(--axis-accent-soft);
  transform: translateY(-1px);
}

.speaker-chip:focus-visible {
  outline: 2px solid var(--axis-accent);
  outline-offset: 2px;
}

.speaker-chip-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--axis-grad);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.speaker-chip-name {
  line-height: 1.2;
}

/* Pill de "em confirmação" */
.speaker-pending-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--axis-accent);
  box-shadow: 0 0 0 4px var(--axis-accent-soft);
  animation: pendingPulse 2.4s ease-in-out infinite;
}

.course-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--axis-grad);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 12px 24px var(--axis-accent-soft);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.course-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px var(--axis-accent-soft);
}

.course-card-cta svg {
  transition: transform 220ms var(--ease);
}

.course-card-cta:hover svg {
  transform: translateX(3px);
}

/* ============ MODAL DE PALESTRANTE ============ */

.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.speaker-modal[hidden] {
  display: none;
}

.speaker-modal.is-open {
  opacity: 1;
}

.speaker-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 18, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

[data-theme="light"] .speaker-modal-backdrop {
  background: rgba(10, 22, 40, 0.45);
}

.speaker-modal-card {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.96) translateY(12px);
  transition: transform 260ms var(--ease);
  overscroll-behavior: contain;
}

.speaker-modal.is-open .speaker-modal-card {
  transform: scale(1) translateY(0);
}

.speaker-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.speaker-modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

.speaker-modal-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--axis-grad);
  color: #fff;
  overflow: hidden;
}

.speaker-modal-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.speaker-modal-initials {
  position: relative;
  z-index: 1;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.speaker-modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.speaker-modal-img[hidden] {
  display: none;
}

.speaker-modal-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
}

.speaker-modal-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--axis-accent-soft);
  color: var(--axis-accent);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.speaker-modal-name {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
}

.speaker-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.speaker-modal-company {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.speaker-modal-company:empty,
.speaker-modal-company[hidden] {
  display: none;
}

.speaker-modal-day {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--axis-grad);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.speaker-modal-bio {
  margin: 4px 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.speaker-modal-course {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.86rem;
}

.speaker-modal-course-label {
  color: var(--muted);
  font-weight: 700;
  margin-right: 6px;
}

.speaker-modal-course-title {
  color: var(--text);
  font-weight: 800;
}

.speaker-modal-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--axis-grad);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 26px var(--axis-accent-soft);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
  margin-top: 4px;
}

.speaker-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px var(--axis-accent-soft);
}

.speaker-modal-cta svg {
  transition: transform 220ms var(--ease);
}

.speaker-modal-cta:hover svg {
  transform: translateX(3px);
}

body.is-modal-open {
  overflow: hidden;
}

/* Responsivo do modal */
@media (max-width: 540px) {
  .speaker-modal {
    padding: 0;
    align-items: flex-end;
  }

  .speaker-modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }

  .speaker-modal.is-open .speaker-modal-card {
    transform: translateY(0);
  }

  .speaker-modal-photo {
    height: 160px;
  }

  .speaker-modal-initials {
    font-size: 3rem;
  }

  .speaker-modal-body {
    padding: 20px 20px 28px;
  }

  .speaker-modal-cta {
    align-self: stretch;
    justify-content: center;
  }
}


/* =========================================================
   v5 — Category picker + Rich course cards (final)
   ========================================================= */

/* === CATEGORY PICKER === */
.category-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 32px 0 24px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease), background 280ms var(--ease);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--axis-grad);
  opacity: 0;
  transition: opacity 280ms var(--ease);
  pointer-events: none;
}

.category-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--axis-grad);
  opacity: 0.85;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--axis-accent);
  box-shadow: 0 20px 38px -10px var(--axis-accent-soft), var(--shadow);
}

.category-card.is-active {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -10px var(--axis-accent-soft), var(--shadow-lg);
}

.category-card.is-active::before {
  opacity: 1;
}

.category-card.is-active .category-card-name,
.category-card.is-active .category-card-sub,
.category-card.is-active .category-card-count,
.category-card.is-active .category-card-glyph {
  color: #fff;
}

.category-card.is-active .category-card-count {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.32);
}

.category-card-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--axis-accent-soft);
  color: var(--axis-accent);
  transition: background 280ms var(--ease), color 280ms var(--ease);
}

.category-card.is-active .category-card-glyph {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.category-card-meta {
  display: grid;
  gap: 3px;
}

.category-card-name {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.category-card-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.category-card-count {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--axis-accent);
  margin-top: 4px;
}

/* === CATEGORY CONTENT === */
.category-content {
  position: relative;
  min-height: 240px;
}

/* Estado vazio: nudge pro usuário escolher */
.category-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 24px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.category-empty[hidden] {
  display: none;
}

.category-empty-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-orange));
  color: #fff;
  margin-bottom: 6px;
  animation: arrowBob 2.2s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .category-empty-arrow { animation: none; }
}

.category-empty h3 {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.category-empty p {
  margin: 0;
  max-width: 460px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* === GROUPS === */
.category-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: groupFadeIn 320ms var(--ease);
}

@keyframes groupFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .category-group { animation: none; }
}

.category-group[hidden] {
  display: none;
}

.category-group-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--axis-accent-soft), transparent);
  border-left: 4px solid var(--axis-accent);
}

.category-group-eyebrow {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--axis-accent);
}

.category-group-header h3 {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* === RICH COURSE CARD === */
.rich-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rich-course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--axis-grad);
}

.rich-course-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rich-course-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--axis-accent);
  background: var(--axis-accent-soft);
}

.rich-course-title {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.rich-course-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 70ch;
}

.rich-course-speakers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.rich-course-speakers-label {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--axis-accent);
}

.rich-speaker {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: flex-start;
}

.rich-speaker-photo {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--axis-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 6px 16px var(--axis-accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rich-speaker-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  z-index: 1;
}

.rich-speaker-img[hidden] {
  display: none;
}

.rich-speaker-initials {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.rich-speaker-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rich-speaker-name {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.2;
}

.rich-speaker-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.rich-speaker-bio {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.rich-speaker-bio em {
  font-style: italic;
  font-weight: 600;
  color: var(--text);
}

/* Foto linkada ao LinkedIn */
.rich-speaker-photo--linked {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.rich-speaker-photo--linked:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(10, 102, 194, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rich-speaker-photo--linked:focus-visible {
  outline: 2px solid #0a66c2;
  outline-offset: 3px;
}

.rich-speaker-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 102, 194, 0.88);
  color: #fff;
  opacity: 0;
  transition: opacity 240ms var(--ease);
  border-radius: inherit;
}

.rich-speaker-photo--linked:hover .rich-speaker-photo-overlay,
.rich-speaker-photo--linked:focus-visible .rich-speaker-photo-overlay {
  opacity: 1;
}

/* Variante: link acadêmico (escavador, currículo lattes, etc.) — cor neutra */
.rich-speaker-photo--academic:hover {
  box-shadow: 0 12px 24px rgba(75, 85, 99, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rich-speaker-photo--academic:focus-visible {
  outline-color: #4b5563;
}

.rich-speaker-photo--academic .rich-speaker-photo-overlay {
  background: rgba(31, 41, 55, 0.88);
}

/* Pending state */
.rich-course-speakers--pending {
  align-items: center;
  text-align: center;
  padding: 22px 16px;
  background: var(--surface);
  border-style: dashed;
}

.rich-pending-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--axis-accent-soft);
  color: var(--axis-accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.rich-pending-hint {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.rich-course-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--axis-grad);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 28px var(--axis-accent-soft);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.rich-course-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px var(--axis-accent-soft);
}

.rich-course-cta svg {
  transition: transform 220ms var(--ease);
}

.rich-course-cta:hover svg {
  transform: translateX(3px);
}

/* === Responsivo === */
@media (max-width: 720px) {
  .category-picker {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 16px 14px;
    gap: 8px;
  }

  .category-card-glyph {
    width: 38px;
    height: 38px;
  }

  .category-card-name {
    font-size: 0.95rem;
  }

  .category-card-sub {
    font-size: 0.72rem;
  }

  .rich-course-card {
    padding: 20px 18px;
    gap: 14px;
  }

  .rich-speaker {
    grid-template-columns: 52px 1fr;
    gap: 12px;
  }

  .rich-speaker-photo {
    width: 52px;
    height: 52px;
  }

  .rich-speaker-initials {
    font-size: 0.98rem;
  }

  .rich-course-cta {
    align-self: stretch;
    justify-content: center;
  }

  .category-group-header {
    padding: 14px 16px;
  }
}

@media (max-width: 460px) {
  .category-picker {
    grid-template-columns: 1fr;
  }
}

/* Esconde o filtro antigo se ele ainda estiver no DOM */
.theme-filter,
.ministrantes-banner {
  display: none !important;
}

/* =========================================================
   v6 — Hero card perk (bônus vagas de emprego)
   ========================================================= */

.hero-card-perk {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 168, 212, 0.10), rgba(255, 122, 0, 0.08) 60%, transparent),
    var(--surface);
  overflow: hidden;
}

.hero-card-perk::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 120px at 0% 0%, rgba(255, 144, 40, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-card-perk > * {
  position: relative;
  z-index: 1;
}

.hero-card-perk-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-orange));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(18, 168, 212, 0.32);
}

.hero-card-perk-pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--surface);
  animation: perkPulse 2.2s ease-in-out infinite;
}

@keyframes perkPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px var(--surface), 0 0 0 0 rgba(255, 122, 0, 0.55);
  }
  50% {
    box-shadow: 0 0 0 3px var(--surface), 0 0 0 8px rgba(255, 122, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card-perk-pulse { animation: none; }
}

.hero-card-perk-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-card-perk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

[data-theme="dark"] .hero-card-perk-eyebrow {
  color: #ffb763;
}

.hero-card-perk-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 8px var(--brand-orange);
}

.hero-card-perk-body strong {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
}

.hero-card-perk-body > span:last-child {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-soft);
}

/* =========================================================
   v7 — Instagram card (UGC + gatilhos)
   ========================================================= */

/* === IG section full-width (substitui o card azul) === */
.section-instagram {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, #0a0511 0%, #160626 35%, #2a0a3d 100%);
  padding-top: clamp(72px, 10vh, 112px);
  padding-bottom: clamp(72px, 10vh, 112px);
}

[data-theme="light"] .section-instagram {
  background:
    linear-gradient(180deg, #1a0a2e 0%, #2a0b3f 50%, #4a0f5e 100%);
}

.section-instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(620px 360px at 88% 12%, rgba(252, 175, 69, 0.22), transparent 60%),
    radial-gradient(720px 440px at 8% 88%, rgba(118, 69, 217, 0.45), transparent 60%),
    radial-gradient(500px 320px at 50% 50%, rgba(220, 39, 67, 0.18), transparent 65%);
  pointer-events: none;
}

.section-instagram::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.ig-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ig-section-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.65;
  pointer-events: none;
}

.ig-section-orb-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, #fcaf45 0%, #dc2743 60%, transparent 80%);
  animation: igOrbDrift1 18s ease-in-out infinite;
}

.ig-section-orb-2 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, #bc1888 0%, #4f0d8f 65%, transparent 80%);
  animation: igOrbDrift2 22s ease-in-out infinite;
}

.ig-section-orb-3 {
  width: 320px;
  height: 320px;
  top: 40%;
  left: 60%;
  background: radial-gradient(circle, #dc2743 0%, transparent 70%);
  opacity: 0.4;
  animation: igOrbDrift3 26s ease-in-out infinite;
}

@keyframes igOrbDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-30px, 40px, 0) scale(1.08); }
}
@keyframes igOrbDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.1); }
}
@keyframes igOrbDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, -50px, 0) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .ig-section-orb { animation: none; }
}

.ig-section-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ig-section-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(28px, 5vh, 44px);
}

.ig-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
}

.ig-section-handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  backdrop-filter: blur(12px);
}

.ig-section-handle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
}

.ig-section-title {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}

.ig-section-title-grad {
  background: linear-gradient(90deg, #fcaf45 0%, #dc2743 50%, #cc2366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ig-section-lead {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* === 3 STEPS GRID === */
.ig-section-mechanic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1000px;
}

.ig-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-align: left;
  backdrop-filter: blur(18px);
  transition: transform 280ms var(--ease), background 280ms var(--ease), border-color 280ms var(--ease);
}

.ig-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(220, 39, 67, 0.6), transparent);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.ig-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(252, 175, 69, 0.35);
}

.ig-step:hover::before {
  opacity: 1;
}

.ig-step-number {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fcaf45 0%, #dc2743 60%, #bc1888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ig-step-title {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #fff;
}

.ig-step-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.ig-step-desc em {
  font-style: normal;
  font-weight: 800;
  color: #fcaf45;
  background: rgba(252, 175, 69, 0.14);
  padding: 1px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

/* === CTA === */
.ig-section-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ig-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 16px 16px;
  border-radius: 999px;
  background: #fff;
  color: #1a0a2e;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 22px 50px rgba(220, 39, 67, 0.4), 0 12px 24px rgba(0, 0, 0, 0.3);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.ig-section-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgba(220, 39, 67, 0.55), 0 16px 30px rgba(0, 0, 0, 0.4);
}

.ig-section-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  flex-shrink: 0;
}

.ig-section-cta-arrow {
  transition: transform 220ms var(--ease);
}

.ig-section-cta:hover .ig-section-cta-arrow {
  transform: translateX(4px);
}

.ig-section-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.ig-section-hint-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fcaf45;
  box-shadow: 0 0 10px rgba(252, 175, 69, 0.85);
  animation: igHintPulse 2.2s ease-in-out infinite;
}

/* === Responsivo === */
@media (max-width: 900px) {
  .ig-section-mechanic {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .ig-section-content {
    gap: 28px;
  }
  .ig-section-header {
    gap: 14px;
  }
  .ig-section-cta {
    padding: 14px 20px 14px 14px;
  }
  .ig-step {
    padding: 22px 18px 20px;
  }
}

/* === Legado — esconder qualquer remanescente do card antigo === */
.signup-grid--single,
.instagram-card {
  display: none !important;
}

/* =========================================================
   v8 — Destaque "Certificado UNIP", FAQ note, Logo UNIP footer
   ========================================================= */

/* Chip destaque "Certificado oficial UNIP" — só a bolinha brilha */
.hero-proof--featured::before {
  box-shadow:
    0 0 6px var(--brand-orange),
    0 0 12px rgba(255, 122, 0, 0.55);
  animation: dotShine 2.4s ease-in-out infinite;
}

@keyframes dotShine {
  0%, 100% {
    box-shadow: 0 0 4px var(--brand-orange), 0 0 8px rgba(255, 122, 0, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px var(--brand-orange), 0 0 18px rgba(255, 122, 0, 0.7);
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-proof--featured::before { animation: none; }
}

/* Nota dentro do FAQ */
.faq-note {
  margin-top: 8px !important;
  font-size: 0.86rem !important;
  color: var(--muted) !important;
  font-style: italic;
  border-left: 2px solid var(--axis-accent, var(--brand-orange));
  padding-left: 10px;
}

/* Logo UNIP no footer */
.footer-brand {
  flex-wrap: wrap;
  gap: 10px;
}

.footer-brand-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: var(--line-strong);
  margin: 0 4px;
}

.footer-brand-partner {
  display: inline-block;
  height: 34px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 220ms var(--ease);
  background: transparent;
}

.footer-brand-partner:hover {
  opacity: 1;
}

@media (max-width: 540px) {
  .footer-brand-divider {
    display: none;
  }
}

/* mantém os blocos antigos pra referência mas sem efeito === */
.instagram-card-x-unused {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 22px;
  border-radius: 24px;
  background: rgba(15, 21, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .instagram-card {
  background: #0d182a;
  border-color: rgba(255, 255, 255, 0.08);
}

.instagram-card-glow {
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(360px 260px at 100% 0%, rgba(220, 39, 67, 0.32), transparent 65%),
    radial-gradient(380px 280px at 0% 100%, rgba(118, 69, 217, 0.35), transparent 65%),
    radial-gradient(280px 200px at 50% 50%, rgba(252, 175, 69, 0.18), transparent 70%);
}

.instagram-card > *:not(.instagram-card-glow) {
  position: relative;
  z-index: 1;
}

.instagram-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.instagram-card-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(220, 39, 67, 0.4);
  flex-shrink: 0;
}

.instagram-card-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.instagram-card-eyebrow {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.instagram-card-handle {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  word-break: break-all;
}

.instagram-card-title {
  margin: 4px 0 0;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  background: linear-gradient(135deg, #fff 0%, #ffd5e8 60%, #fcaf45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.instagram-card-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.instagram-mechanic {
  list-style: none;
  padding: 0;
  margin: 6px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.instagram-mechanic-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.instagram-mechanic-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(220, 39, 67, 0.4);
}

.instagram-mechanic-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2743, #bc1888);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.instagram-mechanic-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.instagram-mechanic-body strong {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.25;
}

.instagram-mechanic-body span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.instagram-mechanic-body em {
  font-style: normal;
  font-weight: 800;
  color: #fcaf45;
  background: rgba(252, 175, 69, 0.12);
  padding: 0 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(220, 39, 67, 0.42);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.instagram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(220, 39, 67, 0.55);
}

.instagram-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.instagram-cta-label {
  flex: 1;
}

.instagram-cta-arrow {
  transition: transform 220ms var(--ease);
}

.instagram-cta:hover .instagram-cta-arrow {
  transform: translateX(3px);
}

.instagram-card-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.instagram-card-hint-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fcaf45;
  box-shadow: 0 0 8px rgba(252, 175, 69, 0.8);
  animation: igHintPulse 2.2s ease-in-out infinite;
}

@keyframes igHintPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-card-hint-dot { animation: none; }
}

@media (max-width: 720px) {
  .instagram-card {
    padding: 22px 18px 20px;
    gap: 12px;
  }

  .instagram-card-head {
    gap: 12px;
  }

  .instagram-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .instagram-mechanic-item {
    padding: 9px 10px;
  }

  .instagram-cta {
    padding: 13px 16px;
    font-size: 0.92rem;
  }
}

