/* =========================================================
   Técnico de Sucesso — Landing LMS
   Referência: plataformas de curso premium (dark teal + light glass)
   ========================================================= */

:root {
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --amber-400: #e8c547;
  --brand-gold: #d4af37;
  --brand-navy: #1e3a5f;

  --cat-cadeira: #38bdf8;
  --cat-esteril: #34d399;
  --cat-imagem: #fb923c;
  --cat-avancado: #a78bfa;
  --cat-alta: #2dd4bf;
  --cat-baixa: #38bdf8;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 220ms;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f6f4;
  --bg-elevated: rgba(255, 255, 255, 0.78);
  --bg-solid: #ffffff;
  --bg-alt: rgba(255, 255, 255, 0.5);
  --text: #0f1c19;
  --text-soft: #4a5c57;
  --text-muted: #6d7f79;
  --border: rgba(15, 28, 25, 0.08);
  --border-strong: rgba(15, 28, 25, 0.14);
  --accent: var(--teal-600);
  --accent-hover: var(--teal-700);
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-contrast: #ffffff;
  --warm: var(--amber-400);
  --hero-grad:
    radial-gradient(ellipse 80% 55% at 8% 0%, rgba(153, 246, 228, 0.45), transparent 55%),
    radial-gradient(ellipse 65% 45% at 95% 8%, rgba(255, 214, 186, 0.35), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, #eef4f1 100%);
  --orb-a: rgba(120, 210, 190, 0.4);
  --orb-b: rgba(255, 190, 150, 0.28);
  --orb-c: rgba(150, 200, 220, 0.25);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.9);
  --card-shadow: 0 12px 32px rgba(15, 28, 25, 0.08);
  --header-bg: rgba(247, 250, 248, 0.8);
  --chip: rgba(255, 255, 255, 0.75);
  --chip-active: var(--teal-600);
  --chip-active-text: #fff;
  --success: #1a9b6c;
  --dark-panel: #0c1412;
  --nav-underline: var(--teal-600);
  --play-bg: rgba(13, 148, 136, 0.92);
  --media-scrim: linear-gradient(transparent 40%, rgba(8, 16, 14, 0.85));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b0a;
  --bg-elevated: rgba(18, 26, 24, 0.85);
  --bg-solid: #111916;
  --bg-alt: rgba(12, 18, 16, 0.7);
  --text: #eef7f4;
  --text-soft: #a8bbb4;
  --text-muted: #6f837c;
  --border: rgba(238, 247, 244, 0.07);
  --border-strong: rgba(238, 247, 244, 0.14);
  --accent: var(--teal-400);
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-contrast: #042f2e;
  --warm: var(--amber-400);
  --hero-grad:
    radial-gradient(ellipse 70% 50% at 15% -10%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(232, 197, 71, 0.06), transparent 50%),
    linear-gradient(180deg, #070b0a 0%, #0a100e 100%);
  --orb-a: rgba(20, 184, 166, 0.16);
  --orb-b: rgba(232, 197, 71, 0.06);
  --orb-c: rgba(56, 120, 140, 0.12);
  --glass: rgba(17, 25, 22, 0.78);
  --glass-border: rgba(238, 247, 244, 0.06);
  --card-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(7, 11, 10, 0.85);
  --chip: rgba(255, 255, 255, 0.04);
  --chip-active: var(--teal-400);
  --chip-active-text: #042f2e;
  --success: #34d399;
  --dark-panel: #050807;
  --nav-underline: var(--teal-400);
  --play-bg: rgba(20, 184, 166, 0.95);
  --media-scrim: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.88));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: var(--hero-grad);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  margin: 0.2rem 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
  margin: 0.2rem 0 0.75rem;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

p {
  margin: 0;
}

.shell {
  width: min(1180px, calc(100% - 2.25rem));
  margin-inline: auto;
}

/* Ambient */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: drift 20s var(--ease) infinite alternate;
}

.orb-a {
  width: 40vw;
  height: 40vw;
  top: -14%;
  left: -10%;
  background: var(--orb-a);
}

.orb-b {
  width: 32vw;
  height: 32vw;
  top: 6%;
  right: -12%;
  background: var(--orb-b);
  animation-delay: -7s;
}

.orb-c {
  width: 28vw;
  height: 28vw;
  bottom: 8%;
  left: 35%;
  background: var(--orb-c);
  animation-delay: -12s;
}

