/* ============================================================
   House of Massage — foglio di stile unico
   Palette: pece, ardesia, ottone, champagne, gesso, sabbia
   Display: Marcellus  ·  Testo: Karla
   ============================================================ */

:root {
  color-scheme: light;

  /* Colore */
  --pece:      #0b0b0d;
  --pece-80:   rgba(11, 11, 13, .8);
  --ardesia:   #17181b;
  --ardesia-2: #202126;
  --ottone:    #b8934e;
  --ottone-lum:#cda963;
  --ottone-testo: #6b5228; /* testo oro su gesso/sabbia ≥4.5:1 */
  --champagne: #e8d6ae;
  --gesso:     #fbf9f5;
  --sabbia:    #f0eae0;
  --grafite:   #303137;
  --fumo:      #6d6e76;
  --fumo-su-sabbia: #3d3e45; /* corpo su sabbia ≥4.5:1 */
  --filo:      rgba(48, 49, 55, .16);
  --filo-oro:  rgba(184, 147, 78, .38);

  /* Tipografia */
  --display: "Marcellus", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --testo:   "Karla", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-xs:  .75rem;
  --t-sm:  .875rem;
  --t-base: 1.0625rem;
  --t-lg:  1.1875rem;
  --t-xl:  clamp(1.35rem, 1.1rem + .9vw, 1.6rem);
  --t-2xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.25rem);
  --t-3xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.1rem);
  --t-4xl: clamp(2.5rem, 1.7rem + 3.6vw, 4rem);

  /* Ritmo */
  --gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  --max: 1180px;
  --measure: 68ch;
  --band-y: clamp(3.75rem, 2.5rem + 5vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
a, button { touch-action: manipulation; }
/* Lo scorrimento fluido vale solo per le ancore interne, non al cambio pagina. */
html.scorrimento-fluido { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.scorrimento-fluido { scroll-behavior: auto; } }
/* Le sezioni bersaglio di un'ancora si fermano sotto la testata fissa. */
[id] { scroll-margin-top: 5.5rem; }

body {
  margin: 0;
  background: var(--gesso);
  color: var(--grafite);
  font-family: var(--testo);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .005em;
  text-wrap: balance;
  margin: 0;
  color: var(--pece);
}
h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); font-family: var(--testo); font-weight: 600; letter-spacing: 0; }

p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.15em; }
li + li { margin-top: .4em; }

a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ottone);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Impalcatura ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band-y); }
.band--sabbia { background: var(--sabbia); }
.band--pece   { background: var(--pece); color: rgba(251, 249, 245, .82); }
:is(.band--pece,.hero,.intestazione) h1, :is(.band--pece,.hero,.intestazione) h2, :is(.band--pece,.hero,.intestazione) h3 { color: var(--gesso); }
.band--tight  { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); }

