/* =========================================================
   PICCOLE PAGINE — CSS CORE GLOBALE
   Versione pulita 0.1.2
   Home + pagine standard + personaggi + legali + footer + albi
   ========================================================= */

/* ---------------------------------------------------------
   01. Variabili base
   --------------------------------------------------------- */

:root {
  --pp-white: #ffffff;
  --pp-bg: #ffffff;
  --pp-text: #3B2B42;
  --pp-title: #6F4C7A;
  --pp-coral: #E98A7A;
  --pp-cta: #E98A7A;
  --pp-aqua: #A8DADC;
  --pp-lavender: #E8DDF1;
  --pp-neutral: #F5F5F5;

  --pp-soft-coral: #FCEBE8;
  --pp-soft-aqua: #EAF7F8;
  --pp-soft-lavender: #F6EFF8;
  --pp-soft-yellow: #FFF6CF;

  --pp-container: 1180px;

  --pp-radius-xl: 34px;
  --pp-radius-lg: 30px;
  --pp-radius-md: 24px;
  --pp-radius-sm: 16px;

  --pp-shadow: 0 22px 58px rgba(59, 43, 66, 0.10);
  --pp-shadow-soft: 0 18px 45px rgba(59, 43, 66, 0.08);
  --pp-border-soft: 1px solid rgba(111, 76, 122, 0.14);
}

/* ---------------------------------------------------------
   02. Pulizia vincoli tema WordPress
   --------------------------------------------------------- */

main#wp--skip-link--target {
  overflow-x: clip;
}

.wp-block-post-content:has(> .pp-page),
.entry-content.wp-block-post-content:has(> .pp-page) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-block-post-content > .pp-page,
.entry-content.wp-block-post-content > .pp-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body .pp-template-main,
body .pp-template-main > .wp-block-post-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------------------------------------------------------
   03. Base pagina
   --------------------------------------------------------- */

.pp-page,
.pp-page * {
  box-sizing: border-box;
}

.pp-page {
  width: 100%;
  max-width: 100%;
  background: var(--pp-bg);
  color: var(--pp-text);
  font-family: "Atkinson Hyperlegible", sans-serif;
  overflow-x: clip;
}

.pp-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pp-container {
  width: min(calc(100% - 48px), var(--pp-container));
  max-width: var(--pp-container);
  margin-left: auto;
  margin-right: auto;
}

.pp-section {
  padding: clamp(48px, 5vw, 76px) 0;
}

.pp-section__intro {
  max-width: 920px;
  margin-bottom: 30px;
}

.pp-section__intro p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   04. Tipografia
   --------------------------------------------------------- */

.pp-page h1,
.pp-page h2,
.pp-page h3 {
  font-family: "Nunito", sans-serif;
  color: var(--pp-title);
  letter-spacing: -0.02em;
}

.pp-page h1 {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 6vw, 5.4rem);
  line-height: 0.98;
  font-weight: 800;
}

.pp-page h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.05;
  font-weight: 800;
}

.pp-page h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.18;
  font-weight: 800;
}

.pp-page p {
  color: var(--pp-text);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.72;
  margin-top: 0;
}

.pp-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--pp-soft-lavender);
  color: var(--pp-title) !important;
  font-family: "Nunito", sans-serif;
  font-size: 0.86rem !important;
  font-weight: 800;
  line-height: 1.2 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   05. Bottoni e link
   --------------------------------------------------------- */

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.pp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.pp-button:hover {
  transform: translateY(-1px);
}

.pp-button:focus-visible {
  outline: 3px solid var(--pp-aqua);
  outline-offset: 4px;
}

.pp-button--primary {
  background: var(--pp-cta);
  color: var(--pp-text) !important;
  box-shadow: 0 12px 28px rgba(233, 138, 122, 0.28);
}

.pp-button--primary:hover {
  background: #df7d6d;
  color: var(--pp-text) !important;
}

.pp-button--secondary {
  background: var(--pp-white);
  color: var(--pp-title) !important;
  border: var(--pp-border-soft);
}

