* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
}

hr {
  border: none;
  /* remove a borda padrão */
  height: 1px;
  /* espessura da linha */
  background: linear-gradient(90deg, var(--primaria), var(--secundaria));
  margin: 0.5rem 0;
  /* espaço acima e abaixo */
  border-radius: 2px;
  /* opcional, deixa a linha arredondada */
}

:root {
  --secundaria: #0ad0eb;
  --primaria: #0a73eb;
  --escuro: #021133;
  --maisEscuro: #0a0f1c;
  --claro: #e2e8f0;
  --vidro: rgba(255, 255, 255, 1);
}

.container {
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  padding: 0 1rem;
  /* respiro nas laterais */
}

body {
  background-color: rgba(1, 11, 34, 1);
  color: var(--claro);
}

.nav {
  display: flex;
  height: 10vh;
  position: fixed;
  top: 0vh;
  background: rgba(1, 11, 34, 0.9);
  width: 100%;
  z-index: 5;
  padding: 1rem;
  align-items: center;
  justify-items: center;
  border-bottom: 1px solid transparent;
  justify-content: space-between;
  border-image: linear-gradient(90deg, var(--primaria), var(--secundaria)) 1;
}

.menu {
  padding-bottom: 2rem;
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  list-style: none;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid transparent;
  /* define a espessura da borda */
  border-image: linear-gradient(90deg, var(--primaria), var(--secundaria)) 1;
}

#caixa-menu {
  width: 100%;
}

.mobile-menu {
  /*    margin-left: auto;*/
  cursor: pointer;
  display: block;
  flex-direction: column;
  z-index: 6;
  margin-right: 5%;
}

body {
  overflow-x: hidden;
}

.navegacao {
  width: 100%;
  display: flex;
  position: fixed;
  top: -100vh;
  left: 0rem;
  background: rgba(1, 11, 34, 0.8);
  z-index: 4;
  padding-right: 10%;
  padding-left: 10%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.4s ease-in;
  backdrop-filter: blur(2px);
  /* aplica o blur no que está atrás */
  -webkit-backdrop-filter: blur(2px);
  /* compatibilidade com Safari */
}

.navegacao li {
  margin-right: 0;
  opacity: 0;
}

.navegacao.active {
  top: 10vh;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--primaria), var(--secundaria)) 1;
}

.navegacao.active ~ .nav {
  border-bottom: none;
}

.navegacao.active li {
  opacity: 1;
}

.mobile-menu div {
  z-index: 6;
  width: 32px;
  height: 2px;
  background: #fff;
  margin: 8px;
  transition: 0.3s;
}

.menu-link {
  text-decoration: none;
  color: var(--claro);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: 0.3s;
}

.menu-link:hover {
  opacity: 0.7;
}

.menu-link::after {
  content: "";
  height: 2px;
  width: 0%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primaria), var(--secundaria));
  transition: width 0.5s ease;
}

.menu-link:hover::after {
  width: 100%;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -7px);
}

#marca {
  margin-left: 5%;
  position: relative;
  font-size: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

#creditos {
  width: 100%;
  height: 5rem;
  background-color: var(--escuro);
  border-top: 1px solid transparent;
  /* define a espessura da borda */
  border-image: linear-gradient(90deg, var(--primaria), var(--secundaria)) 1;
}

#creditos {
  width: 100%;
  background: var(--escuro);
  height: 50%;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--primaria), var(--secundaria)) 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 2rem;
  color: var(--claro);
}

#social i {
  font-size: 2rem;
  padding: 3px;
  cursor: pointer;
}

#creditos div {
  flex: 1;
  margin: 0 1rem;
}

#creditos h2 {
  font-size: 2rem;
  gap: 3px;
}

#creditos h4 {
  color: var(--primaria);
  margin-bottom: 1rem;
  font-size: 0.7rem;
  padding-left: 3px;
  padding-top: 1px;
}

#creditos h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

#creditos ul {
  list-style: none;
  padding: 0;
}

#creditos ul li {
  margin-bottom: 0.5rem;
}

#creditos a {
  text-decoration: none;
  color: var(--claro);
  transition: 0.3s;
}