.stack      { display: flex; flex-direction: column; gap: 1.1rem; }
.stack--lg  { gap: 2rem; }
.stack--xl  { gap: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
.measure    { max-width: var(--measure); }

/* ---------- Occhiello + intestazioni di sezione ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ottone-testo);
  margin: 0;
}
.eyebrow::after {
  content: "";
  flex: 0 0 2.25rem;
  height: 1px;
  background: var(--filo-oro);
}
:is(.band--pece,.hero,.intestazione) .eyebrow { color: var(--champagne); }
:is(.band--pece,.hero,.intestazione) .eyebrow::after { background: rgba(232, 214, 174, .35); }

.lede { font-size: var(--t-lg); line-height: 1.6; color: var(--fumo); }
.band--sabbia .lede,
.band--sabbia .passo p,
.band--sabbia .qualita p,
.band--sabbia .foto figcaption { color: var(--fumo-su-sabbia); }
.band--sabbia .pill .pill__durata { color: var(--fumo-su-sabbia); }
:is(.band--pece,.hero,.intestazione) .lede { color: rgba(251, 249, 245, .74); }

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  font-family: var(--testo);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }

.btn--oro    { background: var(--ottone); color: var(--pece); }
.btn--oro:hover { background: var(--ottone-lum); }

.btn--filo   { background: transparent; color: var(--pece); border-color: rgba(48, 49, 55, .28); }
.btn--filo:hover { border-color: var(--ottone-testo); color: var(--ottone-testo); }

:is(.band--pece,.hero,.intestazione) .btn--filo { color: var(--gesso); border-color: rgba(232, 214, 174, .4); }
:is(.band--pece,.hero,.intestazione) .btn--filo:hover { color: var(--champagne); border-color: var(--champagne); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-oro {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ottone-testo);
  border-bottom: 1px solid var(--filo-oro);
  padding-bottom: .2rem;
  width: fit-content;
}
.link-oro:hover { color: var(--pece); border-color: var(--pece); }
:is(.band--pece,.hero,.intestazione) .link-oro { color: var(--champagne); }
:is(.band--pece,.hero,.intestazione) .link-oro:hover { color: var(--gesso); border-color: var(--gesso); }

/* ---------- Testata ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--pece);
  border-bottom: 1px solid rgba(232, 214, 174, .14);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.marchio {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--gesso);
}
.marchio__sigla {
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--filo-oro);
  border-radius: 50%;
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--champagne);
}
.marchio__nome {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.1;
}
.marchio__claim {
  display: block;
  font-family: var(--testo);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(232, 214, 174, .78);
  margin-top: .22rem;
}

.nav { display: none; }
.nav a {
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, .72);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--champagne); }
.nav a[aria-current="page"] { color: var(--champagne); border-color: var(--filo-oro); }

.topbar__azioni { display: none; }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 .6rem;
  background: transparent;
  border: 1px solid rgba(232, 214, 174, .28);
  border-radius: 999px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 1px;
  background: var(--champagne);
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-mobile {
  position: fixed;
  inset: 4.5rem 0 0;
  z-index: 55;
  background: var(--pece);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.menu-mobile a.menu-voce {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gesso);
  text-decoration: none;
  padding-block: .55rem;
  border-bottom: 1px solid rgba(232, 214, 174, .12);
  display: block;
}
.menu-mobile a.menu-voce[aria-current="page"] { color: var(--champagne); }
.menu-mobile .btn-row { margin-top: .5rem; }

@media (min-width: 1020px) {
  .hamburger, .menu-mobile { display: none !important; }
  .nav { display: flex; gap: clamp(.9rem, .3rem + 1vw, 1.6rem); align-items: center; }
  .topbar__azioni { display: flex; gap: .6rem; align-items: center; }
  .topbar__azioni .btn { padding: .68rem 1.15rem; font-size: .72rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--pece);
  color: rgba(251, 249, 245, .82);
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 70vw;
  height: 70vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(184, 147, 78, .13), transparent 62%);
  pointer-events: none;
}
.hero__griglia {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  align-items: center;
}
/* Mobile: volto prima del testo — fiducia a domicilio */
.hero__griglia > .hero__media { order: -1; max-width: min(72vw, 18rem); margin-inline: auto; }
.hero h1 { color: var(--gesso); }
.hero__sub {
  font-family: var(--display);
  font-size: var(--t-xl);
  color: var(--champagne);
  line-height: 1.3;
}
.hero__nota {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  font-size: var(--t-sm);
  letter-spacing: .04em;
  color: rgba(251, 249, 245, .6);
  padding-top: .3rem;
  border-top: 1px solid rgba(232, 214, 174, .16);
}
.hero__nota span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__nota span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ottone); }
@media (min-width: 900px) {
  .hero__griglia { grid-template-columns: 1.08fr .92fr; }
  .hero__griglia > .hero__media { order: 0; max-width: none; margin-inline: 0; }
}

/* Ritratto del titolare */
.ritratto { margin: 0; position: relative; }
.ritratto img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(232, 214, 174, .35);
}
.ritratto--tondo img {
  border-radius: 50%;
  border-width: 2px;
  background: var(--pece);
}
.ritratto--cornice { padding: .75rem; }
.ritratto--cornice::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--filo-oro);
  pointer-events: none;
}

/* Fotografie di sezione */
.galleria { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.75rem); }
@media (min-width: 760px) { .galleria { grid-template-columns: repeat(3, 1fr); } }
.foto { margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.foto img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--filo-oro);
}
.foto figcaption {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fumo);
}

/* ---------- Pillole listino ---------- */

.pill {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .34rem .85rem;
  border: 1px solid var(--filo-oro);
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--pece);
  background: rgba(184, 147, 78, .09);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pill .pill__durata { color: var(--fumo); font-weight: 500; }
