@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Karla:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #1E4C61;
  --navy-2: #153645;
  --sand: #F8F9FA;
  --sand-2: #E9ECEF;
  --coral: #F5A58E;
  --teal: #F5A58E; 
  --ink: #2C3E50;
  --paper: #FFFFFF;
  --line: rgba(30, 76, 97, 0.08);
  --radius: 16px;
  --shadow: 0 8px 24px rgba(30, 76, 97, 0.05);
}

* { 
  box-sizing: border-box; 
  -webkit-tap-highlight-color: transparent; 
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--sand);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: url('../assets/bg.svg'); 
  background-repeat: no-repeat; 
  background-position: center center;
  background-size: auto 100vh;
}

@media (min-width: 1000px) {
  body::before { 
    background-position: left bottom; 
  }
}

h1, h2, h3, .display {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

/* Elevates and scales ordinal indicators (º and ª) so they don't look like regular letters */
.ordinal {
  display: inline-block;
  font-size: 0.72em;
  vertical-align: 0.42em;
  line-height: 0;
  margin-left: 0.04em;
  font-weight: 600;
  /* System fonts render native Portuguese ordinals with crisp proportions */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* GPU layer isolation for ultra-smooth video playback and scrolling */
.media video {
  width: 100%;
  display: block;
  border-radius: 12px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}