#creditos a:hover {
  color: var(--secundaria);
}

@media (max-width: 768px) {
  #creditos {
    flex-direction: column;
    /* empilha os blocos */
    align-items: flex-start;
    /* mantém alinhado à esquerda */
    padding: 1.5rem;
  }

  #creditos div {
    width: 100%;
    /* cada bloco ocupa toda a largura */
    margin-bottom: 1.5rem;
    /* espaço entre eles */
  }

  #creditos h2 {
    margin-bottom: 0.5rem;
  }

  #creditos ul li {
    margin-bottom: 0.3rem;
  }
}

#button {
  color: black;
  font-size: 20px;
  background: linear-gradient(45deg, var(--primaria), var(--secundaria));
  padding: 1rem 2rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: all 0.5s ease;
  margin-bottom: 2rem;
  max-width: 40rem;
}

#button:hover {
  background: linear-gradient(90deg, var(--secundaria), var(--primaria));
  /* inverte o gradiente */
  transform: scale(1.05);
  /* dá um leve zoom */
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  /* adiciona sombra */
  opacity: 0.9;
  /* suaviza */
}

#encerramento {
  position: relative;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--escuro);
  text-align: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--primaria), var(--secundaria)) 1;
}

#final {
  display: flex;
  color: cadetblue;
}

.menu-link.active {
  color: #00c8d6;
  /* ciano fraquinho */
  cursor: default;
  /* desativa o ponteiro */
  pointer-events: none;
  /* não deixa clicar */
}

.menu-link.active::after {
  width: 0 !important;
  /* remove efeito da linha */
}

.menu-link.active:hover {
  color: #00c8d6;
  /* mantém cor */
  opacity: 1;
  /* sem transparência */
}

.servicos-section {
  padding: 4rem 0;
  background-color: rgba(1, 11, 34, 1);
}

.servicos-header {
  margin-top: 2rem;
  text-align: center;
  margin-bottom: 3.5rem;
}