@keyframes drift {
  to {
    transform: translate3d(3%, 5%, 0) scale(1.06);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 999px;
  background: #12181a;
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.5),
    0 0 0 5px rgba(20, 184, 166, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-text em {
  font-style: normal;
  color: var(--accent);
}

.brand-text small {
  margin-top: 0.12rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--duration);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--nav-underline);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn,
.theme-toggle,
.nav-burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--glass);
  transition: border-color var(--duration), transform var(--duration);
}

.icon-btn:hover,
.theme-toggle:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.icon-btn svg,
.theme-toggle svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="light"] .icon-moon,
html[data-theme="dark"] .icon-sun {
  display: none;
}

.icon-btn {
  display: none;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration);
}

.nav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition:
    transform var(--duration) var(--ease),
    background var(--duration),
    border-color var(--duration),
    color var(--duration),
    box-shadow var(--duration);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.88rem 1.35rem;
  font-size: 0.96rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.35rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  border-color: var(--border-strong);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  color: var(--text-soft);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-soft:hover {
  background: var(--accent);
  color: var(--accent-contrast);
}

.header-actions .btn-ghost,
.header-actions .btn-primary {
  display: none;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.text-link:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.breadcrumb span:last-child {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.brand-signal img {
  width: clamp(64px, 9vw, 88px);
  height: clamp(64px, 9vw, 88px);
  object-fit: cover;
  border-radius: 999px;
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.55),
    0 0 0 6px rgba(20, 184, 166, 0.14),
    0 16px 36px rgba(0, 0, 0, 0.38);
}

.brand-signal em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
}

.meta-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0;
  margin: 0 0 1.6rem;
}

.meta-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.meta-row svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-stage {
  position: relative;
}

.hero-shot {
  margin: 0;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  background: var(--bg-solid);
  aspect-ratio: 16 / 11;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.hero-stage:hover .hero-shot img {
  transform: scale(1.04);
}

.hero-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.3rem 1.35rem;
  background: var(--media-scrim);
  color: #f5faf8;
  display: grid;
  gap: 0.2rem;
  pointer-events: none;
}

.hero-shot figcaption strong {
  font-size: 1.1rem;
}

.hero-shot figcaption small {
  opacity: 0.8;
  font-size: 0.84rem;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(45, 212, 191, 0.18);
  color: #99f6e4;
  border: 1px solid rgba(45, 212, 191, 0.25);
}

/* Play button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--play-bg);
  color: #042f2e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration);
  z-index: 2;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 36px rgba(20, 184, 166, 0.4);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  margin-left: 2px;
}

.play-sm {
  width: 36px;
  height: 36px;
}

.play-sm svg {
  width: 14px;
  height: 14px;
}

.hero-play {
  width: 72px;
  height: 72px;
}

.hero-play svg {
  width: 28px;
  height: 28px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  font-size: 0.84rem;
  font-weight: 600;
  animation: float 5.5s ease-in-out infinite;
  z-index: 3;
}

.float-card strong {
  display: block;
  font-size: 0.88rem;
}

.float-card span:not(.dot) {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.float-a {
  top: 1rem;
  left: -0.4rem;
}

.float-b {
  right: -0.3rem;
  bottom: 5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  animation-delay: -2s;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(26, 155, 108, 0.18);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Trust */
.trust-strip {
  padding: 0 0 2.25rem;
}

.trust-row {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.trust-row p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0.3rem 0;
}

.trust-row p + p {
  border-top: 1px solid var(--border);
}

/* Sections */
.section {
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.section-lead {
  max-width: 38rem;
  color: var(--text-soft);
  font-size: 1rem;
}

/* Catalog toolbar */
.catalog-toolbar {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip);
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text-soft);
  transition: background var(--duration), color var(--duration), border-color var(--duration);
}

.chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.chip.is-active {
  background: var(--chip-active);
  color: var(--chip-active-text);
  border-color: transparent;
}

.dot-cat {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.cat-cadeira {
  background: var(--cat-cadeira);
  color: var(--cat-cadeira);
}

.cat-esteril {
  background: var(--cat-esteril);
  color: var(--cat-esteril);
}

.cat-imagem {
  background: var(--cat-imagem);
  color: var(--cat-imagem);
}

.cat-avancado {
  background: var(--cat-avancado);
  color: var(--cat-avancado);
}

.cat-alta {
  background: var(--cat-alta);
  color: var(--cat-alta);
}

.cat-baixa {
  background: var(--cat-baixa);
  color: var(--cat-baixa);
}

.accent-text {
  color: var(--accent);
  font-weight: 800;
}

/* Launch offer card */
.launch-offer {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: var(--radius-xl);
  background: var(--bg-solid);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  box-shadow: var(--card-shadow);
}

.launch-offer-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0.65rem 0 0.55rem;
}

