* body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #0f1768;
  color: aliceblue;
  font-family: Arial, Helvetica, sans-serif;
}

h2,
h3 {
  color: #e0e0e0;
}

header {
  display: flex;
  padding: 5px 20px;
  justify-content: space-between;
  border-bottom: solid 1px #ffffff;
  background-color: rgba(8, 1, 17, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header a {
  text-decoration: none;
}

.ebac-header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  gap: 20px;
}

.ebac-header img {
  max-width: 150px;
  height: auto;
}

.logo {
  display: flex;
  align-items: center;
}
section {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}

nav {
  display: flex;
}

.sac {
  margin: 0 10px;
  border-radius: 15px;
  padding: 12px;
  background-color: #a9ff00;
  color: #dadada;
}

.sac a {
  text-decoration: none;
  color: #312838;
}

button {
  margin: 10px 0;
  border-radius: 15px;
  padding: 14px 16px;
  background-color: #a9ff00;
  color: #000000;
  cursor: pointer;
  font-size: 16px;
}

.veja-mais a {
  color: #dadada;
}

.inicio {
  position: relative;
  height: 85vh;
  margin-top: 0px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: -90px;
  left: 0;
  width: 120%;
  height: calc(100vh + 80px);
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Força reprodução em dispositivos móveis */
  -webkit-playsinline: true;
  -moz-playsinline: true;
  /* Remove controles em todos os navegadores */
  pointer-events: none;
  /* Safari específico - remove controles */
  -webkit-media-controls: none;
  -webkit-media-controls-panel: none;
  -webkit-media-controls-play-button: none;
  -webkit-media-controls-start-playback-button: none;
  /* Firefox específico */
  -moz-user-select: none;
  /* Chrome/Edge específico */
  -webkit-user-select: none;
  user-select: none;
  /* iOS Safari específico */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  /* Força remoção de controles nativos */
  outline: none;
  border: none;
}

/* Remove todos os controles de vídeo - cross-browser */
.video-background video::-webkit-media-controls,
.video-background video::-webkit-media-controls-panel,
.video-background video::-webkit-media-controls-play-button,
.video-background video::-webkit-media-controls-start-playback-button,
.video-background video::-webkit-media-controls-volume-slider,
.video-background video::-webkit-media-controls-mute-button,
.video-background video::-webkit-media-controls-timeline,
.video-background video::-webkit-media-controls-current-time-display,
.video-background video::-webkit-media-controls-time-remaining-display,
.video-background video::-webkit-media-controls-seek-back-button,
.video-background video::-webkit-media-controls-seek-forward-button,
.video-background video::-webkit-media-controls-fullscreen-button,
.video-background video::-webkit-media-controls-rewind-button,
.video-background video::-webkit-media-controls-return-to-realtime-button,
.video-background video::-webkit-media-controls-toggle-closed-captions-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Firefox específico */
.video-background video::-moz-media-controls {
  display: none !important;
}

/* Edge/IE específico */
.video-background video::-ms-media-controls {
  display: none !important;
}

.inicio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.inicio-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 35px;
}
h1 {
  font-size: 2.4em;
  margin: 5px 0;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 1em;
}
p {
  font-size: 14px;
}

.sobre {
  display: flex;
  position: relative;
  justify-content: space-around;
  gap: 40px;
  border-bottom: solid 1px #ffffff;
  margin: 0 20px;
}

.sobre-titulo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-content {
  display: flex;
  gap: 80px;
}

.sobre-titulo img {
  max-width: 400px;
  height: auto;
  border-radius: 7px;
}

.sobre-titulo h2 {
  font-size: 14px;
}

.sobre-content-1,
.sobre-content-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.Metodologia {
  display: grid;
  position: relative;
  gap: 40px;
}

.Metodologia-titulo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 1.5rem;
}

.Metodologia-titulo img {
  width: 500px;
  height: auto;
}

.Metodologia-content {
  display: flex;
  flex-direction: column;
}

.Metodologia-descriçao {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  gap: 20px;
}

.Metodologia-descrição-mobile {
  display: none;
}

.Metodologia-descriçao img {
  width: 500px;
  height: auto;
}

.dicas {
  display: grid;
  position: relative;
  gap: 40px;
}

.dicas-titulo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dicas-content {
  display: flex;
  justify-content: space-between;
}

.dicas-content-1,
.dicas-content-2,
.dicas-content-3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.ajuda {
  display: grid;
  position: relative;
  gap: 40px;
}

.ajuda-titulo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ajuda-content {
  display: flex;
  justify-content: space-between;
}

.ajuda-content-1,
.ajuda-content-2,
.ajuda-content-3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.responsabilidade {
  display: grid;
  position: relative;
  gap: 40px;
}

.responsabilidade-titulo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.responsabilidade-content {
  display: flex;
  justify-content: space-between;
}

.responsabilidade-content-1,
.responsabilidade-content-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.faq {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  padding: 60px;
  text-align: center;
}

.faq-titulo {
  gap: 20px;
  padding-bottom: 30px;
}

.faq-content {
  display: flex;
  flex-direction: column;
  border: solid 1px #ffffff;
  border-radius: 20px;
  padding: 20px;
  background-color: #182299;
  text-align: left;
}

details {
  border-bottom: solid 1px #fff;
}

summary {
  font-weight: 500;
  font-size: 18px;
  padding: 20px;
  display: block;
  padding-left: 2.2rem;
  position: relative;
  cursor: pointer;
  color: #ffffff;
}

.answer {
  font-weight: 300;
  line-height: 1.6em;
  font-size: 16px;
  padding: 20px;
  color: #ffffff;
  margin-top: 0%;
}

