/* 1. Reset e Box-Sizing */
* {
  max-width: 100vw;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}

/* 2. Corpo da página */
body {
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: url('../css/images/krona.jpg') center/cover no-repeat fixed;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 60px;
}



/* 3. Hamburger e Menu */
.hamburguer {
  display: none;
  position: fixed;
  top: 12px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2001;
}
.hamburguer span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;                   /* espessura igual ao logo */
  background: #00e5ff;
  border-radius: 2px;
  transform-origin: center;      /* gira em torno do centro */
  transition: transform 0.4s ease, top 0.4s ease;
}

/* dois paus bem alinhados no estado normal */
.hamburguer span:nth-child(1) { top: 12px; }
.hamburguer span:nth-child(2) { top: 23px; }

/* ao clicar: fusão no meio e rotação nos ângulos do seu X */
.hamburguer.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(40deg);  
}
.hamburguer.active span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%) rotate(-40deg);
}

.botoes-container.return {
  justify-content: flex-start;
  margin: 0;
  padding: 4px 16px;   /* menos padding que antes */
}
main {
  margin: 0;
  padding: 0;
}
.section {
  margin: 0 0 20px;    /* apenas margem embaixo */
  padding: 0;
}
.section:first-of-type {
  margin-top: 0;
}

/* Menu desktop padrão */
.menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.menu a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 10px 20px;
  transition: color 0.3s ease;
}
.menu a:hover {
  color: #007bff;
}

/* Botões do menu principal */
.menu-btn {
  --btn-color: #0ff;
  position: relative;
  margin: 0 8px;
  padding: 12px 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--btn-color);
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid var(--btn-color);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-shadow:
    0 0 4px var(--btn-color),
    0 0 8px var(--btn-color);
}
.menu-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 255, 255, 0.8),
    transparent
  );
  transform: skewX(-25deg);
}
.menu-btn:hover,
.menu-btn:focus {
  animation: btn-glow 1.5s infinite;
  transform: translateY(-3px) scale(1.05);
}
.menu-btn:hover::after,
.menu-btn:focus::after {
  left: 100%;
  transition: left 0.6s ease-in-out;
}

@keyframes btn-glow {
  0%,100% {
    box-shadow:
      0 0 6px var(--btn-color),
      0 0 12px rgba(0,255,255,0.5);
  }
  50% {
    box-shadow:
      0 0 12px var(--btn-color),
      0 0 24px rgba(0,255,255,0.7);
  }
}
.main-dash {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: 2rem 1rem;
}
/* 🔹 Seção do mockup */
.mockup-section {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 1000px;
}

/* 🔹 Imagem do mockup */
.mockup-img {
  margin-top: 290px;
  max-width: 400px;
  width: 80%;
  height: auto;
  border: 4px solid #00e5ff;
  border-radius: 8px;
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.5),
    inset 0 0 10px rgba(0, 255, 255, 0.3);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* classe que o JS vai adicionar pra revelar o mockup */
/* .mockup-img.visible {
  opacity: 1;
  transform: scale(1);
}
.mockup-container {
  position: relative;
  display: inline-block;
} */

.painel-espacial {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  margin: 2rem auto;
  max-width: 1000px;
}

.card-frota {
  background-color: #111;
  color: #0ff;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  padding: 1.2rem;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  font-family: 'Orbitron', sans-serif;
  transition: transform 0.3s ease;
}

.card-frota:hover {
  transform: translateY(-5px) scale(1.02);
}

.card-frota img {
  height: 40px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 3px cyan);
}

.card-frota.total {
  background-color: #0c0c0c;
  border-color: #00e5ff;
}