.pp-button--secondary:hover {
  background: var(--pp-soft-lavender);
  color: var(--pp-title) !important;
}

.pp-page a:not(.pp-button) {
  color: var(--pp-title);
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.pp-page a:not(.pp-button):hover {
  color: var(--pp-text);
}

/* ---------------------------------------------------------
   06. Home hero immersiva
   --------------------------------------------------------- */

.pp-home .pp-home-hero.pp-home-hero--immersive {
  position: relative;
  width: 100%;
  min-height: clamp(760px, 92vh, 980px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
}

.pp-home-hero--immersive .pp-home-hero__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pp-home-hero--immersive .pp-home-hero__media {
  position: absolute !important;
  inset: 0;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  font-size: 0 !important;
  color: transparent !important;
  background-size: cover !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
}

.pp-home-hero--immersive .pp-home-hero__media span {
  display: none !important;
}

.pp-home-hero--immersive .pp-home-hero__media::before,
.pp-home-hero--immersive .pp-home-hero__media::after {
  display: none !important;
  content: none !important;
}

.pp-home-hero--immersive .pp-home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.26) 0%,
      rgba(255, 255, 255, 0.12) 38%,
      rgba(255, 255, 255, 0.03) 100%
    );
}

.pp-home-hero--immersive .pp-home-hero__inner {
  position: relative;
  z-index: 3;
  min-height: clamp(760px, 92vh, 980px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: clamp(24px, 3.2vw, 46px);
  padding-bottom: clamp(42px, 5vw, 72px);
}

.pp-home-hero--immersive .pp-home-hero__panel {
  width: min(100%, 400px);
  margin: 0;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(111, 76, 122, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(59, 43, 66, 0.10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pp-home-hero--immersive .pp-eyebrow {
  margin-bottom: 14px;
}

.pp-home-hero--immersive h1 {
  max-width: 10.5ch;
  margin: 0 0 16px;
  color: var(--pp-title);
  font-size: clamp(1.95rem, 3vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pp-home-hero--immersive p {
  margin: 0 0 18px;
  color: var(--pp-text);
  font-size: clamp(0.96rem, 0.98vw, 1.02rem);
  line-height: 1.62;
}

.pp-home-hero--immersive .pp-actions {
  gap: 12px;
  margin-top: 22px;
}

.pp-home-hero--immersive .pp-button {
  min-height: 48px;
  padding: 13px 20px;
}

/* ---------------------------------------------------------
   07. Slot immagini e placeholder
   --------------------------------------------------------- */

.pp-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 246, 207, 0.92), transparent 26%),
    linear-gradient(145deg, #F7C8B8 0%, #E8DDF1 58%, #A8DADC 100%);
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  box-shadow: var(--pp-shadow-soft);
}

.pp-media-placeholder--small {
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  font-size: 2rem;
  border-radius: 32px;
  aspect-ratio: 1 / 0.78;
}

.pp-image-slot span {
  display: inline-flex;
}

/* Giardino: immagine ambientale 3:2, non blob personaggio */
.pp-image-slot--garden {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 3 / 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  background-size: contain !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
}

.pp-media-placeholder.pp-image-slot--garden {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 3 / 2;
  border-radius: 28px;
  font-size: 0;
  background-size: contain !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
}

.pp-media-placeholder.pp-image-slot--garden span {
  display: none;
}

.pp-character-card__image .pp-image-slot--garden {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.pp-image-slot--garden img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* ---------------------------------------------------------
   08. Griglie e card
   --------------------------------------------------------- */

.pp-card-grid {
  display: grid;
  gap: 20px;
}

.pp-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pp-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pp-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-card {
  min-height: 155px;
  padding: 26px 24px;
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-md);
  box-shadow: none;
}

.pp-card p {
  margin-bottom: 0;
  font-size: 1rem !important;
  line-height: 1.58;
}

.pp-card--malva {
  background: var(--pp-soft-lavender);
}

.pp-card--corallo {
  background: var(--pp-soft-coral);
}

.pp-card--acqua {
  background: var(--pp-soft-aqua);
}

.pp-card--neutra {
  background: var(--pp-neutral);
}

.pp-card--white {
  background: var(--pp-white);
  box-shadow: var(--pp-shadow-soft);
}

/* ---------------------------------------------------------
   09. Card personaggi e sezioni editoriali
   --------------------------------------------------------- */

.pp-home .pp-section + .pp-section {
  border-top: 1px solid rgba(111, 76, 122, 0.08);
}

.pp-character-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-xl);
  background: var(--pp-white);
  box-shadow: var(--pp-shadow-soft);
}

.pp-character-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 26px 26px 8px;
}

.pp-character-card__content {
  padding: 22px 26px 28px;
}

.pp-character-card__content p {
  margin-bottom: 18px;
  font-size: 1rem !important;
  line-height: 1.6;
}

.pp-character-card__content a {
  display: inline-flex;
  align-items: center;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--pp-title) !important;
  text-decoration: none !important;
}

