/* ==========================================================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

:root {
  /* Cores de Fundo */
  --bg-body: #000616;
  --bg-secondary: #09090b;
  --bg-card: #121214;
  --bg-header: rgba(0, 0, 0, 0.8);

  /* Cores da Marca */
  --primary-color: #8257e5;
  --secondary-color: #04d361;
  --accent-blue: #29b6f6;
  --gradient-btn: linear-gradient(90deg, #8257e5 0%, #29b6f6 100%);

  /* Tipografia e Bordas */
  --text-title: #ffffff;
  --text-body: #a8a8b3;
  --text-highlight: #e1e1e6;
  --border-color: #29292e;
  --font-txt: "Poppins", sans-serif;
}

body {
  color: var(--text-body);
  font-family: "Inter", sans-serif;
  background-color: var(--bg-body);
  background-attachment: fixed;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-title);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

button {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

#display-desktop {
  display: none;
}

.flex {
  display: flex;
}

.gap-32 {
  gap: 32px;
}

/* ==========================================================================
   HEADER (MENU DE NAVEGAÇÃO)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  background-color: var(--bg-header);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  .header-container {
    display: flex;
    align-items: center;
    height: 100px;

    .logo {
      display: block;
      height: 100px;
      width: auto;
      object-fit: contain;
    }

    .nav-menu {
      position: relative;
      margin-left: 0.5rem;
      padding-left: 2.5rem;

      &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 40px;
        background-color: #323238;
        opacity: 0.5;
      }

      ul {
        color: white;

        & a {
          position: relative;
          font-family: var(--font-txt);
          font-weight: 300;
          transition: color 0.3s ease-in-out;

          &::after {
            content: "";
            position: absolute;
            width: 0%;
            height: 2px;
            background-color: #8257e5;
            bottom: -4px;
            left: 0;
            transition: width 0.3s ease-in-out;
          }

          &:hover {
            color: #8257e5;
            &::after {
              width: 100%;
            }
          }
        }
      }
    }

    .btn-inscrever {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 24px;
      background: transparent;
      border: 1px solid #8257e5;
      border-radius: 5px;
      color: #8257e5;
      font-family: "Poppins", sans-serif;
      font-weight: 600;
      font-size: 14px;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-left: auto;

      svg {
        transition: transform 0.6s ease-in-out;
      }

      &:hover {
        background-color: transparent;
        box-shadow: 0 0 15px #8257e5, inset 0 0 10px rgba(130, 87, 229, 0.2);
        color: #a27bf5;
        border-color: #a27bf5;

        svg {
          transform: rotate(360deg);
        }
      }
    }
  }
}

/* ==========================================================================
   BANNER DE OFERTA (Topo)
   ========================================================================== */
