/* =========================================================
   GOTHAM — @font-face declarations
   Apenas os weights/italics realmente referenciados pelos CSS.
   Italic 700/800 é sintetizado pelo navegador caso necessário.
   ========================================================= */

@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/gotham/otf/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/gotham/otf/Gotham-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/gotham/ttf/GothamMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/gotham/ttf/GothamMediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/gotham/ttf/GothamBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/gotham/ttf/GothamBlack.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

/* Oculta a scrollbar nativa sem remover o scroll */
html {
  scrollbar-width: none;       /* Firefox */
}
::-webkit-scrollbar {
  display: none;               /* Chrome / Safari / Edge */
}

/* Scrollbar personalizada sobreposta (criada via JS) */
.custom-scrollbar {
  position: fixed;
  top: 0;
  right: 4px;
  width: 5px;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;        /* cliques passam por baixo */
}

.custom-scrollbar__thumb {
  position: absolute;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-full);
  transition: opacity var(--transition-base), background-color var(--transition-fast);
  opacity: 0;
  pointer-events: auto;        /* thumb é clicável/arrastável */
  cursor: grab;
}

.custom-scrollbar__thumb:hover {
  background: rgba(0, 0, 0, 0.38);
}

.custom-scrollbar__thumb.dragging {
  cursor: grabbing;
  background: rgba(0, 0, 0, 0.45);
  transition: none;            /* sem lag no arrasto */
}

.custom-scrollbar.active .custom-scrollbar__thumb {
  opacity: 1;
}

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

section {
  padding-block: var(--space-20);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: var(--text-2xl);
  }

  section {
    padding-block: var(--space-12);
  }
}
