/* LA RIPARERIA — GRAPHIC MASTER 1.2, homepage balanced.
 * Copyright (c) 2026 Noccioli Tecnologie Srl. Tutti i diritti riservati.
 * Isolato alla vista home; nessuna modifica ai fogli comuni. */
.lr-graphic-home {
  --gm-radius: 30px;
  --gm-gutter: clamp(16px, 3vw, 56px);
  --gm-space: clamp(18px, 2.8vw, 36px);
  --gm-inner: clamp(20px, 3vw, 48px);
  background: #e7e9ec;
  padding: var(--gm-space) 0;
  display: flow-root;
}
.lr-graphic-home > section {
  box-sizing: border-box;
  width: calc(100% - 2 * var(--gm-gutter));
  max-width: 1680px;
  margin: 0 auto var(--gm-space);
  border: 1px solid #d0d5da;
  border-radius: var(--gm-radius);
  padding: clamp(32px, 5vw, 72px) 0;
  background: #fff;
  color: #151917;
  box-shadow: 0 3px 12px rgba(21, 33, 24, .035);
  min-width: 0;
}
.lr-graphic-home > section:last-child { margin-bottom: 0; }
.lr-graphic-home > section > .container {
  width: min(1520px, calc(100% - 2 * var(--gm-inner)));
  max-width: none;
  min-width: 0;
}
.lr-graphic-home > .hero { background: #20252b; color: #fff; border-color: #20252b; padding: 0; }
.lr-graphic-home > .home-services { background: #fff; }
.lr-graphic-home > .lr-resource-promo { background: #e3eaf1; border-color: #c3cdd8; }
.lr-graphic-home > .home-featured { background: #fff; }
.lr-graphic-home > .home-problem-pick { background: #f3ede4; border-color: #d8cfc0; }
.lr-graphic-home > .home-brands { background: #fff; }
.lr-graphic-home > .home-business-banner { background: #303a45; color: #fff; border-color: #303a45; padding: 0; }
.lr-graphic-home > .home-real-photos { background: #fff; }
.lr-graphic-home > .home-trust { background: #e3eaf1; border-color: #c3cdd8; }
.lr-graphic-home > .home-story { background: #fff; }
.lr-graphic-home > .home-benefits { background: #f3ede4; border-color: #d8cfc0; }
.lr-graphic-home > .green-home { background: #25313c; color: #fff; border-color: #25313c; padding: 0; }
.lr-graphic-home > .home-journey { background: #fff; }
.lr-graphic-home > .manifesto { background: #c7f36a; border-color: #b1db56; }
.lr-graphic-home > .final-cta { background: #fff; }
.lr-graphic-home > .section:nth-last-child(3) { background: #e3eaf1; border-color: #c3cdd8; }
.lr-graphic-home > .section:last-child { background: #f3ede4; border-color: #d8cfc0; }

.lr-graphic-home .section-heading { margin-bottom: clamp(24px, 3vw, 38px); }
.lr-graphic-home .section-heading h2 em, .lr-graphic-home .final-cta h2 em { color: #507326; }
.lr-graphic-home .home-quicklink, .lr-graphic-home .home-featured-card,
.lr-graphic-home .home-problem-grid article, .lr-graphic-home .home-story-card,
.lr-graphic-home .home-benefits-grid article, .lr-graphic-home .home-photo-card,
.lr-graphic-home .journey-grid > div {
  border: 1px solid #d5d9de;
  border-radius: 18px;
  min-width: 0;
}
.lr-graphic-home .home-quicklink, .lr-graphic-home .home-story-card, .lr-graphic-home .journey-grid > div { background: #f5f6f8; }
.lr-graphic-home .home-featured-card { background: #f8f9fa; }
.lr-graphic-home .home-benefits-grid article { background: #fff; }
.lr-graphic-home .home-quicklinks, .lr-graphic-home .home-featured-grid,
.lr-graphic-home .home-problem-grid, .lr-graphic-home .home-story-grid,
.lr-graphic-home .home-benefits-grid, .lr-graphic-home .journey-grid { gap: clamp(12px, 1.5vw, 20px); }
.lr-graphic-home a:focus-visible { outline: 3px solid #527b22; outline-offset: 3px; }
.lr-graphic-home :is(.hero,.green-home,.home-business-banner) a:focus-visible { outline-color: #c7f36a; }
.lr-graphic-home .actions { flex-wrap: wrap; }
@media (max-width: 760px) {
  .lr-graphic-home { --gm-radius: 20px; --gm-inner: 16px; --gm-gutter: 12px; }
  .lr-graphic-home > section { padding: 30px 0; }
  .lr-graphic-home > :is(.hero,.green-home,.home-business-banner) { padding: 0; }
  .lr-graphic-home .section-heading h2, .lr-graphic-home .manifesto h2, .lr-graphic-home .final-cta h2 { letter-spacing: -.045em; }
  .lr-graphic-home .home-quicklink, .lr-graphic-home .home-featured-card { border-radius: 14px; }
  .lr-graphic-home .actions .button { max-width: 100%; white-space: normal; }
}

/* GRAPHIC MASTER 1.3 — risorse contestuali, solo homepage. */
.lr-graphic-home > section.lr-context-cards {
  background: #e3eaf1;
  border-color: #c3cdd8;
}
.lr-graphic-home .lr-context-cards h2 { margin: 0 0 .65rem; color: #151917; }
.lr-graphic-home .lr-context-intro { color: #3e4853; margin: 0 0 1.6rem; }
.lr-graphic-home .lr-context-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(12px,1.7vw,24px); list-style: none; padding: 0; margin: 0;
}
.lr-graphic-home .lr-context-grid > li { display: flex; margin: 0; padding: 0; min-width: 0; }
.lr-graphic-home .lr-context-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .8rem;
  width: 100%; padding: clamp(18px,2.1vw,30px); border: 1px solid #c8d0d9;
  border-radius: 20px; background: #fff; color: #151917; text-decoration: none;
  box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.lr-graphic-home .lr-context-card:hover { border-color: #53762d; box-shadow: 0 4px 16px #303a4512; }
.lr-graphic-home .lr-context-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #c7f36a; color: #303a45; font-weight: 750; }
.lr-graphic-home .lr-context-card h3 { font-size: clamp(1.15rem,1.5vw,1.5rem); line-height: 1.2; margin: 0; color: #151917; }
.lr-graphic-home .lr-context-card p { margin: 0; color: #414b56; font-size: 1rem; line-height: 1.5; }
.lr-graphic-home .lr-context-action { display: block; margin-top: auto; padding-top: .8rem; color: #345523; font-weight: 700; font-size: .95rem; overflow-wrap: anywhere; }
.lr-graphic-home .lr-context-action span { white-space: nowrap; }
@media (max-width: 760px) {
  .lr-graphic-home .lr-context-grid { grid-template-columns: 1fr; }
  .lr-graphic-home .lr-context-card { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .lr-graphic-home .lr-context-card { transition: none; } }

/* GRAPHIC MASTER 1.4 — Clean homepage. Copyright (c) 2026 Noccioli Tecnologie Srl. */
.lr-graphic-home > section {padding:clamp(28px,3.8vw,56px) 0;}
.lr-graphic-home > :is(.hero,.home-business-banner){padding:0;}
.lr-graphic-home .hero-grid {min-height:0;}
.lr-graphic-home .hero-copy {padding:clamp(36px,4vw,70px) 0;}
.lr-graphic-home .hero h1 {font-size:clamp(46px,5.5vw,82px);}
.lr-graphic-home .home-featured-grid {grid-template-columns:repeat(5,minmax(0,1fr));}
.lr-graphic-home .home-featured-photo img {aspect-ratio: 8/5; height:auto; object-fit:cover;}
.lr-graphic-home .lr-clean-links {display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; margin-top:1.2rem; align-items:center;}
.lr-graphic-home .lr-clean-links a {color:inherit; font-weight:650; text-decoration:underline; text-underline-offset:3px;}
.lr-graphic-home > .lr-clean-trust {background:#e3eaf1;border-color:#c3cdd8;}
.lr-graphic-home > .lr-clean-resources {background:#f3ede4;border-color:#d8cfc0;}
.lr-graphic-home > .lr-clean-final {background:#c7f36a;border-color:#b1db56;}
.lr-graphic-home .lr-clean-resource-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px;}
.lr-graphic-home .lr-clean-resource-grid a {display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:18px;border:1px solid #d8cfc0;background:#fff;color:#151917;text-decoration:none;}
.lr-graphic-home .lr-clean-resource-grid a:hover {border-color:#527b22;}
.lr-graphic-home .lr-clean-resource-grid strong {font-size:1.2rem;}
.lr-graphic-home .lr-clean-resource-grid span {color:#414b56;}
.lr-graphic-home .lr-clean-more {margin-top:20px;}
.lr-graphic-home .lr-clean-more summary {cursor:pointer;font-weight:650;min-height:44px;display:list-item;padding:10px 0;}
.lr-graphic-home .lr-clean-final h2 {font-size:clamp(36px,4.5vw,68px);}
@media(max-width:1100px){.lr-graphic-home .home-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.lr-graphic-home .home-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.lr-graphic-home .lr-clean-resource-grid{grid-template-columns:1fr;}.lr-graphic-home .hero-copy{padding:30px 0 12px;}}
@media(max-width:440px){.lr-graphic-home .home-featured-grid{grid-template-columns:1fr;}}

/* GRAPHIC MASTER 1.5 — CTA secondarie, solo home. Copyright (c) 2026 Noccioli Tecnologie Srl. */
.lr-graphic-home .lr-final-secondary {display:flex;flex-direction:column;align-items:center;gap:18px;margin:26px auto 0;max-width:760px;text-align:center;}
.lr-graphic-home .lr-final-online {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 20px;border:1px solid #54752e;border-radius:999px;color:#303a45;background:transparent;text-decoration:none;font-weight:650;line-height:1.4;box-sizing:border-box;}
.lr-graphic-home .lr-final-online:hover {background:#fff;}
.lr-graphic-home .lr-final-english {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 20px;width:100%;padding-top:14px;border-top:1px solid #303a4535;font-size:.875rem;line-height:1.5;}
.lr-graphic-home .lr-final-language {font-weight:650;color:#3e4853;}
.lr-graphic-home .lr-final-english a {display:inline-flex;align-items:center;min-height:44px;color:#303a45;font-weight:400;text-decoration:underline;text-underline-offset:3px;}
.lr-graphic-home .lr-final-secondary a:focus-visible {outline:2px solid #303a45;outline-offset:3px;}
@media(max-width:600px){.lr-graphic-home .lr-final-english{flex-direction:column;gap:0;}.lr-graphic-home .lr-final-secondary{margin-top:20px;gap:14px;}}

/* GRAPHIC MASTER 2.1 — Color balance. Palette neutra, lime riservato alle azioni. */
.lr-graphic-home > .lr-clean-trust {background:#e3eaf1;border-color:#c3cdd8;}
.lr-graphic-home .trust-figure {background:#fff;border-color:#c3cdd8;}
.lr-graphic-home .home-featured-photo {background:#edf0f3;}
.lr-graphic-home > .lr-clean-final {background:#fff;border-color:#d0d5da;}
.lr-graphic-home .lr-clean-final .button-dark {background:#c7f36a;color:#151917;border:1px solid #6c822f;}
.lr-graphic-home .lr-clean-final .button-soft {background:#f5f6f8;color:#20252b;border:1px solid #7d8792;}
.lr-graphic-home .lr-final-online {border-color:#7d8792;color:#303a45;}
.lr-graphic-home .lr-final-online:hover {background:#edf0f3;}
.lr-graphic-home .lr-final-english {border-color:#d0d5da;}
