* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Satoshi-Variable", sans-serif;
  font-variant-ligatures: none;
  font-feature-settings: "salt" on;
  font-weight: 300;
  color: var(--text-main);
}
html {
  scroll-behavior: smooth;
}
body {
  font-size: var(--fs-1);
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
html,
body {
  background-color: var(--bg-color);
  max-width: 100%;
  overflow-x: clip;
}

html.menu-is-active,
body.menu-is-active {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
  transition-delay: 0.15s;
  transition-property: background-color;
}

body.menu-is-active {
  padding-top: var(--header-h, 0px);
}

a {
  text-decoration: none;
  color: var(--text-main);
}
a:hover,
a:active,
li:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1 {
  font-size: var(--fs-3);
  line-height: 1.2;
}
h2,
h3 {
  font-size: var(--fs-2);
}
p {
  line-height: 1.4;
}
b {
  font-weight: 400;
}
section,
main {
  width: 70vw;
  padding: 0 2.5vw;
  margin: 0 auto;
}
main {
  min-height: 100vh;
}
ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
ul li {
  list-style-type: none;
  list-style-position: inside;
}
strong {
  font-weight: bold;
}

/* Entrada de conteúdo: uma só animação para os dois nomes históricos. O
   fade-in-short apontava para keyframes inexistentes ("fadeInOpacity"), ou seja,
   não animava nada — a inconsistência que fazia metade das páginas "pular". */
.fade-in-short,
.fade-in-long {
  animation: fadeIn var(--dur-slow) var(--ease-out) both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

input::placeholder,
select::placeholder {
  color: var(--text-muted);
}
input:focus-visible,
select:focus-visible {
  outline: none;
  background-color: var(--focus-bg);
  border: 1px solid var(--focus-border) !important;
}

input,
select {
  background-color: var(--bg-color);
  font-size: var(--fs-1);
}

.line-break-big {
  display: block;
}

.text-title {
  font-family: "Lugati", sans-serif;
  line-height: 8vw;
}

.text-title-desk {
  margin-top: 10svh;
}

.accent-color {
  color: var(--accent-color);
}

.text-container {
  min-height: 80svh;
  width: 65vw;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

small {
  color: var(--text-muted);
}
small:hover {
  color: #383838;
}

footer {
  min-height: fit-content;
  width: 100vw;
  margin: 5svh 0svh 0svh 0svh;
  border-top: 1px var(--border-color) solid;
  padding-top: 1rem;
  padding: 5svh 5svh 5svh 5svh;
  background-color: var(--focus-bg);
}
.footer-container {
  display: flex;
  gap: 2rem;
  align-items: end;
}
.footer-logo {
  max-height: 8rem;
  max-width: 100%;
}
.footer-content {
  border-left: 1px var(--border-color) solid;
  height: 8.5rem;
  padding-left: 2rem;
  display: flex;
  text-wrap: balance;
  flex-direction: column;
}
.footer-content-mobile {
  display: none;
}

/* Guarda global: só skeleton.css e entrevistas.css tratavam reduced-motion.
   O véu e as View Transitions já têm a própria exceção. */
@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;
  }
}