summary:before {
  content: "";
  border-width: 0.4rem;
  border-style: solid;
  border-color: transparent transparent transparent #000000;
  position: absolute;
  top: 25px;
  left: 1rem;
  transform: rotate(0);
  transform-origin: 0.2rem 50%;
  transition: 0.02s transform ease;
}

details[open] > summary:before {
  transform: rotate(90deg);
}

details summary::-webkit-details-marker {
  display: none;
}

details > ul {
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.section-bottom {
  border-top: solid 1px #fff;
  margin: 20px;
}

.bottom {
  display: flex;
  justify-content: center;
  align-items: self-start;
  flex-direction: column;
  gap: 10px;
  padding: 26px 0;
  text-align: start;
  font-size: 18px;
}

.footer {
  padding-top: 20px;
  border-top: solid 1px #fff;
  margin: 20px;
}

.footer-content {
  display: flex;
  gap: 10px;
  justify-content: space-around;
}

.footer-content a {
  text-decoration: none;
  color: #ffffff;
}

.footer-logo {
  display: grid;
  align-items: center;
}

.footer-ajuda {
  display: grid;
  gap: 10px;
}

.footer-informacoes {
  display: grid;
  gap: 10px;
}

.footer-license {
  display: grid;
  gap: 5px;
}

.footer-copyright-container {
  display: flex;
  justify-content: center;
}

/* Regras específicas para Safari - força remoção de controles */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .video-background video {
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-media-controls: none !important;
    -webkit-media-controls-panel: none !important;
    -webkit-media-controls-play-button: none !important;
    -webkit-media-controls-start-playback-button: none !important;
  }
  
  .video-background video::-webkit-media-controls-enclosure {
    display: none !important;
  }
}

/* iOS Safari específico - força remoção total de controles */
@supports (-webkit-appearance: none) and (not (background: -webkit-named-image(i))) {
  .video-background video {
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-media-controls: none !important;
    -webkit-media-controls-panel: none !important;
    -webkit-media-controls-start-playback-button: none !important;
    -webkit-media-controls-play-button: none !important;
    -webkit-media-controls-overlay-play-button: none !important;
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  
  .video-background video::-webkit-media-controls-enclosure {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .video-background video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .video-background video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* iOS específico - detecção de dispositivo */
@media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
  .video-background video {
    -webkit-media-controls: none !important;
    -webkit-media-controls-panel: none !important;
    -webkit-media-controls-start-playback-button: none !important;
    -webkit-media-controls-play-button: none !important;
    -webkit-media-controls-overlay-play-button: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    border: none !important;
  }
  
  .video-background video::-webkit-media-controls-enclosure,
  .video-background video::-webkit-media-controls-panel,
  .video-background video::-webkit-media-controls-overlay-enclosure,
  .video-background video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
}

.footer-imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.selo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 150px;
  height: 100%;
  padding: 1rem;
}

.selo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  height: auto;
}

/* Imagens responsivas globais */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-copyright-container{
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
  font-size: 10px;
}


@media (max-width: 1024px) {
  nav {
    display: none;
  }

  .inicio {
    height: 55vh;
    display: flex;
    align-items: start;
    justify-content: end;
    flex-direction: column;
    position: relative;
  }

  .inicio-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
    color: #fff;
    padding: 0 10px;
    line-height: 1;
  }

  .video-background {
    top: -140px;
    width: 100%;
    height: calc(100vh + 40px);
  }
  
  .video-background video {
    /* Garante que o vídeo funcione em mobile */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remove controles em todos os navegadores - mobile */
    pointer-events: none !important;
    -webkit-media-controls: none !important;
    -webkit-media-controls-panel: none !important;
    -webkit-media-controls-play-button: none !important;
    -webkit-media-controls-start-playback-button: none !important;
    -webkit-media-controls-overlay-play-button: none !important;
    -webkit-media-controls-overlay-enclosure: none !important;
    -moz-user-select: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    /* iOS Safari específico */
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    border: none !important;
    /* Força aparência nativa removida */
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  
  /* iOS Safari - força remoção de todos os pseudo-elementos */
  .video-background video::-webkit-media-controls-enclosure,
  .video-background video::-webkit-media-controls-panel,
  .video-background video::-webkit-media-controls-overlay-enclosure,
  .video-background video::-webkit-media-controls-overlay-play-button,
  .video-background video::-webkit-media-controls-play-button,
  .video-background video::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .sobre {
    display: grid;
    padding-top: 20px;
  }

  .sobre-titulo h2 {
    font-size: 28px;
  }

  .sobre-content {
    display: flex;
    flex-direction: column;
  }

  .sobre-content-1,
  .sobre-content-2 {
    padding: 0%;
  }

  .Metodologia {
    display: contents;
  }

  .Metodologia-titulo {
    text-align: center;
    display: flex;
  }

  .Metodologia-titulo img {
    width: 90%;
    height: auto;
  }

  .Metodologia-descriçao {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .Metodologia-descriçao img {
    width: 100%;
    height: auto;
  }

  .dicas-titulo {
    text-align: start;
    padding: 0 10px;
  }

  .dicas-content {
    display: flex;
    flex-direction: column;
  }

  .ajuda-titulo {
    padding: 10px;
  }

  .ajuda-content {
    display: flex;
    flex-direction: column;
  }

  .responsabilidade-titulo {
    padding: 10px;
  }

  .responsabilidade-content {
    display: flex;
    flex-direction: column;
  }

  .faq {
    padding: 5%;
  }

  .faq-content {
    padding: 0%;
  }

  .Metodologia-descrição-pc {
    display: none;
  }

  .Metodologia-descrição-mobile {
    display: grid;
  }

  summary {
    font-weight: 500;
    font-size: 18px;
    padding: 20px;
    display: block;
    padding-left: 2.2rem;
    position: relative;
    cursor: pointer;
  }

  .footer-content {
    display: grid;
  }
}
