/* ============================================================
   RESET
   ============================================================ */
html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

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

.mago-lp {
  width: 100%;
  max-width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  overflow-x: hidden;
}

.mago-lp section,
.mago-lp footer {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Variables */
.mago-lp {
  --azul: #8B5CF6;
  --azul-escuro: #6D28D9;
  --azul-suave: #F3E8FF;
  --azul-suave-2: #FAF5FF;
  --preto: #0f172a;
  --cinza: #475569;
  --cinza-claro: #94a3b8;
  --branco: #ffffff;
  --borda: #e2e8f0;
  --sombra-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --sombra-azul: 0 12px 32px rgba(139, 92, 246, 0.25);
  --radius: 18px;
  --radius-lg: 24px;
}

.mago-lp h1, .mago-lp h2, .mago-lp h3, .mago-lp h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: var(--preto);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mago-lp p { color: var(--cinza); }

.mago-lp .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   MAGIC BG ELEMENTS
   ============================================================ */
.magic-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.magic-bg svg {
  position: absolute;
  color: var(--azul);
  opacity: 0.08;
  transition: opacity 0.4s ease;
}
.magic-bg .star-twinkle {
  animation: twinkle 4s ease-in-out infinite;
  color: var(--azul);
}
.magic-bg .star-twinkle.delay-1 { animation-delay: 1s; }
.magic-bg .star-twinkle.delay-2 { animation-delay: 2s; }
.magic-bg .star-twinkle.delay-3 { animation-delay: 3s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.05; transform: scale(1); }
  50% { opacity: 0.18; transform: scale(1.15); }
}
.magic-bg .float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}
.magic-bg .float-slow.delay-1 { animation-delay: 2s; }
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-14px) rotate(-4deg); }
}
.magic-bg.on-dark svg { color: #ffffff; opacity: 0.06; }
.magic-bg.on-dark .star-twinkle { color: #ffffff; }
.magic-bg.on-blue svg { color: #ffffff; opacity: 0.10; }
.magic-bg.on-blue .star-twinkle { color: #ffffff; }
@keyframes twinkle-light {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.15); }
}
.magic-bg.on-dark .star-twinkle,
.magic-bg.on-blue .star-twinkle {
  animation-name: twinkle-light;
}
@media (prefers-reduced-motion: reduce) {
  .magic-bg svg { animation: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.mago-lp .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.mago-lp .btn-primary {
  background: var(--azul);
  color: #fff;
  box-shadow: var(--sombra-azul);
  animation: pulseBtn 3s infinite;
}
.mago-lp .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--azul-escuro);
}
.mago-lp .btn-secondary {
  background: #fff;
  color: var(--preto);
  border: 1.5px solid var(--borda);
}
.mago-lp .btn-secondary:hover {
  border-color: var(--azul);
  color: var(--azul);
}
@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25); }
  50% { box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45); }
}