section.check {
  max-width: 800px;
  margin: 24px auto;
  padding: 24px 32px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

section.check h1 {
  font-size: 2rem;
  color: #0ff;
  text-shadow: 0 0 6px #0ff;
  margin-bottom: 16px;
  text-align: center;
}

section.check ul {
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin: 0;
}
section.check ul li {
  position: relative;
  counter-increment: passo;
  padding: 12px 16px 12px 56px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: #fafafa;
  border-radius: 4px;
  transition: background 0.2s;
}
section.check ul li::before {
  content: counter(passo);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #00e5ff;
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

section.check ul li:hover {
  background: rgba(0, 255, 255, 0.1);
}


/* ======================
   6. Responsividade
   ====================== */

/* Grandes tablets até 992px */
@media (max-width: 992px) {
  section.check {
    max-width: 90%;
    padding: 20px;
    margin: 24px auto;
  }
}

@media (max-width: 768px) {
  /* Card do checklist ocupa quase toda a largura */
  section.check {
    max-width: 100%;
    margin: 16px 8px;
    padding: 16px;
  }
  .mockup-img{
    display: none;
  }

  /* Título menor */
  section.check h1 {
    font-size: 1.6rem;
  }

  /* Lista com padding reduzido */
  section.check ul li {
    padding: 10px 14px 10px 44px;
  }
  section.check ul li::before {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    left: 12px;
  }

  /* Botão de voltar mais compacto */
  .botoes-container.return {
    max-width: 100%;
    margin: 12px 8px;
    padding: 0 16px;
  }
  .botoes-container.return .menu-btn {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  section.check h1 {
    font-size: 1.4rem;
  }
  section.check ul li {
    padding: 8px 12px 8px 36px;
  }
  section.check ul li::before {
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    left: 10px;
  }
}

@media (max-width: 768px) {
  .menu {
    display: none;            /* esconde menu desktop */
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 1rem;
    width: auto;
  }
  .menu.active {
    display: flex;           /* exibe menu mobile quando ativo */
  }
  .menu-btn {
    margin: 0.5rem 0;
    padding: 0.6rem 1.2rem;
  }
  .hamburguer {
    display: flex;           /* mostra hamburger em mobile */
  }
}

/* 5. Títulos e textos */
@keyframes brilho {
  0%   { text-shadow: 0 0 5px red; }
  50%  { text-shadow: 0 0 15px red; }
 100%  { text-shadow: 0 0 5px red; }
}
h1 {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(45deg, red, black);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilho 2s infinite alternate;
}
h2 {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  color: white;
  margin-top: 20px;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* 6. H3 “neon toggle” */
h3 {
  --neon-color: #0ff;
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-color);
  background: rgba(0,0,0,0.3);
  padding: 14px 28px;
  margin: 20px auto;
  max-width: 400px;
  border: 2px solid rgba(0,255,255,0.6);
  border-radius: 6px;
  box-shadow:
    0 0 8px rgba(0,255,255,0.5),
    0 4px 16px rgba(0,0,0,0.4);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: neonFlicker 3s infinite;
}
h3::before {
  content: "";
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 1px dashed rgba(0,255,255,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
h3:hover {
  background: rgba(0,0,0,0.6);
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 0 12px var(--neon-color),
    0 8px 24px rgba(0,0,0,0.5);
}
h3:hover::before {
  opacity: 1;
}
@keyframes neonFlicker {
  0%,18%,22%,25%,53%,57%,100% {
    text-shadow:
      0 0 4px var(--neon-color),
      0 0 8px var(--neon-color),
      0 0 16px rgba(0,255,255,0.2);
  }
  20%,24%,55% {
    text-shadow: none;
  }
}

/* 7. Overlay e Card */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  z-index: 1980;
  transition: opacity 0.4s ease;
}
.overlay.mostrar {
  opacity: 1;
  visibility: visible;
}
.card {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: none;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.4);
  box-shadow:
    0 0 8px rgba(0,255,255,0.3),
    0 0 32px rgba(0,255,255,0.15),
    inset 0 0 20px rgba(0,255,255,0.1);
  backdrop-filter: blur(8px) saturate(180%);
  color: cyan;
  padding: 40px 30px;
  border-radius: 12px;
  z-index: 2000;
  animation: hologramOn 0.6s ease-out forwards;
}
.card.mostrar {
  display: flex;
}
@keyframes hologramOn {
  0%   { transform: translate(-50%,-50%) scale(0.85) rotateX(20deg); opacity:0; filter: brightness(0.5) blur(2px); }
  50%  { transform: translate(-50%,-50%) scale(1.02); filter: brightness(1.5); }
 100%  { transform: translate(-50%,-50%) scale(1) rotateX(0deg); opacity:1; filter: brightness(1); }
}
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(0,255,255,0.2);
  box-shadow: 0 0 12px rgba(0,255,255,0.4);
  animation: pulseGlow 2s infinite;
  border-radius: inherit;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%,100% { opacity: 0.6; }
  50%     { opacity: 1; }
}
.close {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  font-size: 10px;
}

/* 8. Botões dinâmicos e listas */
.botoes-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
  margin-top: 40px;
  z-index: 1;
}
.botoes-container button {
  padding: 15px 18px;
  background: rgba(0,0,0,0.85);
  color: white;
  font-size: 16px;
  border-radius: 4px;
  transition: transform 0.4s ease-in-out, background 0.3s ease;
}
.botoes-container button:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.07);
  box-shadow: 0 6px 12px rgba(255,255,255,0.3);
}
@keyframes pulse { 0%{scale:1}50%{scale:1.07}100%{scale:1} }

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul > li, ol > li, span {
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}
ul > li:hover, ol > li:hover, span:hover {
  background: rgba(0,0,0,0.9);
}