.pill--scuro { color: var(--champagne); background: rgba(184, 147, 78, .12); }
.pill--scuro .pill__durata { color: rgba(232, 214, 174, .62); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Voci di listino (servizi) ---------- */

.listino { display: flex; flex-direction: column; }
.voce {
  display: grid;
  gap: 1rem;
  padding-block: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
  border-top: 1px solid var(--filo);
}
.voce:first-child { border-top: 1px solid var(--filo-oro); }
.voce__testa { display: flex; flex-direction: column; gap: .5rem; }
.voce__num {
  font-size: var(--t-xs);
  letter-spacing: .22em;
  color: var(--ottone-testo);
  font-variant-numeric: tabular-nums;
}
.voce p { color: var(--fumo); }
.voce__sottotitolo {
  font-family: var(--display);
  font-size: var(--t-lg);
  color: var(--ottone-testo) !important;
}
:is(.band--pece,.hero,.intestazione) .voce__sottotitolo { color: var(--champagne) !important; }
.voce__nota {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ottone-testo) !important;
}
.voce__indicato { margin-top: .4rem; display: flex; flex-direction: column; gap: .45rem; }
.voce__indicato ul { padding-left: 1.1em; color: var(--fumo); font-size: var(--t-sm); }
.voce__azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

@media (min-width: 820px) {
  .voce { grid-template-columns: minmax(0, 1fr) 15rem; align-items: start; gap: 2.5rem; }
  .voce__lato { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ---------- Griglie ---------- */

.griglia { display: grid; gap: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
@media (min-width: 640px)  { .griglia--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .griglia--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .griglia--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .griglia--4 { grid-template-columns: repeat(4, 1fr); } }

/* Quattro qualità: comodità, privacy, professionalità, esperienza */
.qualita { display: flex; flex-direction: column; gap: .55rem; }
.qualita__titolo {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ottone-testo);
  padding-top: .9rem;
  border-top: 1px solid var(--filo-oro);
}
.qualita p { font-size: var(--t-sm); color: var(--fumo); }
:is(.band--pece,.hero,.intestazione) .qualita p { color: rgba(251, 249, 245, .66); }
:is(.band--pece,.hero,.intestazione) .qualita__titolo { color: var(--champagne); }

/* Passi: sequenza reale 01 → 05 */
.passi { counter-reset: passo; display: grid; gap: 0; }
.passo {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--filo);
}
.passo:first-child { border-top-color: var(--filo-oro); }
.passo__n {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ottone-testo);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.passo p { color: var(--fumo-su-sabbia); font-size: var(--t-sm); margin-top: .25rem; }
.band--pece .passo p { color: rgba(251, 249, 245, .74); }
.band--pece .passo__n { color: var(--champagne); }

/* Attestazioni */
.attestazioni { display: flex; flex-wrap: wrap; gap: .6rem; }
.attestazione {
  padding: .55rem 1.1rem;
  border: 1px solid var(--filo-oro);
  border-radius: 999px;
  font-size: var(--t-sm);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pece);
}
:is(.band--pece,.hero,.intestazione) .attestazione { color: var(--champagne); }

/* Zone servite */
.zone { display: flex; flex-wrap: wrap; gap: .45rem .5rem; }
.zone li {
  list-style: none;
  margin: 0;
  font-size: var(--t-sm);
  color: var(--fumo);
  padding: .3rem .8rem;
  border: 1px solid var(--filo);
  border-radius: 999px;
}
:is(.band--pece,.hero,.intestazione) .zone li { color: rgba(251, 249, 245, .7); border-color: rgba(232, 214, 174, .2); }

/* ---------- Tabella prezzi ---------- */

.tabella-box { overflow-x: auto; border-top: 1px solid var(--filo-oro); }
table.prezzi {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
table.prezzi th, table.prezzi td {
  text-align: left;
  padding: .95rem 1rem .95rem 0;
  border-bottom: 1px solid var(--filo);
  vertical-align: baseline;
}
table.prezzi th {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ottone-testo);
}
table.prezzi td:last-child, table.prezzi th:last-child { text-align: right; padding-right: 0; }
table.prezzi .trattamento { font-family: var(--display); font-size: var(--t-lg); color: var(--pece); }
table.prezzi .prezzo { font-weight: 700; color: var(--pece); white-space: nowrap; }
table.prezzi .prima { color: var(--fumo); font-weight: 400; text-decoration: line-through; margin-left: .4rem; font-size: var(--t-sm); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--filo-oro); }
.faq details { border-bottom: 1px solid var(--filo); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: var(--t-lg);
  color: var(--pece);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--testo);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ottone-testo);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .risposta { padding-bottom: 1.35rem; color: var(--fumo); max-width: var(--measure); }

/* ---------- Contatti diretti ---------- */

