/* =======================
   Importação das fontes
======================= */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;600;700&display=swap');

/* =======================
   Estilos globais
======================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #111;
  background-color: #fff;
}

/* =======================
   Títulos
======================= */
h1,
h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.5rem; /* ajuste conforme o layout */
  line-height: 1.1;
}

h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

/* =======================
   Navbar / Menu principal
======================= */
header nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem; /* gap-x-6 */
  row-gap: 0.75rem; /* gap-y-3 */
  font-weight: 600;
  font-size: 0.875rem; /* text-sm */
  text-transform: uppercase;
  text-align: center;
}

@media (min-width: 640px) {
  header nav ul {
    font-size: 1rem; /* sm:text-base */
  }
}

header nav li {
  list-style: none;
}

header nav li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

header nav li a:hover {
  text-decoration: underline;
}

/* =======================
   Cards de materiais
======================= */
.card-material {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem; /* rounded-xl */
  overflow: hidden;
  border: 1px solid #e5e7eb; /* border-gray-200 */
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-material:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-material img,
.card-material .thumb-fake {
  width: 100%;
  height: 180px; /* altura padrão */
  object-fit: cover;
  background: linear-gradient(135deg, #777, #444);
}

.card-material .content {
  padding: 1.25rem; /* p-5 */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-material h3 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 700; /* font-bold */
  line-height: 1.3;
  text-transform: uppercase;
}

.card-material p {
  font-size: 0.875rem; /* text-sm */
  color: #4b5563; /* text-gray-600 */
  margin-top: 0.5rem;
  flex: 1;
}

/* =======================
   Botões CTA / Download
======================= */
.btn-download,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  background: #422d6b; /* roxo escuro */
  color: #aef7b6;      /* verde claro */
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-download:hover,
.btn-cta:hover {
  background: #5b3f94;
  color: #d8ffd9;
  transform: scale(1.04);
}

.btn-download i {
  font-size: 1.125rem;
}

/* =======================
   Seções de vídeo
======================= */
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}
