/* ===== FONT ===== */
@font-face {
  font-family: "EB Garamond";
  src: url("../assets/fonts/EBGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===== STILI ===== */
:root {
  --terracotta: #C0643A;
  --terracotta-chiaro: #E6956B;
  --terracotta-scuro: #A9532E;
  --avorio: #F7F4EE;
  --blu-notte: #1F3A5F;

  --font-titoli: "EB Garamond", Georgia, serif;
  --font-testo: "Figtree", system-ui, sans-serif;
}

/* ===== QUADRO ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

strong,
b {
  font-weight: 600;
}

/* ===== UTILITY ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}