
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blu:          #0B5098;
  --blu-chiaro:   #98c0ff;
  --navy-600:     #183461;
  --navy-700:     #122748;
  --navy-900:     #0c192e;
  --grigio-scuro: #686867;
  --grigio:       #989898;
  --grigio-chiaro:#EEF1F4;
  --bianco:       #ffffff;
  --nero:         #000000;

  --contenitore:  1200px;
  --raggio:       15px;
  --raggio-pill:  50px;
  --header-h:     100px;
  --spazio-sez:   120px;

  --font: Avenir, Figtree, "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
  --font-titoli: Avenir, Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-etichette: Rajdhani, Avenir, Figtree, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --fs-hero:    clamp(42px, 5.4vw, 71px);
  --fs-title:   clamp(29px, 3.1vw, 44px);
  --fs-sub:     clamp(19px, 1.9vw, 27px);
  --fs-desc:    clamp(15px, 1.2vw, 17px);
  --fs-eyebrow: 16px;

  --social-fondo: linear-gradient(145deg,
    rgba(120, 165, 235, .55) 0%,
    rgba(51, 96, 168, .5) 55%,
    rgba(30, 66, 122, .55) 100%);
  --social-rilievo:
    inset 0 1.5px 1px rgba(255, 255, 255, .6),
    inset 0 -10px 18px rgba(255, 255, 255, .06),
    0 8px 22px rgba(4, 10, 22, .22);
  --social-rilievo-su:
    inset 0 1.5px 1px rgba(255, 255, 255, .8),
    inset 0 -10px 20px rgba(255, 255, 255, .10),
    0 16px 34px rgba(4, 10, 22, .30);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--nero);
  background: var(--bianco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
h1, h2 { font-weight: 900; letter-spacing: -.02em; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container {
  width: 100%;
  max-width: var(--contenitore);
  margin-inline: auto;
  padding-inline: 24px;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(24px, 8.3vw, 120px);
  transition: background-color .45s var(--ease), backdrop-filter .45s var(--ease), height .45s var(--ease);
}

.header.is-stuck {
  height: 74px;
  background: rgba(12, 25, 46, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.header__logo { display: flex; align-items: center; gap: 10px; }
.header__mark { width: 34px; height: auto; }
.header__lockup-img { width: 155px; height: auto; display: block; }

.header--solo-marchio .header__lockup-img { display: none; }

.burger {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 4px;
  background: var(--bianco);
  transition: transform .45s var(--ease), opacity .25s linear, background-color .3s;
}
.burger:hover span { background: var(--blu-chiaro); }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  padding-inline: clamp(24px, 8.3vw, 120px);
  padding-block: var(--header-h) 40px;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--blu) 0%, var(--navy-900) 100%);
  clip-path: circle(0% at calc(100% - 60px) 50px);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.nav.is-open { clip-path: circle(150% at calc(100% - 60px) 50px); pointer-events: auto; }

.hero__lockup { display: flex; flex-direction: column; gap: 22px; }
.hero__word { width: min(485px, 92%); height: auto; }
.hero__tag  { width: min(374px, 72%); height: auto; }

.hero__word, .hero__tag { opacity: 0; transform: translateY(28px); animation: heroIn 1.1s var(--ease) forwards; }
.hero__tag { animation-delay: .16s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__object {
  position: relative;
  justify-self: end;
  width: min(532px, 100%);
  will-change: transform;
  animation: fluttua 9s ease-in-out infinite;
}
.hero__tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__object img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  opacity: 0;
  animation: heroIn 1.4s var(--ease) .25s forwards;
}
.hero__glow {
  position: absolute;
  inset: -18%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 192, 255, .32) 0%, rgba(11, 80, 152, .18) 45%, transparent 70%);
  filter: blur(18px);
  animation: respira 7s ease-in-out infinite;
}
@keyframes fluttua { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
@keyframes respira { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

@keyframes scendi { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 10vw, 126px);
  align-items: stretch;
}

.intro__media {
  position: relative;
  margin: 0;
  aspect-ratio: 536 / 612;
  border-radius: var(--raggio);
  overflow: hidden;
  background: linear-gradient(to bottom,
    #2f74c4 0%, #5b96da 18%, #98c0ff 38%, #cfe2fa 58%, #ffffff 78%);
}
.intro__media img {
  position: absolute;
  max-width: none;
  width: 100%;
  height: auto;
  left: 0.09%;
  top: -55.74%;
  transition: transform 1.2s var(--ease);
}
.intro__media:hover img { transform: scale(1.05); }

.intro__text {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
}

.intro__title {
  margin: 0 0 46px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
}
.intro__text .btn { margin-top: auto; align-self: flex-start; }
.intro__title .is-blue { color: var(--blu); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  height: 54px;
  padding-inline: 44px;
  border-radius: var(--raggio-pill);
  font-family: var(--font-etichette);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.btn--piccolo {
  min-width: 0;
  height: 44px;
  padding-inline: 26px;
  font-size: 15px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.btn--outline { border: 1px solid var(--blu); color: var(--blu); }
.btn--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blu);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn--outline:hover { color: var(--bianco); }
.btn--outline:hover::before { transform: none; }

.footer {
  padding-block: clamp(64px, 9vw, 117px) clamp(56px, 8vw, 118px);
  color: var(--bianco);
  background: linear-gradient(to bottom, var(--blu) 0%, var(--nero) 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 384fr 200fr 270fr 270fr;
  gap: 27px;
  padding-inline: clamp(24px, 8.3vw, 120px);
}

.footer__riga {
  justify-self: center;
  margin-top: 7px;
  width: 1px;
  height: 336px;
  background: rgba(255, 255, 255, .55);
}

.footer__brand { padding-top: 13px; }

.footer__logo { display: flex; align-items: center; gap: 20px; margin-bottom: 37px; }
.footer__mark { width: 62px; height: auto; }
.footer__lockup-img { width: 282px; height: auto; display: block; }

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 385px;
  max-width: 100%;
  height: 50px;
  margin-bottom: 27px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  font-family: var(--font-etichette);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .12);
  border-color: var(--bianco);
}

.socials {
  display: flex;
  justify-content: space-between;
  width: 385px;
  max-width: 100%;
  margin-top: 47px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.socials a:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .6);
  transform: translateY(-2px);
}
.socials a:active { transform: none; transition-duration: .12s; }
.socials img { width: auto; height: auto; }
.socials li:nth-child(1) img { width: 22px;   height: 22px; }
.socials li:nth-child(2) img { width: 12.5px; height: 21.5px; }
.socials li:nth-child(3) img { width: 21.5px; height: 20.5px; }

.footer__col h3 {
  font-family: var(--font-etichette);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__h3--spaced { margin-top: 40px; }
.footer__col p { margin: 0; font-size: 16px; line-height: 1.35; }
.footer__col ul li { margin-bottom: 4px; }
.footer__col ul a {
  font-size: 16px;
  transition: color .3s, padding-left .3s var(--ease);
}
.footer__col ul a:hover { color: var(--blu-chiaro); padding-left: 6px; }

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.sfuma { transition: transform .9s var(--ease); }

.riga-blu {
  width: 230px;
  height: 6px;
  margin: clamp(40px, 5vw, 72px) auto 0;
  background: var(--blu);
}

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__riga { display: none; }
  .footer__brand { padding-top: 0; }
  .socials { width: 100%; max-width: 385px; margin-top: 32px; }
}

@media (max-width: 900px) {
  :root { --spazio-sez: 80px; --header-h: 80px; }

  .hero__lockup { align-items: center; order: 2; }
  .hero__object { justify-self: center; order: 1; width: min(400px, 78%); }
  .hero__tag { align-self: center; }

  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .intro__media { aspect-ratio: 4 / 3; }

  .intro__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 68%;
  }
  .intro__title { margin-bottom: 32px; }

  .pill { width: 100%; }
  .socials { width: 100%; max-width: none; }
}

