/* Jucari — link in bio. Design: design_handoff_link_in_bio (hifi, pixel-perfect). */

/* Inter self-hosted: niente richieste a terze parti (vincolo privacy) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}

body {
  margin: 0;
  background: #F4F5F7;
  color: #12384F;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #12384F; }
a:hover { color: #D8342A; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* 1 · Hero — fascia navy a piena larghezza */
.hero {
  background: #12384F;
  padding: 36px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.hero-logo { display: flex; text-decoration: none; }
.hero-logo img { width: 190px; height: auto; }
.hero-text { display: flex; flex-direction: column; gap: 5px; }
.hero-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #F2A83B;
}
.hero-sub { font-size: 14px; color: #B9C6D2; }

/* Contenitore blocchi 2–5 */
.main {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px 24px;
}

.kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A94A0;
}

/* 2 · In evidenza (condizionale) */
.highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  background: #D8342A;
  border-radius: 8px;
  color: #FFFFFF;
  text-decoration: none;
}
.highlight:hover { color: #FFFFFF; }
.highlight .kicker { color: #F7CE73; }
.highlight-text { font-size: 16px; font-weight: 700; line-height: 1.35; }

/* 3 · Card progetto — tutta la card è un link */
.cards { display: flex; flex-wrap: wrap; gap: 14px; }
.card {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(18, 56, 79, 0.08);
  text-decoration: none;
  color: #12384F;
}
.card:hover { color: #12384F; }
.card:hover .card-name { color: #D8342A; }
.card-full { flex: 1 1 100%; }
.card-name { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.card-desc { font-size: 14px; color: #5A6B7A; }
.card-news {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding: 11px 13px;
  background: #F4F5F7;
  border-radius: 6px;
}
.card-full .card-news { margin-top: 8px; }
.card-news-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-news-title { font-size: 14.5px; font-weight: 600; line-height: 1.4; }

/* 4 · Seguici */
.follow { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 12px; }
.follow-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.pill {
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 18px;
  background: #12384F;
  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
}
.pill:hover { color: #FFFFFF; }

/* 5 · Footer */
.footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 56, 79, 0.12);
  font-size: 11px;
  color: #8A94A0;
}
.footer a { color: #8A94A0; text-decoration: none; }