.banner {
  background: linear-gradient(90deg, #6154f9, #7f56d9);
  padding: 20px 0;
  margin-top: 100px;

  .banner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-title);
    gap: 0.5rem;
    flex-wrap: wrap;

    span {
      font-size: 1.2rem;
      font-family: Montserrat;
      font-weight: 700;

      del {
        color: #d1d1d6;
        margin-right: 8px;
        font-weight: 400;
      }
    }

    button {
      margin-left: 8rem;
      align-items: center;
      background-image: linear-gradient(144deg, #af40ff, #a27bf5 50%, #5b42f3);
      border: 0;
      border-radius: 8px;
      box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
      box-sizing: border-box;
      color: #ffffff;
      display: flex;
      font-size: 1rem;
      justify-content: center;
      line-height: 1rem;
      max-width: 100%;
      min-width: 120px;
      padding: 1px;
      text-decoration: none;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
      white-space: nowrap;
      cursor: pointer;
      transition: all 0.3s;
    }

    button:active,
    button:hover {
      outline: 0;
    }

    button a {
      background-color: rgb(5, 6, 45);
      padding: 10px 24px;
      border-radius: 6px;
      width: 100%;
      height: 100%;
      transition: 300ms;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    button:hover a {
      background: none;
    }

    button:active {
      transform: scale(0.9);
    }
  }
}

/* ==========================================================================
   HERO SECTION (CONTEÚDO PRINCIPAL)
   ========================================================================== */
main {
  margin-top: 4rem;
  padding-bottom: 80px;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.information {
  flex: 1;
  max-width: 600px;
}

.information h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ffffff, #a8a8b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.information p {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.buttons-wrapper {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.buttons-wrapper a {
  padding: 12px 32px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.buttons-wrapper a img {
  width: 12px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.btn-primary {
  background-color: #4b3cff;
  color: white;
  box-shadow: 0 4px 10px rgba(130, 87, 229, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(130, 87, 229, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid transparent;
}

.btn-secondary:hover {
  color: #8257e5;
  box-shadow: 0 8px 20px rgba(130, 87, 229, 0.5);
}

.btn-secondary:hover img {
  filter: invert(36%) sepia(93%) saturate(1352%) hue-rotate(236deg)
    brightness(87%) contrast(89%);
}

.buttons-wrapper button:hover img {
  transform: translateX(5px);
}

/* ==========================================================================
   PLAYER DE VÍDEO CUSTOMIZADO
   ========================================================================== */
.video-container {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(130, 87, 229, 0.3);
  background-color: #000;
  /* Nota: Sem overflow: hidden para o badge não cortar */
}

.video-frame {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Badge (Selo) Giratório */
.spinning-badge {
  position: absolute;
  top: -35px;
  right: -35px;
  width: 90px;
  height: 90px;
  z-index: 30;
  animation: spinAnimation 10s linear infinite;
  pointer-events: none;
}

@keyframes spinAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Overlay Roxo (Tela de Pause) */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(98, 0, 234, 0.9),
    rgba(124, 77, 255, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  text-align: center;
  color: white;
  padding: 20px;
}

.overlay-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  margin: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.overlay-btn svg {
  width: 18px;
  height: 18px;
}

.overlay-btn:hover {
  background: white;
  color: #6200ea;
  transform: scale(1.05);
}

/* Barra de Controles Inferior */
.custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 20px 20px 15px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.video-wrapper:hover .custom-controls {
  opacity: 1;
}

/* Barra de Progresso */
.progress-area {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  cursor: pointer;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #8257e5;
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid white;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Botões da Barra de Controle */
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.controls-left,
.controls-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: #e1e1e6;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.control-btn:hover {
  color: #8257e5;
}

.control-btn svg {
  width: 24px;
  height: 24px;
}

.time-display {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #ccc;
  min-width: 90px;
}

/* ==========================================================================
   SEÇÃO SOBRE O CURSO (ESTILIZAÇÃO)
   ========================================================================== */

.about-section {
  padding: 100px 0;
  background-color: var(--bg-body);
  position: relative;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* --- Coluna da Imagem --- */
.about-image-wrapper {
  flex: 1;
  position: relative;
  max-width: 550px;
}

.about-img {
  width: 100%;
  height: 80%;
  border-radius: 16px;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(130, 87, 229, 0.25);
  border: 1px solid rgba(130, 87, 229, 0.1);
}

.about-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: var(--primary-color);
  opacity: 0.15;
  filter: blur(80px);
  z-index: 1;
}

/* --- Coluna do Conteúdo --- */
.about-content {
  flex: 1;
  max-width: 600px;
}

.section-tag {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(130, 87, 229, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(130, 87, 229, 0.2);
}

.about-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* --- Lista de Benefícios --- */
.benefits-list {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  color: var(--text-title);
  font-weight: 500;
  font-size: 1.05rem;
}

.check-icon {
  color: var(--secondary-color);
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(4, 211, 97, 0.4));
}

.btn-about {
  display: inline-flex;
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: 1rem;
  transition: ease-in-out 0.3s;
}

/* ==========================================================================
   SEÇÃO MÓDULOS (BENTO GRID)
========================================================================== */

.modules-section {
  padding: 100px 0;
  background-color: var(--bg-body);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.section-subtitle {
  display: block;
  color: var(--primary-color);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fff, #a8a8b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- GRID PRINCIPAL --- */
.modules-grid {
  display: grid;
  /* DESKTOP: 3 colunas iguais */
  grid-template-columns: repeat(3, 1fr);
  /* Espaçamento entre os cards */
  gap: 24px;
  /* Garante que as linhas tenham altura igual */
  grid-auto-rows: 1fr;
}

/* Estilo Básico do Card */
.module-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* --- CLASSE PARA CARD GRANDE (WIDE) --- */
/* Isso faz o card ocupar 2 colunas */
.card-wide {
  grid-column: span 2;
  /* Opcional: Fundo levemente diferente ou gradiente para destacar */
  background: linear-gradient(
    145deg,
    var(--bg-card) 0%,
    rgba(130, 87, 229, 0.05) 100%
  );
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px -10px rgba(130, 87, 229, 0.2);
}

.module-card .icon-box {
  width: 50px;
  height: 50px;
  background: rgba(130, 87, 229, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.module-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: white;
}

/* Descrição extra apenas para cards grandes (opcional) */
.card-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.module-card ul {
  padding-left: 0;
  margin-top: auto; /* Empurra a lista para o final se sobrar espaço */
}

.module-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-body);
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

.module-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.button-module {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

/* ==========================================================================
   SEÇÃO DE DEPOIMENTOS (ESTILOS FINAIS)
========================================================================== */

.testimonials-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  overflow: hidden;
}

/* Container principal das linhas */
.scroller-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  position: relative;
}

/* Fade Lateral (Sombra nas pontas para suavizar) */
.scroller-container::before,
.scroller-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px; /* Largura do fade */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.scroller-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}

.scroller-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

/* Linha de Rolagem */
.scroll-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

/* Conteúdo Interno (O que se move) */
.scroll-inner {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  width: max-content; /* OBRIGATÓRIO: Permite largura infinita */
}

/* --- ANIMAÇÕES (O CORAÇÃO DO EFEITO) --- */

/* Esquerda: Move de 0 a -50% */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Direita: Move de -50% a 0 */
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.left-direction .scroll-inner {
  animation: scrollLeft 60s linear infinite;
}

.right-direction .scroll-inner {
  animation: scrollRight 60s linear infinite;
}

/* Pausa ao passar o mouse */
.scroll-inner:hover {
  animation-play-state: paused;
}

/* --- ESTILO DOS CARDS --- */
.testimonial-card {
  background-color: #020511;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--primary-color);
}

.quote {
  font-size: 0.95rem;
  color: #d1d1d6;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.user-info strong {
  color: white;
  font-size: 0.9rem;
  display: block;
}

.user-info span {
  color: var(--text-body);
  font-size: 0.8rem;
}

/* ==========================================================================
   SEÇÃO BÔNUS EXCLUSIVOS
========================================================================== */

.bonus-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

/* Grid de 3 colunas para os bônus */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bonus-card {
  
  background: linear-gradient(180deg, #0a0a1e 0%, #020511 100%);

  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* Efeito Hover: Borda roxa e sobe um pouco */
.bonus-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px -10px rgba(130, 87, 229, 0.15);
}

/* Cabeçalho do Card (Ícone + Título) */
.bonus-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bonus-card .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(130, 87, 229, 0.1); /* Fundo roxo transparente */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.bonus-card h3 {
  font-size: 1.125rem;
  color: #fff;
  line-height: 1.4;
}

.bonus-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Frase de Destaque Final */
.bonus-quote-box {
  margin-top: 60px;
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(130, 87, 229, 0.05),
    transparent
  );
}

.bonus-quote-box p {
  font-size: 1.25rem;
  font-weight: 700;
  color: white; /* Verde ou Branco, para destacar */
  font-family: "Poppins", sans-serif;
  font-style: italic;
}

/* ==========================================================================
   SEÇÃO DE OFERTA (CARD TRANSPARENTE & FUNDO ANIMADO)
========================================================================== */

.offer-section {
  padding: 20px 0;
  background-color: var(--bg-body);
  position: relative;
  overflow: hidden; /* Garante que a tesoura gigante não "vaze" do site */
  min-height: 800px; /* Altura mínima para caber o efeito */
}

/* Necessário para o conteúdo ficar acima do efeito de fundo */
.relative-container {
  position: relative;
  z-index: 2;
}

/* --- O EFEITO DE FUNDO (TESOURA GIGANTE) --- */
.offer-bg-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Centraliza o elemento */
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Não interfere no clique */
  z-index: 1; /* Fica atrás do conteúdo */
}

/* O SVG da Tesoura */
.giant-scissor {
  /* Tamanho gigante (80% da largura da tela, mas com limite) */
  width: 80vw;
  max-width: 1200px;
  height: auto;

  /* Cor Roxa BEM transparente */
  color: var(--primary-color);
  opacity: 0.05; /* Ajuste a transparência aqui (0.05 é bem sutil) */

  /* Animação de rotação lenta */
  animation: spinSlow 60s linear infinite;
}

/* Animação de Rotação Lenta */
@keyframes spinAnimation {
  /* (Você já tem essa animação no seu CSS, reutilizei o nome dela) */
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Se não tiver a animation spinAnimation, use esta: */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- O CARD DE OFERTA TRANSPARENTE --- */
.offer-card {
  max-width: 450px;
  margin: 40px auto 0 auto; /* Centraliza na tela */

  /* Fundo Transparente Sutil */
  background: rgba(255, 255, 255, 0.03);

  /* Borda Roxa Fina */
  border: 1px solid rgba(130, 87, 229, 0.3);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 30px 0; /* Padding apenas embaixo */
  text-align: center;

  /* O SEGTEO DA LEGIBILIDADE: Desfoca o que passa atrás do card */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Para Safari */

  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Imagem do Topo do Card */
.card-header-image img {
  width: 70%;
  height: auto;
  display: block;
  margin-inline: auto;
  margin-top: 2rem;
  /* Um leve brilho roxo na base da imagem para conectar com o card */
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Bloco de Preços */
.pricing-block {
  padding: 30px 20px 20px 20px;
}

.old-price {
  display: block;
  font-size: 1rem;
  color: #d1d1d6;
  text-decoration: line-through;
  margin-bottom: 5px;
}

.current-price {
  /* Usa a cor secundária (verde) para destacar o preço */
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(4, 211, 97, 0.3); /* Brilho verde sutil */
}

.current-price .currency {
  font-size: 1.5rem;
}
.current-price .value {
  font-size: 4rem;
  letter-spacing: -2px;
}
.current-price .cents {
  font-size: 1.5rem;
}

.installments {
  display: block;
  color: var(--text-title);
  font-size: 1.1rem;
}

/* Lista de Benefícios */
.offer-benefits {
  text-align: left;
  display: inline-block; /* Para centralizar o bloco da lista */
  margin: 20px auto 30px auto;
  padding: 0 20px;
}

.offer-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-body);
}

/* Reutilizando seu estilo de check-icon */
.offer-benefits .check-icon {
  color: var(--secondary-color); /* Verde */
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px rgba(4, 211, 97, 0.4));
}

/* Botão e Texto de Segurança */
.btn-offer {
  width: 90%;
  padding: 18px;
  font-size: 1.1rem;
  margin: 0 auto; /* Centraliza o botão */
  display: flex;
  justify-content: center;
}

.secure-purchase {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
/* Adiciona um cadeadinho antes do texto de segurança */
.secure-purchase::before {
  content: "🔒";
  font-size: 0.9rem;
}

#a-offer {
  margin-inline: auto;
}

/* ==========================================================================
   SEÇÃO FAQ (ACORDEÃO VERTICAL)
========================================================================== */

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

.faq-list {
  max-width: 800px; /* Largura centralizada, igual ao vídeo */
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Espaço entre as perguntas */
}

/* O Bloco da Pergunta (Item) */
.faq-item {
  background-color: rgba(255, 255, 255, 0.03); /* Fundo escuro sutil */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Estado Ativo (Quando aberto) */
.faq-item.active {
  border-color: var(--primary-color); /* Borda roxa/azul quando aberto */
  background-color: rgba(130, 87, 229, 0.05); /* Fundo levemente roxo */
}

/* O Botão da Pergunta (Clicável) */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.faq-item.active .faq-question {
  color: #fff; /* Mantém branco, ou mude para roxo se preferir */
}

/* A Seta (Chevron) */
.chevron {
  width: 20px;
  height: 20px;
  color: #888;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Gira a seta quando ativo */
.faq-item.active .chevron {
  transform: rotate(90deg); /* Aponta para baixo */
  color: var(--primary-color);
}

/* A Resposta (Escondida por padrão) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Animação suave de deslizar */
  padding: 0 24px; /* Padding lateral */
}

/* Conteúdo da Resposta */
.faq-answer p {
  padding-bottom: 24px; /* Espaço embaixo do texto */
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FOOTER (ESTILIZAÇÃO)
========================================================================== */

.site-footer {
  /* Usa a cor secundária (um pouco mais clara que o fundo preto total) */
  background-color: var(--bg-body);
  padding: 40px 0;
  border-top: 1px solid var(--border-color); /* Linha sutil para separar */
  margin-top: 80px; /* Espaço acima do footer */
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Permite quebrar linha no mobile */
  gap: 24px;
}

/* --- Lado Esquerdo (Logo e Texto) --- */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-logo svg {
  color: var(--primary-color); /* Coroa Roxa */
}

.footer-logo:hover {
  color: var(--primary-color);
}

.copyright {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* --- Lado Direito (Redes Sociais) --- */
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05); /* Fundo circular sutil */
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Efeito Hover nos Ícones */
.social-link:hover {
  background-color: var(--primary-color); /* Fundo roxo */
  color: #fff;
  transform: translateY(-3px); /* Leve subida */
  box-shadow: 0 4px 12px rgba(130, 87, 229, 0.3);
}


/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Grandes */
@media (width >= 1024px) {
  #display-desktop {
    display: block;
  }

  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Telas Pequenas (Mobile) */
@media (width <= 800px) {
  /* Ajustes do Header */
  .btn-inscrever {
    padding: 10px 10px;
  }
  header .header-container .logo {
    height: 60px;
  }

  /* Ajustes do Banner */
  .banner {
    margin-top: 100px;
    padding: 24px 0;

    .banner-container {
      flex-direction: column;
      gap: 16px;
      text-align: center;

      span {
        font-size: 0.9rem;
        gap: 10px;
        font-weight: 500;
        display: block;
        width: 100%;
      }

      button {
        width: 100%;
        max-width: 100%;
        margin: 0;

        span {
          padding: 10px 0;
          font-size: 1rem;
          font-weight: 700;
        }
      }
    }
  }

  /* Ajustes da Hero Section */
  .hero-section {
    flex-direction: column-reverse;
    gap: 3rem;
    text-align: center;
  }

  .information h1 {
    font-size: 1.5rem;
    text-align: left;
  }

  .information p {
    font-size: 1rem;
    text-align: left;
  }

  .buttons-wrapper {
    justify-content: center;
  }

  /* Ajustes do Badge e Player Mobile */
  .spinning-badge {
    width: 70px;
    height: 70px;
    top: -25px;
    right: -15px;
  }

  /* Botões do Overlay Lado a Lado */
  .overlay-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
  }

  .overlay-btn {
    padding: 8px 12px;
    font-size: 13px;
    width: auto;
    flex: 1;
    white-space: nowrap;
    justify-content: center;
  }

  .overlay-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Esconder controles de progresso no mobile */
  .custom-controls .progress-area,
  #btnRewind,
  #btnForward {
    display: none !important;
  }

  .custom-controls {
    padding: 10px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-container {
    flex-direction: column;
    gap: 50px;
  }

  .about-image-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .about-img-glow {
    opacity: 0.1;
    filter: blur(60px);
  }

  .about-content {
    text-align: left;
    padding: 0 10px;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .btn-about {
    width: 100%;
    justify-content: center;
    padding-inline: 3px;
  }

  .modules-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    padding: 0 16px;
  }

  .module-card {
    width: 100% !important;
    max-width: 100% !important;

    grid-column: auto !important;
  }

  .card-wide {
    grid-column: auto !important;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .button-module {
    max-width: 310px;
    margin-inline: auto;
  }

  .testimonial-card {
    width: 280px;
    padding: 20px;
  }

  .bonus-grid {
    display: flex;
    flex-direction: column;
  }

  .bonus-card {
    padding: 24px;
  }

  .bonus-header {
    flex-direction: row; /* Ícone ao lado do título no mobile economiza altura */
    align-items: center;
  }

  .bonus-card .icon-box {
    width: 40px;
    height: 40px;
  }

  .bonus-card h3 {
    font-size: 1rem;
  }

  .bonus-quote-box p {
    font-size: 1.1rem;
  }

  .current-price .value {
    font-size: 3.5rem;
  }
  .offer-card {
    width: 95%;
  }

  #a-offer {
    margin-inline: auto;
    width: 70%;
  }

  .site-footer {
    padding: 32px 0;
    text-align: center; /* Centraliza tudo no mobile */
  }

  .footer-container {
    flex-direction: column; /* Empilha os elementos */
    justify-content: center;
    gap: 32px;
  }

  .footer-left {
    align-items: center; /* Centraliza o logo e o texto */
  }
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET)
========================================================================== */

/* Tablet (Menor que 1024px) */
@media (max-width: 1024px) {
  .modules-grid {
    /* Muda para 2 colunas */
    grid-template-columns: repeat(2, 1fr);
  }

  /* No Tablet, o card wide ocupa a linha inteira (2 colunas) */
  .card-wide {
    grid-column: span 2;
  }
}
