/* Immobiliare Sa Di Casa — landing statica (in collaborazione con Christian Figoni).
   Sito statico puro: nessun build, nessun database. Modifica i testi in index.html. */

:root {
  --navy: #12354f;
  --gold: #c49a3a;
  --ink: #2b2b2b;
  --muted: #6f7378;
  --line: #e7e9ec;
  --bg: #ffffff;
  --soft: #faf8f5;
  --container: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; transition: background 0.18s, color 0.18s, transform 0.15s, filter 0.18s;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.sm { padding: 9px 18px; font-size: 0.82rem; }
.btn.full { width: 100%; justify-content: center; }
.btn.solid { background: var(--gold); color: #fff; }
.btn.solid:hover { filter: brightness(0.93); }
.btn.ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.ghost:hover { background: var(--gold); color: #fff; }
.btn.navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn.navy:hover { background: var(--navy); color: #fff; }
.btn.ghost.light { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn.ghost.light:hover { background: #fff; color: var(--navy); }

.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.2em;
}
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 22px 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy); letter-spacing: 0.01em; }
.brand-sub { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 96px 0 104px;
  background:
    linear-gradient(115deg, rgba(9, 27, 43, 0.96) 0%, rgba(18, 53, 79, 0.86) 55%, rgba(18, 53, 79, 0.72) 100%),
    radial-gradient(1200px 500px at 80% -10%, rgba(196, 154, 58, 0.35), transparent 60%),
    var(--navy);
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); max-width: 16ch; margin-top: 14px; }
.hero .lead { color: rgba(255, 255, 255, 0.86); font-weight: 300; font-size: 1.06rem; max-width: 60ch; margin-top: 4px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.cta-row.center { justify-content: center; }

/* Sezione servizi */
.section { padding: 72px 0; background: var(--soft); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 8px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 26px;
  box-shadow: 0 16px 44px rgba(18, 53, 79, 0.06);
}
.feat h3 { font-size: 1.28rem; margin-bottom: 10px; }
.feat p { color: var(--muted); font-weight: 300; }

/* La collaborazione */
.about { padding: 76px 0; background: var(--bg); }
.about .row { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 10px 0 18px; }
.about p { color: var(--muted); font-weight: 300; margin-bottom: 14px; font-size: 1.02rem; }
.about strong { color: var(--ink); font-weight: 600; }
.about .btn { margin-top: 12px; }
.side-card {
  background: var(--navy); color: #fff; border-radius: 12px; padding: 32px 28px;
  box-shadow: 0 26px 60px rgba(18, 53, 79, 0.24);
}
.side-k { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-weight: 600; }
.side-name { font-family: var(--serif); font-size: 1.6rem; margin: 12px 0 2px; }
.side-role { color: rgba(255, 255, 255, 0.72); font-weight: 300; margin-bottom: 22px; }

/* CTA finale */
.cta-band { background: var(--navy); color: #fff; padding: 66px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { color: rgba(255, 255, 255, 0.8); font-weight: 300; margin: 10px 0 26px; }

/* Footer */
.site-footer { background: #0d2233; color: rgba(255, 255, 255, 0.72); padding: 52px 0 30px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.site-footer .agency { font-family: var(--serif); font-weight: 600; color: #fff; font-size: 1.45rem; }
.site-footer p { font-weight: 300; margin-top: 10px; max-width: 42ch; }
.site-footer h4 { color: #fff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 8px 0; font-weight: 300; }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); display: flex; flex-wrap: wrap;
  gap: 8px 20px; justify-content: space-between; font-weight: 300;
}

/* Responsive */
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: 1fr; gap: 16px; }
  .about .row { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 72px 0 78px; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
}
