/* =========================================================
   AULA INAUGURAL — Yoga Dream · Protocolo do Sono
   Reaproveita tokens e componentes de styles.css.
   Página usa exclusivamente League Spartan (400/700),
   sem Montserrat — por isso a sobrescrita em .page-invite.
   ========================================================= */

/* Banner pulsante */
.back-btn {
  position: fixed;
  top: 50px;
  left: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 46, 121, 0.15);
  border-radius: 12px;
  padding: 8px 10px 6px;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, box-shadow 0.2s;
}
.back-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.back-btn span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.pulse-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--yellow);
  color: var(--pink);
  text-align: center;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  z-index: 200;
  animation: pulseBanner 3s ease-in-out infinite;
  overflow: hidden;
  white-space: nowrap;
}
.pulse-text {
  display: inline-block;
  animation: pulseText 3s ease-in-out infinite;
}
@keyframes pulseBanner {
  0%, 100% { max-height: 38px; opacity: 1; }
  50% { max-height: 38px; opacity: 0.85; }
}
@keyframes pulseText {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.page-invite {
  font-family: var(--font-display);
  padding-top: 42px;
}

.invite {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 140% at 15% 8%, #0d6fe0 0%, var(--blue) 32%, var(--blue-dark) 66%, var(--blue-deep) 100%);
  padding: var(--panel-pad);
  padding-left: clamp(64px, 10vw, 96px);
  display: flex;
  flex-direction: column;
}

/* ---------- Faixa lateral — lua amarela no rodapé (só nesta página) ---------- */
.side-strip-moon {
  position: absolute;
  bottom: clamp(18px, 4vh, 36px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Foto real, sangrando pelo canto inferior esquerdo — mesma linguagem do hero */
.invite-photo {
  position: absolute;
  left: calc(-1 * var(--panel-pad) * 0.3);
  bottom: calc(-1 * var(--panel-pad) * 0.4);
  width: min(46%, 460px);
  z-index: 1;
  pointer-events: none;
}
.invite-photo picture,
.invite-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 30px rgba(0, 20, 60, 0.45));
}
.invite-glow {
  position: absolute;
  left: 6%;
  bottom: 4%;
  width: 88%;
  height: 42%;
  background: radial-gradient(closest-side, rgba(239, 63, 127, 0.5), rgba(239, 63, 127, 0) 72%);
  filter: blur(8px);
  z-index: -1;
}

.invite-tag {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 63, 127, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  max-width: 260px;
}
.invite-tag svg { color: var(--pink); flex-shrink: 0; }
.invite-tag strong { font-weight: 700; }

/* ---------- Conteúdo (coluna da direita) ---------- */
.invite-content {
  position: relative;
  z-index: 3;
  margin-left: min(42%, 420px);
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.invite-title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.01em;
}

.invite-subtitle {
  font-weight: 700;
  color: var(--yellow);
  font-size: clamp(19px, 2.8vw, 32px);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-top: 8px;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--pink);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-top: 20px;
  box-shadow: var(--shadow-soft);
}
.date-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: 0.01em;
}
.date-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.5);
}

.protocol-block {
  position: relative;
  margin-top: 8px;
}

.protocol-title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.1;
}

.connector {
  width: 64px;
  height: 34px;
  margin: 8px 0 -4px 6px;
}
.connector svg { width: 100%; height: 100%; }

.peace-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--pink);
  border: 2px dotted rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 12px;
  box-shadow: var(--shadow-card);
  width: fit-content;
}
.peace-icon { flex-shrink: 0; }
.peace-card p {
  color: var(--white);
  font-weight: 400;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.35;
}
.peace-card strong { font-weight: 700; }

.benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 18px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.benefits li:last-child { border-bottom: none; }
.benefits svg { flex-shrink: 0; }

.spots-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  width: fit-content;
}
.spots-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  flex-shrink: 0;
}
.spots-card p {
  color: var(--text-dark);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.4;
}
.spots-card strong { color: var(--pink); font-weight: 700; }

.invite-cta-block { margin-top: 6px; }
.invite-cta-label {
  font-weight: 700;
  color: var(--white);
  font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.invite-cta-wrap {
  position: relative;
  display: inline-flex;
  width: fit-content;
}

.invite-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 38px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  padding: 18px 34px;
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 30px rgba(0, 20, 60, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 44px;
}
.invite-cta svg { flex-shrink: 0; transition: transform 0.2s ease; }
.invite-cta:hover {
  background: #ffd93f;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0, 20, 60, 0.48);
}
.invite-cta:hover svg { transform: translateX(4px); }

.invite-cta-cursor {
  position: absolute;
  right: -6px;
  bottom: -10px;
  filter: drop-shadow(0 3px 4px rgba(0, 20, 60, 0.5));
  pointer-events: none;
}

.invite-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--white);
  margin-top: 10px;
}

/* =========================================================
   Responsivo — breakpoints obrigatórios:
   1440 / 1280 / 1024 / 768 / 430 / 390 / 375
   ========================================================= */

/* Mobile (≤767px) — foto vira camada de fundo, conteúdo ocupa a largura toda */
@media (max-width: 767px) {
  .invite { padding-left: clamp(52px, 14vw, 72px); padding-bottom: 100px; }
  .invite-photo {
    left: auto;
    right: calc(-1 * var(--panel-pad) * 0.6);
    bottom: auto;
    top: 10px;
    width: min(62%, 280px);
    opacity: 0.55;
    z-index: 1;
  }
  .invite-glow { display: none; }
  .invite-content { margin-left: 0; max-width: 100%; }
  .invite-tag {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
  .invite-cta-wrap { width: 100%; }
  .invite-cta { width: 100%; justify-content: center; }
  .invite-cta-cursor { display: none; }
  .peace-card, .spots-card, .date-pill { width: 100%; box-sizing: border-box; }
  .date-pill { flex-wrap: wrap; justify-content: center; }
}

/* 768–1024: tablet */
@media (min-width: 768px) and (max-width: 1099px) {
  .invite-content { margin-left: min(38%, 320px); }
  .invite-photo { width: min(40%, 360px); }
  .invite-title { font-size: clamp(44px, 8vw, 58px); }
}

/* 1024–1280: notebook */
@media (min-width: 1100px) and (max-width: 1339px) {
  .invite { padding: 56px 48px; padding-left: 88px; }
  .invite-content { margin-left: min(40%, 360px); }
}

/* 1280–1440: desktop */
@media (min-width: 1340px) {
  .invite { padding: 70px 64px; padding-left: 100px; }
  .invite-content { gap: 26px; }
}

/* ≥1440: desktop largo */
@media (min-width: 1440px) {
  .invite-photo { width: min(42%, 500px); }
  .invite-content { margin-left: min(40%, 440px); }
}

/* 430px */
@media (max-width: 430px) {
  .invite { padding-left: 58px; padding-right: 24px; }
  .invite-title { font-size: 44px; }
  .invite-subtitle { font-size: 19px; }
  .protocol-title { font-size: 24px; }
  .invite-cta { font-size: 24px; padding: 16px 20px; }
}

/* 390px */
@media (max-width: 390px) {
  .invite { padding-left: 54px; }
  .invite-title { font-size: 40px; }
  .date-pill { padding: 12px 16px; gap: 10px; }
  .date-item { font-size: 15px; }
}

/* 375px */
@media (max-width: 375px) {
  .invite { padding-left: 50px; }
  .invite-title { font-size: 37px; }
  .protocol-title { font-size: 21px; }
  .invite-cta { font-size: 21px; padding: 14px 18px; }
  .spots-card p, .peace-card p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .invite-cta { transition: none; }
}
