/* =========================================================
   MP2 — π-factor
   File completo: css/pages/mp2.css
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

.page-mp2 {
  background: #fff;
  background-image: none;
}

#mp2-page {
  overflow: hidden;
}

#mp2-page .section {
  padding-top: 5.2rem;
  padding-bottom: 5.2rem;
}


/* =========================================================
   BASE
   ========================================================= */

#mp2-page h2 {
  color: #173044;
  font-size: clamp(2.45rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

#mp2-page .text-narrow > p {
  color: #61717c;
  line-height: 1.65;
}

#mp2-page .home-kicker {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}


/* =========================================================
   HERO — COMPONENTE GLOBALE
   Geometria gestita da 08-hero.css
   ========================================================= */

.page-mp2 .site-hero {
  --hero-fit: contain;
  --hero-position: right center;
  --hero-mobile-position: 67% center;
}

.page-mp2 .site-hero-background {
  background: #fff;
}


/* =========================================================
   HERO — COLORI ICONE
   ========================================================= */

.page-mp2 .mp2-hero-benefit-a {
  color: #128c89;
  background: rgba(62,223,218,.18);
  border: 1px solid rgba(62,223,218,.30);
}

.page-mp2 .mp2-hero-benefit-b {
  color: var(--blue);
  background: rgba(16,190,243,.14);
  border: 1px solid rgba(16,190,243,.26);
}

.page-mp2 .mp2-hero-benefit-c {
  color: #e78216;
  background: rgba(255,160,58,.17);
  border: 1px solid rgba(255,160,58,.30);
}


/* =========================================================
   GRID
   ========================================================= */

#mp2-page .mp2-grid-2,
#mp2-page .mp2-grid-3,
#mp2-page .mp2-grid-4 {
  display: grid;
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 2rem;
}

#mp2-page .mp2-grid-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

#mp2-page .mp2-grid-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

#mp2-page .mp2-grid-4 {
  grid-template-columns: repeat(4, minmax(0,1fr));
}


/* =========================================================
   SEZIONI ALTERNE
   ========================================================= */

#mp2-page .section-alt {
  position: relative;
  background:
    radial-gradient(
      circle at 94% 12%,
      rgba(255,160,58,.055),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      rgba(245,244,242,.62),
      rgba(255,255,255,.96)
    );
}


/* =========================================================
   CARD
   ========================================================= */

#mp2-page .mp2-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.7rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(23,48,68,.08);
  box-shadow: 0 12px 28px rgba(23,48,68,.055);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

#mp2-page .mp2-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--aqua);
}

#mp2-page .mp2-card.orange::before {
  background: var(--turquoise);
}

#mp2-page .mp2-card.gold::before {
  background: var(--orange);
}

#mp2-page .mp2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(23,48,68,.09);
}

#mp2-page .mp2-card h3 {
  position: relative;
  z-index: 1;
  margin-top: .35rem;
  color: #173044;
  font-size: 1.3rem;
}

#mp2-page .mp2-card p {
  position: relative;
  z-index: 1;
  color: #61717c;
  line-height: 1.6;
}

#mp2-page .mp2-card .btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
  align-self: flex-start;
}


/* =========================================================
   PREZZO
   ========================================================= */

#mp2-page .mp2-price {
  margin: .35rem 0 .75rem;
  color: #173044;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 850;
  white-space: nowrap;
}

#mp2-page .mp2-card ul,
#mp2-page .mp2-evaluation ul {
  padding-left: 1.25rem;
  margin: 1rem 0 1.25rem;
  color: #536a79;
}

#mp2-page .mp2-card li,
#mp2-page .mp2-evaluation li {
  margin-bottom: .45rem;
}


/* =========================================================
   VALUTAZIONE
   ========================================================= */

#mp2-page #valutazione-mp2 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 95% 15%,
      rgba(62,223,218,.10),
      transparent 25%
    ),
    radial-gradient(
      circle at 5% 90%,
      rgba(255,160,58,.08),
      transparent 23%
    ),
    #fff;
  color: #173044;
}

#mp2-page #valutazione-mp2 h2 {
  color: #173044;
}

#mp2-page #valutazione-mp2 .mp2-evaluation-wrap {
  max-width: 850px;
  margin: 2rem auto 0;
}

