/* Immobiliare Nazioni Unite – anteprima HANSLINK – base comune (stessa struttura del sito JOY) */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --crema: #fbf7ec;
  --superficie: #ffffff;
  --pietra: #f1ead8;
  --bordo: #e2d8bf;
  --inchiostro: #0e1f3d;
  --tenue: #4f5b73;
  --rosso: #b8202a;
  --rosso-scuro: #961a22;
  --cipresso: #0e1f3d;
  --sole: #fee214;
  --giallo: #fee214;
  --giallo-tenue: #fff6b8;
  --r-card: 18px;
  --r-ctrl: 12px;
  --ombra: 0 1px 2px rgba(14, 31, 61, .05), 0 18px 50px -18px rgba(14, 31, 61, .3);
  --notte: #0b1a33;
  --oro: #fee214;
  --oro-chiaro: #ffe866;
  --blu: #2f7fc8;
  --mare: #2f7fc8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --larghezza: 80rem;
  --molla: cubic-bezier(.2, .75, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--inchiostro); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; margin: 0; font-variation-settings: 'opsz' 144; }
p { margin: 0; }
.contenitore { width: min(100% - 2.5rem, var(--larghezza)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--rosso); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }

.occhiello { font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rosso); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.45rem; border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--molla); }
.btn:active { transform: scale(.97); }
.btn-rosso { background: var(--rosso); color: #fff; box-shadow: 0 10px 28px -12px rgba(184, 32, 42, .7); }
.btn-rosso:hover { filter: brightness(1.06); }
.btn-scuro { background: var(--inchiostro); color: #fff; }
.btn-scuro:hover { background: #000; }
.btn-linea { border-color: color-mix(in srgb, var(--inchiostro) 24%, transparent); color: var(--inchiostro); background: transparent; }
.btn-linea:hover { border-color: var(--inchiostro); }
.btn-vetro { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-vetro:hover { background: rgba(255, 255, 255, .28); }
.btn-wa { background: #157347; color: #fff; }
.btn-wa:hover { background: #0f5c38; }
.btn svg { flex: none; }

/* Barra */
.barra { position: relative; z-index: 30; }
.barra-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.marchio { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.marchio img { width: 150px; height: auto; }
.marchio span { display: grid; line-height: 1; }
.marchio b { font: 600 1.05rem/1 var(--sans); letter-spacing: .02em; }
.marchio small { font: 600 .6rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--tenue); margin-top: .35rem; }
.menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.menu a { text-decoration: none; color: var(--tenue); transition: color .2s; }
.menu a:hover { color: var(--inchiostro); }
.barra-chiara .menu a, .barra-chiara .marchio small { color: rgba(255, 255, 255, .8); }
.barra-chiara .marchio b { color: #fff; }
@media (max-width: 900px) { .menu { display: none; } .marchio img { width: 124px; } }
.solo-tel { display: none; }
@media (max-width: 600px) { .solo-pc { display: none; } .solo-tel { display: inline; } }
