* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-laranja-principal: #ef542b;
  --cor-laranja-secundaria: #ff9023;
  --cor-azul-escuro: #255073;
  --cor-cinza-escuro: #434242;
  --cor-cinza-claro: #e4e4e4;
  --cor-fundo-claro: #e6e8da;
  --cor-branco: #ffffff;
  --cor-azul-claro: #d4f2ff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--cor-cinza-escuro);
  background-color: var(--cor-branco);
}

/* CUSTOMIZAÇÃO DA SCROLLBAR */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--cor-laranja-principal) var(--cor-cinza-claro);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--cor-cinza-claro);
}

::-webkit-scrollbar-thumb {
  background: var(--cor-laranja-principal);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cor-laranja-secundaria);
}

/* HEADER E NAVEGAÇÃO */
header {
  background-color: var(--cor-branco);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--cor-laranja-principal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--cor-cinza-escuro);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav ul a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--cor-laranja-principal);
  transition: width 0.3s ease;
}

nav ul a:hover {
  color: var(--cor-laranja-principal);
}

nav ul a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: var(--cor-laranja-principal);
  color: var(--cor-branco);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--cor-laranja-secundaria);
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(
    135deg,
    var(--cor-azul-escuro) 0%,
    var(--cor-azul-escuro) 50%,
    var(--cor-laranja-principal) 100%
  );
  color: var(--cor-branco);
  padding: 8rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: rgba(255, 144, 35, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(30px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--cor-laranja-secundaria);
  color: var(--cor-branco);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--cor-branco);
  color: var(--cor-laranja-principal);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--cor-branco);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--cor-branco);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--cor-branco);
  color: var(--cor-azul-escuro);
}

/* Estilos específicos para a página de obrigado */
.obrigado-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.obrigado-page .secao-titulo {
  text-align: center;
  background: var(--cor-branco);
  padding: 3rem 2rem 4.5rem; /* espaço extra abaixo para afastar o botão */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 720px;
}

.obrigado-page .secao-titulo .btn-primary {
  display: inline-block;
  margin-top: 2.5rem; /* aumenta o espaço acima do botão */
}

/* SEÇÃO DE BENEFÍCIOS */
.beneficios {
  padding: 8rem 5%;
  background-color: var(--cor-branco);
  max-width: 1400px;
  margin: 0 auto;
}

.secao-titulo {
  text-align: center;
  margin-bottom: 3rem;
}

.secao-titulo h2 {
  font-size: 2.5rem;
  color: var(--cor-azul-escuro);
  margin-bottom: 0.5rem;
}

.secao-titulo p {
  font-size: 1.1rem;
  color: var(--cor-cinza-escuro);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 400px));
  gap: 2rem;
  justify-content: center;
}

