/* ================================
   PUBBLI-LINE — BASE STYLE
================================ */

@font-face {
  font-family: "Brockmann";
  src: url("/assets/fonts/Brockmann-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Garet";
  src: url("/assets/fonts/Garet-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Telegraf";
  src: url("/assets/fonts/Telegraf-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Telegraf";
  src: url("/assets/fonts/Telegraf-UltraLight-200.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Telegraf";
  src: url("/assets/fonts/Telegraf-UltraBold-800.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --pl-blue: #6699FF;
  --pl-green: #CCFF66;
  --pl-black: #1D2020;
  --pl-white: #FFFFFF;
  --pl-soft: #F6F8F2;

  --pl-title: "Brockmann", system-ui, sans-serif;
  --pl-body: "Garet", system-ui, sans-serif;
  --pl-accent: "Telegraf", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pl-black);
  color: var(--pl-white);
  font-family: var(--pl-body);
  font-size: 16px;
  line-height: 1.45;
  cursor: none;
}


body.pl-menu-open {
  overflow: hidden;
}

a,
button {
  cursor: none;
}

img,
video {
  max-width: 100%;
}

::selection {
  background: var(--pl-green);
  color: var(--pl-black);
}

/* ================================
   CUSTOM CURSOR
================================ */

.pl-custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  z-index: 99999;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: normal;
  transition:
    width 0.18s ease,
    height 0.18s ease,
    opacity 0.18s ease;
}

.pl-custom-cursor img {
  width: 100%;
  height: 100%;
  display: block;
}

body.is-hovering .pl-custom-cursor {
  width: 72px;
  height: 72px;
}

body.cursor-hidden .pl-custom-cursor {
  opacity: 0;
}

@media (max-width: 900px), (pointer: coarse) {
  body,
  a,
  button {
    cursor: auto;
  }

  .pl-custom-cursor {
    display: none;
  }
}

/* ================================
   HEADER / MENU STYLE MINDSPARKLE
================================ */

.pl-ms-header {
  position: fixed;
  z-index: 9999;
  top: 24px;
  left: 84px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

/* LOGO AZZURRO CON ICONA + WIDE */
.pl-ms-logo {
  pointer-events: auto;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px 24px 2px 4px;
  border-radius: 999px;
  background: #6699FF;
  text-decoration: none;
  overflow: hidden;
  transform: translateX(-120px);
  opacity: 0;
  animation: plMsLogoEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.pl-ms-logo-icon {
  width: 72px;
  height: 72px;
  display: block;
  flex: 0 0 72px;
  margin-right: -14px;
}

.pl-ms-logo-wide {
  width: 150px;
  max-width: 150px;
  height: auto;
  display: block;
}

@keyframes plMsLogoEnter {
  from {
    transform: translateX(-120px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* BOTTONE TONDO MENU */
.pl-ms-menu-button {
  pointer-events: auto;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #6699FF;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
  cursor: none;
  transform: translateX(-40px);
  opacity: 0;
  animation: plMsButtonEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes plMsButtonEnter {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.pl-ms-menu-button span {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #CCFF66;
  transition:
    transform 0.28s ease,
    top 0.28s ease,
    background 0.28s ease;
}

.pl-ms-menu-button span:first-child {
  top: 24px;
}

.pl-ms-menu-button span:last-child {
  top: 32px;
}

.pl-ms-menu-button:hover {
  background: #CCFF66;
}

.pl-ms-menu-button:hover span {
  background: #1D2020;
}

/* STATO APERTO */
body.pl-ms-menu-open .pl-ms-menu-button {
  background: #1D2020;
}

body.pl-ms-menu-open .pl-ms-menu-button span {
  background: #ffffff;
}

body.pl-ms-menu-open .pl-ms-menu-button span:first-child {
  top: 28px;
  transform: rotate(45deg);
}

body.pl-ms-menu-open .pl-ms-menu-button span:last-child {
  top: 28px;
  transform: rotate(-45deg);
}

/* PANEL NERO ARROTONDATO */
.pl-ms-menu-panel {
  position: fixed;
  z-index: 9990;
  top: 24px;
  left: 146px;
  right: 56px;
  min-height: 620px;
  height: calc(100vh - 48px);
  max-height: 720px;
  background: linear-gradient(180deg, #202323 0%, #050606 100%);
  border-radius: 0 26px 26px 26px;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.985);
  transform-origin: top left;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* PANEL APERTO */
body.pl-ms-menu-open .pl-ms-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.pl-ms-menu-inner {
  height: 100%;
  padding: 78px clamp(38px, 6vw, 86px) 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* NAV PRINCIPALE A COLONNE */
.pl-ms-menu-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: start;
}

.pl-ms-menu-col {
  display: grid;
  gap: 18px;
}

.pl-ms-menu-col a {
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--pl-title);
  font-weight: 500;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  opacity: 0;
  transform: translateY(22px);
  transition:
    color 0.22s ease,
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.pl-ms-menu-open .pl-ms-menu-col a {
  opacity: 1;
  transform: translateY(0);
}

body.pl-ms-menu-open .pl-ms-menu-col:nth-child(1) a:nth-child(1) {
  transition-delay: 0.08s;
}

body.pl-ms-menu-open .pl-ms-menu-col:nth-child(1) a:nth-child(2) {
  transition-delay: 0.13s;
}

body.pl-ms-menu-open .pl-ms-menu-col:nth-child(1) a:nth-child(3) {
  transition-delay: 0.18s;
}

body.pl-ms-menu-open .pl-ms-menu-col:nth-child(3) a:nth-child(1) {
  transition-delay: 0.23s;
}

body.pl-ms-menu-open .pl-ms-menu-col:nth-child(3) a:nth-child(2) {
  transition-delay: 0.28s;
}

.pl-ms-menu-col a:hover {
  color: #CCFF66;
}

.pl-ms-menu-divider {
  width: 1px;
  height: 100%;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.24);
}

/* FOOTER MENU */
.pl-ms-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.pl-ms-footer-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 18px 58px;
}

.pl-ms-footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--pl-body);
  font-size: 18px;
  line-height: 1.2;
}

.pl-ms-footer-links a:hover {
  color: #CCFF66;
}

.pl-ms-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pl-ms-socials a {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--pl-title);
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.pl-ms-socials a:hover {
  background: #CCFF66;
  border-color: #CCFF66;
  color: #1D2020;
}

body.pl-ms-menu-open {
  overflow: hidden;
}

/* MOBILE */
@media (max-width: 860px) {
  .pl-ms-header {
    top: 16px;
    left: 16px;
    right: 16px;
  }

   .pl-ms-logo {
    min-height: 58px;
    padding: 2px 16px 2px 4px;
    gap: 0;
  }

  .pl-ms-logo-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    margin-right: -4px;
  }

  .pl-ms-logo-wide {
    width: 116px;
    max-width: 116px;
  }


  .pl-ms-menu-button {
    width: 50px;
    height: 50px;
  }

  .pl-ms-menu-button span:first-child {
    top: 21px;
  }

  .pl-ms-menu-button span:last-child {
    top: 29px;
  }

  body.pl-ms-menu-open .pl-ms-menu-button span:first-child,
  body.pl-ms-menu-open .pl-ms-menu-button span:last-child {
    top: 25px;
  }

  .pl-ms-menu-panel {
    top: 78px;
    left: 16px;
    right: 16px;
    height: calc(100vh - 94px);
    min-height: 0;
    max-height: none;
    border-radius: 24px;
  }

  .pl-ms-menu-inner {
    padding: 34px 24px 28px;
  }

  .pl-ms-menu-nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pl-ms-menu-divider {
    display: none;
  }

  .pl-ms-menu-col {
    gap: 12px;
  }

  .pl-ms-menu-col a {
    font-size: clamp(42px, 15vw, 72px);
    line-height: 0.9;
  }

  .pl-ms-menu-footer {
    display: grid;
    gap: 28px;
  }

  .pl-ms-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }

  .pl-ms-footer-links a {
    font-size: 15px;
  }

  .pl-ms-socials {
    gap: 10px;
  }

  .pl-ms-socials a {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .pl-ms-logo-wide {
    width: 104px;
    max-width: 104px;
  }

  .pl-ms-menu-panel {
    top: 76px;
  }

  .pl-ms-footer-links {
    grid-template-columns: 1fr;
  }
}

/* ================================
   HERO VIDEO
================================ */

.pl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px clamp(20px, 4vw, 56px) clamp(32px, 6vw, 72px);
  overflow: hidden;
}

.pl-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pl-hero-video-mobile {
  display: none;
}

.pl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(29, 32, 32, 0.28) 0%, rgba(29, 32, 32, 0.74) 100%),
    radial-gradient(circle at 15% 30%, rgba(102, 153, 255, 0.30) 0%, transparent 32%),
    radial-gradient(circle at 80% 75%, rgba(204, 255, 102, 0.24) 0%, transparent 34%);
}

.pl-hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.pl-eyebrow {
  margin: 0 0 18px;
  color: var(--pl-green);
  font-family: var(--pl-title);
  font-weight: 500;
  font-size: clamp(13px, 1.3vw, 18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
} 


.pl-hero h1 {
    text-transform:uppercase;
  margin: 0;
  max-width: 1220px;
  font-family: var(--pl-title);
  font-weight: 700;
  font-size: clamp(58px, 10.5vw, 178px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  color: var(--pl-white);
}

.pl-hero h1 span {
  display: block;
  color: var(--pl-blue);
}

.pl-hero-bottom {
  margin-top: clamp(28px, 5vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.pl-hero-bottom p {
  margin: 0;
  max-width: 560px;
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.86);
}

.pl-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--pl-green);
  color: var(--pl-black);
  text-decoration: none;
  font-family: var(--pl-title);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.pl-button:hover {
  background: var(--pl-blue);
  color: var(--pl-white);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .pl-hero {
    min-height: 100svh;
    padding: 120px 18px 34px;
  }

  .pl-hero-video-desktop {
    display: none;
  }

  .pl-hero-video-mobile {
    display: block;
  }

  .pl-hero h1 {
    font-size: clamp(54px, 18vw, 94px);
    line-height: 0.88;
  }

  .pl-hero-bottom {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .pl-hero-bottom p {
    font-size: 17px;
  }

  .pl-button {
    width: fit-content;
  }
}

/* ================================
   SEZIONI BASE
================================ */

.pl-section {
  min-height: 70vh;
  padding: clamp(76px, 9vw, 140px) clamp(20px, 4vw, 56px);
  background: var(--pl-soft);
  color: var(--pl-black);
}

.pl-section-label {
  margin-bottom: 22px;
  color: var(--pl-blue);
  font-family: var(--pl-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pl-section h2 {
  max-width: 980px;
  margin: 0;
  font-family: var(--pl-title);
  font-weight: 700;
  font-size: clamp(46px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}