.pp-character-card__content a::after {
  content: "→";
  margin-left: 8px;
  transition: transform 160ms ease;
}

.pp-character-card__content a:hover::after {
  transform: translateX(3px);
}

.pp-character-card--axo .pp-media-placeholder {
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 246, 207, 0.95), transparent 28%),
    linear-gradient(145deg, #F7C8B8 0%, #E8DDF1 62%, #A8DADC 100%);
}

.pp-character-card--ziggy .pp-media-placeholder {
  background:
    radial-gradient(circle at 35% 28%, rgba(232, 221, 241, 0.9), transparent 28%),
    linear-gradient(145deg, #D8C0B3 0%, #F6EFF8 55%, #A8DADC 100%);
}

.pp-character-card--nova .pp-media-placeholder {
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 246, 207, 0.95), transparent 28%),
    linear-gradient(145deg, #E8DDF1 0%, #A8DADC 60%, #F5F5F5 100%);
}

.pp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 4.5vw, 58px);
  align-items: center;
}

.pp-split__content {
  max-width: 760px;
  min-width: 0;
}

.pp-note-box {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--pp-radius-xl);
  background: var(--pp-soft-aqua);
  border: var(--pp-border-soft);
}

.pp-note-box p {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.16rem, 1.85vw, 1.55rem) !important;
  font-weight: 800;
  line-height: 1.34;
  color: var(--pp-title);
}

.pp-final-cta {
  padding: clamp(56px, 6vw, 90px) 0;
  text-align: center;
  background: var(--pp-soft-lavender);
  border-top: 1px solid rgba(111, 76, 122, 0.08);
}

.pp-final-cta .pp-container {
  max-width: 820px;
}

.pp-final-cta h2 {
  margin-bottom: 18px;
}

.pp-final-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
}

/* ---------------------------------------------------------
   10. Pagine standard/editoriali + moduli
   --------------------------------------------------------- */

.pp-standard-page {
  background: var(--pp-bg);
  color: var(--pp-text);
}

.pp-page-hero {
  padding: clamp(64px, 6vw, 86px) 0 clamp(46px, 5vw, 64px);
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 221, 241, 0.82), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(168, 218, 220, 0.48), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fc 100%);
}

.pp-page-hero__inner {
  max-width: var(--pp-container);
}

.pp-page-hero__content {
  max-width: 920px;
}

.pp-page-hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pp-page-hero p:not(.pp-eyebrow) {
  max-width: 860px;
  margin: 0;
  color: rgba(59, 43, 66, 0.84);
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.72;
}

.pp-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.pp-two-columns > .pp-note-box,
.pp-two-columns > .pp-info-box {
  align-self: center;
  max-width: 560px;
  margin-left: auto;
}

.pp-two-columns > .pp-form-card,
.pp-two-columns > .pp-character-card,
.pp-two-columns > .pp-soft-note {
  align-self: start;
}

