/* gruppigo.com, pagina provvisoria «sito in preparazione» (30/11/2026).
   Valori dal Design System GruppiGo 2026 (tokens.json, componente Sky). Nessuna risorsa esterna. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

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

:root {
  --azzurro: #17A2E2;
  --azzurro-chiaro: #7CCBF0;
  --verde-go: #4CC95E;
  --petrolio: #0E2F3A;
  --link: #0068B0;
  --on-deep: #FFFFFF;
  --surface: #FFFFFF;
  --radius-pill: 999px;
  --duration-cielo: 16s;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gradient-cielo: radial-gradient(55% 60% at 15% 20%, #17A2E2 0%, rgba(23,162,226,0) 70%), radial-gradient(40% 45% at 85% 70%, rgba(76,201,94,0.5) 0%, rgba(76,201,94,0) 70%), radial-gradient(30% 35% at 65% 10%, #7CCBF0 0%, rgba(124,203,240,0) 70%), linear-gradient(160deg, #17A2E2 0%, #0E8FDB 50%, #0A6FB8 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--on-deep);
  background: var(--petrolio);
  -webkit-font-smoothing: antialiased;
}

/* Cielo azzurro (componente Sky): aurora animata e velatura al centro, dietro il testo. */
.sky {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 64px 24px 96px;
  overflow: hidden;
  isolation: isolate;
  background: var(--gradient-cielo);
  text-align: center;
}

.sky__aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(60px) saturate(1.2); }
.sky__aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift var(--duration-cielo) ease-in-out infinite alternate; }
.sky__aurora i:nth-child(1) { width: 55%; height: 60%; left: 5%; top: 10%; background: var(--azzurro); }
.sky__aurora i:nth-child(2) { width: 40%; height: 45%; right: 5%; top: 40%; background: var(--verde-go); opacity: .5; animation-duration: 20s; animation-delay: -6s; }
.sky__aurora i:nth-child(3) { width: 50%; height: 50%; left: 35%; bottom: 0; background: #0E6FD8; opacity: .8; animation-duration: 24s; animation-delay: -3s; }
.sky__aurora i:nth-child(4) { width: 30%; height: 35%; left: 55%; top: 5%; background: var(--azzurro-chiaro); opacity: .6; animation-duration: 14s; }

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 56% 62% at 50% 52%, rgba(6,84,150,.72), rgba(6,84,150,.28) 66%, rgba(6,84,150,0) 100%);
}

@keyframes drift {
  50% { transform: translate(8%, -6%) scale(1.15); }
  100% { transform: translate(-6%, 8%) scale(.95); }
}

.sky__blocco { display: grid; justify-items: center; gap: 28px; max-width: 980px; }

/* Area di rispetto del logo: spazio libero intorno, nessun altro elemento a ridosso. */
.logo { width: clamp(200px, 30vw, 320px); height: auto; margin-bottom: 8px; }

/* Testo bianco sul cielo solo grande e in grassetto, con ombra morbida (regola del brand). */
.sky__title {
  margin: 0;
  font: 800 clamp(40px, 7vw, 96px)/.95 var(--font-display);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(6,60,110,.35);
}

.sky__lead {
  margin: 0;
  max-width: 32em;
  font: 700 clamp(19px, 2.2vw, 22px)/1.5 var(--font-sans);
  text-shadow: 0 1px 14px rgba(6,60,110,.55);
}

/* «Ferma movimento»: bianco con testo azzurro (5,8:1), area di 44 px. */
.ferma {
  position: absolute;
  right: 24px;
  bottom: 24px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--link);
  font: 700 16px/1 var(--font-sans);
  cursor: pointer;
}

.ferma:focus-visible { outline: 2px solid var(--on-deep); outline-offset: 2px; }

.is-fermo .sky__aurora i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .sky__aurora i { animation: none; }
}

/* Piede petrolio con i dati societari. */
.piede { padding: 20px 24px; text-align: center; }
.piede p { margin: 0; font: 500 15px/1.5 var(--font-sans); color: var(--on-deep); }
.piede span { white-space: nowrap; }

@media (max-width: 600px) {
  .sky { padding: 48px 16px 104px; }
  .ferma { left: 16px; right: 16px; bottom: 24px; }
}
