html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
}


/* Marcas oficiais no cabeçalho e rodapé */
.meet-brand-button {
  flex-shrink: 0;
}

/* Botão Login no cabeçalho — cores fixas para garantir contraste */
.meet-auth-btn,
#authBtn {
  background-color: #008B74 !important;
  color: #ffffff !important;
}

.meet-auth-btn:hover,
#authBtn:hover {
  background-color: #065f46 !important;
  color: #ffffff !important;
}

.meet-auth-btn i,
#authBtn i {
  color: #ffffff !important;
}

.meet-header-logo {
  display: block;
  width: auto;
  height: 62px;
  max-height: 62px;
  object-fit: contain;
}

.meet-footer-logo {
  display: block;
  width: auto;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .meet-header-logo {
    height: 50px;
    max-height: 50px;
  }

  .meet-footer-logo {
    height: 40px;
    max-height: 40px;
  }
}

@media (max-width: 420px) {
  .meet-header-logo {
    height: 42px;
    max-height: 42px;
  }
}

/* Hero — menos espaço entre navbar e callout */
.meet-hero-inner {
  padding-top: 2rem !important;
}

@media (min-width: 1024px) {
  .meet-hero-inner {
    padding-top: 2.5rem !important;
  }
}

.is-student .student-only-notice {
  display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #008B74;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #006655;
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.expanded {
  max-height: 6000px;
  transition: max-height 0.5s ease-in;
}

/* Conteúdo exclusivo para professores */
.teacher-only {
  display: none;
}

.is-teacher .teacher-only {
  display: block;
  animation: fadeIn 0.5s;
}

.is-teacher .student-only-notice {
  display: none;
}

/* Estado ativo do menu */
.nav-link.is-active {
  color: #008B74 !important;
  border-color: #008B74 !important;
}

/* Pequenos ajustes de acessibilidade */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 139, 116, .35);
  outline-offset: 2px;
}

/* Melhor comportamento do menu em telas intermediárias */
@media (max-width: 1100px) {
  .meet-site-header nav {
    gap: 1.25rem !important;
  }

  .meet-site-header .nav-link {
    font-size: .92rem;
  }
}


/* Cards de links e materiais */
.meet-link-card {
  min-height: 100%;
}

.meet-link-card a {
  word-break: break-word;
}

.stage-tab.active {
  background: #ffffff !important;
  color: #008B74 !important;
  border-color: #008B74 !important;
}

.stage-tab:not(.active) {
  color: #64748b !important;
  background: transparent !important;
}

.stage-tab:not(.active):hover {
  color: #008B74 !important;
}

/* Banner de seções (Conteúdo, etc.) — cores fixas caso Tailwind falhe */
.meet-section-banner {
  background-color: #065f46 !important;
}

.meet-section-banner__title {
  color: #ffffff !important;
}

.meet-section-banner__subtitle {
  color: #5eead4 !important;
}

/* Avatar na área restrita */
.meet-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, .35);
}

.meet-user-avatar-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
  flex-shrink: 0;
}

.meet-profile-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #008B74;
}

.meet-profile-avatar-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  background: #008B74;
  color: #fff;
  border: 3px solid #5eead4;
}

.content-stage-panel.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .session-card button {
    align-items: flex-start;
  }

  .session-card button .flex.items-center {
    align-items: flex-start;
  }
}

/* Diálogo de consentimento de cookies (LGPD) */
.meet-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 95, 70, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.meet-consent-overlay.meet-consent--visible {
  opacity: 1;
}

.meet-consent-dialog {
  width: 100%;
  max-width: 34rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(6, 95, 70, 0.25);
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid rgba(0, 139, 116, 0.15);
  transform: translateY(12px);
  transition: transform 0.28s ease;
}

.meet-consent-overlay.meet-consent--visible .meet-consent-dialog {
  transform: translateY(0);
}

.meet-consent-dialog__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.meet-consent-dialog__icon {
  color: #008B74;
  display: inline-flex;
  flex-shrink: 0;
}

.meet-consent-dialog__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #065f46;
  margin: 0;
}

.meet-consent-dialog__text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.meet-consent-dialog__policy {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 1.25rem;
}

.meet-consent-dialog__policy a {
  color: #008B74;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meet-consent-dialog__policy a:hover {
  color: #065f46;
}

.meet-consent-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.meet-consent-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.meet-consent-btn--accept {
  background: #008B74;
  color: #fff;
  border-color: #008B74;
}

.meet-consent-btn--accept:hover {
  background: #065f46;
  border-color: #065f46;
}

.meet-consent-btn--reject {
  background: #fff;
  color: #475569;
  border-color: #cbd5e1;
}

.meet-consent-btn--reject:hover {
  border-color: #94a3b8;
  color: #334155;
}