.pp-two-columns__content {
  min-width: 0;
}

.pp-two-columns__content h2 {
  margin: 0 0 18px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.pp-two-columns__content p {
  margin: 0 0 20px;
  color: rgba(59, 43, 66, 0.84);
  font-size: 1.04rem;
  line-height: 1.72;
}

.pp-two-columns__content p:last-child {
  margin-bottom: 0;
}

.pp-info-box {
  margin-top: 26px;
  padding: 26px;
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-lg);
  background: rgba(232, 221, 241, 0.48);
  box-shadow: var(--pp-shadow-soft);
}

.pp-two-columns > .pp-info-box {
  margin-top: 0;
}

.pp-info-box h3 {
  margin: 0 0 14px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
}

.pp-info-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.pp-info-box li {
  margin: 0 0 10px;
  color: rgba(59, 43, 66, 0.86);
  line-height: 1.55;
}

.pp-info-box li:last-child {
  margin-bottom: 0;
}

.pp-soft-note {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--pp-radius-md);
  background: rgba(168, 218, 220, 0.34);
}

.pp-two-columns > .pp-soft-note {
  margin-top: 0;
}

.pp-soft-note p {
  margin: 0;
  color: rgba(59, 43, 66, 0.86);
  font-size: 0.98rem;
  line-height: 1.62;
}

.pp-form-card {
  min-width: 0;
  padding: clamp(22px, 3.5vw, 38px);
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-xl);
  background: #ffffff;
  box-shadow: var(--pp-shadow);
}

.pp-form-card .fluentform {
  color: var(--pp-text);
}

.pp-form-card .ff-el-group {
  margin-bottom: 18px;
}

.pp-form-card label,
.pp-form-card .ff-el-input--label label {
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

.pp-form-card input,
.pp-form-card textarea,
.pp-form-card select {
  border-color: rgba(111, 76, 122, 0.22) !important;
  border-radius: 16px !important;
  color: var(--pp-text) !important;
  font-family: "Atkinson Hyperlegible", sans-serif !important;
}

.pp-form-card input:focus,
.pp-form-card textarea:focus,
.pp-form-card select:focus {
  border-color: var(--pp-cta) !important;
  box-shadow: 0 0 0 3px rgba(233, 138, 122, 0.18) !important;
}

.pp-form-card button,
.pp-form-card button[type="submit"],
.pp-form-card .ff-btn-submit {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--pp-cta) !important;
  color: var(--pp-text) !important;
  font-family: "Nunito", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
  padding: 14px 24px !important;
  box-shadow: 0 12px 26px rgba(233, 138, 122, 0.28) !important;
}

.pp-form-card button:hover,
.pp-form-card button[type="submit"]:hover,
.pp-form-card .ff-btn-submit:hover {
  filter: brightness(0.98);
}

.pp-form-card .ff-el-form-check-label {
  color: rgba(59, 43, 66, 0.82);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

.pp-contact-support,
.pp-withdrawal-help {
  background: #ffffff;
  border-top: 1px solid rgba(111, 76, 122, 0.08);
}

/* ---------------------------------------------------------
   11. Pagine legali
   --------------------------------------------------------- */

.pp-legal-page {
  background: var(--pp-bg);
  color: var(--pp-text);
}

.pp-legal-hero {
  padding: clamp(64px, 6vw, 86px) 0 clamp(44px, 4.5vw, 56px);
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 221, 241, 0.82), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(168, 218, 220, 0.48), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fc 100%);
}

.pp-legal-hero h1 {
  max-width: 980px;
  margin: 0 0 22px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pp-legal-hero p:not(.pp-eyebrow) {
  max-width: 900px;
  margin: 0 0 16px;
  color: rgba(59, 43, 66, 0.82);
  font-size: clamp(1.06rem, 1.45vw, 1.2rem);
  line-height: 1.72;
}

.pp-legal-updated {
  display: inline-flex;
  margin-top: 10px !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(232, 221, 241, 0.62);
  color: rgba(59, 43, 66, 0.82) !important;
  font-size: 0.94rem !important;
  line-height: 1.3 !important;
}

.pp-legal-section {
  padding: 58px 0 80px;
}

.pp-legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}

