/* Versione C — si aggiunge a styles.css (identità originale).
   Riguarda l'apertura (.hero--c) e il footer con i recapiti. Palette, caratteri e pulsanti restano quelli originali. */

/* ---------- Apertura ----------
   Senza titolo e sottotitolo: la fotografia occupa tutta l'apertura, a sinistra un blocco compatto
   con sigillo, nome dell'azienda (h1) e pulsanti; in basso la riga della gamma. */
.hero--c{display:block;align-items:initial;min-height:max(100svh,40rem);background:#ECD8C8;isolation:isolate}

.hero-stage{position:absolute;inset:0;z-index:0;margin:0;overflow:hidden;background:linear-gradient(180deg,#ECD8C8 0%,#EAD6C5 60%,#E8D2C1 100%)}
.hero-stage picture,.hero-stage img.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-stage img.hero-photo{object-position:100% 50%}
/* velo leggero solo dietro il blocco del marchio */
.hero-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 34% 46% at 18% 50%,rgba(236,216,200,.7) 0%,rgba(236,216,200,.35) 55%,rgba(236,216,200,0) 100%)}

.hero--c .hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1.6rem;min-height:max(100svh,40rem);padding-top:var(--header-h);padding-bottom:calc(4.6rem + 1rem)}
.hero--c .hero-copy>*{max-width:none}
.hero-seal{display:block;width:clamp(6.5rem,8.5vw,8.5rem);aspect-ratio:1;animation:sealIn 1.3s .2s var(--ease) both}
.hero-seal img{width:100%;height:100%}
@keyframes sealIn{from{opacity:0;transform:rotate(-50deg) scale(.9)}to{opacity:1;transform:none}}
.hero-kicker{display:flex;align-items:center;gap:.8rem;margin:0;color:var(--oliva-ink);font-family:var(--text);font-weight:600;font-size:.9rem;line-height:1.35;letter-spacing:.12em;text-transform:uppercase;animation:fade .9s .35s both}
.hero-kicker{align-items:flex-start}
.hero-kicker::before{content:"";flex:none;width:2.2rem;height:1.5px;margin-top:.66em;background:currentColor}
/* nome e luogo su due righe: la riga resta compatta e non invade la fotografia */
.hero-kicker .hk-sep{display:none}
.hero-kicker .hk-place{display:block;font-weight:500;opacity:.9}
.hero--c .hero-cta{margin-top:.4rem;animation:fade 1s .55s both}

/* La gamma: la riga che dice subito cosa produciamo, e porta alle famiglie */
.hero-range{position:absolute;z-index:3;left:0;right:0;bottom:0;background:rgba(244,239,225,.92);box-shadow:0 -1px 0 rgba(31,42,20,.12)}
@supports (backdrop-filter:blur(8px)){.hero-range{background:rgba(244,239,225,.8);backdrop-filter:blur(14px) saturate(1.15)}}
.hero-range .wrap{display:grid;grid-template-columns:auto 1fr;align-items:stretch;gap:2rem}
.hero-range p{align-self:center;font-family:var(--display);font-variation-settings:"SOFT" 100;font-weight:400;font-size:1.25rem}
.hero-range ol{display:grid;grid-template-columns:repeat(5,1fr)}
.hero-range li{animation:fade .8s both}
.hero-range li:nth-child(1){animation-delay:.75s}.hero-range li:nth-child(2){animation-delay:.83s}.hero-range li:nth-child(3){animation-delay:.91s}.hero-range li:nth-child(4){animation-delay:.99s}.hero-range li:nth-child(5){animation-delay:1.07s}
.hero-range a{display:flex;flex-direction:column;justify-content:center;gap:.15rem;height:100%;min-height:4.6rem;padding:.7rem 1rem;border-left:1px solid rgba(31,42,20,.14);text-decoration:none;font-weight:600;font-size:.95rem;line-height:1.25;transition:background-color .3s}
.hero-range a span{font-weight:500;font-size:.78rem;letter-spacing:.08em;color:var(--oliva-ink)}
.hero-range a:hover{background:rgba(123,143,51,.12)}

/* Movimento: la fotografia si assesta, il sigillo ruota con lo scroll (solo desktop) */
.hero-stage picture{animation:settle 1.8s var(--ease) both}
@keyframes settle{from{transform:scale(1.05)}to{transform:none}}
@media (min-width:60rem) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:scroll()){
    .hero-seal img{animation:sealTurn linear both;animation-timeline:scroll(root);animation-range:0 100vh}
    @keyframes sealTurn{to{transform:rotate(90deg)}}
  }
}