#mp2-page .mp2-evaluation {
  position: relative;
  padding: 2rem;
  text-align: left;
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      #fff,
      rgba(245,244,242,.64)
    );
  border: 1px solid rgba(23,48,68,.08);
  box-shadow: 0 18px 42px rgba(23,48,68,.09);
}

#mp2-page .mp2-evaluation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 5px;
  border-radius: 24px 0 0 0;
  background:
    linear-gradient(
      90deg,
      var(--aqua),
      var(--turquoise),
      var(--orange)
    );
}

#mp2-page .mp2-evaluation p {
  color: #536a79;
  line-height: 1.6;
}

#mp2-page .mp2-evaluation .mp2-price {
  color: #173044;
}

#mp2-page .mp2-evaluation .section-cta-inline {
  justify-content: flex-start;
}


/* =========================================================
   PERCORSI
   ========================================================= */

#mp2-page #percorsi-mp2 {
  position: relative;
  overflow: hidden;
  background: #fff;
}

#mp2-page #percorsi-mp2::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  right: -220px;
  top: 100px;
  border-radius: 50%;
  border: 60px solid rgba(62,223,218,.045);
  pointer-events: none;
}

#mp2-page #percorsi-mp2 .mp2-grid-3 {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

#mp2-page #percorsi-mp2 .mp2-card {
  padding-bottom: 2rem;
}

#mp2-page #percorsi-mp2 .mp2-card:first-child::before {
  background: var(--aqua);
}

#mp2-page #percorsi-mp2 .mp2-card:nth-child(2)::before {
  background: var(--turquoise);
}

#mp2-page #percorsi-mp2 .mp2-card:nth-child(3)::before {
  background: var(--orange);
}

#mp2-page .mp2-featured {
  transform: translateY(-7px);
  box-shadow: 0 20px 42px rgba(23,48,68,.10);
}

#mp2-page .mp2-featured:hover {
  transform: translateY(-11px);
}

#mp2-page .mp2-badge {
  display: inline-block;
  width: fit-content;
  padding: .35rem .7rem;
  margin-bottom: .7rem;
  border-radius: 999px;
  background: rgba(255,160,58,.15);
  border: 1px solid rgba(255,160,58,.24);
  color: #173044;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .05em;
}


/* =========================================================
   NOTE
   ========================================================= */

#mp2-page .mp2-note {
  max-width: 1000px;
  margin: 1.6rem auto 0;
  padding: 0 1rem;
  color: #7b8b95;
  font-size: .88rem;
  line-height: 1.65;
  text-align: center;
}


/* =========================================================
   PROCESSO
   ========================================================= */

#mp2-page .process-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

#mp2-page .process-step {
  position: relative;
  grid-column: span 2;
  min-height: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 19px;
  background: #fff;
  border: 1px solid rgba(23,48,68,.08);
  box-shadow: 0 10px 24px rgba(23,48,68,.045);
}


/* seconda riga centrata */

#mp2-page .process-step:nth-child(4) {
  grid-column: 2 / span 2;
}

#mp2-page .process-step:nth-child(5) {
  grid-column: 4 / span 2;
}


/* accenti */

#mp2-page .process-step:nth-child(1) {
  box-shadow:
    inset 0 4px 0 var(--aqua),
    0 10px 24px rgba(23,48,68,.045);
}

#mp2-page .process-step:nth-child(2) {
  box-shadow:
    inset 0 4px 0 var(--turquoise),
    0 10px 24px rgba(23,48,68,.045);
}

#mp2-page .process-step:nth-child(3) {
  box-shadow:
    inset 0 4px 0 var(--blue),
    0 10px 24px rgba(23,48,68,.045);
}

#mp2-page .process-step:nth-child(4),
#mp2-page .process-step:nth-child(5) {
  box-shadow:
    inset 0 4px 0 var(--orange),
    0 10px 24px rgba(23,48,68,.045);
}


/* numero */

#mp2-page .step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: .9rem;
  border-radius: 13px;
  background: var(--gray);
  color: #173044;
  font-size: .76rem;
  font-weight: 900;
}


/* testo */

#mp2-page .process-step h3 {
  margin: 0 0 .4rem;
  color: #173044;
  font-size: 1.08rem;
}

#mp2-page .process-step p {
  margin: 0;
  color: #61717c;
  font-size: .9rem;
  line-height: 1.5;
}


/* =========================================================
   FAQ
   ========================================================= */

.mp2-faq {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(16,190,243,.07),
      rgba(62,223,218,.04),
      #fff
    );
}