@media (max-width: 560px) {
  .header__lockup-img { display: none; }
  .btn:not(.btn--piccolo) { min-width: 100%; padding-inline: 20px; font-size: 15px; letter-spacing: .07em; line-height: 1.25; }
  .footer__logo { gap: 10px; }
  .footer__lockup-img { max-width: 155px; }
  .footer__mark { width: 34px; }
  .footer__brand { width: max-content; max-width: 100%; }
  .footer__logo { margin-bottom: 28px; }
  .pill { height: 42px; margin-bottom: 16px; font-size: 18px; }
  .socials { margin-top: 28px; }
  .socials a { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__word, .hero__tag, .hero__object img { opacity: 1; transform: none; }
}

.hero-std {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(760px, 92vh);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 100px)) 0 clamp(56px, 8vw, 104px);
  color: var(--bianco);
  background: radial-gradient(ellipse 70% 70% at 50% 45%,
    #0B5098 0%, #1d4176 45%, #16305a 72%, #0f203b 100%);
}

.hero-std__fx { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-std__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-inline: clamp(24px, 8.3vw, 120px);
}

.hero-std__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-etichette);
  font-size: calc(var(--fs-eyebrow) * 1.15);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.125;
  text-transform: uppercase;
  color: var(--bianco);
}

.hero-std { font-family: var(--font-titoli); font-weight: 400; }
.hero-std h1 {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.08;
}