.pp-legal-index {
  position: sticky;
  top: 28px;
  padding: 26px;
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-lg);
  background: #ffffff;
  box-shadow: var(--pp-shadow-soft);
}

.pp-legal-index h2 {
  margin: 0 0 16px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.pp-legal-index nav {
  display: grid;
  gap: 9px;
}

.pp-legal-index a {
  color: rgba(59, 43, 66, 0.78);
  font-size: 0.94rem;
  line-height: 1.35;
  text-decoration: none;
}

.pp-legal-index a:hover,
.pp-legal-index a:focus {
  color: var(--pp-cta);
  text-decoration: underline;
}

.pp-legal-content {
  max-width: 960px;
}

.pp-legal-content section {
  scroll-margin-top: 28px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(111, 76, 122, 0.12);
}

.pp-legal-content section:first-child {
  padding-top: 0;
}

.pp-legal-content section:last-child {
  border-bottom: 0;
}

.pp-legal-content h2 {
  margin: 0 0 18px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pp-legal-content h3 {
  margin: 0 0 14px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
  line-height: 1.18;
}

.pp-legal-content p {
  margin: 0 0 16px;
  color: rgba(59, 43, 66, 0.84);
  font-size: 1rem;
  line-height: 1.72;
}

.pp-legal-content ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}

.pp-legal-content li {
  margin: 0 0 9px;
  color: rgba(59, 43, 66, 0.84);
  line-height: 1.62;
}

.pp-legal-content a:not(.pp-button) {
  color: var(--pp-title);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pp-legal-content a:not(.pp-button):hover,
.pp-legal-content a:not(.pp-button):focus {
  color: var(--pp-cta);
}

.pp-legal-email {
  color: var(--pp-title);
  font-weight: 800;
}

.pp-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.pp-legal-model-box {
  margin-top: 26px;
  padding: 28px;
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-lg);
  background: rgba(232, 221, 241, 0.44);
  box-shadow: var(--pp-shadow-soft);
}

.pp-terms-page .pp-legal-layout {
  display: block;
}

.pp-terms-page .pp-legal-index {
  position: static;
  margin: 0 0 56px;
  padding: 30px;
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pp-shadow-soft);
}

.pp-terms-page .pp-legal-index h2 {
  margin: 0 0 22px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.pp-terms-page .pp-legal-index nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 22px;
}

.pp-terms-page .pp-legal-index a {
  display: block;
  color: rgba(59, 43, 66, 0.84);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.pp-terms-page .pp-legal-index a:hover,
.pp-terms-page .pp-legal-index a:focus {
  color: var(--pp-cta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp-terms-page .pp-legal-content {
  max-width: 980px;
}

.pp-terms-page .pp-legal-content section:first-child {
  padding-top: 10px;
}

/* ---------------------------------------------------------
   12. Albi dinamici Core
   --------------------------------------------------------- */

.pp-albi-grid {
  align-items: stretch;
}

.pp-albo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--pp-white);
  border: var(--pp-border-soft);
  border-radius: var(--pp-radius-xl);
  box-shadow: var(--pp-shadow-soft);
}

.pp-albo-card__cover {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--pp-soft-lavender);
  overflow: hidden;
}

.pp-albo-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-albo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.pp-albo-card__body h3 {
  margin-bottom: 10px;
}

.pp-albo-card__subtitle {
  margin-bottom: 14px !important;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  color: var(--pp-title) !important;
}

.pp-albo-card__text {
  margin-bottom: 18px !important;
}