/* 9. Toggle content e fade-in */
.content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  display: block;
}
.toggle {
  transition: all 0.3s ease;
}
.toggle.ativo {
  background: #808080;
  color: white;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  transform: scale(0.98);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}
/* Destacar seção de checklist */
.section.show-inline.fade-in {
  background: rgba(0, 0, 0, 0.75);  /* fundo escuro semi-opaco */
  padding: 24px 32px;               /* espaço interno confortável */
  border-radius: 8px;               /* cantos arredondados */
  max-width: 800px;                 /* largura máxima para leitura */
  margin: 0 auto 20px;              /* centraliza e afasta do próximo bloco */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Título maior e cor de destaque */
.section.show-inline.fade-in h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #0ff;                      /* cor ciano Krona Maxx */
  text-shadow: 0 0 6px #0ff;
}

/* Parágrafo com boa legibilidade */
.section.show-inline.fade-in p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fafafa;
}

/* Se quiser um leve blur no fundo da imagem atrás do bloco */
.section.show-inline.fade-in {
  position: relative;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* 10. Alertas e footer */
.alert {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: #faf1f1;
  padding: 12px;
  background: rgba(255,0,0,0.3);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255,0,0,0.4);
  animation: alertaPisca 1.5s infinite alternate;
}
@keyframes alertaPisca {
  0%   { background: rgba(255,0,0,0.5); }
  50%  { background: rgba(255,0,0,0.9); }
 100%  { background: rgba(255,0,0,0.5); }
}
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #333;
  color: white;
  text-align: center;
  padding: 10px;
  z-index: 1000; 
}



@media screen and (max-width: 768px) {
    .card {
        width: 80%;
        padding: 20px;
    }
    .menu {
        flex-direction: row; /* Mantém os itens lado a lado */
        justify-content: center; /* Centraliza os itens */
        padding: 10px;
        flex-wrap: wrap; /* Permite que os itens se ajustem */
    }

    .menu a {
        font-size: 0.9rem;
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .card {
        width: 90%;
        padding: 15px;
    }
    @media screen and (max-width: 768px) {
    .hamburguer {
      display: flex;
    }

    .menu {
      display: none;
      flex-direction: column;
      background-color: rgba(0, 0, 0, 0.9);
      position: fixed;
      top: 40px;
      right: 0;
      width: 100%;
      padding: 10px 0;
    }

    .menu.ativo {
      display: flex;
    }

    .menu a {
      padding: 12px;
      text-align: center;
    }
  }
    .menu {
        flex-direction: row; /* Caso seja necessário, pode alternar para um menu em coluna */
        align-items: center;
    }

    .menu a {
        display: block;
        padding: 6px;
        font-size: 0.8rem;
    }

    .botoes-container {
        flex-direction: column;
        align-items: center;
    }
  }

