/* Base compartilhada: fontes, cores e normalização. */
@font-face {
  font-family: Porter;
  src: url("../fonts/Fonts/Porter/Porter-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Porter;
  src: url("../fonts/Fonts/Porter/Porter-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Josefin;
  src: url("../fonts/Fonts/Josefin/JosefinSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Josefin;
  src: url("../fonts/Fonts/Josefin/JosefinSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Josefin;
  src: url("../fonts/Fonts/Josefin/JosefinSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Josefin;
  src: url("../fonts/Fonts/Josefin/JosefinSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: AmazonEmberCondensed;
  src: url("../fonts/Amazon/AmazonEmberCdRC_Rg.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: CookeyBoo;
  src: url("../fonts/GaramondBookCondensed.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #002f8e;
  --action: #0442bf;
  --brown: #b0735b;
  --cream: #fefff2;
  --line: #c49681;
  --navy: #162034;
  --page: #eff0e7;
  --page-width: 81.666667%;
  --sf:
    "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--page);
}
body {
  margin: 0;
  background: var(--page);
  color: var(--blue);
  font-family: var(--sf);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
/* Sem contornos de foco automáticos. Erros de validação mantêm seu destaque. */
*:focus:not(.is-invalid),
*:focus-visible:not(.is-invalid) {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
