@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #4B0097;
  --color-secondary: #7B2CBF;
  --color-tertiary: #9D4EDD;
  --color-quaternary: #C77DFF;
  --color-quinary: #E0AAFF;
  --color-accent: #C7F603;
  --color-dark: #0A0E27;
  --color-light: #FAF9FC;
  --color-success: #06FFA5;
  --color-warning: #FFB800;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
  --font-primary: 'Baloo 2', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: #221933;
  background-color: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.15;
}

.section {
  padding: 72px 0;
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-secondary);
  background: var(--color-quinary);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  max-width: 720px;
}

.section-title--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 620px;
  color: #5b5470;
}

.section-subtitle--center {
  margin: 0 auto 8px;
  text-align: center;
}

.section-head {
  margin-bottom: 44px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 6px 24px rgba(199, 246, 3, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(199, 246, 3, 0.45);
}

.btn-solid {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-solid:hover {
  background-color: var(--color-secondary);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 17px 36px;
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid rgba(75, 0, 151, 0.25);
  padding: 10px 18px;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(75, 0, 151, 0.05);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.95rem;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Hero com foto ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  min-height: 640px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px 56px 0;
}

.hero__logo {
  height: 42px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  margin-bottom: 18px;
  max-width: 15ch;
}

.hero__lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 46ch;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero__note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--color-dark) 0%, rgba(10, 14, 39, 0.35) 30%, transparent 62%);
  z-index: 1;
}

.hero__badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  background: rgba(10, 14, 39, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__badge strong {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    padding: 40px 24px 32px;
  }

  .hero__media {
    height: 320px;
  }
}

/* ---------- Explicação da rotina semanal ---------- */
.week-explainer {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.week-explainer__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid rgba(75, 0, 151, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
}

.week-explainer__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-quinary);
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.week-explainer__row p {
  color: #4a4360;
}

.week-explainer__row strong {
  color: var(--color-dark);
}

/* ---------- Split (layout assimétrico) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media img {
  border-radius: 20px;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.split__body h2 {
  margin-bottom: 16px;
}

.split__body p {
  color: #4a4360;
  margin-bottom: 16px;
  line-height: 1.7;
}

.split__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media img {
    height: 280px;
  }
}

/* ---------- Bento grid de disciplinas ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 18px;
}

.bento-item {
  --x: 50%;
  --y: 50%;
  position: relative;
  overflow: hidden;
  grid-column: span 1;
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--tile-color, var(--color-primary));
  isolation: isolate;
}

.bento-item--wide {
  grid-column: span 2;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--x) var(--y), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item:hover {
  transform: translateY(-4px);
}

.bento-item {
  transition: transform 0.25s ease;
}

.bento-item__icon {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.bento-item__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.bento-item__text {
  font-size: 0.88rem;
  opacity: 0.9;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .bento-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item,
  .bento-item--wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 150px;
  }
}

/* ---------- Benefícios (assimétrico, sem grid de card clonado) ---------- */
.benefit-list {
  display: grid;
  gap: 28px;
}

.benefit-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(75, 0, 151, 0.08);
}

.benefit-row:last-child {
  border-bottom: none;
}

.benefit-row__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-quinary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.benefit-row--highlight .benefit-row__icon {
  background: var(--color-accent);
}

.benefit-row__title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.benefit-row__text {
  color: #5b5470;
}

/* ---------- Fotos ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

/* ---------- Depoimento ---------- */
.testimonial {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--color-light);
  border-radius: 22px;
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

.testimonial__stars {
  color: var(--color-warning);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial__text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #2a2340;
}

.testimonial__name {
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial__role {
  color: #6a627e;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .testimonial {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .testimonial img {
    width: 100%;
    height: 220px;
  }
}

/* ---------- CTA final ---------- */
.cta {
  text-align: center;
  background: var(--gradient-primary);
  color: #fff;
}

.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 12px;
  color: #fff;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Rodapé ---------- */
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer__heading {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer p {
  opacity: 0.75;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.55;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Página interna: bloco de disciplina ---------- */
.discipline {
  --x: 50%;
  --y: 50%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  background: #fff;
  border: 1.5px solid rgba(75, 0, 151, 0.08);
  border-radius: 22px;
  padding: 36px;
  margin-bottom: 28px;
}

.discipline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(157, 78, 221, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.discipline:hover::before {
  opacity: 1;
}

.discipline__badge {
  width: 200px;
  height: 130px;
  border-radius: 16px;
  background: var(--tile-color, var(--color-tertiary));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.discipline__badge-icon {
  font-size: 2.2rem;
}

.discipline__badge-label {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.discipline__body h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.discipline__aka {
  font-size: 0.9rem;
  color: #8a8199;
  margin-bottom: 14px;
}

.discipline__body > p {
  color: #4a4360;
  margin-bottom: 18px;
  line-height: 1.7;
}

.discipline__benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.discipline__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #2a2340;
}

.discipline__benefits li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--tile-color, var(--color-tertiary));
  font-weight: 700;
}

@media (max-width: 700px) {
  .discipline {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .discipline__badge {
    width: 100%;
  }

  .discipline__benefits {
    grid-template-columns: 1fr;
  }
}

.chip {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1.5px solid rgba(75, 0, 151, 0.08);
  border-radius: 16px;
  padding: 24px;
  max-width: 820px;
  margin: 0 auto 14px;
}

.faq-item h3 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: #5b5470;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.whatsapp-fab.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.whatsapp-fab:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.08);
}

.whatsapp-fab.is-pulsing {
  animation: pulse 2.2s infinite;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Popup de saída ---------- */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 39, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.exit-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.exit-popup__box {
  background: #fff;
  color: var(--color-dark);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  border-top: 5px solid var(--color-accent);
}

.exit-popup.is-open .exit-popup__box {
  transform: translateY(0);
}

.exit-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--color-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
}

.exit-popup__close:hover {
  opacity: 1;
}

.exit-popup h2 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  padding-right: 24px;
  color: var(--color-dark);
}

.exit-popup h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.exit-popup p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #4a4360;
}

.exit-popup__fine-print {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.65;
  margin-top: 12px;
  margin-bottom: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.15em;
}