.pp-albo-card__meta {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.pp-albo-card__meta li {
  margin: 0;
  color: rgba(59, 43, 66, 0.84);
  font-size: 0.95rem;
  line-height: 1.4;
}

.pp-albo-card__meta strong {
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
}

.pp-albo-card__action {
  margin-top: auto;
}

.pp-albo-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  background:
    radial-gradient(circle at 38% 28%, rgba(232, 221, 241, 0.86), transparent 28%),
    linear-gradient(145deg, #D8C0B3 0%, #F6EFF8 55%, #A8DADC 100%);
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
}

/* ---------------------------------------------------------
   13. Logo e Footer
   --------------------------------------------------------- */

.pp-logo {
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
}

.pp-logo__block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.pp-logo__block--left {
  background: var(--pp-coral);
  border-radius: 10px 0 0 10px;
}

.pp-logo__block--right {
  background: var(--pp-title);
  border-radius: 0 10px 10px 0;
}

.pp-logo--footer {
  margin-bottom: 18px;
}

.pp-logo--footer .pp-logo__block {
  min-height: 36px;
  font-size: 0.88rem;
}

.pp-site-footer,
.pp-site-footer * {
  box-sizing: border-box;
}

.pp-site-footer {
  padding: clamp(54px, 6vw, 78px) 0 32px;
  background: #ffffff;
  color: var(--pp-text);
  border-top: 1px solid rgba(111, 76, 122, 0.12);
  font-family: "Atkinson Hyperlegible", sans-serif;
}

.pp-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(30px, 4.5vw, 62px);
  align-items: start;
}