.beneficio-card {
  background: var(--cor-branco);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.4s ease;
  border-left: 5px solid var(--cor-laranja-principal);
  transform-origin: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.beneficio-card:hover {
  transform: translateY(-15px) scale(1.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.beneficio-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.beneficio-card h3 {
  color: var(--cor-laranja-principal);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.beneficio-card p {
  color: var(--cor-cinza-escuro);
  font-size: 0.95rem;
}

/* SEÇÃO COMO FUNCIONA */
.como-funciona {
  padding: 8rem 5%;

  max-width: 1400px;
  margin: 0 auto;
}

.passos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.passo {
  background-color: var(--cor-branco);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.passo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(239, 84, 43, 0.15);
}

.passo-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--cor-laranja-principal);
  color: var(--cor-branco);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.passo h3 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.5rem;
}

.passo p {
  color: var(--cor-cinza-escuro);
  font-size: 0.95rem;
}

/* SEÇÃO CURSOS */
.cursos {
  padding: 8rem 5%;
  background-color: var(--cor-branco);
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.cursos .secao-titulo {
  flex: 0 0 250px;
  text-align: left;
  margin-bottom: 0;
  order: 1;
  white-space: nowrap;
}

.cursos .secao-titulo p {
  white-space: normal;
  margin-bottom: 6rem;
}

.cursos-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 0;
  order: 2;
}

.curso-card {
  background-color: var(--cor-branco);
  border: 2px solid var(--cor-cinza-claro);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.curso-card:hover {
  border-color: var(--cor-laranja-principal);
  box-shadow: 0 15px 35px rgba(239, 84, 43, 0.25);
  transform: translateY(-10px);
}

/* PROFESSOR PAGE STYLES */
.professor-detalhes {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.professor-avatar {
  width: 320px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.professor-info {
  flex: 1;
}

.professor-info h2 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.5rem;
}

.professor-info h3 {
  color: var(--cor-laranja-principal);
  margin-bottom: 1rem;
}

.pullquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--cor-laranja-principal);
  background-color: #fff8f5;
  font-style: italic;
}

.professor-cta {
  margin-top: 1.5rem;
}

/* Modal adjustments */
.modal {
  display: none; /* default hidden, toggled by JS */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
}

.modal-content {
  background: var(--cor-branco);
  max-width: 560px;
  width: 100%;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

/* RESPONSIVE RULES */
@media (max-width: 1000px) {
  .navbar {
    padding: 0.8rem 4%;
  }

  .hero {
    padding: 6rem 4%;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .professor-detalhes {
    gap: 1.5rem;
    padding: 3rem 4%;
  }

  .professor-avatar {
    width: 260px;
    flex: 0 0 260px;
  }
}

@media (max-width: 720px) {
  nav ul {
    display: none; /* hide nav links for small screens */
  }

  .navbar {
    gap: 1rem;
  }

  .hero {
    padding: 4.5rem 3%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .professor-detalhes {
    flex-direction: column;
    align-items: center;
    padding: 2rem 3%;
  }

  .professor-avatar {
    width: 100%;
    max-width: 420px;
    flex: none;
    margin-bottom: 1rem;
  }

  .professor-info {
    width: 100%;
    text-align: center;
    margin-top: 0.6rem;
  }

  .professor-info h2 {
    text-align: center;
  }

  .modal-content {
    padding: 1rem;
    max-width: 92%;
  }
}

@media (max-width: 720px) {
  .pullquote {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }

  .professor-cta {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
}

.curso-header {
  background: linear-gradient(
    135deg,
    var(--cor-laranja-principal),
    var(--cor-laranja-secundaria)
  );
  color: var(--cor-branco);
  padding: 2rem;
  text-align: center;
}

.curso-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.curso-body {
  padding: 2rem;
  flex-grow: 1;
}

.curso-body p {
  color: var(--cor-cinza-escuro);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.curso-info {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--cor-azul-escuro);
}

.curso-info span {
  font-weight: 600;
}

.curso-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--cor-cinza-claro);
  text-align: center;
}

.curso-footer a {
  color: var(--cor-laranja-principal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.curso-footer a:hover {
  color: var(--cor-laranja-secundaria);
}

/* SEÇÃO DEPOIMENTOS */
.depoimentos {
  padding: 8rem 5%;
  max-width: 1900px;
  margin: 0 auto;
  overflow-x: hidden;
}

.depoimentos-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  animation: 20s infinite slide linear;
}

.depoimento-card {
  background-color: var(--cor-branco);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--cor-laranja-principal);
  transition: all 0.4s ease;
  transform-origin: center;
  min-width: 350px;
  max-width: 450px;
}

.depoimento-card:hover {
  transform: translateY(-15px) scale(1.15);
  box-shadow: 0 20px 40px rgba(239, 84, 43, 0.3);
}

.depoimento-card p {
  color: var(--cor-cinza-escuro);
  margin-bottom: 1rem;
  font-style: italic;
  font-size: 0.95rem;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.depoimento-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cor-laranja-principal);
}

.depoimento-info h4 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.depoimento-info p {
  color: var(--cor-cinza-escuro);
  font-size: 0.85rem;
  margin: 0;
  font-style: normal;
}

.estrelas {
  color: #ffd700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* SEÇÃO PROFESSORES */
.professores {
  padding: 8rem 5%;
  background-color: var(--cor-branco);
  max-width: 1400px;
  margin: 0 auto;
}

.professores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.professor-card {
  text-align: center;
  background-color: var(--cor-fundo-claro);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.4s ease;
  transform-origin: center;
}

.professor-card:hover {
  transform: translateY(-15px) scale(1.15);
  box-shadow: 0 20px 40px rgba(239, 84, 43, 0.25);
}

.professor-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--cor-laranja-principal);
  display: block;
}

.professor-card h3 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.3rem;
}

.professor-especialidade {
  color: var(--cor-laranja-principal);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.professor-bio {
  color: var(--cor-cinza-escuro);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ESTILOS ESPECÍFICOS - PÁGINA DO PROFESSOR */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.professor-detalhes,
.professor-detalhes .professor-card {
  background: linear-gradient(180deg, var(--cor-branco) 0%, #fbfbfb 100%);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  padding: 3rem;
  align-items: start;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(37, 80, 115, 0.08);
  border: 1px solid rgba(37, 80, 115, 0.04);
  position: relative;
  overflow: visible;
}

.professor-detalhes::before,
.professor-detalhes .professor-card::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20px;
  width: 8px;
  height: calc(100% - 40px);
  background: linear-gradient(
    180deg,
    var(--cor-laranja-principal),
    var(--cor-laranja-secundaria)
  );
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(239, 84, 43, 0.12);
}

.professor-detalhes .professor-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--cor-laranja-principal);
  box-shadow: 0 12px 40px rgba(37, 80, 115, 0.14);
}

.professor-info h2 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.professor-info h3 {
  color: var(--cor-laranja-principal);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.professor-info p {
  color: var(--cor-cinza-escuro);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.pullquote {
  margin: 1.2rem 0 1.6rem 0;
  padding: 1rem 1.25rem;
  border-left: 6px solid var(--cor-azul-escuro);
  background: linear-gradient(
    90deg,
    rgba(37, 80, 115, 0.04),
    rgba(239, 84, 43, 0.02)
  );
  color: var(--cor-azul-escuro);
  font-weight: 600;
  border-radius: 8px;
  font-size: 1.05rem;
}

.professor-cta {
  margin-top: 1.5rem;
}

.professor-cta {
  margin-top: 1.5rem;
}

.btn-saiba-mais,
.professor-actions .btn-primary {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  color: var(--cor-branco);
  background: linear-gradient(
    135deg,
    var(--cor-azul-escuro),
    var(--cor-laranja-principal)
  );
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-saiba-mais:hover,
.professor-actions .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 80, 115, 0.18);
}

@media (max-width: 900px) {
  .professor-detalhes .professor-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .professor-detalhes .professor-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
  }

  .professor-info {
    margin-top: 1.2rem;
  }
}

/* Force single-column for the main professor details container so
   the image appears above the text on small screens */
@media (max-width: 900px) {
  .professor-detalhes {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    align-items: center;
    padding: 1.5rem !important;
    gap: 1rem !important;
    justify-items: center;
  }

  .professor-detalhes .professor-avatar {
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    margin: 0 auto !important;
    justify-self: center !important;
    display: block !important;
    border-width: 6px !important;
  }

  .professor-detalhes .professor-info {
    width: 100% !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
    padding: 0 0.5rem;
  }

  .professor-detalhes::before {
    left: 10px;
    top: 12px;
    height: calc(100% - 24px);
  }
}

/* SEÇÃO LIVRARIA */
.livraria {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.livraria-conteudo {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin: 3rem 0;
}

.livro-info-box {
  flex: 1;
  background-color: var(--cor-branco);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--cor-laranja-principal);
}

.livro-info-box h3 {
  color: var(--cor-azul-escuro);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.livro-info-box p {
  color: var(--cor-cinza-escuro);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.livro-info-box strong {
  color: var(--cor-azul-escuro);
  font-size: 1.1rem;
}

.livro-info-box ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem 0;
}

.livro-info-box ul li {
  color: var(--cor-cinza-escuro);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}

.btn-comprar-ebook {
  background: linear-gradient(
    135deg,
    var(--cor-laranja-principal),
    var(--cor-laranja-secundaria)
  );
  color: var(--cor-branco);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(239, 84, 43, 0.3);
  display: inline-block;
  text-decoration: none;
  margin: 0;
}

.btn-comprar-ebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 84, 43, 0.4);
}

