/* =========================================================
   CLAVÉ YOGA — Novo formato de aulas on-line
   Tokens, layout e componentes
   ========================================================= */

:root {
  --blue: #075FC3;
  --blue-dark: #003B96;
  --blue-deep: #002E79;
  --pink: #EF3F7F;
  --pink-dark: #C92E68;
  --pink-light: #FFEFF3;
  --yellow: #FFC900;
  --white: #FFFFFF;
  --text-dark: #082F75;

  --font-display: 'League Spartan', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-card: 0 14px 30px rgba(0, 46, 121, 0.28);
  --shadow-soft: 0 8px 20px rgba(0, 46, 121, 0.18);

  --panel-pad: clamp(28px, 4vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--blue-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.hl-yellow, .hl-yellow-2 { color: var(--yellow); }
.hl-pink { color: var(--pink); }

/* ---------- Layout shell ---------- */
main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.panel {
  position: relative;
  width: 100%;
  padding: var(--panel-pad);
  padding-top: calc(var(--panel-pad) + 8px);
}

@media (min-width: 1100px) {
  main {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    align-items: stretch;
  }
  .panel { min-height: 100vh; }
}

/* =========================================================
   SEÇÃO 1 — HERO
   ========================================================= */
.hero {
  background: radial-gradient(120% 140% at 15% 10%, #0d6fe0 0%, var(--blue) 35%, var(--blue-dark) 68%, var(--blue-deep) 100%);
  padding-left: clamp(64px, 10vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.side-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(44px, 6vw, 64px);
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.side-strip span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--white);
  white-space: nowrap;
}

/* Foto real, como elemento de fundo à esquerda (sem moldura/card) */
.hero-photo {
  position: absolute;
  left: calc(-1 * var(--panel-pad) * 0.35);
  bottom: calc(-1 * var(--panel-pad) * 0.6);
  width: min(50%, 360px);
  z-index: 2;
  pointer-events: none;
}
.hero-photo picture,
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 30px rgba(0, 20, 60, 0.45));
}
.hero-glow {
  position: absolute;
  left: 8%;
  bottom: 6%;
  width: 84%;
  height: 46%;
  background: radial-gradient(closest-side, rgba(239, 63, 127, 0.55), rgba(239, 63, 127, 0) 72%);
  filter: blur(6px);
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 18px;
}

.brand-row { margin-bottom: 4px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--white);
}
.brand-moon { color: var(--yellow); flex-shrink: 0; }

.hero-copy {
  max-width: 460px;
  margin-left: min(14%, 100px);
  padding-top: 4px;
}

.step-badge-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
}
.hero-title .eyebrow-line {
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: 0.04em;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 2px;
}
.hero-title .line-yoga {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.95;
}
.hero-title .line {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.02;
}

.dotted-rule {
  border: none;
  border-top: 3px dotted rgba(255, 255, 255, 0.55);
  width: 64px;
  margin: 18px 0;
}

.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.35;
  color: var(--white);
  font-weight: 500;
}
.hero-sub strong { color: var(--yellow); font-weight: 800; }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 44px;
}
.cta-pill:hover {
  transform: translateY(-2px);
  background: var(--pink-dark);
  box-shadow: 0 12px 26px rgba(0, 46, 121, 0.35);
}
.cta-icon { flex-shrink: 0; color: var(--yellow); }

.hashtag {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--yellow);
  letter-spacing: 0.02em;
}

/* =========================================================
   SEÇÃO 2 — PLANO 6 MESES
   ========================================================= */
.plans {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-deep) 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-badge {
  position: absolute;
  top: var(--panel-pad);
  left: var(--panel-pad);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
}

.section-title {
  margin-top: 40px;
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.12;
  color: var(--white);
  text-transform: uppercase;
}

.plan-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  width: fit-content;
  font-family: var(--font-display);
  box-shadow: var(--shadow-soft);
}
.flag-icon { color: var(--yellow); flex-shrink: 0; }
.plan-flag strong { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.plan-flag small { font-weight: 600; font-size: 11px; letter-spacing: 0.06em; opacity: 0.85; }

.plan-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn 0.6s ease forwards;
}
.plan-card:nth-child(1) { animation-delay: 0.05s; }
.plan-card:nth-child(2) { animation-delay: 0.15s; }
.plan-card:nth-child(3) { animation-delay: 0.25s; }

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(0, 46, 121, 0.32);
}

.freq {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.freq-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  color: var(--blue-dark);
}
.freq-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  margin-top: 2px;
  white-space: nowrap;
}

.freq-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding-left: 14px;
  border-left: 1px solid #e3e8f2;
}
.aulas-mes {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}
.preco-mes {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--pink);
}
.preco-mes small { font-size: 12px; font-weight: 600; color: var(--text-dark); }

.preco-aula-badge {
  background: var(--pink);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  flex-shrink: 0;
  min-width: 74px;
}
.preco-aula-badge strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
}
.preco-aula-badge small {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.info-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}
.info-bar svg { color: var(--pink); flex-shrink: 0; }
.info-bar strong { color: var(--yellow); font-weight: 800; }

