/* =========================================================
   Componentes de seção compartilhados pelas quatro páginas.
   Cada página define apenas a cor das superfícies; os
   componentes abaixo se adaptam por variável.
   ========================================================= */

body {
  --text: var(--cream-100);
  --text-dim: var(--mute-400);
  --line: rgba(242,243,228,.1);
  --surface: rgba(242,243,228,.032);
  --surface-2: rgba(242,243,228,.06);
  --accent: var(--amber-500);
}
body.theme-light {
  --text: var(--ink-900);
  --text-dim: var(--ink-500);
  --line: rgba(10,10,11,.1);
  --surface: rgba(10,10,11,.022);
  --surface-2: var(--white);
  --accent: var(--orange-600);
}

/* ---------- Seção ---------- */
.section { position: relative; padding-block: clamp(56px, 7vw, 100px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section + .section { border-top: 1px solid var(--line); }
.section--plain + .section--plain { border-top: 0; }

.sec-head { max-width: 640px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { color: var(--accent); display: block; margin-bottom: 12px; }
.sec-head h2 {
  font-size: clamp(1.55rem, 1.05rem + 1.5vw, 2.3rem);
  line-height: 1.14;
  color: var(--text);
}
.sec-head p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: clamp(.98rem, .95rem + .15vw, 1.0625rem);
  max-width: 56ch;
}
.sec-head--center p { margin-inline: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
.cards--2 { grid-template-columns: 1fr; }
.cards--3 { grid-template-columns: 1fr; }
.cards--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .4s var(--ease-out), border-color .4s, background .4s;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 38%, transparent); }
.card__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--accent);
  margin-bottom: 16px;
}
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 7px; letter-spacing: -.02em; }
.card p { font-size: 14.5px; color: var(--text-dim); }
.card--wide { grid-column: span 1; }
@media (min-width: 640px) { .card--wide { grid-column: span 2; } }

/* número grande no canto */
.card__num {
  position: absolute; right: 20px; top: 16px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 2rem; color: color-mix(in srgb, var(--accent) 26%, transparent);
  line-height: 1;
}

/* ---------- Lista com check ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.checklist svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.checklist--boxed li {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* ---------- Passos ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 10px;
  height: 1px; background: var(--line);
}
.step__dot {
  position: absolute; left: 0; top: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.step__n { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; display: block; }
.step h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -.02em; }
.step p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Grade de mídia (instrumentos) ---------- */
.media-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .media-grid { grid-template-columns: repeat(5, 1fr); } }

.media-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
}
.media-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out), filter .6s var(--ease-out);
  filter: saturate(.75) brightness(.82);
}
.media-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.media-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(8,8,9,.9), transparent);
}

/* ---------- Comparativo ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; background: var(--surface); }
.compare tbody th { font-weight: 500; color: var(--text-dim); }
.compare td { color: var(--text); }
.compare .is-us { background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--text); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare__scroll { overflow-x: auto; }
.compare__scroll table { min-width: 640px; }

/* ---------- Planos ---------- */
.journey { display: grid; gap: 18px; }
@media (min-width: 1000px) { .journey { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.plan {
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.plan--free { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.plan--paid { background: var(--surface-2); border-color: var(--line); }
.plan__tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  margin-bottom: 14px;
}
.plan h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); color: var(--text); margin-bottom: 8px; }
.plan > p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 20px; }
.plan__split { display: grid; gap: 20px; margin-bottom: 24px; }
@media (min-width: 640px) { .plan__split { grid-template-columns: 1fr 1fr; gap: 26px; } }
.plan__col h4 { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.plan__col .checklist li { font-size: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.plan__price b { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 700; letter-spacing: -.04em; color: var(--text); }
.plan__price span { font-size: 14px; color: var(--text-dim); }
.plan__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.plan__note { margin-top: 14px; font-size: 12.5px; color: var(--text-dim); }

.journey__link {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 2px;
  font-size: 14px; color: var(--text-dim);
}
.journey__link svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq__groups { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.faq__tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.faq__tab[aria-selected="true"] {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  background: transparent; border: 0;
  text-align: left;
  font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer;
  letter-spacing: -.01em;
}
.faq__q svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; transition: transform .35s var(--ease-out); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 18px; font-size: 14.5px; color: var(--text-dim); max-width: 72ch; }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 14px; }
@media (min-width: 720px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  transition: border-color .25s, background .25s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--text-dim) 75%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.form__accept { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-dim); }
.form__accept input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.form__accept a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Faixa de CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-block: clamp(44px, 5vw, 68px);
}
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); color: var(--text); max-width: 20ch; }
.cta-band p { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; max-width: 42ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Citação ---------- */
.quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, .95rem + 1vw, 1.75rem);
  line-height: 1.35;
  color: var(--text);
  max-width: 30ch;
  letter-spacing: -.02em;
}

/* ---------- Números ---------- */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat__value {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 1.95rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.1;
  color: var(--accent);
}
.stat__label { font-size: 13px; color: var(--text-dim); margin-top: 3px; max-width: 22ch; }
.stats-row--center { justify-items: center; text-align: center; }
.stats-row--center .stat__label { margin-inline: auto; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 68px) 26px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer__brand p { margin-top: 14px; font-size: 13.5px; color: var(--text-dim); max-width: 34ch; }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer a { font-size: 14px; color: var(--text); opacity: .82; transition: opacity .25s, color .25s; }
.footer a:hover { opacity: 1; color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.footer__social a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.footer__social svg { width: 19px; height: 19px; }

.footer__legal {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.8;
}
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #0B3D20;
  box-shadow: 0 16px 34px -14px rgba(37,211,102,.7);
  transition: transform .3s var(--ease-out);
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 27px; height: 27px; }
@media (max-width: 560px) { .wa { width: 48px; height: 48px; right: 14px; bottom: 76px; } }