.mp2-faq-grid {
  display: grid;
  grid-template-columns:
    minmax(0,.72fr)
    minmax(0,1.28fr);
  gap: clamp(3rem,8vw,7rem);
  align-items: start;
}

.mp2-faq-intro {
  max-width: 500px;
}

.mp2-faq-intro h2 {
  margin: 0;
  color: #173044;
  font-size: clamp(2.5rem,4vw,4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.mp2-faq-intro > p:last-of-type {
  max-width: 430px;
  margin-top: 1rem;
  color: #61717c;
}


/* accordion */

.mp2-faq-list {
  padding: 0 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,162,247,.12);
  box-shadow: 0 18px 38px rgba(23,48,68,.06);
}

.mp2-faq-list details {
  border-bottom: 1px solid rgba(23,48,68,.10);
}

.mp2-faq-list details:last-child {
  border-bottom: 0;
}

.mp2-faq-list summary {
  position: relative;
  padding: 1.35rem 2rem 1.35rem 0;
  color: #173044;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.mp2-faq-list summary::-webkit-details-marker {
  display: none;
}

.mp2-faq-list summary::after {
  content: "+";
  position: absolute;
  right: .1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.45rem;
}

.mp2-faq-list details[open] summary::after {
  content: "−";
}

.mp2-faq-list details p {
  margin: -.2rem 0 1.35rem;
  color: #61717c;
  line-height: 1.6;
}


/* =========================================================
   CTA FINALE
   ========================================================= */

#mp2-page .section-pattern {
  position: relative;
  overflow: hidden;
  padding-top: 5.2rem;
  padding-bottom: 5.2rem;
  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--turquoise)
    );
  color: #fff;
}

#mp2-page .section-pattern::before,
#mp2-page .section-pattern::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#mp2-page .section-pattern::before {
  width: 270px;
  height: 270px;
  right: -80px;
  top: -100px;
  background: rgba(255,255,255,.10);
}

#mp2-page .section-pattern::after {
  width: 190px;
  height: 190px;
  left: -65px;
  bottom: -80px;
  background: rgba(255,160,58,.18);
}

#mp2-page .section-pattern .container {
  position: relative;
  z-index: 1;
}

#mp2-page .section-pattern h2 {
  color: #fff;
  font-size: clamp(2.8rem,4.6vw,4.6rem);
  line-height: .98;
  letter-spacing: -.05em;
}

#mp2-page .section-pattern .final-note {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.94);
  line-height: 1.7;
}

#mp2-page .mp2-final-evidence {
  max-width: 720px;
  margin: 1.2rem auto 1.4rem;
  color: rgba(255,255,255,.94);
  font-size: 1.05rem;
}

#mp2-page .mp2-final-evidence strong {
  display: block;
  margin-bottom: .35rem;
  color: #fff;
  font-size: clamp(1.35rem,3vw,1.8rem);
}

#mp2-page .section-pattern .btn.primary {
  background: #fff;
  color: #173044;
  border-color: #fff;
}

#mp2-page .section-pattern .btn.secondary {
  background: rgba(255,255,255,.13);
  color: #fff;
  border: 1px solid rgba(255,255,255,.43);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  #mp2-page .mp2-grid-4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  #mp2-page .process-steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  #mp2-page .process-step,
  #mp2-page .process-step:nth-child(4),
  #mp2-page .process-step:nth-child(5) {
    grid-column: auto;
  }

  #mp2-page .process-step:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc(50% - .5rem);
    justify-self: center;
  }

  #mp2-page .mp2-featured,
  #mp2-page .mp2-featured:hover {
    transform: none;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  #mp2-page .section,
  #mp2-page .section-pattern {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #mp2-page .mp2-grid-2,
  #mp2-page .mp2-grid-3,
  #mp2-page .mp2-grid-4,
  #mp2-page .process-steps {
    grid-template-columns: 1fr;
  }

  #mp2-page .process-step,
  #mp2-page .process-step:nth-child(4),
  #mp2-page .process-step:nth-child(5),
  #mp2-page .process-step:last-child {
    grid-column: auto;
    width: 100%;
    max-width: none;
  }

  .mp2-faq-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .mp2-faq-list {
    padding: 0 1.1rem;
  }

  #mp2-page .section-cta-inline {
    flex-direction: column;
    align-items: stretch;
  }

  #mp2-page .section-cta-inline .btn,
  #mp2-page .mp2-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

}