.highlight-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: auto;
}
.star-icon { color: var(--yellow); flex-shrink: 0; }
.highlight-box p { color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.4; }
.highlight-box strong { color: var(--yellow); font-weight: 800; }

/* =========================================================
   SEÇÃO 3 — AULAS AVULSAS
   ========================================================= */
.single {
  background: linear-gradient(200deg, var(--blue-dark) 0%, var(--blue-deep) 60%, #001e52 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.single-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  margin-top: 4px;
  box-shadow: var(--shadow-soft);
}
.single-icon { flex-shrink: 0; }

.single-sub {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.price-list {
  background: var(--pink-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed #f2c3d3;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.price-list li:last-child { border-bottom: none; }
.price {
  color: var(--pink);
  font-size: 17px;
  font-weight: 800;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}
.notice svg { flex-shrink: 0; margin-top: 2px; color: var(--pink); }
.notice.notice-alert svg { color: var(--yellow); }
.notice strong { color: var(--yellow); font-weight: 800; }

.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--blue-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-item svg { color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.footer-item p { color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.4; }
.footer-item strong { color: var(--yellow); font-weight: 800; }

/* Foto real da professora, como assinatura visual no canto da seção */
.single-photo {
  position: absolute;
  right: calc(-1 * var(--panel-pad) * 0.3);
  bottom: 96px;
  width: min(34%, 190px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.single-photo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(0, 14, 42, 0.4));
}

.final-cta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: var(--pink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
}
.invest {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.hashtag-final {
  color: var(--white);
  margin-top: 6px;
  font-size: 14px;
}

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  min-height: 44px;
}
.cta-whatsapp:hover {
  transform: translateY(-2px);
  background: #1EBE57;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}
.cta-whatsapp svg { flex-shrink: 0; }
.cta-whatsapp--avulsas {
  margin-top: 20px;
}

.back-btn {
  position: fixed;
  top: 16px;
  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;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan-card { opacity: 1; transform: none; animation: none; }
  .cta-pill, .plan-card { transition: none; }
}

/* =========================================================
   Responsive refinements
   ========================================================= */

/* Mobile — hero recomposto: foto vira camada de fundo suave, texto ocupa a largura total */
@media (max-width: 767px) {
  .back-btn { top: 10px; left: 10px; padding: 6px 8px 4px; }
  .hero { padding-left: clamp(52px, 14vw, 72px); }
  .hero-photo {
    left: auto;
    right: calc(-1 * var(--panel-pad) * 0.5);
    bottom: auto;
    top: 54px;
    width: min(58%, 260px);
    z-index: 1;
    opacity: 0.5;
  }
  .hero-glow { display: none; }
  .hero-inner { position: relative; z-index: 2; }
  .hero-copy { margin-left: 0; max-width: 100%; }
  .hero-title .line-yoga { font-size: clamp(38px, 13vw, 52px); }
  .hero-title .line { font-size: clamp(26px, 9vw, 34px); }
  .cta-pill { width: 100%; justify-content: center; text-align: center; font-size: 12px; padding: 10px 16px; }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1099px) {
  .hero-photo {
    left: auto;
    right: calc(-1 * var(--panel-pad) * 0.5);
    bottom: auto;
    top: 54px;
    width: min(70%, 340px);
    z-index: 1;
    opacity: 0.5;
  }
  .hero-glow { display: none; }
  .hero-inner { position: relative; z-index: 2; }
  .plan-cards { flex-direction: row; }
  .plan-card { flex: 1; flex-direction: column; text-align: center; }
  .freq-detail { border-left: none; border-top: 1px solid #e3e8f2; padding-left: 0; padding-top: 10px; align-items: center; }
  .price-list li { font-size: 14px; }
}

/* Desktop wide */
@media (min-width: 1100px) {
  .cta-pill { display: none; }
  .plan-cards { flex: 1; justify-content: center; }
  .highlight-box { margin-top: 12px; }
  .hero-photo { width: min(55%, 520px); bottom: calc(-1 * var(--panel-pad) * 0.9); }
}

@media (min-width: 1400px) {
  .panel { padding: 64px 56px; }
  .hero { padding-left: 110px; }
  .hero-photo { width: min(52%, 560px); bottom: calc(-1 * var(--panel-pad) * 1); }
}

/* Small mobile */
@media (max-width: 380px) {
  .panel { padding: 24px 20px; }
  .hero { padding-left: 60px; }
  .hero-title .line-yoga { font-size: 34px; }
  .hero-title .line { font-size: 24px; }
  .hero-photo { width: 44%; top: 46px; }
  .freq-num { font-size: 26px; }
  .preco-mes { font-size: 17px; }
}

/* A foto de assinatura da seção 3 recua no mobile para não disputar espaço com os preços */
@media (max-width: 767px) {
  .single-photo { display: none; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .single-photo { width: min(24%, 160px); bottom: 90px; }
}