.mago-lp .micro {
  font-size: 13px;
  color: var(--cinza-claro);
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mago-lp .micro span::before { content: "\2713 "; color: var(--azul); font-weight: 700; }

/* Eyebrow */
.mago-lp .eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: var(--azul-suave);
  color: var(--azul);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Reveal animation */
.mago-lp .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.mago-lp .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   1. HERO
   ============================================================ */
.mago-hero {
  position: relative;
  padding: 40px 0 36px;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(15, 23, 42, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #6D28D9 0%, #ffffff 100%);
  background-size: 60px 60px, 60px 60px, auto, auto, auto;
  color: #ffffff;
  overflow: hidden;
}
.mago-hero::before, .mago-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.85;
  filter: blur(1px);
}
.mago-hero::before { width: 6px; height: 6px; top: 18%; left: 8%; box-shadow: 0 0 14px #ffffff; }
.mago-hero::after { width: 4px; height: 4px; top: 62%; left: 12%; box-shadow: 0 0 10px #ffffff; }

.mago-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.mago-hero .conteudo-topo {
  max-width: 820px;
  margin: 0 auto 20px;
}

.mago-hero .eyebrow {
  background: rgba(255, 255, 255, 0.10);
  color: #EC4899;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mago-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EC4899;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

.mago-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin: 8px 0 10px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(15, 23, 42, 0.15);
}
.mago-hero h1 .grad {
  color: #EC4899;
  background: none;
  -webkit-text-fill-color: #EC4899;
  position: relative;
  display: inline-block;
  text-shadow: none;
  padding-bottom: 4px;
}
.mago-hero h1 .grad::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: #EC4899;
  border-radius: 2px;
  opacity: 0.85;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.4);
}
.mago-hero .sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 6px;
  max-width: 720px;
  font-weight: 500;
  line-height: 1.45;
}
.mago-hero .sub strong { color: #EC4899; font-weight: 700; }
.mago-hero .apoio {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 12px;
  max-width: 640px;
}
.mago-hero .apoio strong { color: #ffffff; }

.mago-hero .aviso-som {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EC4899;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 auto 8px;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25);
  animation: avisoPulse 2.4s ease-in-out infinite;
}
.mago-hero .aviso-som .aviso-icon { font-size: 15px; line-height: 1; }
.mago-hero .aviso-som .aviso-arrow {
  font-size: 16px; line-height: 1; font-weight: 800;
  animation: avisoArrow 1.6s ease-in-out infinite;
}
@keyframes avisoArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@keyframes avisoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25); }
  50% { transform: scale(1.04); box-shadow: 0 8px 22px rgba(236, 72, 153, 0.45); }
}
@media (prefers-reduced-motion: reduce) {
  .mago-hero .aviso-som { animation: none; }
  .mago-hero .aviso-som .aviso-arrow { animation: none; }
}

/* Plyr theme */
.mago-hero-video .plyr {
  --plyr-color-main: #EC4899;
  --plyr-video-control-color: #ffffff;
  --plyr-video-control-color-hover: #ffffff;
  --plyr-video-control-background-hover: #EC4899;
  --plyr-control-radius: 8px;
  --plyr-font-family: 'Inter', sans-serif;
  --plyr-video-background: #0f172a;
  border-radius: var(--radius-lg);
  height: 100%;
}
.mago-hero-video .plyr--video {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, #0f172a 100%);
}

.mago-hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 680px;
  margin: 0 auto 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul-escuro) 0%, #0f172a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.20),
    0 30px 70px rgba(15, 23, 42, 0.35);
}
.mago-hero-video iframe,
.mago-hero-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

.mago-hero .btn-primary {
  background: #EC4899;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 12px 32px rgba(15, 23, 42, 0.30);
  font-weight: 700;
}
.mago-hero .btn-primary:hover {
  background: #F472B6;
  color: #ffffff;
  transform: translateY(-2px);
}
.mago-hero .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.mago-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #ffffff;
  color: #ffffff;
}

.mago-hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.mago-hero .micro {
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.mago-hero .micro span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mago-hero .micro span::before {
  content: "\2713";
  color: #ffffff;
  background: #EC4899;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.mago-hero .magic-bg svg { color: #ffffff; opacity: 0.10; }
.mago-hero .magic-bg .star-twinkle { color: #ffffff; animation-name: twinkle-light; }

/* ============================================================
   2. STATS BAR
   ============================================================ */
.mago-stats {
  background: var(--preto);
  padding: 60px 0;
  color: #fff;
}
.mago-stats h3 {
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 32px;
}
.mago-stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mago-stats .card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}
.mago-stats .card:hover {
  border-color: var(--azul);
  transform: translateY(-4px);
}
.mago-stats .num {
  font-family: 'Sora', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mago-stats .desc {
  margin-top: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

/* ============================================================
   3. APROVADOS
   ============================================================ */
.mago-aprovados {
  padding: 100px 0;
  background: #fff;
}
.mago-aprovados .head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.mago-aprovados h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 14px;
}
.mago-aprovados h2 .grad {
  background: linear-gradient(90deg, var(--azul) 0%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mago-aprovados .head p { font-size: 17px; }

/* Slider de aprovados */
.mago-aprovados-slider {
  position: relative;
  max-width: 880px;
  margin: 0 auto 50px;
  padding: 0 50px;
}
.mago-aprovados-slider .slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
}
.mago-aprovados-slider .slider-track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}
.mago-aprovados-slider .slider-track .slider-item {
  flex: 0 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--azul-suave) 100%);
  border: 1.5px solid var(--borda);
  box-shadow: var(--sombra-card);
  padding: 14px;
}
.mago-aprovados-slider .slider-track .slider-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.mago-aprovados-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--borda);
  color: var(--preto);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sombra-card);
  transition: all 0.2s ease;
  z-index: 2;
  font-family: inherit;
}
.mago-aprovados-slider .slider-btn:hover {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
  transform: translateY(-50%) scale(1.08);
}
.mago-aprovados-slider .slider-btn.prev { left: 0; }
.mago-aprovados-slider .slider-btn.next { right: 0; }
.mago-aprovados-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.mago-aprovados-slider .slider-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--borda);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.mago-aprovados-slider .slider-dots .dot:hover { background: var(--cinza-claro); }
.mago-aprovados-slider .slider-dots .dot.active {
  background: var(--azul);
  width: 28px;
  border-radius: 999px;
}
@media (max-width: 960px) {
  .mago-aprovados-slider { padding: 0 36px; }
  .mago-aprovados-slider .slider-btn { width: 38px; height: 38px; }
}