@media (max-width: 700px) {
  .hero-std--titolo-lungo h1 {
    font-size: clamp(28px, 8.4vw, 42px);
    overflow-wrap: break-word;
  }
}

.hero-std__testo {
  margin: 0;
  max-width: 34em;
  font-size: var(--fs-desc);
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}
.hero-std__testo p { margin: 0; }
.hero-std__testo p + p { margin-top: .6em; }

.hero-std__media {
  position: relative;
  justify-self: end;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.hero-std__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 46px rgba(4, 10, 22, .42));
  animation: heroStdFluttua 9s ease-in-out infinite;
}
@keyframes heroStdFluttua {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(8px); }
}

.hero-std--solo-testo .hero-std__inner { grid-template-columns: 1fr; }
.hero-std--solo-testo .hero-std__testo { max-width: 40em; }

@media (max-width: 900px) {
  .hero-std__inner { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }
  .hero-std__media { justify-self: center; width: min(520px, 100%); aspect-ratio: 16 / 10; }
}

.hero-std__testo,
.sol-blocco__testo,
.pareti-card__testo,
.categorie__testo,
.altre__testo,
.galleria__testo,
.cerchi__testo,
.fupu__testo p,
.rm-brevetto__testo p,
.rm-macchine__testo p,
.vm__testo,
.certificazioni__testo {
  font-weight: 400;
}

.hero-std__forte {
  font-weight: 500;
  color: #c9ccd1;
  font-size: var(--fs-sub);
  line-height: 1.35;
}

.cifra {
  font-family: var(--font-etichette);
  font-weight: 600;
  font-size: 1.15em;
  line-height: 1;
}

.footer__legale {
  max-width: var(--contenitore);
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 24px clamp(24px, 8.3vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
}

.footer__dati {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.footer__legale-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legale-link a {
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  transition: color .3s;
}
.footer__legale-link a:hover { color: var(--blu-chiaro); }

@media (max-width: 760px) {
  .footer__legale { flex-direction: column; }
}

.da-completare {
  background: #fff3bf;
  border-bottom: 2px dotted #b98900;
  padding: 1px 5px;
  border-radius: 3px;
  font-style: normal;
  color: #6b4e00;
}

.footer__copy {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .55);
}

.clip {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 120px) clamp(16px, 8.3vw, 120px);
  background: var(--navy-900);
}
.clip__riquadro {
  position: relative;
  width: min(1200px, 100%);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--raggio);
  background: #93aad3;
  box-shadow: 0 40px 80px rgba(2, 8, 20, .55);
}
.clip__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip__audio {
  position: absolute;
  right: clamp(10px, 1.6vw, 22px);
  bottom: clamp(10px, 1.6vw, 22px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--bianco);
  background: rgba(15, 32, 59, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background .25s var(--ease);
}
.clip__audio[hidden] { display: none; }
.clip__audio:hover { background: rgba(15, 32, 59, .8); }
.clip__audio:focus-visible { outline: 2px solid var(--bianco); outline-offset: 3px; }
.clip__audio-on { display: none; }
.clip__audio[aria-pressed="true"] .clip__audio-on { display: inline; }
.clip__audio[aria-pressed="true"] .clip__audio-off { display: none; }

.clip--chiara {
  padding: 0;
  background: var(--bianco);
}
.clip--chiara .clip__riquadro {
  width: 100%;
  max-height: 100svh;
  border-radius: 0;
  box-shadow: none;
}

.da-rivedere {
  position: relative;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffe95c;
}
.da-rivedere::before {
  content: "Testo da rivedere";
  display: block;
  margin-bottom: .5em;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a6d00;
}
