/* GoGo Credit — landing gogo.credit
   Token dal design system GoGo Credit (docs/DESIGN.md, brandbook 2026):
   "lime is the canvas, black is the action". */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-variable.woff2") format("woff2");
}

:root {
  --lime: #DFFF51;
  --lime-hover: #CFF52A;
  --ink: #2A2A2C;
  --ink-hover: #1A1A1C;
  --ink-muted: #5C5C61;
  --ink-subtle: #A5A5AA;
  --surface: #FFFFFF;
  --surface-app: #F7F7F7;
  --surface-sunken: #EFEFF0;
  --hairline: #E2E2E4;
  --hairline-strong: #CBCBCE;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-3xl: 48px;
  --container: 1152px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius-sm); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- tipografia (scala DESIGN.md, marketing register) ---------- */
.display { font-weight: 800; font-size: 44px; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.h2 { font-weight: 800; font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.h3 { font-weight: 700; font-size: 18px; line-height: 1.33; letter-spacing: -0.02em; margin: 0; }
.eyebrow { font-weight: 700; font-size: 11px; line-height: 14px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 16px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-muted); margin: 0; }
.body { font-size: 16px; line-height: 1.5; color: var(--ink-muted); margin: 0; }
.small { font-size: 14px; line-height: 20px; letter-spacing: 0; color: var(--ink-muted); margin: 0; }
.numeric { font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .display { font-size: 64px; line-height: 0.98; }
  .h2 { font-size: 44px; line-height: 1.05; }
}

/* ---------- bottoni: rettangoli arrotondati 12px, maiuscolo, bold (GoButton) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  font-family: inherit; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-hover); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--lime); }
.btn-sm { height: 40px; padding: 0 20px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 14px; }
.btn-lg svg { width: 20px; height: 20px; }

/* ---------- header (lime, come la Home ridisegnata) ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(223, 255, 81, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 42, 44, 0.10);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header .logo img { height: 30px; width: auto; }
.header .btn-phone-icon { display: inline-flex; }
.header .btn-phone-text { display: none; }
@media (min-width: 640px) {
  .header .btn-phone-icon { display: none; }
  .header .btn-phone-text { display: inline-flex; }
}

/* ---------- hero: banda lime piena ---------- */
.hero { background: var(--lime); color: var(--ink); padding: 64px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--ink); opacity: .7; }
.hero .display { margin-bottom: 24px; }
.hero .lead { color: var(--ink); max-width: 34rem; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* parallelogramma nero: eco del logo (fianchi inclinati ~7°) */
.para {
  display: inline-block; background: var(--ink); color: var(--lime);
  padding: 0 .22em 0 .2em; margin: 0 .04em; transform: skewX(-7deg); border-radius: 6px;
}
.para > span { display: inline-block; transform: skewX(7deg); }
/* card inversa con illustrazione */
.hero-card {
  background: var(--ink); color: #fff; border-radius: var(--radius-3xl); padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.hero-card img { width: 100%; max-width: 260px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; }
@media (min-width: 960px) { .hero-card img { max-width: 360px; } }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; color: rgba(255,255,255,.85); }
.hero-card li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--lime); margin-top: 1px; }
.hero-card li strong { color: #fff; font-weight: 600; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 112px; }
  .hero .container { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero-card { padding: 40px; }
}

/* ---------- sezioni ---------- */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head .lead { margin-top: 16px; }

.services { background: var(--surface); }
.grid-services { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-services { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-xl);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: var(--radius); background: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.card .icon svg { width: 22px; height: 22px; color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--surface-sunken); color: var(--ink-muted);
  font-weight: 600; font-size: 13px; letter-spacing: 0;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.wip { background: var(--surface-app); border-radius: var(--radius-2xl); padding: 32px; margin-top: 40px;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 768px) { .wip { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 40px; } }
.wip p { margin: 0; }

/* ---------- contatti: banda nera, bottone lime ---------- */
.contact { background: var(--ink); color: #fff; }
.contact .eyebrow { color: rgba(255,255,255,.6); }
.contact .h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,.75); }
.contact .container { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .contact .container { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.phones { display: grid; gap: 16px; }
.phone-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.phone-card .label { font-size: 13px; font-weight: 600; letter-spacing: 0; color: rgba(255,255,255,.65); margin: 0; }
.phone-card .number {
  font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.02em; color: #fff; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.phone-card .number:hover { color: var(--lime); }
@media (min-width: 768px) { .phone-card .number { font-size: 40px; } }
.contact .details { display: grid; gap: 20px; margin-top: 8px; }
.contact .details div { display: grid; gap: 4px; }
.contact .details .k { font-size: 11px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact .details .v { font-size: 16px; color: rgba(255,255,255,.9); }
.contact .details a { text-decoration: none; }
.contact .details a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--hairline); padding: 48px 0 40px; }
.footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.footer .top img { height: 24px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer .legal { font-size: 13px; line-height: 20px; color: var(--ink-muted); margin: 0; max-width: 60rem; }
.footer .legal + .legal { margin-top: 8px; }

/* ---------- pagina privacy ---------- */
.page { padding: 56px 0 96px; }
.page .prose { max-width: 42rem; }
.page .prose h1 { font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; }
.page .prose h2 { font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: -0.025em; margin: 40px 0 12px; }
.page .prose p, .page .prose li { color: var(--ink-muted); }
.page .prose ul { padding-left: 20px; }
.page .prose a { color: var(--ink); }