.videos-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.video-card {
  background-color: var(--cor-branco);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  max-width: 450px;
  width: 100%;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(239, 84, 43, 0.2);
}

.video-card h3 {
  background: linear-gradient(
    135deg,
    var(--cor-azul-escuro),
    var(--cor-laranja-principal)
  );
  color: var(--cor-branco);
  padding: 1.5rem;
  margin: 0;
  font-size: 1.3rem;
  text-align: center;
}

.video-player {
  width: 100%;
  height: auto;
  min-height: 250px;
  display: block;
  background-color: #000;
}

.video-descricao {
  padding: 1.5rem;
  color: var(--cor-cinza-escuro);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.livros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.livro-card {
  background-color: var(--cor-branco);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.livro-card:hover {
  transform: translateY(-10px) rotateZ(2deg);
  box-shadow: 0 15px 30px rgba(239, 84, 43, 0.2);
}

.livro-capa {
  background: linear-gradient(
    135deg,
    var(--cor-azul-escuro),
    var(--cor-laranja-principal)
  );
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor-branco);
  font-weight: bold;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.livro-info {
  padding: 1.5rem;
}

.livro-info h4 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.livro-autor {
  color: var(--cor-cinza-escuro);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.livro-preco {
  color: var(--cor-laranja-principal);
  font-weight: bold;
  font-size: 1.1rem;
}

/* SEÇÃO CTA FINAL */
.cta-final {
  background: linear-gradient(
    135deg,
    var(--cor-azul-escuro),
    var(--cor-laranja-principal)
  );
  color: var(--cor-branco);
  padding: 6rem 5%;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* PÁGINAS DE DETALHES DOS CURSOS */
.curso-detalhes {
  max-width: 900px;
  margin: 0 auto;
}

.curso-descricao h3 {
  color: var(--cor-azul-escuro);
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem 0;
  border-bottom: 3px solid var(--cor-laranja-principal);
  padding-bottom: 0.5rem;
}

.curso-descricao h4 {
  color: var(--cor-laranja-principal);
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
}

.curso-descricao p {
  color: var(--cor-cinza-escuro);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.curso-descricao ul,
.curso-descricao ol {
  margin: 1rem 0 1.5rem 2rem;
  line-height: 2;
}

.curso-descricao li {
  color: var(--cor-cinza-escuro);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.modulos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.modulo-item {
  background-color: var(--cor-fundo-claro);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--cor-laranja-principal);
}

.modulo-item h4 {
  margin-top: 0;
}

.modulo-item ul {
  margin: 1rem 0 0 1.5rem;
}

.curso-info-destaque {
  background: linear-gradient(
    135deg,
    rgba(37, 80, 115, 0.1),
    rgba(239, 84, 43, 0.1)
  );
  padding: 2rem;
  border-radius: 10px;
  border-left: 5px solid var(--cor-azul-escuro);
  margin: 2rem 0;
}

.curso-info-destaque h3 {
  margin-top: 0;
  border: none;
  padding: 0;
}

.curso-info-destaque p {
  margin-bottom: 0.8rem;
}

.exemplo-casos {
  margin: 2rem 0;
}

.caso {
  background-color: var(--cor-branco);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--cor-laranja-secundaria);
}

.caso h4 {
  color: var(--cor-azul-escuro);
  margin: 0 0 0.5rem 0;
}

.caso p {
  margin: 0;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background-color: var(--cor-cinza-escuro);
  color: var(--cor-branco);
  padding: 3rem 5%;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-section h4 {
  color: var(--cor-laranja-principal);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--cor-branco);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--cor-laranja-principal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

/* MODAL DE AGENDAMENTO */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--cor-branco);
  padding: 3rem;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--cor-cinza-escuro);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--cor-laranja-principal);
}

.modal-content h2 {
  color: var(--cor-azul-escuro);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.modal-content > p {
  color: var(--cor-cinza-escuro);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--cor-azul-escuro);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--cor-cinza-claro);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--cor-laranja-principal);
}

