/* Páginas próprias do Soulifyoga (obrigado, aulas, legais, 404). */
:root {
  --ink: #292a25; --body: #4b4b4b; --brand: #7c481a; --bg: #fcf7f3;
  --card: #fff; --soft: #f8f3ec; --line: #e7dbcf;
}
* { box-sizing: border-box; }
/* Sem isto, um display: flex proprio vence o atributo hidden e o modal do
   reprodutor aparece ao carregar a pagina. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body);
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.7; }
h1, h2, h3 { font-family: "Libertinus Serif", Georgia, serif; color: var(--ink);
  font-weight: 600; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.4px; }
h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: clamp(21px, 3vw, 26px); margin-top: 36px; }
h3 { font-size: 19px; }
p { margin: 0 0 16px; }
a { color: var(--brand); }

.pg-header { display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 18px clamp(18px, 5vw, 56px); border-bottom: 1px solid var(--line);
  background: #fff; position: sticky; top: 0; z-index: 20; }
.pg-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--brand); margin-right: auto; }
.pg-brand svg { width: 26px; height: 26px; }
.pg-brand span { font-family: "Libertinus Serif", Georgia, serif; font-size: 21px;
  color: var(--ink); letter-spacing: -.3px; }
.pg-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pg-nav a { font-size: 14px; padding: 7px 12px; border-radius: 999px;
  color: var(--body); text-decoration: none; }
.pg-nav a:hover { background: var(--soft); color: var(--ink); }
.pg-lang { display: flex; gap: 2px; }
.pg-lang a { font-size: 12px; letter-spacing: .08em; padding: 6px 9px; border-radius: 999px;
  color: var(--body); text-decoration: none; opacity: .65; }
.pg-lang a.on { opacity: 1; background: var(--soft); color: var(--ink); }

.pg-main { padding: clamp(28px, 6vw, 64px) clamp(18px, 5vw, 56px); }
body.pg-narrow .pg-main { max-width: 780px; margin: 0 auto; }

.pg-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(24px, 5vw, 44px); }
.pg-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 12px; font-weight: 600; }
.pg-lead { font-size: 17px; color: var(--body); }
.pg-note { font-size: 13px; color: #6a6a66; margin-top: 20px; }
.pg-updated { font-size: 13px; color: #6a6a66; margin-bottom: 28px; }
.pg-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  word-break: break-all; }

.pg-btn { display: inline-block; margin: 8px 8px 0 0; padding: 13px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--brand); cursor: pointer; }
.pg-btn:hover { background: #653a13; }
.pg-btn-quiet { background: transparent; color: var(--brand); }
.pg-btn-quiet:hover { background: var(--soft); color: var(--brand); }

.pg-facts { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px 20px;
  margin: 26px 0; padding: 20px; background: var(--soft); border-radius: 12px; }
.pg-facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #6a6a66; }
.pg-facts dd { margin: 0; color: var(--ink); font-weight: 500; }

.pg-spinner { width: 26px; height: 26px; border-radius: 50%; margin: 18px 0;
  border: 3px solid var(--line); border-top-color: var(--brand);
  animation: pg-spin .8s linear infinite; }
@keyframes pg-spin { to { transform: rotate(360deg); } }

/* área de aulas */
.pg-course-head { margin-bottom: 32px; }
.pg-plan { display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 16px; border-radius: 999px; background: var(--soft); font-size: 14px; }
.pg-plan span { color: #6a6a66; }
.pg-plan strong { color: var(--ink); }
.pg-module { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(20px, 4vw, 30px); margin-bottom: 18px; }
.pg-module.locked { background: #f6f2ee; border-style: dashed; }
.pg-module-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 6px; }
.pg-module-n { font-size: 12px; letter-spacing: .14em; color: var(--brand); font-weight: 600; }
.pg-module-top h2 { margin: 0; font-size: 22px; }
.pg-module-meta { font-size: 13px; color: #6a6a66; margin-bottom: 18px; }
.pg-lessons { list-style: none; margin: 0; padding: 0; }
.pg-lessons li { border-top: 1px solid var(--line); }
.pg-lesson { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 2px; background: none; border: 0; font: inherit; color: var(--ink);
  cursor: pointer; }
.pg-lesson:hover { color: var(--brand); }
.pg-lesson .n { font-size: 12px; color: #9a9a95; min-width: 24px; font-variant-numeric: tabular-nums; }
.pg-lesson .t { flex: 1; }
.pg-lesson .d { font-size: 13px; color: #6a6a66; }
.pg-lesson[disabled] { cursor: default; color: #9a9a95; }
.pg-downloads { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pg-downloads h3 { font-size: 15px; margin-bottom: 10px; }
.pg-downloads a { display: inline-block; margin: 0 10px 8px 0; font-size: 14px; }

.pg-player { position: fixed; inset: 0; z-index: 800; display: flex; align-items: center;
  justify-content: center; padding: 20px; background: rgba(41,42,37,.72); }
.pg-player-box { position: relative; width: 100%; max-width: 900px; background: var(--card);
  border-radius: 16px; padding: clamp(22px, 4vw, 34px); max-height: 90vh; overflow: auto; }
.pg-player-close { position: absolute; top: 10px; right: 14px; border: 0; background: none;
  font-size: 30px; line-height: 1; color: var(--body); cursor: pointer; }
.pg-player-box h2 { margin-top: 0; }
.pg-player-box iframe, .pg-player-box video { width: 100%; aspect-ratio: 16/9; border: 0;
  border-radius: 10px; background: #000; display: block; }
.pg-empty { padding: 30px; text-align: center; background: var(--soft); border-radius: 10px;
  color: #6a6a66; }

.pg-footer-wrap { border-top: 1px solid var(--line); background: var(--soft); }
.pg-copyright { max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px) clamp(30px, 4vw, 44px);
  font-size: 13px; color: #78756f; }

.pg-skip { position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; }
.pg-skip:focus { left: 0; }
/* ---------------------------------------------------------- rodapé */
.sy-footer { --sy-ink: #292a25; --sy-body: #55534e; --sy-brand: #7c481a;
  --sy-line: #e2d7ca; --sy-fine: #78756f;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) clamp(18px, 5vw, 40px) clamp(22px, 3vw, 30px);
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  color: var(--sy-body); font-size: 15px; line-height: 1.65;
  box-sizing: border-box; text-align: left; }
.sy-footer *, .sy-footer *::before, .sy-footer *::after { box-sizing: border-box; }

.sy-footer-grid { display: grid; gap: 34px 28px; grid-template-columns: minmax(0, 1fr);
  align-items: start; }
@media (min-width: 620px) { .sy-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .sy-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .sy-footer-grid { grid-template-columns: 1.7fr 1fr 1.15fr 1.25fr 1.35fr; gap: 40px 30px; }
}
@media (max-width: 1199px) { .sy-footer-brand { grid-column: 1 / -1; max-width: 60ch; } }

.sy-footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sy-footer-mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  color: var(--sy-brand); }
.sy-footer-mark svg { width: 26px; height: 26px; flex: none; }
.sy-footer-mark span { font-family: "Libertinus Serif", Georgia, serif; font-size: 21px;
  line-height: 1; letter-spacing: -.3px; color: var(--sy-ink); }
.sy-footer-blurb { margin: 0; max-width: 42ch; }

.sy-footer-h { font-family: "Libertinus Serif", Georgia, serif; font-size: 16px;
  font-weight: 600; letter-spacing: .01em; color: var(--sy-ink);
  margin: 0 0 14px; padding: 0; line-height: 1.3; }
.sy-footer-h-2 { margin-top: 26px; }
.sy-footer-col ul { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px; }
.sy-footer-col li { margin: 0; }
.sy-footer-col a { color: var(--sy-body); text-decoration: none;
  transition: color .18s ease; }
.sy-footer-col a:hover, .sy-footer-col a:focus-visible { color: var(--sy-brand);
  text-decoration: underline; text-underline-offset: 3px; }

.sy-footer-fine { display: block; font-size: 13px; line-height: 1.6; color: var(--sy-fine);
  margin: 2px 0 0; }
.sy-footer-brand .sy-footer-fine { max-width: 42ch; }
.sy-footer-address { font-style: normal; font-size: 13px; line-height: 1.7;
  color: var(--sy-fine); }
.sy-footer-contact ul { gap: 12px; }

.sy-footer-lang { display: flex; gap: 4px; margin-top: 2px; }
.sy-footer-lang a { font-size: 12px; letter-spacing: .09em; padding: 6px 11px;
  border: 1px solid var(--sy-line); border-radius: 999px; color: var(--sy-body);
  text-decoration: none; line-height: 1; }
.sy-footer-lang a:hover { border-color: var(--sy-brand); color: var(--sy-brand); }
.sy-footer-lang a.on { background: var(--sy-ink); border-color: var(--sy-ink); color: #fff; }

.sy-footer-bar { display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: baseline; justify-content: space-between;
  margin-top: clamp(28px, 4vw, 40px); padding-top: 20px;
  border-top: 1px solid var(--sy-line); }
.sy-footer-pay { margin: 0; max-width: 62ch; }
.sy-footer-bar-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sy-footer-bar-links a { font-size: 13px; color: var(--sy-body); text-decoration: none;
  white-space: nowrap; }
.sy-footer-bar-links a:hover { color: var(--sy-brand); text-decoration: underline;
  text-underline-offset: 3px; }

/* ------------------------------------------------- aviso de cookies */
.sy-cookie { position: fixed; z-index: 900; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: 14px;
  background: #292a25; color: #f4efec; box-shadow: 0 18px 50px rgba(0,0,0,.28);
  font-family: "Public Sans", system-ui, sans-serif; box-sizing: border-box; }
.sy-cookie p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; }
.sy-cookie-actions { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.sy-cookie button { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(244,239,236,.35);
  background: transparent; color: #f4efec; }
.sy-cookie button:hover { border-color: #f4efec; }
.sy-cookie button[data-cookie="accept"] { background: #f4efec; color: #292a25;
  border-color: #f4efec; }
.sy-cookie-more { font-size: 13px; color: #d8cec6; text-decoration: underline;
  text-underline-offset: 3px; }
.sy-cookie-more:hover { color: #fff; }

.sy-toast { position: fixed; z-index: 950; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: 420px; padding: 13px 20px; border-radius: 10px; background: #7c481a; color: #fff;
  font-family: "Public Sans", system-ui, sans-serif; font-size: 14px; line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0,0,0,.24); box-sizing: border-box; }

@media (max-width: 520px) {
  .sy-cookie { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .sy-cookie-actions { gap: 10px; }
  .sy-cookie button { flex: 1 1 auto; }
  .sy-cookie-more { flex: 1 1 100%; }
}
