/* &#9472;&#9472; HERO &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.hero {
  min-height: 100vh;
  background: var(--verde);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px;
}

/* Texture diagonale + macchia luce */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 15%, rgba(184,92,40,.28) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.018) 40px,
      rgba(255,255,255,.018) 41px
    );
  z-index: 1;
  pointer-events: none;
}

/* Sfumatura raccordo hero → portali (crema) */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--crema));
  z-index: 3;
  pointer-events: none;
}

/* Macchia luce in alto a destra */
.hero .hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 70%;
  background: radial-gradient(ellipse at 80% 20%,
    rgba(184, 92, 40, .28) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--oro-l);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--oro-l);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--oro-l);
}

.hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.bg0{    background-image: "immagini/00.jpg";
}
.tag {
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: .02em;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terra);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.1px;
  transition: all .18s;
  border: 2px solid var(--terra);
}
.btn-hero-p:hover {
  background: var(--terra-l);
  border-color: var(--terra-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,92,40,.4);
}
.btn-hero-s {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  transition: all .18s;
  border: 2px solid rgba(255,255,255,.35);
}
.btn-hero-s:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}
.btn-ico { font-size: 18px; }

/* Hero right &#8212; numeri */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hs {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 24px 22px;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.hs:hover { background: rgba(255,255,255,.11); }
.hs .n {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.hs .n span { color: var(--oro-l); }
.hs .l {
  font-size: 16px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
  font-weight: 700;
}
.hs.accent {
  background: var(--terra);
  border-color: var(--terra);
}
.hs.accent .n { color: #fff; }
.hs.accent .l { color: rgba(255,255,255,.75); }
.hs.accent-o {
  background: rgba(200, 134, 10, .2);
  border-color: rgba(200,134,10,.4);
}
.hs.accent-o .n { color: var(--oro-l); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* &#9472;&#9472; PORTALI (CTA cards) &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.portals {
  background: var(--crema);
  padding: 52px 64px;
}
.portals-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-eye {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: var(--testo);
  margin-bottom: 10px;
  letter-spacing: -.5px;
  line-height: 1.1;
  white-space: nowrap;
}
.section-sub {
  font-size: 17px;
  color: var(--mid);
  margin-bottom: 48px;
  max-width: 540px;
}

.portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portal {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: transform .22s, box-shadow .22s;
  cursor: pointer;
  text-decoration: none;
}
.portal:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.portal-q {
  background: linear-gradient(145deg, var(--verde) 0%, #2A5C2E 100%);
}
.portal-s {
  background: linear-gradient(145deg, var(--terra) 0%, #8B4218 100%);
}
.portal-o {
  background: linear-gradient(145deg, var(--oro) 0%, #8B6F1E 100%);
}
.portal-n {
  background: linear-gradient(145deg, var(--notte) 0%, #0F2847 100%);
}

.portal-texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    60deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,.025) 30px,
    rgba(255,255,255,.025) 31px
  );
}

.portal-content {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portal-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.portal-label::before {
  content: '';
  width: 20px; height: 2px;
  background: rgba(255,255,255,.55);
}

.portal-icon {
  font-size: 64px;
  margin-bottom: 12px;
  line-height: 1;
  display: flex;
}

.portal-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.portal-top .portal-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.portal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

.portal-actions .portal-btn {
  flex: 0 1 auto;
}

.portal-actions h2 {
  flex-basis: 100%;
  margin-top: 10px;
  margin-bottom: 0;
}

.portal h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.portal p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  transition: all .18s;
}
.portal-btn:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
  gap: 14px;
}
.portal-btn .arr { font-size: 16px; transition: transform .18s; }
.portal:hover .arr { transform: translateX(3px); }

/* Scroll reveal animation — portali */
.portal.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.94) perspective(800px) rotateX(4deg);
  filter: blur(3px);
  transition:
    opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter    0.65s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}
.portal.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1) perspective(800px) rotateX(0deg);
  filter: blur(0px);
}

/* &#9472;&#9472; STRIP NUMERI &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.strip {
  background: var(--notte);
  padding: 148px 164px;
}
.strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.strip-item {
  padding: 32px 18px;
  border-right: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.strip-item:last-child { border-right: none; }
.strip-item .sn {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.strip-item .sn b { color: var(--oro-l); font-weight: 900; }
.strip-item .sl {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.906);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .01em;
}
.strip-item .si {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
  opacity: .7;
}

/* &#9472;&#9472; SECTION COME FUNZIONA &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.come {
  background: var(--crema);
  padding: 80px 64px;
}
.come-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.come-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.come-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--light);
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.come-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.come-num {
  font-size: 60px;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
}
.come-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--testo);
  margin-bottom: 10px;
}
.come-card p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}
.come-card .bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 12px 12px 0 0;
}
.come-card:nth-child(1) .bar { background: var(--verde-m); }
.come-card:nth-child(2) .bar { background: var(--oro); }
.come-card:nth-child(3) .bar { background: var(--terra); }

/* &#9472;&#9472; PERCHE' &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.perche {
  background: #fff;
  padding: 80px 64px;
}
.perche-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.perche-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.perche-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--light);
  transition: border-color .15s, background .15s;
}
.perche-item:hover {
  border-color: var(--verde-l);
  background: var(--verde-p);
}
.pi-ico {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.pi-txt h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--testo);
  margin-bottom: 4px;
}
.pi-txt p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}
.perche-right {
  background: var(--verde);
  border-radius: 16px;
  padding: 48px 44px;
  color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.perche-right blockquote {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  font-style: italic;
  margin-bottom: 24px;
  border-left: 3px solid var(--oro-l);
  padding-left: 20px;
}
.perche-right cite {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-style: normal;
}

/* &#9472;&#9472; FAQ BREVE &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.faq {
  background: var(--terra);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(255,255,255,.03) 40px, rgba(255,255,255,.03) 41px
  );
}
.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.faq .section-eye { color: rgba(255,255,255,.55); }
.faq .section-title { color: #fff; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.6);
  transition: background .18s, box-shadow .18s;
}
.faq-item:hover {
  background: var(--oro-l);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.faq-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--terra-d);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}

/* &#9472;&#9472; CTA FINALE &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.cta-final {
  background: var(--crema);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(0,0,0,.018) 40px, rgba(0,0,0,.018) 41px
  );
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--verde);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-final-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cf-p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--terra);
  color: #fff;
  padding: 15px 28px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  transition: all .18s;
}
.btn-cf-p:hover {
  background: var(--terra-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,92,40,.35);
}
.btn-cf-s {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--verde);
  padding: 15px 28px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--verde);
  transition: all .18s;
}
.btn-cf-s:hover {
  background: var(--verde);
  color: #fff;
  transform: translateY(-2px);
}

