/* =============================================
   PROSPERAR CURSOS - CSS Principal
   ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --purple: #7b1fa2;
  --purple-light: #9c27b0;
  --blue: #1976d2;
  --green: #25d366;
  --orange: #ff5722;
  --yellow: #ffc107;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;

  /* Cores para acessibilidade (contraste WCAG AA) */
  --focus-color: #005fcc;
  --error-color: #d32f2f;
  --success-color: #388e3c;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   ACESSIBILIDADE - Utilitários
   ============================================= */

/* Skip Link - Pular para conteúdo principal */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

/* Texto visualmente oculto mas acessível para leitores de tela */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus visível para navegação por teclado */
:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

/* Remove outline padrão quando usando mouse */
:focus:not(:focus-visible) {
  outline: none;
}

/* Links com melhor contraste */
a:hover,
a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Botões com estados claros */
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
  :root {
    --primary: #c2185b;
    --gray-600: #424242;
  }

  .btn-cta,
  .btn-hero,
  .btn-submit {
    border: 2px solid currentColor;
  }
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1300px;
  margin: 0 auto;
}
.logo img {
  height: 50px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-list {
  display: flex;
  gap: 25px;
}
.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-link:hover {
  color: var(--primary);
  background: rgba(233, 30, 99, 0.08);
}
.btn-cta {
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 3px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 10px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content {
  color: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span {
  display: block;
  background: linear-gradient(90deg, #ffe082, #fff176);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-hero {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.btn-hero.primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn-hero.primary:hover {
  transform: translateY(-3px) scale(1.02);
}
.btn-hero.whatsapp {
  background: var(--green);
  color: var(--white);
}
.btn-hero.whatsapp:hover {
  background: #128c7e;
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* HERO FORM */
.hero-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-lg);
}
.hero-form-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 5px;
}
.hero-form-subtitle {
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 25px;
}
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-group {
  position: relative;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 15px 15px 50px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--gray-50);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}
.form-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1.1rem;
}
.btn-submit {
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

/* HERO IMAGE */
.hero-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -150px; /* sobe a imagem */
}

.hero-image-wrapper img {
  width: 200%; /* aumenta */
  max-width: 600px; /* mais presença visual */
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transform: translateY(-10px);
}

