/* ============================================
   TAMANHOS DE PARÁGRAFOS — NORMALIZAR
   ============================================ */

p,
li,
.giss-paragrafo {
  font-size: var(--fs-body);
  line-height: 1.65;
}

/* Parágrafos secundários, descrições, intros */
[class*="__texto"],
[class*="__descricao"],
[class*="__desc"],
[class*="__intro"],
[class*="__copy"],
[class*="__nota"] {
  font-size: var(--fs-body-sm);
}

/* Notas pequenas, legendas, metadados */
[class*="__small"],
[class*="__legenda"],
[class*="__meta"] {
  font-size: var(--fs-small);
}

/* Labels, tags, eyebrows */
[class*="__label"],
[class*="__tag"],
[class*="__eyebrow"] {
  font-size: var(--fs-xs);
}

/* ============================================
   GISS 2027 — BASE (Reset + Utilitários)
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fonte-corpo);
  font-size: var(--fs-body);
  font-weight: var(--peso-regular);
  line-height: var(--lh-corpo);
  color: var(--giss-texto);
  background-color: var(--giss-branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Títulos e subtítulos — Manrope */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fonte-titulo);
  font-weight: var(--peso-bold);
  line-height: var(--lh-titulo);
  letter-spacing: var(--ls-titulo);
  color: var(--giss-texto-escuro);
}

[class*="titulo"],
[class*="subtitulo"],
[class*="title"],
[class*="subtitle"] {
  font-family: var(--fonte-titulo);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transicao);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transicao);
}

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--peso-bold);
  line-height: var(--lh-titulo);
  letter-spacing: var(--ls-titulo);
  color: var(--giss-texto-escuro);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  line-height: var(--lh-corpo);
  color: var(--giss-texto);
}

/* ---------- CONTAINERS ---------- */
.giss-container {
  width: 100%;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 var(--padding-lateral);
}

.giss-container--fluid {
  width: 100%;
  padding: 0 var(--padding-lateral);
}

/* ---------- SECÇÕES ---------- */
.giss-section {
  padding: var(--espaco-3xl) 0;
}

.giss-section--sm {
  padding: var(--espaco-2xl) 0;
}

.giss-section--dark {
  background-color: var(--giss-azul-escuro);
  color: var(--giss-branco);
}

.giss-section--light {
  background-color: var(--giss-cinza-claro);
}

/* ---------- UTILITÁRIOS DE TEXTO ---------- */
.giss-eyebrow {
  font-family: var(--fonte-principal);
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--peso-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--giss-azul);
  margin-bottom: var(--espaco-sm);
}

.giss-eyebrow--white {
  color: var(--giss-branco);
}

.giss-texto-amarelo {
  color: var(--giss-texto-amarelo);
}

.giss-texto-sec {
  color: var(--giss-texto-sec);
}

/* ---------- UTILITÁRIOS DE ALINHAMENTO ---------- */
.giss-text-center { text-align: center; }
.giss-text-left   { text-align: left; }
.giss-text-right  { text-align: right; }

/* ---------- UTILITÁRIOS DE ESPAÇAMENTO ---------- */
.giss-mt-sm { margin-top: var(--espaco-sm); }
.giss-mt-md { margin-top: var(--espaco-md); }
.giss-mt-lg { margin-top: var(--espaco-lg); }
.giss-mt-xl { margin-top: var(--espaco-xl); }

.giss-mb-sm { margin-bottom: var(--espaco-sm); }
.giss-mb-md { margin-bottom: var(--espaco-md); }
.giss-mb-lg { margin-bottom: var(--espaco-lg); }
.giss-mb-xl { margin-bottom: var(--espaco-xl); }

/* ---------- LINKS ---------- */
.giss-link {
  color: var(--giss-azul);
  font-weight: var(--peso-medium);
  transition: var(--transicao);
  text-decoration: none;
}

.giss-link:hover {
  color: var(--giss-azul-escuro);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.giss-link--arrow::after {
  content: ' →';
  transition: var(--transicao);
  display: inline-block;
}

.giss-link--arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- IMAGENS COM RADIUS ---------- */
.giss-img-rounded {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ---------- UTILITÁRIOS DE VISIBILIDADE ---------- */
.giss-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   SCROLL REVEAL / FADE UP
   ============================================ */

/* Estado inicial — invisível e deslocado para baixo */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

/* Estado final — visível e no sítio */
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Delays para sequência em cards */
.reveal--d1 { --d: 0.15s; }
.reveal--d2 { --d: 0.30s; }
.reveal--d3 { --d: 0.45s; }
.reveal--d4 { --d: 0.60s; }
.reveal--d5 { --d: 0.75s; }

/* ============================================
   ACESSIBILIDADE — REDUZIR MOVIMENTO
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal fica visível (sem fade) */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Ken Burns desativado */
  .giss-hero__bg img {
    animation: none !important;
  }
}

/* ============================================
   PONTO AZUL — EYEBROW REUTILIZÁVEL
   ============================================ */

.giss-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--giss-azul);
  border-radius: 50%;
  flex-shrink: 0;
  
}
.giss-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

/* ============================================
   PAGE HERO COM IMAGEM DE FUNDO
   ============================================ */

.giss-page-hero--image {
  position: relative;
  background-color: var(--giss-azul);     
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.giss-page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 60, 0.75) 0%,
    rgba(0, 30, 60, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.giss-page-hero--image > * {
  position: relative;
  z-index: 2;
}
