/* =============================================
   PSB DENUNCIADO — STYLE.CSS
   ============================================= */

/* =============================================
   FONTES CUSTOMIZADAS
   Coloque os arquivos na pasta /fonts/
   ============================================= */

/* Druk Super — títulos em vermelho */
@font-face {
  font-family: 'Druk';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src:
    local('Druk Super'),
    local('Druk-Super'),
    url('fonts/Druk-Super.otf') format('opentype'),
    url('fonts/Druk-Super.ttf') format('truetype'),
    url('fonts/DrukSuper.otf') format('opentype'),
    url('fonts/Druk Super.otf') format('opentype');
}

/* Myriad Pro Regular */
@font-face {
  font-family: 'Myriad Pro';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src:
    local('Myriad Pro'),
    local('MyriadPro-Regular'),
    local('Myriad Pro Regular'),
    url('fonts/MyriadPro-Regular.otf') format('opentype'),
    url('fonts/MYRIADPRO-REGULAR.OTF') format('opentype'),
    url('fonts/MyriadPro-Regular.ttf') format('truetype');
}

/* Myriad Pro Bold */
@font-face {
  font-family: 'Myriad Pro';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src:
    local('Myriad Pro Bold'),
    local('MyriadPro-Bold'),
    local('Myriad Pro Semibold'),
    url('fonts/MyriadPro-Bold.otf') format('opentype'),
    url('fonts/MYRIADPRO-BOLD.OTF') format('opentype'),
    url('fonts/MyriadPro-Bold.ttf') format('truetype');
}

/* =============================================
   RESET & BASE
   ============================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
}

/* =============================================
   SLIDES — POSIÇÃO FIXA (FULLSCREEN STACK)
   ============================================= */

.slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Estado padrão: invisível, sem interação */
  opacity: 0;
  pointer-events: none;
  z-index: 10;

  /* Transição de fade padrão (seções 2-18) */
  transition: opacity 0.9s ease;
}

/* Seção 1 — começa visível */
#section-1 {
  opacity: 1;
  pointer-events: all;
  z-index: 20;
  /* A seção 1 usa transform para o slide, sem transição de opacity */
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Seção 2 — começa fora da tela (abaixo), mas com opacity 1 */
#section-2 {
  opacity: 1;
  pointer-events: none;
  z-index: 20;
  transform: translateY(100%);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Seções 3-18 — fade (opacity 0 → 1), sem transform */
.slide.fade-section {
  transform: none !important;
  transition: opacity 0.9s ease;
}

/* Estado ativo — seção visível */
.slide.is-active {
  opacity: 1;
  pointer-events: all;
}

/* =============================================
   OVERLAY ESCURO SOBRE O BG
   ============================================= */

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

/* =============================================
   CONTEÚDO DOS SLIDES
   ============================================= */

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  padding: 80px 60px;
  text-align: center;
}

/* =============================================
   TIPOGRAFIA — TÍTULOS (Druk Super)
   ============================================= */

.title-main {
  font-family: 'Druk', 'Impact', 'Arial Black', sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  color: #cc0000;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.0;
  margin-bottom: 0.3em;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

/* Título mais extenso: mantém "OPERAÇÃO CHECK-IN" em uma única linha. */
#section-4 .title-main {
  font-size: clamp(1.85rem, 5.4vw, 5.5rem);
  white-space: nowrap;
}

/* =============================================
   SUBTÍTULOS AMARELOS (Myriad Pro Bold)
   ============================================= */

.subtitle-yellow {
  font-family: 'Myriad Pro', 'Calibri', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  color: #f5c400;
  line-height: 1.35;
  margin-bottom: 1.1em;
}

.underline-yellow {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.underline-span {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* =============================================
   CORPO DO TEXTO (Myriad Pro Regular + Bold)
   ============================================= */

.body-text {
  text-align: center;
  margin-top: 0.4em;
}

.body-text p {
  font-family: 'Myriad Pro', 'Calibri', 'Trebuchet MS', sans-serif;
  font-weight: 400;
  font-size: clamp(0.92rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 0.9em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.body-text p strong {
  font-family: 'Myriad Pro', 'Calibri', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

/* Links das fontes: preservam a composição visual e indicam interação. */
.slide-content a:not(.dot) {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.slide-content a:not(.dot):hover,
.slide-content a:not(.dot):focus-visible {
  color: #f5c400;
}

.slide-content a:not(.dot):focus-visible {
  outline: 2px solid #f5c400;
  outline-offset: 3px;
}

/* =============================================
   NAVEGAÇÃO LATERAL — BOLINHAS
   ============================================= */

.dot-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}

.dot-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dot-nav a.dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.dot-nav a.dot .dot-label {
  font-family: 'Myriad Pro', 'Calibri', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
  line-height: 1;
  user-select: none;
}

.dot-nav a.dot:hover,
.dot-nav a.dot.is-dot-active {
  background: #cc0000;
  border-color: #cc0000;
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(204, 0, 0, 0.65);
}

.dot-nav a.dot.is-dot-active .dot-label,
.dot-nav a.dot:hover .dot-label {
  color: #fff;
}

/* Tooltip ao hover */
.dot-nav a.dot::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.88);
  color: #f5c400;
  font-family: 'Myriad Pro', 'Calibri', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(245, 196, 0, 0.3);
}

.dot-nav a.dot:hover::before {
  opacity: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .slide-content {
    padding: 50px 24px;
  }

  .dot-nav {
    right: 10px;
  }

  .dot-nav a.dot {
    width: 20px;
    height: 20px;
  }

  .dot-nav a.dot .dot-label {
    font-size: 6px;
  }

  .title-main {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .subtitle-yellow {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .body-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .slide-content {
    padding: 40px 16px;
  }

  .dot-nav a.dot::before {
    display: none;
  }
}
