/* ==========================================
   RESET CSS MODERNO E PROFISSIONAL
   ========================================== */

/* 1. Box-sizing intuitivo: 
   Garante que paddings e borders não aumentem o tamanho final do elemento. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Zera margens e paddings padrão de todos os elementos */
* {
  margin: 0;
  padding: 0;
}

/* 3. Garante que o body ocupe 100% da altura da tela */
html,
body {
  height: 100%;
}

/* 4. Ajustes tipográficos para legibilidade e renderização suave */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 5. Comportamento responsivo padrão para mídias (Crucial para SEO e Core Web Vitals) */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Herança de fontes em formulários:
   Navegadores costumam aplicar fontes feias e diferentes em inputs e botões. Isso corrige. */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Quebra de palavras longas:
   Evita que uma URL gigante ou palavra quebre o layout no celular. */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Remove estilos de listas padrão (você adiciona manualmente onde precisar) */
ul,
ol {
  list-style: none;
}

/* 9. Remove o sublinhado padrão dos links e herda a cor */
a {
  text-decoration: none;
  color: inherit;
}

/* 10. Acessibilidade: Scroll suave apenas para quem não tem restrições de movimento no SO */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

main {
  flex: 1;
}

#MainHeader {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
}

#MainFooter {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 20px 0;
}

/* Reset básico para evitar saltos de layout */
.main-header {
  width: 100%;
  padding: 1rem 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  contain: layout; /* Otimização de renderização do browser */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #007bff; /* Cor de destaque */
}

/* Esconde elementos apenas visualmente para SEO (Screen Readers) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1001;
}

.skip-link:focus {
  top: 0;
}

.YouTube {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  width: 100%;
}

lite-youtube {
  max-width: 800px;
  width: 100%;
}

.ContainerBtg {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px;
  font-weight: bold;
}

.DescriptionContainer {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px;
}

.CampanhaContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 100px;
  color: #080beb;
  font-weight: bold;
}

.ImagesContainer {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  width: 300px;
}

.ImagesContainer img {
  margin: 10px 0;
}