.launch-offer-copy > p {
  color: var(--text-soft);
  max-width: 36rem;
}

.launch-includes {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.launch-includes li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}

.launch-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.launch-offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(232, 197, 71, 0.12), transparent 50%),
    var(--dark-panel);
  color: #f3faf7;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-pill {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(232, 197, 71, 0.18);
  color: var(--amber-400);
  border: 1px solid rgba(232, 197, 71, 0.28);
  margin-bottom: 0.35rem;
}

.launch-offer-price > small {
  color: rgba(243, 250, 247, 0.65);
  font-size: 0.88rem;
}

.launch-offer-price s {
  color: rgba(243, 250, 247, 0.45);
  text-decoration-thickness: 1.5px;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.15rem 0 0.2rem;
}

.price-tag span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-400);
}

.price-tag strong {
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.price-note {
  color: rgba(243, 250, 247, 0.62);
  font-size: 0.86rem;
  margin-bottom: 0.75rem;
}

.launch-offer-price .btn-primary {
  background: var(--amber-400);
  color: #1a1505;
  box-shadow: 0 8px 22px rgba(232, 197, 71, 0.25);
}

.launch-offer-price .btn-primary:hover {
  background: #f0d56a;
}

.launch-offer-price .text-link {
  color: rgba(243, 250, 247, 0.7);
  margin-top: 0.35rem;
  align-self: center;
}

.launch-offer-price .text-link:hover {
  color: var(--amber-400);
}

@media (min-width: 800px) {
  .launch-offer {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: stretch;
  }

  .launch-offer-price {
    justify-content: center;
  }
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  max-width: 280px;
  width: 100%;
}

.search-field svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.search-field input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.9rem;
}

.search-field input::placeholder {
  color: var(--text-muted);
}

/* Course cards — grid ASIMOV */
.course-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

.course-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-solid);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration),
    border-color var(--duration);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--border-strong);
}

.course-card.is-hidden {
  display: none;
}

.course-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a100e;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.course-card:hover .course-media img {
  transform: scale(1.04);
}

.badge-type {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--warm);
  color: #1a1505;
}

.badge-teal {
  background: var(--accent);
  color: var(--accent-contrast);
}

.badge-dark {
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.media-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.55rem 0.75rem 0.65rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 650;
}

.media-progress i {
  display: block;
  margin-top: 0.35rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.media-progress i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  background: var(--teal-400);
  border-radius: inherit;
}

.course-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}

.course-body p {
  color: var(--text-soft);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.course-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.course-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.course-stats svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.price strong {
  font-size: 1.05rem;
}

/* Track / Trilha */
.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  position: relative;
}

.track-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: stretch;
  position: relative;
}

.track-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: -1rem;
  width: 2px;
  background: var(--border-strong);
}

.track-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--bg-solid);
  border: 2px solid var(--border-strong);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  margin-top: 1.15rem;
}

.track-index.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.track-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-solid);
  border: 1px solid var(--border);
  transition: border-color var(--duration), box-shadow var(--duration);
}

.track-card.is-active {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

.track-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a100e;
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-body p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.status-pill {
  margin-left: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
}

.track-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

/* Instagram / bastidores */
.ig-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.ig-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-solid);
  border: 1px solid var(--border);
  transition: transform var(--duration) var(--ease), border-color var(--duration);
}

.ig-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.ig-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.ig-card figcaption {
  padding: 0.95rem 1rem 1.1rem;
  display: grid;
  gap: 0.25rem;
}

.ig-card figcaption strong {
  font-size: 1rem;
}

.ig-card figcaption span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .ig-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Instructor */
.instructor {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--bg-solid);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.instructor-media {
  position: relative;
  width: min(240px, 70%);
  margin-inline: auto;
}

.instructor-media img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.22);
}

.instructor-badge {
  position: absolute;
  left: 50%;
  bottom: -0.65rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.instructor-copy h2 {
  margin-bottom: 0.35rem;
}

.instructor-role {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.instructor-copy > p {
  color: var(--text-soft);
  max-width: 40rem;
}

.instructor-highlights {
  list-style: none;
  margin: 1.2rem 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.instructor-highlights li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-soft);
}

.instructor-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.instructor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.instructor-handle {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.instructor-handle a {
  color: var(--accent);
}

.instructor-handle a:hover {
  text-decoration: underline;
}

@media (min-width: 860px) {
  .instructor {
    grid-template-columns: 240px 1fr;
    gap: 2.25rem;
  }

  .instructor-media {
    width: 240px;
    margin-inline: 0;
  }
}

/* Method */
.method-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.method-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.method-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--bg-solid);
  border: 1px solid var(--border);
}