@media (min-width:60rem) and (max-width:74.99rem){
  .hero-range .wrap{grid-template-columns:1fr;gap:0}
  .hero-range p{display:none}
  .hero-range a{font-size:.9rem;padding:.6rem .8rem}
  .hero-range li:first-child a{border-left:0}
}

/* ---------- Smartphone ----------
   Ordine: nome dell'azienda, fotografia, pulsanti, gamma. Nessun vuoto: ogni blocco segue il precedente.
   PROVVISORIO: finché non c'è lo scatto 4:5 dedicato, la stessa fotografia è inquadrata 1:1 sulla crema, senza sigillo. */
@media (max-width:59.99rem){
  .hero--c{min-height:0;display:flex;flex-direction:column;padding-top:calc(var(--header-h) + 1.25rem);background:var(--avorio)}
  .hero--c .hero-copy{display:contents}
  .hero--c .hero-copy>*{margin-inline:var(--pad)}
  .hero-seal{display:none}
  .hero-kicker{order:1;font-size:.8rem;letter-spacing:.12em;margin-bottom:1.1rem;align-items:flex-start}
  .hero-stage{order:2;position:relative;inset:auto;aspect-ratio:1/1;overflow:hidden}
  .hero-stage img.hero-photo{object-position:66% 50%}
  .hero-stage::after{display:none}
  .hero--c .hero-cta{order:3;flex-direction:row;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
  .hero--c .hero-cta .btn{flex:1 1 9.5rem;padding-inline:.8rem;font-size:.92rem;white-space:nowrap}
  .hero-range{order:4;position:static;background:none;box-shadow:none;backdrop-filter:none}
  .hero-range .wrap{grid-template-columns:1fr;gap:.4rem;padding-top:1.4rem;padding-bottom:1.2rem}
  .hero-range p{font-size:1.4rem}
  .hero-range ol{grid-template-columns:1fr}
  .hero-range a{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:.9rem;min-height:3.25rem;padding:.75rem 0;border-left:0;border-top:1px solid rgba(31,42,20,.14);font-size:1.02rem}
  .hero-range li:last-child a{border-bottom:1px solid rgba(31,42,20,.14)}
}

/* ---------- Footer: recapiti leggibili e cliccabili (la sezione verde Contatti è stata rimossa) ---------- */
.site-footer{scroll-margin-top:var(--header-h)}
.footer-h{font-family:var(--text);font-size:.82rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--on-dark-soft);margin:0 0 .6rem}
.footer-contacts dl{display:grid;gap:1rem;margin:0}
.footer-contacts dt{font-size:.85rem;color:var(--on-dark-soft)}
.footer-contacts dd{margin:0}
.footer-contacts a{display:inline-block;padding:.35rem 0;min-height:2.75rem;font-family:var(--text);font-weight:400;font-size:1rem;line-height:1.4;color:var(--on-dark);text-decoration:underline;text-decoration-color:rgba(159,191,62,.6);text-decoration-thickness:1.5px;text-underline-offset:.22em;overflow-wrap:anywhere}
.footer-contacts a:hover{text-decoration-color:var(--pistacchio)}
@media (min-width:56rem){.footer-grid{grid-template-columns:1.1fr 1.5fr 1fr}}

/* ---------- Modulo: rifiniture (verifica pre-pubblicazione) ---------- */
.two{display:grid;gap:1.3rem}
@media (min-width:36rem){.two{grid-template-columns:1fr 1fr;gap:1rem}}
.composer-out pre{max-height:none}
.composer-out .link{justify-self:start}

/* ---------- Pagina informativa privacy ---------- */
.legal-page{padding-top:calc(var(--header-h) + clamp(2.5rem,6vw,4.5rem));padding-bottom:clamp(3.5rem,8vw,6rem)}
.legal-page .wrap{max-width:52rem}
.legal-page h1.display{font-size:clamp(2.2rem,5vw,3.4rem)}
.legal-updated{margin-top:.8rem;font-size:.9rem;color:var(--ink-soft)}
.legal-page .lead{margin-top:1.6rem;max-width:none}
.legal-page section{margin-top:2.4rem;padding-top:1.6rem;border-top:1px solid rgba(31,42,20,.14)}
.legal-page h2{font-family:var(--display);font-variation-settings:"SOFT" 100;font-weight:420;font-size:1.45rem;line-height:1.2;margin-bottom:.8rem}
.legal-page p+p{margin-top:.8rem}
.legal-page ul{display:grid;gap:.7rem;list-style:disc;padding-left:1.2rem}
.legal-page a{color:var(--oliva-ink);text-underline-offset:.2em}
.legal a{color:inherit;text-decoration:underline;text-underline-offset:.2em}
