/* Sistema 90G — impianto editoriale aperto, senza effetto "sito a riquadri" */

body.s90g-unified {
  background:
    radial-gradient(circle at 88% 5%, rgba(68, 100, 76, .06), transparent 26%),
    linear-gradient(180deg, #fbfcfa 0%, #f4f7f3 100%) !important;
}

/* Hero: niente pannello, niente bordo, niente ombra. */
body.s90g-unified .premium-hero,
body.s90g-unified .professional-hero,
body.s90g-unified .hero {
  padding-block: clamp(42px, 7vw, 108px) !important;
}

body.s90g-unified .premium-hero .container,
body.s90g-unified .professional-hero .container,
body.s90g-unified .hero {
  min-height: clamp(520px, 66vh, 760px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.s90g-unified .premium-hero .premium-image,
body.s90g-unified .professional-hero .premium-image {
  position: relative;
}

body.s90g-unified .premium-hero .premium-image::before,
body.s90g-unified .professional-hero .premium-image::before {
  content: "";
  position: absolute;
  inset: 7% 3% 3% 10%;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(49, 81, 59, .08), transparent 68%);
  filter: blur(24px);
}

body.s90g-unified .premium-hero .premium-image img,
body.s90g-unified .professional-hero .premium-image img,
body.s90g-unified .hero > img,
body.s90g-unified .hero-content img {
  max-height: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* Sezioni: ritmo editoriale, non contenitori chiusi. */
body.s90g-unified .premium-section,
body.s90g-unified .section,
body.s90g-unified .intro-band,
body.s90g-unified .premium-split,
body.s90g-unified .final-cta,
body.s90g-unified .premium-cta {
  position: relative;
  padding-block: clamp(72px, 9vw, 138px) !important;
}

body.s90g-unified .premium-section + .premium-section::before,
body.s90g-unified .section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1600px, calc(100vw - 2 * var(--s90g-page-gap)));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(49,81,59,.2) 16%, rgba(49,81,59,.2) 84%, transparent);
}

/* Tutte le card diventano colonne editoriali aperte. */
body.s90g-unified .premium-three,
body.s90g-unified .case-grid,
body.s90g-unified .cases-grid,
body.s90g-unified .casi-grid,
body.s90g-unified .problem-grid,
body.s90g-unified .method-grid,
body.s90g-unified .check-grid,
body.s90g-unified .economic-value-grid,
body.s90g-unified .compare-grid,
body.s90g-unified .professional-target-grid,
body.s90g-unified .audit-grid {
  gap: clamp(36px, 4vw, 72px) !important;
}

body.s90g-unified .premium-three article,
body.s90g-unified .case-card,
body.s90g-unified .case-grid article,
body.s90g-unified .cases-grid article,
body.s90g-unified .casi-grid article,
body.s90g-unified .problem,
body.s90g-unified .method,
body.s90g-unified .compare-grid article,
body.s90g-unified .economic-value-grid article,
body.s90g-unified .professional-target-grid article,
body.s90g-unified .audit-grid article {
  position: relative;
  padding: 28px 0 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-top: 1px solid rgba(49,81,59,.22) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.s90g-unified .premium-three article::before,
body.s90g-unified .case-card::before,
body.s90g-unified .case-grid article::before,
body.s90g-unified .cases-grid article::before,
body.s90g-unified .casi-grid article::before,
body.s90g-unified .problem::before,
body.s90g-unified .method::before,
body.s90g-unified .compare-grid article::before,
body.s90g-unified .economic-value-grid article::before,
body.s90g-unified .professional-target-grid article::before,
body.s90g-unified .audit-grid article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 54px;
  height: 2px;
  background: var(--s90g-green);
}

/* Etichette: testo editoriale, non pillole. */
body.s90g-unified article > span,
body.s90g-unified .case-card > span,
body.s90g-unified .step {
  min-height: 0 !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--s90g-green) !important;
  font-size: 11px !important;
  letter-spacing: .15em !important;
}

/* Immagini: nessun secondo riquadro dentro le colonne. */
body.s90g-unified .case-card-image,
body.s90g-unified .case-card img,
body.s90g-unified .premium-three article > img,
body.s90g-unified .case-grid article > img,
body.s90g-unified .cases-grid article > img,
body.s90g-unified .casi-grid article > img,
body.s90g-unified .professional-target-grid article > img {
  width: 100% !important;
  max-height: none !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  mix-blend-mode: multiply;
}

/* Risposte rapide, note e FAQ senza scatole. */
body.s90g-unified .quick-answer,
body.s90g-unified .case-note,
body.s90g-unified .case-limit,
body.s90g-unified details {
  padding: 26px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(49,81,59,.24) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* CTA finale aperta e autorevole, non pannello. */
body.s90g-unified .premium-cta .container,
body.s90g-unified .final-cta .container {
  position: relative;
  padding: clamp(44px, 6vw, 88px) 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(49,81,59,.26) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.s90g-unified .premium-cta .container::before,
body.s90g-unified .final-cta .container::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 84px;
  height: 3px;
  background: var(--s90g-green);
}

/* Il contrasto scuro resta a tutta larghezza: è una pausa editoriale, non una card. */
body.s90g-unified .premium-contrast {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Logo più sobrio, senza mattonella. */
body.s90g-unified .brand-mark {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 820px) {
  body.s90g-unified .premium-hero,
  body.s90g-unified .professional-hero,
  body.s90g-unified .hero {
    padding-block: 34px 58px !important;
  }

  body.s90g-unified .premium-hero .container,
  body.s90g-unified .professional-hero .container {
    gap: 34px !important;
    padding: 0 !important;
  }

  body.s90g-unified .premium-three,
  body.s90g-unified .case-grid,
  body.s90g-unified .cases-grid,
  body.s90g-unified .casi-grid,
  body.s90g-unified .problem-grid,
  body.s90g-unified .method-grid,
  body.s90g-unified .check-grid,
  body.s90g-unified .economic-value-grid,
  body.s90g-unified .compare-grid,
  body.s90g-unified .professional-target-grid,
  body.s90g-unified .audit-grid {
    gap: 44px !important;
  }

  body.s90g-unified .button,
  body.s90g-unified .button-primary,
  body.s90g-unified .button-secondary {
    width: auto !important;
  }
}