.mago-aprovados .alerta {
  text-align: center;
  font-size: 18px;
  color: var(--preto);
  margin-bottom: 32px;
  font-weight: 500;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.mago-aprovados .por-curso {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 40px;
}
.mago-aprovados .por-curso .item {
  padding: 22px 18px;
  background: var(--azul-suave-2);
  border: 1.5px solid var(--borda);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}
.mago-aprovados .por-curso .item:hover {
  border-color: var(--azul);
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--sombra-card);
}
.mago-aprovados .por-curso .num {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1;
}
.mago-aprovados .por-curso .lbl {
  margin-top: 6px;
  font-size: 14px;
  color: var(--preto);
  font-weight: 500;
}

.mago-aprovados .fecha {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--preto);
  font-family: 'Sora', sans-serif;
  line-height: 1.4;
  margin-bottom: 30px;
}
.mago-aprovados .fecha strong { color: var(--azul); }

.mago-aprovados .cta-wrap { text-align: center; }

/* ============================================================
   UFMS & PASSE
   ============================================================ */
.mago-ufms {
  padding: 100px 0;
  background: var(--preto);
  color: #fff;
}
.mago-ufms .head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.mago-ufms h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #fff;
  margin-bottom: 14px;
}
.mago-ufms .head p { color: rgba(255,255,255,0.75); font-size: 17px; }
.mago-ufms .eyebrow {
  background: rgba(255,255,255,0.08);
  color: #EC4899;
  border: 1px solid rgba(255,255,255,0.12);
}
.mago-ufms .magic-bg svg { color: #ffffff; opacity: 0.06; }
.mago-ufms .magic-bg .star-twinkle { color: #ffffff; animation-name: twinkle-light; }

.ufms-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 60px;
}
.ufms-info .ufms-logo-wrap {
  margin-bottom: 20px;
}
.ufms-info .ufms-logo {
  height: 60px;
  width: auto;
}
.ufms-info h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 16px;
}
.ufms-info p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 14px;
}
.ufms-info p strong { color: #fff; }
.ufms-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.passe-explain {
  max-width: 820px;
  margin: 0 auto;
}
.passe-explain > h3 {
  font-size: 26px;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
}
.passe-explain > p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.passe-explain > p strong { color: #fff; }

.passe-etapas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.passe-etapas .etapa {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
}
.passe-etapas .etapa:hover {
  border-color: var(--azul);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}
.passe-etapas .etapa-num {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.passe-etapas .etapa h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.passe-etapas .etapa p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.passe-etapas .etapa p strong { color: #fff; }

.passe-destaque {
  text-align: center;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.passe-destaque strong { color: #EC4899; }

.mago-ufms .btn-primary {
  background: #EC4899;
  color: #fff;
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.3);
}
.mago-ufms .btn-primary:hover {
  background: #F472B6;
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .ufms-content { grid-template-columns: 1fr; gap: 30px; }
  .ufms-img { order: -1; }
  .passe-etapas { grid-template-columns: 1fr; }
}

/* ============================================================
   4. O QUE OFERECEMOS
   ============================================================ */
.mago-oferta {
  padding: 100px 0;
  background: var(--azul-suave-2);
}
.mago-oferta .head { text-align: center; margin-bottom: 60px; }
.mago-oferta h2 { font-size: clamp(28px, 3.5vw, 42px); }

.mago-oferta .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.mago-oferta .item {
  padding: 26px 22px;
  background: #fff;
  border: 1.5px solid var(--borda);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.mago-oferta .item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.mago-oferta .item:hover {
  transform: translateY(-4px);
  border-color: var(--azul);
  box-shadow: var(--sombra-card);
}
.mago-oferta .item:hover::before { transform: scaleX(1); }
.mago-oferta .item .icone {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--azul-suave);
  color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 700;
}
.mago-oferta .item h4 { font-size: 16.5px; margin-bottom: 4px; }
.mago-oferta .item p { font-size: 14px; }
.mago-oferta .item .destaque {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  background: var(--azul);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   5. MENSAGENS / CARROSSEL
   ============================================================ */
.mago-msg {
  padding: 100px 0;
  background: #fff;
}
.mago-msg .head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.mago-msg h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 14px; }
.mago-msg .head p { font-size: 17px; }

.mago-carrossel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 50px;
}
.mago-carrossel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.mago-carrossel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}
.mago-carrossel-track .slide {
  flex: 0 0 calc(50% - 11px);
  margin-right: 22px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--azul-suave) 100%);
  border: 1.5px solid var(--borda);
  box-shadow: var(--sombra-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.mago-carrossel-track .slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.mago-carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--borda);
  color: var(--preto);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sombra-card);
  transition: all 0.2s ease;
  z-index: 2;
  font-family: inherit;
}
.mago-carrossel-btn:hover {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
  transform: translateY(-50%) scale(1.08);
}
.mago-carrossel-btn.prev { left: 0; }
.mago-carrossel-btn.next { right: 0; }