.pp-site-footer__brand p {
  max-width: 360px;
  margin: 0;
  color: var(--pp-text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.pp-site-footer__legal-info {
  margin-top: 22px;
}

.pp-site-footer__legal-info p {
  margin: 0 0 6px;
  color: rgba(59, 43, 66, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pp-site-footer__legal-info strong {
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
}

.pp-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-footer-nav h2 {
  margin: 0 0 10px;
  color: var(--pp-title);
  font-family: "Nunito", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
}

.pp-footer-nav a {
  display: inline-flex;
  width: fit-content;
  color: var(--pp-text) !important;
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none !important;
}

.pp-footer-nav a:hover {
  color: var(--pp-title) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}

.pp-footer-nav a:focus-visible,
.pp-site-footer a:focus-visible {
  outline: 3px solid var(--pp-aqua);
  outline-offset: 4px;
  border-radius: 6px;
}

.pp-site-footer__bottom {
  margin-top: clamp(38px, 4.5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid rgba(111, 76, 122, 0.12);
}

.pp-site-footer__bottom p {
  margin: 0;
  color: rgba(59, 43, 66, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   14. Pagine personaggio più compatte
   --------------------------------------------------------- */

.pp-character-page .pp-page-hero {
  padding: clamp(52px, 5vw, 74px) 0 clamp(34px, 4vw, 48px);
}

.pp-character-page .pp-section {
  padding: clamp(32px, 3.8vw, 52px) 0;
}

.pp-character-page .pp-section__intro {
  margin-bottom: 18px;
}

.pp-character-page .pp-section__intro p:last-child {
  margin-bottom: 0;
}

.pp-character-page .pp-two-columns {
  gap: clamp(24px, 3.5vw, 46px);
}

.pp-character-page .pp-final-cta {
  padding: clamp(46px, 5vw, 68px) 0;
}

/* ---------------------------------------------------------
   15. Responsive generale
   --------------------------------------------------------- */

@media (max-width: 1080px) {
  .pp-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pp-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pp-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .pp-home .pp-home-hero.pp-home-hero--immersive {
    min-height: 760px;
  }

  .pp-home-hero--immersive .pp-home-hero__inner {
    min-height: 760px;
    padding-top: 40px;
  }

  .pp-home-hero--immersive .pp-home-hero__panel {
    width: min(100%, 390px);
  }

  .pp-home-hero--immersive h1 {
    font-size: clamp(1.95rem, 4vw, 2.8rem);
  }
}

@media (max-width: 980px) {
  .pp-two-columns {
    grid-template-columns: 1fr;
  }

  .pp-two-columns > .pp-note-box,
  .pp-two-columns > .pp-info-box {
    align-self: auto;
    max-width: 100%;
    margin-left: 0;
  }

  .pp-note-box {
    max-width: 100%;
    margin-left: 0;
  }

  .pp-legal-layout {
    grid-template-columns: 1fr;
  }

  .pp-legal-index {
    position: static;
  }

  .pp-terms-page .pp-legal-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .pp-card-grid--3,
  .pp-card-grid--2 {
    grid-template-columns: 1fr;
  }

  .pp-split {
    grid-template-columns: 1fr;
  }

  .pp-character-card {
    border-radius: 28px;
  }

  .pp-character-card__image {
    min-height: 180px;
  }
}

@media (max-width: 780px) {
  .pp-home .pp-home-hero.pp-home-hero--immersive {
    min-height: auto;
  }

  .pp-home-hero--immersive .pp-home-hero__media-wrap {
    position: relative;
    height: 430px;
  }

  .pp-home-hero--immersive .pp-home-hero__media {
    background-position: center center !important;
  }

  .pp-home-hero--immersive .pp-home-hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.18) 100%
      );
  }

  .pp-home-hero--immersive .pp-home-hero__inner {
    min-height: auto;
    display: block;
    padding-top: 0;
    padding-bottom: 34px;
  }

  .pp-home-hero--immersive .pp-home-hero__panel {
    width: 100%;
    margin-top: -42px;
    padding: 22px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
  }

  .pp-home-hero--immersive h1 {
    max-width: none;
    font-size: clamp(2rem, 7.8vw, 3rem);
    line-height: 1;
  }

  .pp-home-hero--immersive p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .pp-home-hero--immersive .pp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pp-home-hero--immersive .pp-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pp-container {
    width: min(calc(100% - 36px), var(--pp-container));
  }

  .pp-section {
    padding: 46px 0;
  }

  .pp-section__intro {
    margin-bottom: 26px;
  }

  .pp-page h1,
  .pp-home h1 {
    max-width: 100%;
    font-size: clamp(2.12rem, 10.5vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .pp-page h2,
  .pp-home h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    line-height: 1.05;
  }

  .pp-card-grid--4 {
    grid-template-columns: 1fr;
  }

  .pp-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .pp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pp-button {
    width: 100%;
  }

  .pp-media-placeholder {
    max-width: 280px;
  }

  .pp-page-hero,
  .pp-legal-hero {
    padding: 58px 0 40px;
  }

  .pp-page-hero h1,
  .pp-legal-hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
    line-height: 1.02;
  }

  .pp-form-card {
    border-radius: var(--pp-radius-lg);
  }

  .pp-legal-section {
    padding: 50px 0 66px;
  }

  .pp-terms-page .pp-legal-index {
    padding: 24px;
    margin-bottom: 44px;
  }

  .pp-terms-page .pp-legal-index nav {
    grid-template-columns: 1fr;
  }

  .pp-character-page .pp-page-hero {
    padding: 46px 0 32px;
  }

  .pp-character-page .pp-section {
    padding: 34px 0;
  }

  .pp-character-page .pp-final-cta {
    padding: 42px 0 54px;
  }

  .pp-site-footer {
    padding-top: 50px;
  }

  .pp-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pp-footer-nav {
    gap: 8px;
  }

  .pp-site-footer__bottom {
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  .pp-container {
    width: min(calc(100% - 30px), var(--pp-container));
  }

  .pp-section {
    padding: 42px 0;
  }

  .pp-page h1,
  .pp-home h1 {
    font-size: clamp(1.95rem, 10vw, 2.72rem);
  }

  .pp-page-hero p:not(.pp-eyebrow),
  .pp-legal-hero p:not(.pp-eyebrow) {
    font-size: 1rem;
    line-height: 1.65;
  }

  .pp-note-box {
    padding: 26px 22px;
  }

  .pp-note-box p {
    font-size: 1.12rem !important;
  }
}
