/* =========================
   Estilos Globais
========================= */
:root {
  --bg: #0c0c0f;
  --panel: rgba(255,255,255,0.03);
  --cta: #e50914;
  --cta-hover: #ff1e26;
  --accent2:#1a54d4; 
  --accent: #007bff;
  --muted-text: #aaa;
  --whatsapp: #25d366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: var(--bg) url("noise.png");
  color: #fff;
  line-height: 1.6;
}

/* Aplica suavização de fontes para todo o site */
body, h1, h2, h3, h4, h5, h6, p, span, a, li {
    -webkit-font-smoothing: antialiased; /* Chrome, Safari, Opera */
    -moz-osx-font-smoothing: grayscale;  /* Firefox */
    text-rendering: optimizeLegibility;  /* Melhor legibilidade */
    font-smooth: always;                /* CSS antigo, opcional */
}

/* =========================
   CURSORES
========================= */

  body, html { cursor: url('Cursor.png'), auto; }
  body:active { cursor: url('CursorPush.png'), auto; }

  a:hover,
  .button-box:hover,
  .info-icon:hover {
    cursor: url('CursorGet.png'), pointer;
  }

/* Cursor bloqueado */
.cursor-dontmove,
button[disabled],
.button-box.disabled,
.no-click {
  cursor: url('CursorDontMove.png') 4 4, not-allowed !important;
}

  * { transition: cursor 0.1s ease; }

  ::-webkit-scrollbar { width: 12px; }
  ::-webkit-scrollbar-track { background: #000; }
  ::-webkit-scrollbar-thumb {
    background-color: #888; border-radius: 6px; border: 3px solid #000;
  }

  * { scrollbar-width: thin; scrollbar-color: #fff #010513; }
  
  /* Cursor ao passar sobre qualquer elemento clicável */
.button-box:hover,
.info-icon:hover,
#lang-switcher button:hover,
.modal-close:hover,
a:hover {
  cursor: url('CursorGet.png'), pointer;
}


/* =========================
   Títulos e textos
========================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

h3 {
  font-size: 22px;
}

h1 {
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 0px rgba(0,0,0,0.8);
}

.lead {
  font-size: 17px;
  color: var(--muted-text);
}

/* =========================
   Grid e Cards
========================= */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 30px rgba(0,0,0,0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 30px rgba(229,9,20,0.9);
}

/* =========================
   Botões
========================= */

.btn {
  display: inline-block;
  padding: 13px 25px;
  border-radius: 50px;
  font-weight: 550;
  font-size: 13px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-details {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 0 10px rgba(229,9,20,0.6);
    font-size: 15px; /* ajuste para o tamanho que quiser */
    padding: 12px 28px; /* aumenta também o padding para ficar proporcional */
}

.btn-details:hover {
  background: var(--cta-hover);
  box-shadow: 0 0 20px rgba(229,9,20,0.8);
}

.btn-video {
  color: #fff;
    font-size: 15px; /* ajuste para o tamanho que quiser */
    padding: 10px 26px; /* aumenta também o padding para ficar proporcional */
}

.btn-video:hover {
  box-shadow: 0 0 20px rgba(229,9,20,0.8);
}

.btn-video:hover {
  background: var(--cta);
  color: #fff;
}

/* =========================
   EFEITO FLASH TITULO
========================= */
.flash {
  animation: flash-animation 3s infinite;
}

@keyframes flash-animation {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.05; }
}

/* =========================
   Modal de Vídeo
========================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-modal.show {
  display: flex;
}

.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
}

.close-video {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* =========================
   WhatsApp Flutuante
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--whatsapp);
  border-radius: 50%;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 2s infinite;
  z-index: 1000;
}

.whatsapp-logo {
  width: 36px;
  height: 36px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================
   Footer
========================= */
footer {
  position: relative;
  z-index: 9999;
  text-align: center;
  padding: 40px 20px;
  background: var(--panel);
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer a img {
  pointer-events: auto;
}

  .socials{display:flex;gap:14px;justify-content:center;margin-top:12px}
  .socials img{width:28px;height:28px;filter:grayscale(0.03);opacity:0.95}

/* =========================
   Responsividade
========================= */
@media (max-width: 768px) {
  h1 {
    font-size: 42px;
  }
  .btn {
    padding: 12px 22px;
  }
  .whatsapp-logo {
    width: 36px;
    height: 36px;
  }
}

/* =========================
   Background Video
========================= */

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* deixa atrás do conteúdo */
}

/* Esconde o poster quando o vídeo começar a tocar */
#bgVideo.loaded + #videoPoster {
  opacity: 0;
}

.video-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover; /* cobre toda a tela sem distorcer */
  opacity: 0.23; /* diminui a opacidade */
}

#videoPoster,
#bgVideo {
  transition: opacity 1s ease-in-out;
}

/* Assim que o vídeo carregar, o poster desaparece suavemente */
.hide-poster {
  opacity: 0;
}