.step {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
}

.method-list p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.glass-panel {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-solid);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.glass-panel > header {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.glass-panel > header strong {
  font-size: 1.2rem;
}

.trail {
  display: grid;
  gap: 0.5rem;
}

.trail-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trail-item span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
}

.trail-item.is-done {
  color: var(--text-soft);
}

.trail-item.is-done span {
  background: var(--success);
  border-color: var(--success);
}

.trail-item.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: var(--accent-soft);
}

.trail-item.is-active span {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.trail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.trail-foot small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.trail-foot strong {
  font-size: 1.15rem;
}

.progress {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-600), var(--accent));
}

/* Features / quotes / CTA / footer */
.feature-row,
.quote-grid {
  display: grid;
  gap: 0.95rem;
}

.feature-card,
.quote-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-solid);
  border: 1px solid var(--border);
  transition: transform var(--duration), border-color var(--duration);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p,
.quote-card footer span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.quote-card {
  margin: 0;
}

.quote-card p {
  font-size: 1.02rem;
  font-weight: 550;
  margin-bottom: 1rem;
}

.quote-card footer {
  display: grid;
  gap: 0.1rem;
}

.quote-card footer span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.cta-band {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.cta-inner {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(232, 197, 71, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 70% at 0% 100%, rgba(20, 184, 166, 0.2), transparent 55%),
    var(--dark-panel);
  color: #f3faf7;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--card-shadow);
}

.cta-inner .eyebrow {
  color: var(--amber-400);
}

.cta-inner p {
  color: rgba(243, 250, 247, 0.72);
  max-width: 36rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-inner .btn-primary {
  background: var(--amber-400);
  color: #1a1505;
  box-shadow: 0 8px 22px rgba(232, 197, 71, 0.22);
}

.cta-inner .btn-primary:hover {
  background: #f0d56a;
}

.cta-inner .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cta-inner .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.site-footer {
  padding: 2.75rem 0 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--text-soft);
  max-width: 22rem;
  font-size: 0.9rem;
}

.footer-grid h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-grid a {
  display: block;
  color: var(--text-soft);
  font-weight: 550;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-base {
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 1.7rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-solid);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  text-align: center;
  animation: modalIn 0.32s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.modal-lock {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.9rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.modal-lock svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.modal-panel p {
  color: var(--text-soft);
  margin: 0.45rem 0 0.95rem;
}

.preview-list {
  text-align: left;
  margin: 0 0 1.15rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  list-style: none;
}

.preview-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.15rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.nav-open .nav {
  display: flex;
  position: absolute;
  top: calc(var(--header-h) + 0.45rem);
  left: 1.1rem;
  right: 1.1rem;
  flex-direction: column;
  align-items: stretch;
  padding: 0.45rem;
  border-radius: var(--radius-md);
  background: var(--bg-solid);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  z-index: 60;
}

body.nav-open .nav a {
  padding: 0.8rem 0.95rem;
}

body.nav-open .nav a.is-active::after {
  display: none;
}

/* Responsive */
@media (min-width: 640px) {
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .trust-row p {
    padding: 0.45rem 0.9rem;
  }

  .trust-row p + p {
    border-top: none;
  }

  .trust-row p:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .trust-row p:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row,
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .track-card {
    grid-template-columns: 150px 1fr;
    align-items: center;
  }

  .track-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .track-thumb {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }

  .nav-burger {
    display: none;
  }

  .icon-btn,
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: inline-flex;
  }

  .icon-btn {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
  }

  .section-head {
    grid-template-columns: 1.25fr auto;
    align-items: end;
  }

  .course-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .method-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.75rem;
  }

  .cta-inner {
    grid-template-columns: 1.35fr auto;
    align-items: center;
  }

  .trust-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-row p {
    text-align: center;
    border: none !important;
  }

  .trust-row p + p {
    border-left: 1px solid var(--border) !important;
  }

  .float-a {
    left: -1rem;
  }

  .float-b {
    right: -0.8rem;
  }

  .track-card {
    grid-template-columns: 160px 1fr auto;
  }

  .track-actions {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    min-width: 150px;
  }

  .track-actions .btn {
    width: 100%;
  }

  .track-actions .text-link {
    text-align: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