.btn-submit {
  width: 100%;
  background-color: var(--cor-laranja-principal);
  color: var(--cor-branco);
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--cor-laranja-secundaria);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(239, 84, 43, 0.3);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-1140px);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .livraria-conteudo {
    flex-direction: column;
    gap: 3rem;
  }

  .livro-info-box,
  .videos-container {
    flex: none;
    width: 100%;
  }

  .video-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    display: none;
  }

  nav.active ul {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .secao-titulo h2 {
    font-size: 1.8rem;
  }

  .cursos {
    flex-direction: column;
    position: relative;
    padding-bottom: 8.5rem;
  }

  .cursos .secao-titulo {
    flex: none;
    text-align: center;
  }

  .cursos .secao-titulo .btn-agendar {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10%);
    max-width: 400px;
    margin: 0;
    z-index: 5;
  }

  .beneficios-grid,
  .cursos-grid,
  .depoimentos-grid,
  .professores-grid,
  .livros-grid,
  .passos {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .livraria-conteudo {
    gap: 2rem;
  }

  .livro-info-box {
    padding: 2rem;
  }

  .livro-info-box h3 {
    font-size: 1.5rem;
  }

  .btn-comprar-ebook {
    width: 100%;
    padding: 1rem 2rem;
  }

  .video-player {
    min-height: 200px;
  }
}