.mago-carrossel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.mago-carrossel-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--borda);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.mago-carrossel-dots .dot:hover { background: var(--cinza-claro); }
.mago-carrossel-dots .dot.active {
  background: var(--azul);
  width: 28px;
  border-radius: 999px;
}

/* ============================================================
   6. POR QUE CONFIAM
   ============================================================ */
.mago-confia {
  padding: 100px 0;
  background: var(--azul-suave-2);
}
.mago-confia .head { text-align: center; margin-bottom: 60px; }
.mago-confia h2 { font-size: clamp(28px, 3.5vw, 42px); }
.mago-confia .lista {
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.mago-confia .razao {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra-card);
  transition: all 0.3s ease;
}
.mago-confia .razao:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(139, 92, 246, 0.10);
}
.mago-confia .razao .num {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1;
  min-width: 60px;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mago-confia .razao h3 { font-size: 19px; margin-bottom: 8px; }
.mago-confia .razao p { font-size: 15.5px; line-height: 1.65; }
.mago-confia .razao p strong { color: var(--preto); font-weight: 600; }

.mago-confia .fecha {
  margin-top: 50px;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.mago-confia .fecha p {
  font-size: 17px;
  color: var(--preto);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
}
.mago-confia .fecha p strong { color: var(--azul); }

/* ============================================================
   7. GARANTIA
   ============================================================ */
.mago-gar {
  padding: 100px 0;
  background: #fff;
}
.mago-gar .box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #fff 0%, var(--azul-suave) 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--borda);
}
.mago-gar .selo {
  width: 120px; height: 120px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--azul);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--azul);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.20);
}
.mago-gar .selo .num {
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.mago-gar .selo .lbl {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}
.mago-gar h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.mago-gar p { font-size: 17px; max-width: 600px; margin: 0 auto 14px; }

/* ============================================================
   8. FAQ
   ============================================================ */
.mago-faq {
  padding: 100px 0;
  background: var(--azul-suave-2);
}
.mago-faq .head { text-align: center; margin-bottom: 50px; }
.mago-faq h2 { font-size: clamp(28px, 3.5vw, 42px); }
.mago-faq .lista {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.mago-faq .item {
  border: 1.5px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease;
}
.mago-faq .item.open { border-color: var(--azul); }
.mago-faq .pergunta {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--preto);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.4;
}
.mago-faq .pergunta .txt {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.mago-faq .pergunta .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--azul-suave);
  color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.mago-faq .item.open .pergunta .ico {
  transform: rotate(45deg);
  background: var(--azul);
  color: #fff;
}
.mago-faq .resposta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--cinza);
}
.mago-faq .item.open .resposta {
  max-height: 800px;
  padding: 0 24px 24px;
}
.mago-faq .resposta p { font-size: 15.5px; line-height: 1.65; margin-bottom: 10px; }
.mago-faq .resposta p:last-child { margin-bottom: 0; }
.mago-faq .resposta ul { list-style: none; margin: 12px 0; padding: 0; }
.mago-faq .resposta ul li {
  padding: 8px 14px;
  background: var(--azul-suave-2);
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 14.5px;
  color: var(--preto);
}
.mago-faq .resposta strong { color: var(--preto); }