.servicos-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.servicos-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.card-servico {
  background: linear-gradient(135deg, rgb(0, 29, 95), rgba(0, 17, 48, 0.7));
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.card-servico:hover {
  transform: translateY(-5px);
  border-color: var(--secundaria);
}

.icon-box {
  background-color: #0c2340;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-box i {
  color: var(--secundaria);
  font-size: 1.8rem;
}

.card-servico h2 {
  font-size: 1.4rem;
  color: var(--claro);
  margin-bottom: 0.5rem;
}

.card-descricao {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 2.8rem;
  line-height: 1.4;
}

.card-lista {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.card-lista li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.card-lista li i {
  color: var(--secundaria);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.card-preco {
  color: var(--secundaria);
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: auto;
}

.cta-box {
  background: linear-gradient(135deg, #021133 0%, #051e4a 100%);
  border: 1px solid #102a54;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.btn-cta {
  background: linear-gradient(90deg, var(--primaria), var(--secundaria));
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(10, 208, 235, 0.4);
}

@media (max-width: 1024px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .servicos-header h1 {
    font-size: 2rem;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }
}

/* Botão do CTA */
.btn-cta {
  background: linear-gradient(90deg, var(--primaria), var(--secundaria));
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  /* Alinha o texto e o ícone perfeitamente no centro */
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* Efeito de rotação/zoom no botão padrão */
.btn-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(10, 208, 235, 0.4);
}

/* Faz a flechinha dar um leve salto para a direita no hover */
.btn-cta i {
  transition: transform 0.3s ease;
}

.btn-cta:hover i {
  transform: translateX(4px);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--maisEscuro);
}

::-webkit-scrollbar-thumb {
  background: var(--escuro);
  border-radius: 20px;
  border: 2px solid var(--maisEscuro);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primaria);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  margin-left: 5%;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
}

.logo-texto {
  font-size: 25px;
  color: #fff;
  font-weight: 600;
}

.logo-final {
  display: flex;
  flex-direction: row;
}

.painel-alerta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(10, 115, 235, 0.12);
  border: 1px solid rgba(10, 208, 235, 0.35);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.contador-servicos {
  margin-bottom: 1.5rem;
}

.contador-servicos p {
  color: var(--claro);
  font-size: 1rem;
}

.layout-busca {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.sidebar-filtros {
  width: 320px;
  flex-shrink: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 53, 0.96),
    rgba(2, 17, 51, 0.96)
  );
  border: 1px solid rgba(10, 208, 235, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.pedidos-filtros {
  position: sticky;
  top: 6.5rem;
}

.sidebar-filtros h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.icon-amarelo {
  color: #facc15;
}

.grupo-filtro {
  margin-bottom: 1.15rem;
}

.grupo-filtro label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--claro);
  font-weight: 600;
}

.grupo-filtro input,
.grupo-filtro select,
.chat-form textarea {
  width: 100%;
  background: rgba(2, 17, 51, 0.88);
  color: var(--claro);
  border: 1px solid rgba(10, 208, 235, 0.18);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.grupo-filtro input::placeholder,
.chat-form textarea::placeholder {
  color: rgba(226, 232, 240, 0.46);
}

.input-icone {
  position: relative;
}

.input-icone i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: rgba(226, 232, 240, 0.46);
}

.input-icone input {
  padding-left: 2.7rem;
}

.btn-limpar {
  width: 100%;
  border: 1px solid rgba(10, 208, 235, 0.25);
  background: transparent;
  color: var(--claro);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
}

.pedidos-board {
  flex: 1;
  min-width: 0;
}

.orders-board {
  display: grid;
  gap: 1rem;
}

.pedido-card,
.chat-panel {
  background: linear-gradient(
    180deg,
    rgba(6, 20, 53, 0.96),
    rgba(2, 17, 51, 0.96)
  );
  border: 1px solid rgba(10, 208, 235, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.pedido-card {
  padding: 1.4rem;
}

.pedido-card-topo {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pedido-cliente,
.pedido-resumo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pedido-cliente strong {
  font-size: 1.25rem;
  color: #fff;
}

.pedido-cliente p,
.pedido-resumo p,
.pedido-meta-card p,
.pedido-personalizado {
  color: rgba(226, 232, 240, 0.8);
}

.pedido-badge-cliente,
.pedido-badge-servico {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.84rem;
}

.pedido-badge-cliente {
  background: rgba(10, 208, 235, 0.16);
  color: var(--secundaria);
}

.pedido-badge-servico {
  background: rgba(10, 115, 235, 0.2);
  color: var(--claro);
}

.pedido-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.pedido-meta-card {
  background: rgba(1, 11, 34, 0.82);
  border: 1px solid rgba(10, 208, 235, 0.12);
  border-radius: 18px;
  padding: 1rem;
}

.pedido-meta-titulo {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--secundaria);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pedido-meta-card small {
  color: rgba(226, 232, 240, 0.58);
}

.pedido-personalizado {
  margin-top: 0.9rem;
  padding: 1rem;
  background: rgba(10, 208, 235, 0.08);
  border-radius: 16px;
}

.pedido-acoes {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.chat-panel {
  margin-top: 1.5rem;
  padding: 1.4rem;
}

.chat-header {
  margin-bottom: 1rem;
}

.chat-header p {
  color: rgba(226, 232, 240, 0.72);
  margin-top: 0.25rem;
}

.chat-messages {
  min-height: 220px;
  max-height: 420px;
  overflow-y: auto;
  background: rgba(1, 11, 34, 0.82);
  border: 1px solid rgba(10, 208, 235, 0.12);
  border-radius: 18px;
  padding: 1rem;
}

.chat-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-form textarea {
  min-height: 96px;
  resize: vertical;
}

.feedback-message {
  min-height: 3rem;
  margin-top: 0.75rem;
  display: block;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feedback-message.error {
  color: #ffb4b4;
}

.feedback-message.success {
  color: #95f0c0;
}

.feedback-message.toast-popup {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  max-width: min(90vw, 420px);
  min-height: auto;
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(2, 17, 51, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.feedback-message.toast-popup.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .layout-busca {
    flex-direction: column;
  }

  .sidebar-filtros {
    width: 100%;
    position: static;
  }

  .pedido-meta-grid {
    grid-template-columns: 1fr;
  }

  .chat-form {
    flex-direction: column;
    align-items: stretch;
  }
}