/* ANIMAÇÕES */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.beneficio-card,
.curso-card,
.depoimento-card,
.professor-card,
.livro-card {
  animation: slideInUp 0.6s ease-out forwards;
}

.beneficio-card:nth-child(1) {
  animation-delay: 0.1s;
}
.beneficio-card:nth-child(2) {
  animation-delay: 0.2s;
}
.beneficio-card:nth-child(3) {
  animation-delay: 0.3s;
}
.beneficio-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* SEÇÃO eBooks */
.ebooks-section {
  padding: 8rem 5%;
  background-color: var(--cor-branco);
  max-width: 1400px;
  margin: 0 auto;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ebook-card {
  background-color: var(--cor-branco);
  border: 2px solid var(--cor-cinza-claro);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.ebook-card:hover {
  border-color: var(--cor-laranja-principal);
  box-shadow: 0 15px 35px rgba(239, 84, 43, 0.25);
  transform: translateY(-10px);
}

.ebook-imagem {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--cor-laranja-principal),
    var(--cor-laranja-secundaria)
  );
  overflow: hidden;
  border-bottom: 3px solid var(--cor-laranja-principal);
}

.ebook-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebook-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ebook-info h3 {
  color: var(--cor-azul-escuro);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.ebook-descricao {
  color: var(--cor-cinza-escuro);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.ebook-card .btn-comprar-ebook {
  align-self: center;
  margin-top: auto;
  margin-bottom: 0.8rem;
  padding: 0.6rem 1.5rem;
  width: auto;
  text-align: center;
  border-radius: 25px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .ebooks-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .ebook-imagem {
    height: 200px;
  }

  .ebook-info {
    padding: 1rem;
  }

  .ebook-info h3 {
    font-size: 1rem;
  }

  .ebook-descricao {
    font-size: 0.85rem;
  }
}
