:root {
  --bg: #000;
  --accent: #05205f;
  --muted: #9aa3b2;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.04);
  --card: rgba(255, 255, 255, 0.03);
  --glass-2: rgba(5, 32, 95, 0.14);
  --radius: 14px;
}

/* Reset + base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #030303 0%, #05060a 100%);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  scroll-behavior: smooth;
}

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

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 12px 0;
  z-index: 1200;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  backdrop-filter: blur(6px);
  transition: height 0.28s ease, padding 0.28s ease, background 0.28s ease;
}
nav.shrink {
  height: 64px;
  background: rgba(0, 0, 0, 0.9);
}

nav .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
nav img.logo {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(5, 32, 95, 0.45));
  transition: transform 0.28s ease;
}
nav .cta-btn {
  background: linear-gradient(90deg, var(--accent), #0e3a8a);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 6px 30px rgba(5, 32, 95, 0.35);
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
nav .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(5, 32, 95, 0.45);
}

/* HERO */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  position: relative;
  overflow: hidden;
  background: url("./img/background.jpeg") center/cover no-repeat;
  background-attachment: fixed;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(5, 32, 95, 0.2) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}

/* Container da imagem do hero */
.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

/* Card visual ajustado */
.card-visual {
  max-width: 380px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.7);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Imagem do hero ajustada */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}
.card-visual:hover .hero-img {
  transform: scale(1.06) rotate(-0.5deg);
}

/* left content */
.hero-copy {
  color: var(--white);
  transform: translateY(8px);
  padding-right: 20px;
}
.kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass-2);
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 13px;
}
.hero h1 {
  margin: 0 0 18px 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--white), #dbe9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(5, 32, 95, 0.45);
}
.hero p.lead {
  color: #cbd5e1;
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 22px;
  max-width: 54ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.know-more {
  align-self: center;
  text-decoration: underline !important;
  transition: color 0.3s ease;
}
.know-more:hover {
  color: var(--white) !important;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), #1a3f96);
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(5, 32, 95, 0.45);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(5, 32, 95, 0.6);
  color: var(--white);
}

/* SECTIONS */
main {
  margin-top: 20px;
}

section.wrapper {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Sobre / curso */
.about-img {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.65);
}
.about-img img {
  width: 100%;
  display: block;
}

.about-text h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.muted {
  color: var(--muted);
}

/* Professor */
.prof-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 12px 44px rgba(2, 6, 23, 0.6);
}
.prof-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* O que você vai aprender */
.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(5, 32, 95, 0.03)
  );
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
}
.feature b {
  color: var(--white);
  min-width: 34px;
  display: inline-block;
  font-weight: 900;
}

/* CTA final */
.video-box {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.7);
}
.video-box video {
  width: 100%;
  display: block;
}

.cta-copy h3 {
  margin-top: 0;
  font-size: 22px;
}
.cta-copy p {
  color: var(--muted);
}

.cta-action {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.big-cta {
  background: linear-gradient(90deg, #09285a, var(--accent));
  padding: 14px 22px;
  border-radius: 12px;
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 18px 60px rgba(5, 32, 95, 0.5);
  display: inline-block;
  transition: transform 0.16s ease;
}
.big-cta:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.scarlet {
  color: #ff6464;
  font-weight: 700;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.countdown .unit {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  min-width: 82px;
  padding: 12px 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 12px 38px rgba(2, 6, 23, 0.6);
}
.countdown .num {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 1px;
}
.countdown .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
  text-transform: uppercase;
}

.countdown-note {
  margin-top: 10px;
  font-size: 13px;
}

/* FOOTER */
footer {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(2, 6, 23, 0.95));
  color: var(--muted);
}

/* ANIMATIONS (initial hidden states) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.18, 1), opacity 0.7s ease;
  will-change: transform, opacity;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.reveal-fade.in-view {
  opacity: 1;
}

.zoom-in {
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.18, 1), opacity 0.6s;
}
.zoom-in.in-view {
  transform: scale(1);
  opacity: 1;
}

.video-auto {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  pointer-events: none;
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.6);
}

/* ACCORDION — EBOOK */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  height: 100%;
}

.accordion-item {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(5, 32, 95, 0.06)
  );
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.6);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.25s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  transition: transform 0.35s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transition: max-height 0.45s ease, padding 0.35s ease;
}

.accordion-item.active .accordion-body {
  max-height: 100%;
  padding: 0 18px 18px;
}

/* Responsividade melhorada para o Hero */
@media (max-width: 1200px) {
  .card-visual {
    max-width: 340px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 100px 0 50px;
    background-attachment: scroll;
    text-align: center;
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .card-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  nav img.logo {
    height: 50px;
  }

  nav .cta-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 0 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p.lead {
    font-size: 16px;
  }

  .card-visual {
    max-width: 320px;
  }

  nav {
    height: 70px;
  }

  nav.shrink {
    height: 60px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 80px 0 30px;
  }

  .card-visual {
    max-width: 280px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  nav .cta-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* misc */
.muted-2 {
  color: #a6b0bf;
  font-size: 14px;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--radius) !important;
}

/* ================================
   MOBILE — TEXTO CENTRALIZADO
   ================================ */
@media (max-width: 768px) {
  /* Centralização global */
  body {
    text-align: center;
  }

  /* Containers de texto */
  .hero-copy,
  .about-text,
  #professor .col-lg-7,
  .cta-copy {
    text-align: center;
  }

  /* Títulos */
  h1 {
    font-size: 30px !important;
    line-height: 1.15;
  }

  h3 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  /* Parágrafos */
  p,
  .muted,
  .muted-2 {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero p.lead {
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Kicker */
  .kicker {
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
  }

  /* Accordion */
  .accordion-button {
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
  }

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

  .accordion-body ul {
    list-style: none;
    padding-left: 0;
  }

  .accordion-body li {
    margin-bottom: 10px;
    font-size: 15px;
  }

  /* CTA */
  .cta-action {
    justify-content: center;
  }

  .big-cta {
    width: 100%;
    text-align: center;
    font-size: 18px;
  }

  /* Countdown */
  .countdown {
    justify-content: center;
  }

  /* Professor imagem espaçamento */
  .prof-card {
    margin-bottom: 24px;
  }
}