/* SECTIONS */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-badge {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.bg-gray {
  background: var(--gray-50);
}

/* CATEGORIAS */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-card:hover::before {
  transform: scaleX(1);
}
.category-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 15px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  transition: var(--transition);
}
.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}
.category-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 5px;
}
.category-count {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Cores por categoria */
.category-card[data-area="informatica"] .category-icon {
  background: linear-gradient(135deg, #2196f3, #1565c0);
}
.category-card[data-area="profissionalizante"] .category-icon {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}
.category-card[data-area="ingles"] .category-icon {
  background: linear-gradient(135deg, #f44336, #c62828);
}
.category-card[data-area="espanhol"] .category-icon {
  background: linear-gradient(135deg, #ff9800, #e65100);
}
.category-card[data-area="enem"] .category-icon {
  background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}
.category-card[data-area="encceja"] .category-icon {
  background: linear-gradient(135deg, #00bcd4, #00838f);
}
.category-card[data-area="concurso"] .category-icon {
  background: linear-gradient(135deg, #3f51b5, #283593);
}
.category-card[data-area="gastronomia"] .category-icon {
  background: linear-gradient(135deg, #ff5722, #bf360c);
}
.category-card[data-area="estetica"] .category-icon {
  background: linear-gradient(135deg, #e91e63, #ad1457);
}
.category-card[data-area="petshop"] .category-icon {
  background: linear-gradient(135deg, #795548, #4e342e);
}
.category-card[data-area="kids"] .category-icon {
  background: linear-gradient(135deg, #ffeb3b, #f9a825);
}
.category-card[data-area="melhoridade"] .category-icon {
  background: linear-gradient(135deg, #607d8b, #37474f);
}

/* DIFERENCIAIS */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.diferencial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.diferencial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.diferencial-icon {
  width: 55px;
  height: 55px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 18px;
}
.diferencial-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.diferencial-text {
  color: var(--gray-600);
  line-height: 1.7;
}

/* CURSOS */
.cursos-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
  align-items: center;
  justify-content: center;
}
.filter-search {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  position: relative;
}
.filter-search input {
  width: 100%;
  padding: 14px 14px 14px 48px;
  border: 2px solid var(--gray-200);
  border-radius: 30px;
  font-size: 1rem;
}
.filter-search input:focus {
  border-color: var(--primary);
  outline: none;
}
.filter-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}
.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 25px;
  background: var(--white);
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
.curso-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.curso-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.curso-header {
  background: var(--gradient);
  padding: 15px 20px;
  position: relative;
}
.curso-modalidade {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 15px;
  text-transform: uppercase;
}
.curso-modalidade.presencial {
  background: rgba(76, 175, 80, 0.95);
  color: var(--white);
}
.curso-area {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}
.curso-body {
  padding: 20px;
}
.curso-nome {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.4;
}
.curso-info {
  display: flex;
  gap: 15px;
  color: var(--gray-500);
  font-size: 0.85rem;
}
.curso-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.curso-footer {
  padding: 15px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.btn-curso {
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  padding: 12px;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-curso:hover {
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.cursos-load-more {
  text-align: center;
  margin-top: 40px;
}
.btn-load-more {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  padding: 14px 40px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover {
  background: var(--primary);
  color: var(--white);
}
.cursos-counter {
  margin-top: 15px;
  color: var(--gray-500);
}

/* DEPOIMENTOS */
.depoimentos {
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--white);
  position: relative;
}
.depoimentos .section-title {
  color: var(--white);
}
.depoimentos .section-title span {
  -webkit-text-fill-color: #ffe082;
}
.depoimentos-slider {
  max-width: 800px;
  margin: 0 auto;
}
.depoimento-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.depoimento-text {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}
.depoimento-text::before {
  content: '"';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  line-height: 0;
  display: block;
  margin-bottom: 10px;
}
.depoimento-autor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.depoimento-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}
.depoimento-info h4 {
  font-weight: 700;
}
.depoimento-info p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA */
.cta-section {
  background: var(--gradient);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.cta-section::before {
  top: -50%;
  right: -15%;
  width: 400px;
  height: 400px;
}
.cta-section::after {
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 15px;
}
.cta-text {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 550px;
  margin: 0 auto 30px;
}
.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-main {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 35px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
.btn-cta-main:hover {
  transform: translateY(-3px);
}
.btn-cta-whatsapp {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 35px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-cta-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-3px);
}

/* FOOTER */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 70px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 55px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--gray-500);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--gray-500);
}
.footer-contact i {
  color: var(--primary);
  margin-top: 4px;
}
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-bottom p,
.footer-bottom a {
  color: var(--gray-500);
  font-size: 0.9rem;
}
.footer-bottom a:hover {
  color: var(--primary);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* ANIMATIONS */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    order: 1;
  }
  .hero-form-wrapper {
    order: 2;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-image-wrapper {
    order: 2;
  }
  .hero-image-wrapper img {
    max-width: 320px;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 50px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .stat-item {
    flex: 1;
    min-width: 80px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diferenciais-grid,
  .cursos-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .filter-search {
    min-width: 100%;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .category-card {
    padding: 18px 10px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-cta-main,
  .btn-cta-whatsapp {
    width: 100%;
    justify-content: center;
  }
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Mobile Menu */
.nav.open {
  display: flex;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  flex-direction: column;
  padding: 30px;
  z-index: 999;
}
.nav.open .nav-list {
  flex-direction: column;
}
.nav.open .nav-link {
  padding: 15px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 1.1rem;
}
.nav.open .btn-cta {
  margin-top: 20px;
  justify-content: center;
}

/* =============================================
   E-COMMERCE STYLES (Carrinho, Auth, Toast)
   ============================================= */

/* NAV AUTH / CARRINHO */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-cart {
  position: relative;
  background: none;
  font-size: 1.3rem;
  color: var(--gray-700);
  padding: 8px;
}
.nav-cart .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.user-dropdown {
  position: relative;
}
.user-btn {
  background: var(--gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 8px 0;
  display: none;
  z-index: 1000;
}
.user-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--gray-700);
}
.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* CART SIDEBAR */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: white;
  z-index: 1101;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open {
  right: 0;
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.cart-close {
  background: none;
  font-size: 1.5rem;
  color: var(--gray-500);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--gray-500);
}
.cart-empty i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}
.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item-image {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.cart-item-price {
  color: var(--primary);
  font-weight: 700;
}
.cart-item-remove {
  background: none;
  color: var(--gray-400);
  padding: 5px;
}
.cart-item-remove:hover {
  color: var(--primary);
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.cart-totals {
  margin-bottom: 15px;
}
.cart-totals div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--gray-600);
}
.cart-totals .cart-total-row {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  border-top: 1px solid var(--gray-200);
  padding-top: 10px;
}
.cart-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.cart-coupon input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.cart-coupon button {
  padding: 10px 15px;
  background: var(--gray-800);
  color: white;
  border-radius: var(--radius);
  font-weight: 500;
}
.btn-checkout {
  width: 100%;
  background: var(--gradient);
  color: white;
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-checkout:hover {
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* AUTH MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

/* Botão Fechar Modal - Estilo centralizado como WhatsApp */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1rem;
  transition: all 0.2s ease;
  z-index: 10;
}
.modal-close:hover {
  background: #e0e0e0;
  color: #333;
  transform: scale(1.05);
}
.modal-close:active {
  transform: scale(0.95);
}

.modal-header {
  padding: 25px 25px 0;
  text-align: center;
}
.modal-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.modal-header p {
  color: var(--gray-500);
  font-size: 0.95rem;
}
.modal-tabs {
  display: flex;
  margin: 20px 25px 0;
  border-bottom: 2px solid var(--gray-200);
}
.modal-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.modal-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.modal-body {
  padding: 25px;
}
.auth-form {
  display: none;
  flex-direction: column;
  gap: 15px;
}
.auth-form.active {
  display: flex;
}
.auth-form .form-group {
  margin-bottom: 0;
}
.auth-form .form-group input {
  padding-left: 15px;
}
.btn-auth {
  background: var(--gradient);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 600;
  width: 100%;
}

/* TOAST */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--gray-900);
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
  min-width: 280px;
}
.toast.success {
  background: #2e7d32;
}
.toast.error {
  background: #c62828;
}
.toast.info {
  background: #1565c0;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* COURSE CARD E-COMMERCE */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.course-image {
  background: var(--gradient);
  padding: 0;
  text-align: center;
  position: relative;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-image img {
  transform: scale(1.08);
}
.course-image i {
  font-size: 3rem;
  color: white;
  opacity: 0.9;
  position: absolute;
}
.course-badge {
  position: absolute;
  top: 12px;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.course-badge:first-of-type {
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
}
.course-badge.presencial {
  background: #4caf50;
  color: white;
}
.course-badge.featured {
  right: 12px;
  left: auto;
  background: #ffc107;
  color: #333;
}
.course-body {
  padding: 20px;
}
.course-category {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.course-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}
.course-info {
  display: flex;
  gap: 15px;
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 15px;
}
.course-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-price {
  margin-bottom: 15px;
}
.price-original {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-right: 8px;
}
.price-current {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.btn-course {
  width: 100%;
  background: var(--gradient);
  color: white;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-course:hover {
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  transform: translateY(-2px);
}

/* COURSES GRID E-COMMERCE */
#courses-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* RESPONSIVE E-COMMERCE */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  .nav-auth {
    gap: 10px;
  }
  #courses-container {
    grid-template-columns: 1fr;
  }
}

/* Link no card do curso */
.course-card .course-image {
  display: block;
  cursor: pointer;
}
.course-card .course-body a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.course-card .course-body a:hover .course-name {
  color: var(--primary);
}

/* =============================================
   MODAL DE SELEÇÃO DE CIDADE (WHATSAPP)
   ============================================= */

.modal-city {
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-city .modal-header {
  text-align: center;
  padding: 30px 25px 20px;
}

.modal-city .modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.modal-city .modal-icon i {
  font-size: 2rem;
  color: white;
}

.modal-city .modal-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.modal-city .modal-header p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.modal-city .modal-body {
  padding: 0 25px 15px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Campo de busca de cidade */
.city-search {
  position: relative;
  margin-bottom: 15px;
}

.city-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}

.city-search input {
  width: 100%;
  padding: 14px 15px 14px 45px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.city-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* Lista de cidades */
.city-list {
  flex: 1;
  overflow-y: auto;
  max-height: 350px;
  padding-right: 5px;
}

.city-list::-webkit-scrollbar {
  width: 6px;
}

.city-list::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 3px;
}

.city-list::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

.city-list::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Grupo por estado */
.city-group {
  margin-bottom: 15px;
}

.city-state {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 8px;
}

/* Item de cidade */
.city-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.city-item:hover {
  background: white;
  border-color: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.15);
  transform: translateX(5px);
}

.city-item:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

.city-info {
  flex: 1;
}

.city-name {
  display: block;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.city-atendente {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.city-atendente i {
  font-size: 0.7rem;
}

.city-action {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.city-item:hover .city-action {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Estado vazio */
.city-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-500);
}

.city-empty i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.city-empty p {
  font-size: 0.95rem;
}

/* Footer do modal */
.modal-city .modal-footer {
  padding: 15px 25px 25px;
  border-top: 1px solid var(--gray-200);
}

.city-help {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.city-help i {
  color: var(--blue);
}

.city-help a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.city-help a:hover {
  color: var(--primary-dark);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 35px rgba(37, 211, 102, 0.6);
  }
}

/* Modal ativo */
.modal-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Responsive - Modal de Cidade */
@media (max-width: 768px) {
  .modal-city {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .city-list {
    max-height: calc(100vh - 350px);
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}

/* ============================================
   LINK ESQUECI MINHA SENHA
   ============================================ */
.forgot-password-link {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 15px;
}

.forgot-password-link a {
  color: var(--primary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password-link a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Modal Esqueci Senha */
#forgot-password-modal .modal-content {
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#forgot-password-modal .form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#forgot-password-modal .form-group input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

#forgot-password-modal .btn-auth {
  width: 100%;
  padding: 14px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#forgot-password-modal .btn-auth:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

#forgot-password-modal .btn-auth:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================
   PROSPERAR CURSOS v2.0 - Estilos Adicionais
   ============================================ */

/* Badges de Modalidade */
.badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  display: inline-block;
}
.badge-ead {
  background: #e3f2fd;
  color: #1565c0;
}
.badge-presencial {
  background: #fff3e0;
  color: #e65100;
}
.badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f44336;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  animation: pulse-badge 2s infinite;
}
.badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #ff9800;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}
@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Course Card v2 */
.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  cursor: pointer;
  position: relative;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.course-card-top {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.course-card-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}
.course-card-body {
  padding: 16px;
}
.course-card-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.course-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card-category {
  font-size: 0.78rem;
  color: #9e9e9e;
  margin-bottom: 4px;
}
.course-card-category i {
  margin-right: 4px;
}
.course-card-duration {
  font-size: 0.78rem;
  color: #9e9e9e;
  margin-bottom: 12px;
}
.course-card-duration i {
  margin-right: 4px;
}
.course-card-price {
  border-top: 1px solid #eee;
  padding-top: 12px;
}
.price-from {
  font-size: 0.72rem;
  color: #9e9e9e;
  display: block;
}
.price-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e91e63;
}
.price-pix {
  display: block;
  font-size: 0.75rem;
  color: #4caf50;
  margin-top: 2px;
  font-weight: 500;
}
.price-pix i {
  margin-right: 3px;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.filter-btn {
  padding: 8px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  color: #616161;
}
.filter-btn:hover {
  border-color: #e91e63;
  color: #e91e63;
}
.filter-btn.active {
  background: linear-gradient(135deg, #e91e63, #7b1fa2);
  color: #fff;
  border-color: transparent;
}

/* Search Bar */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 500px;
}
.search-bar input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: 0.3s;
}
.search-bar input:focus {
  border-color: #e91e63;
  outline: none;
}
.search-bar button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #e91e63, #7b1fa2);
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 30px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover {
  border-color: #e91e63;
}
.page-btn.active {
  background: #e91e63;
  color: #fff;
  border-color: #e91e63;
}

/* Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.category-card.active {
  border-color: #e91e63;
}
.category-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.category-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #424242;
}
.category-count {
  font-size: 0.72rem;
  color: #9e9e9e;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 22px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.toast.show {
  transform: translateX(0);
}
.toast-success {
  background: #4caf50;
}
.toast-error {
  background: #f44336;
}
.toast-warning {
  background: #ff9800;
}
.toast-info {
  background: #2196f3;
}

/* Loading */
.loading {
  text-align: center;
  padding: 50px 20px;
  color: #9e9e9e;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #eee;
  border-top-color: #e91e63;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #9e9e9e;
}
.empty-state i {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.5;
}
.empty-state h3 {
  margin-bottom: 8px;
  color: #616161;
}

/* City Modal */
.city-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.city-modal.active {
  display: flex;
}
.city-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.city-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.city-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.city-modal-header h3 {
  font-size: 1rem;
  color: #212121;
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-modal-header h3 i {
  color: #25d366;
}
.city-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9e9e9e;
}
.city-modal-search {
  padding: 12px 20px;
}
.city-modal-search input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 0.9rem;
}
.city-modal-search input:focus {
  border-color: #25d366;
  outline: none;
}
.city-modal-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px 20px;
}
.city-state-group {
  margin-bottom: 12px;
}
.city-state-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9e9e9e;
  text-transform: uppercase;
  padding: 6px 0;
}
.city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.city-item:hover {
  background: #e8f5e9;
}
.city-info {
  display: flex;
  flex-direction: column;
}
.city-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #212121;
}
.city-atendente {
  font-size: 0.75rem;
  color: #9e9e9e;
}
.city-wa-icon {
  color: #25d366;
  font-size: 1.3rem;
}
.city-empty {
  text-align: center;
  padding: 20px;
  color: #9e9e9e;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  text-decoration: none;
  transition: 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Results Info */
.results-info {
  font-size: 0.85rem;
  color: #9e9e9e;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .filter-bar {
    justify-content: center;
  }
  .search-bar {
    max-width: 100%;
  }
}

/* Course Card Footer - 2 buttons side by side */
.curso-footer {
  display: flex;
  gap: 8px;
}
.curso-footer .btn-curso {
  flex: 1;
  font-size: 0.82rem;
  padding: 10px 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.curso-footer .btn-whatsapp-curso {
  background: #25d366;
}
.curso-footer .btn-whatsapp-curso:hover {
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.curso-preco {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

/* ============================================
   Card Modalidades - EAD vs Presencial
   ============================================ */
.curso-modalidades {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--gray-100);
}
.curso-modalidades.single {
  justify-content: center;
}
.curso-mod-option {
  flex: 1;
  padding: 12px 14px;
  text-align: center;
}
.curso-mod-divider {
  width: 1px;
  background: var(--gray-200);
}
.curso-mod-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.curso-mod-badge.ead {
  background: #e3f2fd;
  color: #1565c0;
}
.curso-mod-badge.presencial {
  background: #fff3e0;
  color: #e65100;
}
.curso-mod-badge i {
  margin-right: 3px;
}
.curso-mod-price {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 4px 0 2px;
}
.curso-mod-pix {
  display: block;
  font-size: 0.7rem;
  color: #4caf50;
  font-weight: 500;
}
.curso-mod-pix i {
  margin-right: 2px;
}
.curso-badge-new {
  background: #f44336;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Footer com 2 botões */
.curso-footer {
  display: flex;
  gap: 6px;
  padding: 12px 15px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.curso-footer .btn-curso {
  flex: 1;
  font-size: 0.8rem;
  padding: 10px 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  color: #fff;
}
.curso-footer .btn-curso:first-child {
  background: linear-gradient(135deg, #e91e63, #7b1fa2);
}
.curso-footer .btn-curso:first-child:hover {
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  transform: translateY(-1px);
}
.curso-footer .btn-whatsapp-curso {
  background: #25d366 !important;
}
.curso-footer .btn-whatsapp-curso:hover {
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transform: translateY(-1px);
}

/* ============================================
   Card Preços - EAD | Presencial lado a lado
   ============================================ */
.curso-precos {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--gray-100, #f5f5f5);
  background: #fafafa;
}
.curso-preco-item {
  flex: 1;
  padding: 12px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.curso-preco-item.ead {
  border-right: none;
}
.preco-separador {
  width: 1px;
  background: #e0e0e0;
  align-self: stretch;
}
.preco-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #616161;
}
.curso-preco-item.ead .preco-badge {
  color: #1565c0;
}
.curso-preco-item.presencial .preco-badge {
  color: #e65100;
}
.preco-valor {
  font-size: 1.15rem;
  font-weight: 800;
  color: #e91e63;
  line-height: 1.2;
}
.preco-pix {
  font-size: 0.68rem;
  color: #4caf50;
  font-weight: 500;
}
.preco-pix i {
  margin-right: 2px;
}
.curso-badge-novo {
  background: #f44336;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Footer com 2 botões */
.curso-footer {
  display: flex;
  gap: 0;
  padding: 0;
  background: var(--gray-50, #fafafa);
  border-top: 1px solid var(--gray-100, #f5f5f5);
}
.curso-footer .btn-curso {
  flex: 1;
  border-radius: 0;
  font-size: 0.82rem;
  padding: 12px 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  color: #fff;
}
.curso-footer .btn-curso:first-child {
  background: linear-gradient(135deg, #e91e63, #7b1fa2);
  border-radius: 0 0 0 var(--radius, 12px);
}
.curso-footer .btn-curso:first-child:hover {
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}
.curso-footer .btn-whatsapp-curso {
  background: #25d366;
  border-radius: 0 0 var(--radius, 12px) 0;
  max-width: 120px;
}
.curso-footer .btn-whatsapp-curso:hover {
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 480px) {
  .curso-precos {
    flex-direction: column;
  }
  .preco-separador {
    width: 100%;
    height: 1px;
  }
}

/* Card Preço Resumido - limpo */
.curso-preco-resumo {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.preco-apartir {
  display: block;
  font-size: 0.88rem;
  color: #424242;
}
.preco-apartir strong {
  font-size: 1.15rem;
  color: #e91e63;
  font-weight: 800;
}
.preco-mods {
  display: block;
  font-size: 0.75rem;
  color: #9e9e9e;
  margin-top: 2px;
}

/* Footer com botão único centralizado */
.curso-footer .btn-curso:only-child {
  border-radius: 0 0 var(--radius, 12px) var(--radius, 12px);
  max-width: none;
}

/* ============================================
   Seletor de Modalidade - curso.html
   Cards lado a lado estilo premium
   ============================================ */
.modalidade-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.mod-card {
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  background: #fff;
}
.mod-card:hover {
  border-color: #bdbdbd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.mod-card.selected {
  border-color: #e91e63;
  box-shadow: 0 4px 16px rgba(233, 30, 99, 0.15);
  background: linear-gradient(180deg, #fff0f5 0%, #fff 40%);
}
.mod-card-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
  z-index: 1;
}
.mod-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 8px;
}
.mod-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.mod-card-header.ead .mod-card-icon {
  background: linear-gradient(135deg, #e91e63, #ad1457);
}
.mod-card-header.presencial .mod-card-icon {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}
.mod-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #333;
}
.mod-card-body {
  padding: 0 14px 14px;
}
.mod-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #212121;
  margin-bottom: 2px;
}
.mod-card-pix {
  font-size: 0.75rem;
  color: #4caf50;
  font-weight: 500;
  margin-bottom: 10px;
}
.mod-card-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mod-card-benefits li {
  font-size: 0.78rem;
  color: #555;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mod-card-benefits li i {
  color: #4caf50;
  font-size: 0.7rem;
}
.mod-card-check {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #e0e0e0;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.mod-card.selected .mod-card-check {
  color: #4caf50;
}

/* User menu no header */
.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .modalidade-selector {
    grid-template-columns: 1fr;
  }
  .mod-card-badge {
    top: -8px;
    right: 8px;
  }
}

/* ===== Header/Footer padronizados ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  height: 34px;
  width: auto;
}
.brand-name {
  font-weight: 800;
}
.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}
.nav-link:hover {
  opacity: 1;
  text-decoration: underline;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.user-menu {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hidden {
  display: none !important;
}
.site-footer {
  margin-top: 32px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-inner {
  padding: 18px 0;
  opacity: 0.75;
  font-size: 14px;
}

/* ===== Prosperar Header Comercial ===== */
.pc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.pc-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}
.pc-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.pc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.pc-nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
}
.pc-nav-link:hover {
  color: var(--primary);
}
.pc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pc-cart {
  position: relative;
  color: var(--gray-800);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
}
.pc-cart:hover {
  background: var(--gray-100);
}
.pc-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.pc-login-btn:hover {
  background: var(--primary-dark);
}
.pc-user {
  position: relative;
  display: flex;
  align-items: center;
}
.pc-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: var(--purple);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.pc-user-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.pc-dropdown {
  position: absolute;
  right: 0;
  top: 52px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.15s;
}
.pc-user:focus-within .pc-dropdown,
.pc-user:hover .pc-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pc-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 600;
}
.pc-dd-item:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}
.pc-dd-ico {
  width: 20px;
  display: inline-flex;
  justify-content: center;
}
@media (max-width: 980px) {
  .pc-nav {
    display: none;
  }
}

/* ===== Header comercial + responsivo ===== */
.pc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.pc-topbar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 78px;
}
.pc-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.pc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.pc-nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  opacity: 0.92;
}
.pc-nav-link:hover {
  opacity: 1;
}
.pc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
}
.pc-cart-icon {
  font-size: 20px;
  line-height: 1;
}
.pc-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e91e63;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.pc-user-wrap {
  position: relative;
}
.pc-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #7b1fa2;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.pc-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffeb3b;
  display: inline-block;
}
.pc-user-dropdown {
  position: absolute;
  right: 0;
  top: 52px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 210px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 90;
}
.pc-dd-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 650;
}
.pc-dd-item:hover {
  background: #f4f5f8;
}
.hidden {
  display: none !important;
}

.pc-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pc-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 999px;
}

/* Mobile drawer */
.pc-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 98;
}
.pc-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, 360px);
  background: #fff;
  z-index: 99;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.pc-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pc-mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}
.pc-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
}
.pc-mobile-nav .pc-nav-link {
  padding: 12px 12px;
  border-radius: 12px;
  background: #f6f7fb;
}
.pc-mobile-nav .pc-nav-link:hover {
  background: #eef0f7;
}
.pc-mobile-sep {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 8px 0;
}
.pc-mobile-logout {
  border: none;
  width: 100%;
  text-align: left;
}

.pc-no-scroll {
  overflow: hidden;
}

/* Breakpoints */
@media (max-width: 980px) {
  .pc-desktop-nav {
    display: none;
  }
  .pc-cart {
    display: none;
  }
  #auth-btn {
    display: none;
  } /* no mobile, a ação fica no drawer */
  .pc-user-wrap {
    display: none;
  } /* evita duplicar no mobile */
  .pc-hamburger {
    display: inline-flex;
  }
  .pc-header-inner {
    height: 70px;
  }
  .pc-logo img {
    height: 38px;
  }
}

/* ===== Modal de login ===== */
.pc-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.pc-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.pc-modal-dialog {
  position: relative;
  max-width: 420px;
  width: calc(100% - 32px);
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  padding: 18px;
}
.pc-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
}
.pc-modal-title {
  margin: 6px 0 6px;
  font-size: 22px;
}
.pc-modal-subtitle {
  margin: 0 0 14px;
  color: #666;
}
.pc-field-label {
  display: block;
  font-weight: 800;
  margin: 12px 0 6px;
}
.pc-field {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  outline: none;
}
.pc-field:focus {
  border-color: #7b1fa2;
  box-shadow: 0 0 0 4px rgba(123, 31, 162, 0.12);
}
.pc-btn-primary {
  margin-top: 14px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #e91e63, #7b1fa2);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.pc-modal-msg {
  margin-top: 10px;
  font-weight: 700;
}
.pc-modal-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
}
.pc-modal-links a {
  text-decoration: none;
  color: #7b1fa2;
  font-weight: 700;
}

.curso-thumb {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  margin: 10px 12px 0;
  position: relative;
}

.curso-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.curso-thumb .thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

html {
  scroll-behavior: smooth;
}