/* ---------- Alternância de tom entre seções ---------- */
.section--alt { background: var(--surface-alt, rgba(242,243,228,.028)); border-top-color: transparent; }
.section--alt + .section { border-top-color: transparent; }
body.theme-light .section--alt { background: var(--paper-100); }

/* ---------- Equalizador (elemento musical reutilizável) ---------- */
.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; flex: 0 0 auto; }
.eq i {
  width: 3px; border-radius: 2px;
  background: var(--accent);
  transform-origin: bottom;
  animation: eqBounce 1.1s var(--ease) infinite alternate;
}
.eq i:nth-child(1) { height: 40%; animation-delay: 0ms; }
.eq i:nth-child(2) { height: 75%; animation-delay: 130ms; }
.eq i:nth-child(3) { height: 100%; animation-delay: 60ms; }
.eq i:nth-child(4) { height: 60%; animation-delay: 200ms; }
.eq i:nth-child(5) { height: 85%; animation-delay: 90ms; }
@keyframes eqBounce { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; } }

/* ---------- Pentagrama animado ---------- */
.staff-card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.staff-card::after {
  content: '';
  position: absolute; inset: auto -20% -60% auto;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%);
  pointer-events: none;
}
.staff-card__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.staff-card__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.staff { width: 100%; height: auto; display: block; margin-bottom: 24px; }
.staff .line { stroke: var(--line); stroke-width: 1.4; }
.staff .note { fill: var(--accent); opacity: 0; transform-origin: center; }
.staff .stem { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; opacity: 0; }
.staff.is-in .note, .staff.is-in .stem { animation: noteIn .55s var(--ease-out) forwards; }
.staff.is-in .n1 { animation-delay: .15s; }
.staff.is-in .n2 { animation-delay: .3s; }
.staff.is-in .n3 { animation-delay: .45s; }
.staff.is-in .n4 { animation-delay: .6s; }
.staff.is-in .n5 { animation-delay: .75s; }
.staff.is-in .n6 { animation-delay: .9s; }
@keyframes noteIn {
  from { opacity: 0; transform: translateY(7px) scale(.82); }
  to   { opacity: 1; transform: none; }
}
.staff-card .quote { margin: 0; max-width: 26ch; }
.staff-card__foot { margin-top: 18px; font-size: 13px; color: var(--text-dim); }
@media (prefers-reduced-motion: reduce) {
  .staff .note, .staff .stem { opacity: 1; animation: none; }
}

/* ---------- Grade de cursos com ícone ---------- */
.courses-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .courses-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .courses-grid { grid-template-columns: repeat(4, 1fr); } }
.course {
  display: grid; justify-items: center; gap: 12px;
  padding: 22px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  transition: transform .35s var(--ease-out), border-color .35s, background .35s;
}
.course:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.course svg { width: 28px; height: 28px; color: var(--accent); }
.course .ico { color: var(--accent); --ico-size: 30px; }
.course span { font-size: 14px; font-weight: 500; color: var(--text); }

/* ---------- Card centralizado ---------- */
.card--center { text-align: center; display: grid; justify-items: center; }
.card--center p { max-width: 34ch; }
.card--center .card__icon { margin-bottom: 18px; }

/* números: com 3 itens a linha fica centralizada (antes eram 4 colunas) */
@media (min-width: 768px) {
  .stats-row:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin-inline: auto; }
}

/* ---------- Menu fixo no topo, menu no celular e voltar ao topo ---------- */
html { scroll-padding-top: 84px; }
.site-header { position: fixed; }
.site-header.is-stuck { padding-block: 12px; }
.nav-toggle { display: none; }
@media (max-width: 1099px) {
  .site-header .container { justify-content: flex-start; gap: 10px; }
  .site-header .container > .btn { margin-left: auto; }
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 4px;
    width: 42px; height: 42px; flex: 0 0 auto;
    border-radius: 12px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent);
    background: transparent; color: inherit; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 6px); left: 12px; right: 12px;
    padding: 10px; border-radius: 18px;
    background: var(--nav-panel, rgba(22,22,20,.97)); color: var(--nav-fg, var(--cream-100));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
    backdrop-filter: blur(14px);
    font-size: 16px;
    animation: navIn .28s var(--ease-out, ease) both;
  }
  .site-header.is-open .nav a { padding: 12px 14px; border-radius: 12px; opacity: .92; color: inherit; }
  .site-header.is-open .nav a:hover { background: rgba(255,255,255,.06); color: var(--orange-500); }
}
@media (max-width: 520px) {
  .site-header .brand__logo { height: 26px; }
  .site-header .container > .btn { padding: 9px 13px; font-size: 13px; }
}
@media (max-width: 380px) {
  .site-header .container > .btn { display: none; }
  .site-header .container > .nav-toggle { margin-left: auto; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.to-top {
  position: fixed; right: 22px; bottom: 86px; z-index: 89;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(24,24,22,.88); color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-out, ease), background .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange-500); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .to-top { right: 16px; bottom: 134px; width: 44px; height: 44px; } }

/* logado no WordPress: o menu fica abaixo da barra do painel */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