.contatto-diretto {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  padding: 1.1rem 0;
  border-top: 1px solid var(--filo);
}
.contatto-diretto:first-child { border-top-color: var(--filo-oro); }
.contatto-diretto svg { width: 1.4rem; height: 1.4rem; fill: var(--ottone); flex: 0 0 auto; }
.contatto-diretto b { display: block; font-weight: 600; color: var(--pece); }
.contatto-diretto span { font-size: var(--t-sm); color: var(--fumo); }
:is(.band--pece,.hero,.intestazione) .contatto-diretto b { color: var(--gesso); }
:is(.band--pece,.hero,.intestazione) .contatto-diretto { border-color: rgba(232, 214, 174, .18); }

.articolo-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--filo);
  text-decoration: none;
}
.articolo-card:first-child { border-top-color: var(--filo-oro); }
.articolo-card h3 { font-size: var(--t-lg); }
.articolo-card p { font-size: var(--t-sm); color: var(--fumo); }

/* ---------- Testo lungo (pagine legali) ---------- */

.testo-lungo { max-width: var(--measure); }
.testo-lungo h2 { font-size: var(--t-xl); margin-top: 2.25rem; }
.testo-lungo h2:first-child { margin-top: 0; }
.testo-lungo p, .testo-lungo ul { margin-top: .85rem; }
.testo-lungo ul { color: var(--fumo); }

/* ---------- Pagina: intestazione ---------- */

.intestazione {
  background: var(--pece);
  color: rgba(251, 249, 245, .78);
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}
.intestazione h1 { color: var(--gesso); font-size: var(--t-3xl); }
.briciole {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 214, 174, .6);
  margin-bottom: 1.1rem;
}
.briciole a { text-decoration: none; }
.briciole a:hover { color: var(--champagne); }

/* ---------- Piè di pagina ---------- */

.footer { background: var(--pece); color: rgba(251, 249, 245, .62); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer h2, .footer h3 { color: var(--gesso); }
.footer__griglia { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer__griglia { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer__tit {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: .9rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer a { text-decoration: none; font-size: var(--t-sm); }
.footer a:hover { color: var(--champagne); }
.footer__claim {
  font-family: var(--display);
  font-size: var(--t-sm);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--champagne);
}
.footer__coda {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 214, 174, .14);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: rgba(251, 249, 245, .68);
}
.footer__coda a { font-size: var(--t-xs); }

.nota-muta { font-size: var(--t-sm); color: var(--fumo); }
.band--pece .nota-muta,
.hero .nota-muta { color: rgba(251, 249, 245, .62); }
.testo-sm { font-size: var(--t-sm); }

.voce__testa h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.voce__testa h3 a:hover { border-bottom-color: var(--filo-oro); color: var(--ottone-testo); }

.zone__nota { font-size: var(--t-sm); color: var(--fumo-su-sabbia); margin-top: .75rem; }

/* ---------- Barra azioni mobile ---------- */

.barra-mobile {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(232, 214, 174, .18);
  border-top: 1px solid rgba(232, 214, 174, .18);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.barra-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem .5rem;
  background: var(--pece);
  color: var(--champagne);
  text-decoration: none;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.barra-mobile a svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.barra-mobile a.primaria { background: var(--ottone); color: var(--pece); }
body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
.hero { padding-bottom: calc(clamp(3.5rem, 2rem + 5vw, 6rem) + 0.5rem); }
@media (min-width: 1020px) {
  .barra-mobile { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Banner cookie ---------- */

.cookie {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(3.5rem + .75rem);
  z-index: 70;
  max-width: 46rem;
  margin-inline: auto;
  background: var(--gesso);
  border: 1px solid var(--filo-oro);
  box-shadow: 0 18px 44px rgba(11, 11, 13, .28);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.cookie p { font-size: var(--t-sm); color: var(--fumo); }
.cookie .btn { padding: .7rem 1.2rem; font-size: .72rem; }
@media (min-width: 1020px) { .cookie { bottom: 1.25rem; } }

/* ---------- Comparsa discreta ---------- */

.js .comparsa { opacity: 0; transform: translateY(14px); }
.js .comparsa.vista {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .js .comparsa { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilità ---------- */

.solo-lettori-schermo {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.salta-al-contenuto {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ottone);
  color: var(--pece);
  padding: .8rem 1.2rem;
  font-size: var(--t-sm);
  font-weight: 700;
}
.salta-al-contenuto:focus { left: .5rem; top: .5rem; }
