/* ==========================================================================
   Base — reset, font-face, tipografia, layout, utility
   ========================================================================== */

/* ---- Font self-hosted (Funnel Display variable 300–800) ---- */
@font-face {
  font-family: "Funnel Display";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/funnel-display-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: "Funnel Display";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/funnel-display-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---- Tipografia ---- */
h1, .h1 {
  font-size: var(--fs-h1); font-weight: var(--fw-semibold);
  line-height: var(--lh-h1); letter-spacing: var(--ls-tight);
  color: var(--color-text-strong);
}
h2, .h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-light);
  line-height: var(--lh-h2); color: var(--color-text-strong);
}
h3, .h3 {
  font-size: var(--fs-h3); font-weight: var(--fw-semibold);
  line-height: var(--lh-h3); color: var(--color-text-strong);
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---- Sezione (spaziatura verticale standard) ---- */
.section { padding-block: var(--space-section); }

/* ---- Full-bleed: rompe il container per andare a tutta larghezza ---- */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ---- Countdown (componente riutilizzabile: topbar/hero/cta) ---- */
.countdown { display: flex; align-items: center; flex-shrink: 0; }
.countdown__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.52);
  color: #ffffff;
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__sep { color: #ffffff; font-weight: var(--fw-regular); }

/* compatta — topbar / early bird */
.countdown--compact { gap: 5px; }
.countdown--compact .countdown__box {
  min-width: 35px; height: 28px; padding-inline: 4px;
  border-radius: 5px; font-size: 1.03rem;
}
.countdown--compact .countdown__sep { font-size: 0.71rem; margin-inline: 1px 3px; }
.countdown--compact .countdown__sep:last-child { margin-right: 0; }

/* grande — cta banner */
.countdown--big { gap: 8px; }
.countdown--big .countdown__box {
  min-width: 54px; height: 43px; padding-inline: 6px;
  border-radius: 8px; font-size: 1.57rem;
}
.countdown--big .countdown__sep { font-size: 1.1rem; margin-inline: 1px 4px; }
.countdown--big .countdown__sep:last-child { margin-right: 0; }

/* ---- Marquee orizzontale riutilizzabile (carousel.js) ---- */
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---- Utility ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.eyebrow {
  font-size: var(--fs-14); font-weight: var(--fw-medium);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---- Bottoni (base riutilizzabile) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--fw-medium);
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}
.btn__arrow svg { width: 20px; height: 20px; }

/* ---- Scroll reveal (controllato da main.js) ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px){
  .only-desktop{
    display: none;
  }  
}
@media (min-width: 720px){
  .only-mobile{
    display: none;
  }  
}

@media (max-width: 720px){
  .section {
    padding-block: 24px;
  }
}

.cpjxus {
  color: #fff!important;
}

.VQlyZ,
.ipbCva,
body .gSmqgT {
  border: 1px solid rgb(255 255 255 / 30%)!important;
  background: rgb(255 255 255 / 5%)!important;
  color: rgb(255 255 255) !important;
  opacity: 1;
}

.VQlyZ::placeholder {
  color: rgb(255 255 255) !important;
}

.fnYlNm,
.lgTgIN,
body .ihTTXp {
  border: 1px solid rgb(255 255 255 / 60%)!important;
  background: rgb(255 255 255 / 5%)!important;
  color: rgb(255 255 255) !important;
}

.jLEIBB,
.jLEIBB a {
  color: #fff !important;
}

/* 1. Forza il bianco sul DIV che simula il placeholder */
[class*="TextControlBasePlaceholder"], 
.gXyEJo {
    color: #ffffff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* 2. Forza il bianco sui placeholder nativi di input e textarea */
input::placeholder,
textarea::placeholder {
    color: #ffffff !important;
    opacity: 1 !important; /* Rende il colore pieno su Firefox */
}

/* Chrome, Safari e Opera */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #ffffff !important;
}

/* Firefox 19+ */
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* IE 10-11 */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #ffffff !important;
}