/* ============================================================
   9. CTA FINAL
   ============================================================ */
.mago-final {
  padding: 110px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10) 0%, transparent 40%),
    linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mago-final .star {
  position: absolute;
  color: #fff;
  opacity: 0.3;
  font-size: 14px;
  animation: floatStar 6s ease-in-out infinite;
}
.mago-final .star:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.mago-final .star:nth-child(2) { top: 28%; right: 18%; animation-delay: 1.2s; font-size: 18px; }
.mago-final .star:nth-child(3) { bottom: 22%; left: 20%; animation-delay: 2.4s; font-size: 12px; }
.mago-final .star:nth-child(4) { bottom: 30%; right: 14%; animation-delay: 3.6s; }
@keyframes floatStar {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-12px) scale(1.15); opacity: 0.7; }
}
.mago-final .eyebrow {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.mago-final h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  max-width: 760px;
  margin: 0 auto 18px;
}
.mago-final p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.mago-final .btn-primary {
  background: #fff;
  color: var(--azul);
  box-shadow: 0 12px 32px rgba(0,0,0,0.20);
}
.mago-final .btn-primary:hover {
  background: var(--preto);
  color: #fff;
}
.mago-final .micro { justify-content: center; color: rgba(255,255,255,0.75); }
.mago-final .micro span::before { color: #fff; }

/* ============================================================
   10. FOOTER
   ============================================================ */
.mago-footer {
  padding: 36px 0;
  background: var(--preto);
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-size: 13px;
}
.mago-footer strong { color: #fff; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.mago-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.3s ease;
  animation: bounceIn 0.8s ease;
}
.mago-wa-float:hover { transform: scale(1.08); }
.mago-wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .mago-hero { padding: 32px 0 28px; }
  .mago-stats .grid { grid-template-columns: repeat(2, 1fr); }
  .mago-aprovados .por-curso { grid-template-columns: repeat(2, 1fr); }
  .mago-carrossel { padding: 0 36px; }
  .mago-carrossel-track .slide { flex: 0 0 100%; margin-right: 22px; }
  .mago-carrossel-btn { width: 38px; height: 38px; }
  .mago-confia .razao { grid-template-columns: 1fr; gap: 8px; padding: 28px; }
  .mago-confia .razao .num { font-size: 36px; }
}
@media (max-width: 520px) {
  .mago-lp .container { padding: 0 18px; }
  .mago-stats .grid { grid-template-columns: 1fr; }
  .mago-aprovados .por-curso { grid-template-columns: 1fr; }
  .mago-hero h1 { font-size: 32px; }
  .mago-hero .cta-row { flex-direction: column; }
  .mago-hero .cta-row .btn { width: 100%; }
  .mago-gar .box { padding: 40px 22px; }
  .mago-wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .mago-wa-float svg { width: 26px; height: 26px; }
  .mago-faq .pergunta {
    padding: 16px 16px !important;
    font-size: 14.5px !important;
    gap: 10px !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1.35 !important;
  }
  .mago-faq .pergunta .txt {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .mago-faq .pergunta .ico {
    width: 26px !important;
    height: 26px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
  }
  .mago-faq .item.open .resposta { padding: 0 16px 20px; }
}
