/* Cursos Tríade - Estilos Customizados */

:root {
  --color-primary: #14b8a6;
  --color-secondary: #06b6d4;
  --color-accent: #f59e0b;
  --radius: 0.5rem;
}

/* Tipografia */
body {
  font-family: 'Inter', sans-serif;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animação de entrada imediata */
.animate-fade-in {
  animation: fadeInUp 0.55s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header nav active underline */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  border-radius: 9999px;
  background: #14b8a6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: #0d9488;
}

/* Course card hover effect */
.course-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.course-card:hover .course-img {
  transform: scale(1.1);
}
.course-img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Category card hover effect */
.category-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.category-card:hover .cat-icon {
  transform: scale(1.1);
}
.cat-icon {
  transition: transform 0.3s ease;
}
.category-card:hover .cat-bg-decoration {
  opacity: 0.2;
}
.cat-bg-decoration {
  transition: opacity 0.3s ease;
}

/* Career card hover */
.career-card {
  transition: box-shadow 0.3s ease;
}
.career-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
}

/* FAQ accordion */
.faq-answer {
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-chevron {
  transition: transform 0.2s ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Accordion (conteúdo programático) */
.accordion-content {
  display: none;
  overflow: hidden;
}
.accordion-content.open {
  display: block;
}
.accordion-chevron {
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

/* Mobile search bar slide-in */
.mobile-search-bar {
  display: none;
}
.mobile-search-bar.open {
  display: block;
}

/* Desktop search expanded */
.desktop-search-expanded {
  display: none;
}
.desktop-search-expanded.open {
  display: block;
}

/* Mobile menu */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: block;
}

/* Checkout steps */
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Payment tabs */
.payment-tab-content {
  display: none;
}
.payment-tab-content.active {
  display: block;
}

/* Course player sidebar */
.lesson-item.active {
  background: rgba(20, 184, 166, 0.15);
  border-left: 3px solid #14b8a6;
  color: #0d9488;
}

/* Sticky CTA bar (curso.html) - mobile only */
#sticky-cta-bar {
  display: none;
}
@media (max-width: 1023px) {
  #sticky-cta-bar.visible {
    display: flex;
  }
}

/* Blog category pills */
.blog-cat-btn.active {
  background: #0d9488;
  color: white;
}

/* Blog article prose (substitui @tailwindcss/typography) */
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.prose p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.prose ul, .prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.prose a {
  color: #0d9488;
  font-weight: 500;
  text-decoration: underline;
}
.prose a:hover { color: #115e59; }
.prose strong { color: #111827; }
.prose blockquote {
  border-left: 4px solid #14b8a6;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #4b5563;
  font-style: italic;
}

/* Declaration status badges */
.badge-paid {
  background: #d1fae5;
  color: #065f46;
}
.badge-pending {
  background: #fef3c7;
  color: #92400e;
}

/* Animated placeholder cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.placeholder-cursor::after {
  content: '|';
  animation: blink 1s infinite;
  color: #9ca3af;
  margin-left: 1px;
}

/* Exam radio */
.exam-option.selected {
  background: #f0fdf4;
  border-color: #22c55e;
}
.exam-option.correct {
  background: #f0fdf4;
  border-color: #22c55e;
}
.exam-option.wrong {
  background: #fef2f2;
  border-color: #ef4444;
}

/* Blur circles hero */
.blur-circle {
  border-radius: 9999px;
  filter: blur(60px);
  position: absolute;
  pointer-events: none;
}

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badge / pill label consistent styling */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}
