/* SHUNGITE M.A.Y.A. — landing (step 5)
   Colori del kit (05-stile/design-tokens.css), misurati sul design con confronta-design.py --colori.
   Font locali del kit (08-font): Cormorant Garamond 500 per i titoli, Inter 400/600 per i testi. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorantgaramond-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --carbone: #10120F;
  --notte: #0B0C0A;
  --pannello: #171B16;
  --pannello-alto: #20251E;
  --oro: #D6AD69;
  --oro-chiaro: #E8C589;
  --avorio: #EAE2D2;
  --grigio: #B7B8AD;
  --bordo: #60543C;
  --pietra: #F0E8DA;
  --oro-hover: #E8C589;
  --errore-testo: #F2ADA0;
  --focus-anello: #EAE2D2;

  --font-titoli: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-testo: "Inter", Arial, Helvetica, sans-serif;
  --larghezza: 1260px;
  --margine: 40px;
  --raggio: 4px;
  --raggio-btn: 3px;
  --sezione: 88px;
  --testata: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--carbone);
  color: var(--avorio);
  font-family: var(--font-testo);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; }

:focus-visible { outline: 2px solid var(--focus-anello); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--oro); color: var(--carbone); padding: 10px 16px; border-radius: var(--raggio-btn);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.contenitore { width: 100%; max-width: calc(var(--larghezza) + 2 * var(--margine)); margin: 0 auto; padding: 0 var(--margine); }

/* ── titoli e testi ricorrenti ───────────────────────────────── */
h1, h2 { font-family: var(--font-titoli); letter-spacing: .005em; }
h2, h3, .fascia__lista span { text-wrap: balance; }
p, li { text-wrap: pretty; }
h2 { font-size: 44px; line-height: 1.1; color: var(--avorio); }
h3 { font-size: 28px; line-height: 1.15; }

.occhiello {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 12px;
}
.racconto .occhiello::after {
  content: ""; display: block; width: 32px; height: 1px; background: var(--oro); margin-top: 8px; opacity: .8;
}
.titolo-segnato::after {
  content: ""; display: block; width: 32px; height: 1px; background: var(--oro); margin-top: 16px;
}
.titolo-centro { text-align: center; color: var(--oro-chiaro); }
.titolo-linea { display: flex; align-items: center; gap: 28px; }
.linea-titolo { width: 88px; height: 12px; flex: none; color: var(--oro); fill: currentColor; stroke: currentColor; stroke-width: 1; margin-top: 6px; }
.linea-titolo path { fill: none; }

.link-freccia {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--oro); font-size: 14px; font-weight: 600; text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
  transition: color .2s, gap .2s;
}
.link-freccia .ico { width: 16px; height: 16px; stroke-width: 1.6; }
.link-freccia:hover { color: var(--oro-hover); gap: 10px; }

/* ── pulsanti ───────────────────────────────────────────────── */
.bottoni { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: var(--raggio-btn);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid var(--oro);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--oro { background: var(--oro); color: var(--carbone); }
.btn--oro:hover { background: var(--oro-hover); border-color: var(--oro-hover); }
.btn--linea { background: rgba(16, 18, 15, .35); color: var(--avorio); }
.btn--linea:hover { background: var(--oro); color: var(--carbone); }

/* ── testata ────────────────────────────────────────────────── */
.testata {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(11, 12, 10, .82) 0%, rgba(11, 12, 10, .45) 60%, rgba(11, 12, 10, 0) 100%);
}
.testata.scorsa { background: rgba(16, 18, 15, .96); box-shadow: 0 1px 0 rgba(96, 84, 60, .55); }
.testata__barra {
  max-width: calc(1320px + 2 * var(--margine)); margin: 0 auto; padding: 0 var(--margine);
  height: var(--testata); display: flex; align-items: center; gap: 32px;
  transition: height .3s;
}
.testata.scorsa .testata__barra { height: 76px; }
.testata__logo { display: block; flex: none; }
.testata__logo img { width: 290px; height: auto; transition: width .3s; }
.testata.scorsa .testata__logo img { width: 240px; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: 32px; }
.menu a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--avorio); text-decoration: none; transition: color .2s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--oro);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--oro); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.testata__azioni { display: flex; align-items: center; gap: 8px; margin-left: 24px; }
.icona-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  color: var(--oro); background: none; border: 0; border-radius: var(--raggio-btn); cursor: pointer;
  transition: color .2s, background-color .2s;
}
.icona-btn:hover { color: var(--oro-hover); background: rgba(214, 173, 105, .08); }
.icona-btn .ico { width: 24px; height: 24px; }
.menu-btn { display: none; position: relative; }
.menu-btn .ico { position: absolute; top: 10px; left: 10px; transition: opacity .25s, transform .35s cubic-bezier(.22, .7, .2, 1); }
.menu-btn .ico--chiudi { opacity: 0; transform: rotate(-90deg) scale(.8); }
.menu-btn[aria-expanded="true"] .ico--apri { opacity: 0; transform: rotate(90deg) scale(.8); }
.menu-btn[aria-expanded="true"] .ico--chiudi { opacity: 1; transform: none; }

/* ── apertura ───────────────────────────────────────────────── */
.apertura {
  position: relative; display: flex; align-items: center;
  min-height: clamp(640px, 52vw, 820px);
  padding: calc(var(--testata) + 32px) 0 72px;
  overflow: hidden; isolation: isolate;
}
.apertura__foto { position: absolute; inset: 0; z-index: -2; display: block; }
.apertura__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
.apertura::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 10, .82) 0%, rgba(11, 12, 10, .55) 30%, rgba(11, 12, 10, 0) 58%),
    linear-gradient(0deg, rgba(16, 18, 15, .55) 0%, rgba(16, 18, 15, 0) 22%);
}
.apertura__testo { max-width: calc(var(--larghezza) + 2 * var(--margine)); }
.apertura__occhiello { margin-bottom: 14px; color: var(--oro); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.apertura h1 {
  max-width: 580px; font-size: 56px; line-height: 1.1; color: var(--oro-chiaro);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.apertura h1::after { content: ""; display: block; width: 40px; height: 1px; background: var(--oro); margin-top: 20px; }
.apertura__sotto p { max-width: 600px; font-size: 17px; color: var(--avorio); }
.apertura__sotto p:first-child { margin-top: 22px; }
.apertura__sotto .bottoni { margin-top: 30px; }

/* ── fascia icone ───────────────────────────────────────────── */
.fascia { background: var(--notte); border-top: 1px solid rgba(96, 84, 60, .45); border-bottom: 1px solid rgba(96, 84, 60, .45); }
.fascia__lista { display: grid; grid-template-columns: repeat(4, 1fr); }
.fascia__lista li { position: relative; }
.fascia__lista li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 44px; transform: translateY(-50%);
  background: var(--bordo);
}
.fascia__lista a {
  display: flex; align-items: center; justify-content: center; gap: 18px; padding: 30px 12px;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--avorio);
  text-decoration: none; transition: color .2s;
}
.fascia__lista .ico { width: 44px; height: 44px; color: var(--oro); stroke-width: 1.2; transition: transform .3s; }
.fascia__lista a:hover { color: var(--oro); }
.fascia__lista a:hover .ico { transform: translateY(-2px); }

/* ── racconto: foto a sinistra che sfuma nel testo ──────────── */
.racconto { position: relative; min-height: 400px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.racconto__foto { position: absolute; top: 0; bottom: 0; left: 0; width: 62%; z-index: -1; }
.racconto__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.racconto__foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 18, 15, 0) 55%, rgba(16, 18, 15, .7) 80%, var(--carbone) 100%);
}
.racconto__griglia { display: grid; grid-template-columns: 1fr 1fr; padding-top: 72px; padding-bottom: 72px; }
.racconto__testo { grid-column: 2; padding-left: 48px; max-width: 520px; }
.racconto__testo h2 { margin-bottom: 20px; }
.racconto__testo > p:not(.occhiello) { color: var(--avorio); opacity: .9; }
.racconto__testo > p + p { margin-top: 12px; }
.racconto--storia { background: var(--notte); }
.racconto--storia .racconto__foto::after {
  background: linear-gradient(90deg, rgba(11, 12, 10, 0) 55%, rgba(11, 12, 10, .7) 80%, var(--notte) 100%);
}
.racconto--storia .racconto__foto img { object-position: 30% 50%; }

/* ── sezioni ────────────────────────────────────────────────── */
.sezione { padding: var(--sezione) 0; }
.espressioni { padding-top: 56px; padding-bottom: 40px; }
.espressioni .titolo-centro { margin-bottom: 32px; }
.espressioni__griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.espressione {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--bordo); border-radius: var(--raggio); background: var(--carbone);
  transition: border-color .3s;
}
.espressione__foto { aspect-ratio: 600 / 230; overflow: hidden; }
.espressione__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .6s ease; }
.espressione:hover { border-color: var(--oro); }
.espressione:hover .espressione__foto img { transform: scale(1.03); }
.espressione__corpo { padding: 22px 28px 26px; }
.espressione__corpo h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-titoli); color: var(--avorio); margin-bottom: 8px; }
.espressione__corpo h3 .ico { width: 28px; height: 28px; color: var(--oro); }
.espressione__corpo p { color: var(--avorio); opacity: .88; font-size: 15px; }
.espressioni__fondo { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; text-align: center; }
.espressioni__fondo p { color: var(--oro-chiaro); font-size: 16px; }

/* collezioni: forme e gioielli */
.collezione { padding-top: 40px; padding-bottom: 40px; }
.collezione--gioielli { padding-bottom: 80px; }
.collezione__testa { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.collezione__sotto { margin-top: 10px; color: var(--grigio); font-size: 15px; }
.collezione__testa .link-freccia { margin-bottom: 10px; }
.schede { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.schede.schede--tre { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scheda {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--bordo); border-radius: var(--raggio); background: var(--pannello);
  transition: border-color .3s, transform .3s;
}
.scheda__foto { aspect-ratio: 5 / 4; background: var(--pietra); overflow: hidden; }
.scheda__foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fuoco, 50% 50%); transition: transform .6s ease; }
.scheda__corpo { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.scheda__corpo h3 { font-family: var(--font-testo); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--avorio); }
.scheda__corpo p { margin: 4px 0 14px; font-size: 13px; color: var(--grigio); }
.scheda__link { align-self: flex-start; margin-top: auto; font-size: 13px; }
.scheda__link::before { content: ""; position: absolute; inset: 0; }
.scheda:hover { border-color: var(--oro); }
.scheda:hover .scheda__foto img { transform: scale(1.04); }

/* come si ordina */
.ordine { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid rgba(96, 84, 60, .35); }
.ordine .titolo-centro { color: var(--avorio); margin-bottom: 40px; }
.passi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: passo; }
.passo { position: relative; padding-right: 8px; }
.passo + .passo::before {
  /* la linea del kit (03-elementi/connessione-passaggi.svg) fra un passo e l'altro */
  content: ""; position: absolute; top: 22px; right: calc(100% + 16px); width: calc(100% - 44px); height: 1px;
  background: linear-gradient(90deg, var(--bordo), var(--oro) 50%, var(--bordo));
  opacity: .8;
}
.passo__ico { width: 44px; height: 44px; color: var(--oro); stroke-width: 1.2; margin-bottom: 18px; }
.passo__num { display: block; font-size: 14px; font-weight: 600; color: var(--oro); letter-spacing: .04em; margin-bottom: 6px; }
.passo__testo { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--avorio); max-width: 240px; }

/* due colonne: domande e contatti */
.due-colonne { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.due-colonne__testa h2 { margin-bottom: 18px; }
.due-colonne__testa p { color: var(--avorio); opacity: .9; font-size: 17px; }
.domande { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid rgba(96, 84, 60, .35); }

.fisarmonica { border-top: 1px solid var(--bordo); }
.voce { border-bottom: 1px solid var(--bordo); }
.voce h3 { font-family: var(--font-testo); font-size: 16px; font-weight: 400; line-height: 1.4; }
.voce__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%;
  min-height: 64px; padding: 16px 4px; background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--avorio); transition: color .2s;
}
.voce__btn:hover { color: var(--oro); }
.voce__btn .ico { width: 22px; height: 22px; color: var(--oro); }

/* contatti */
.contatti { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--bordo); padding-top: 72px; padding-bottom: 72px; }
.contatti__sfondo { position: absolute; inset: 0; z-index: -1; }
.contatti__sfondo img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.contatti__sfondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--carbone) 0%, rgba(16, 18, 15, .7) 50%, rgba(16, 18, 15, .85) 100%); }
.contatti__luogo { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.contatti__luogo .ico { width: 20px; height: 20px; color: var(--oro); }

.modulo { display: grid; gap: 16px; }
.modulo__titolo { font-family: var(--font-titoli); font-size: 28px; color: var(--avorio); }
.modulo__nota { padding-top: 12px; font-size: 13px; color: var(--grigio); }
.modulo__nota a { color: var(--avorio); text-underline-offset: 2px; }
.modulo__nota a:hover { color: var(--oro); }
.contatti__bottoni { margin-top: 28px; }
.due-colonne__testa p a { color: var(--oro); text-underline-offset: 3px; white-space: nowrap; }
.due-colonne__testa p a:hover { color: var(--oro-hover); }
.modulo__riga { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { position: relative; }
.campo label {
  position: absolute; left: 14px; top: 9px; font-size: 12px; color: var(--grigio); pointer-events: none;
}
.campo input, .campo textarea {
  width: 100%; min-height: 56px; padding: 26px 14px 8px; border-radius: var(--raggio-btn);
  background: rgba(11, 12, 10, .72); color: var(--avorio); border: 1px solid #8A7A58;
  font: 16px/1.4 var(--font-testo); transition: border-color .2s, background-color .2s;
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:hover, .campo textarea:hover { border-color: var(--oro); }
.campo input:focus, .campo textarea:focus { outline: 2px solid var(--focus-anello); outline-offset: 1px; border-color: var(--oro); }
.campo [aria-invalid="true"] { border-color: var(--errore-testo); }
.campo__errore { margin-top: 6px; font-size: 13px; color: var(--errore-testo); }
.modulo__fondo { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.spunta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 10px; font-size: 13px; color: var(--avorio); }
.spunta input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none;
  border: 1px solid #8A7A58; border-radius: 2px; background: rgba(11, 12, 10, .72); cursor: pointer; display: grid; place-content: center;
}
.spunta input:checked { background: var(--oro); border-color: var(--oro); }
.spunta input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--carbone); border-bottom: 2px solid var(--carbone); transform: translateY(-1px) rotate(-45deg); }
.spunta input:focus-visible { outline: 2px solid var(--focus-anello); outline-offset: 2px; }
.spunta label { cursor: pointer; }
.spunta a { color: var(--avorio); text-underline-offset: 2px; }
.spunta a:hover { color: var(--oro); }
.spunta .campo__errore { flex-basis: 100%; margin-top: 0; }
.modulo .btn--oro { min-width: 220px; }
.modulo__esito {
  padding: 14px 16px; border: 1px solid var(--oro); border-radius: var(--raggio-btn);
  background: rgba(214, 173, 105, .08); color: var(--avorio); font-size: 15px;
}
.modulo__esito a { color: var(--oro); }

/* ── piede ──────────────────────────────────────────────────── */
.piede { background: var(--notte); border-top: 1px solid var(--bordo); padding-top: 56px; }
.piede__griglia { display: grid; grid-template-columns: 3.6fr 2fr 2.4fr 2fr; gap: 40px; padding-bottom: 48px; }
.piede__logo img { width: 270px; height: auto; }
.piede__marchio p { margin-top: 8px; max-width: 340px; color: var(--grigio); font-size: 14px; }
.piede__marchio .piede__motto { margin-top: 12px; font-family: var(--font-titoli); font-size: 20px; color: var(--avorio); }
.piede__legale p + p { margin-top: 4px; }
.piede__colonna h2 { font-family: var(--font-testo); font-size: 14px; font-weight: 600; color: var(--oro); margin-bottom: 14px; letter-spacing: .02em; }
.piede__colonna li + li { margin-top: 8px; }
.piede__colonna a { color: var(--avorio); opacity: .88; font-size: 14px; text-decoration: none; transition: color .2s, opacity .2s; }
.piede__colonna a:hover { color: var(--oro); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.piede__fondo {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  position: relative; padding-top: 22px; padding-bottom: 28px;
  font-size: 13px; color: var(--grigio);
}
.piede__fondo::before { content: ""; position: absolute; top: 0; left: var(--margine); right: var(--margine); height: 1px; background: var(--bordo); }
.credit a { color: var(--oro); text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--oro-hover); }

/* ── banner cookie ──────────────────────────────────────────── */
.cookie-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; gap: 12px; align-items: center; justify-content: center;
  padding: 8px 16px; font-size: 13px; line-height: 1.35; white-space: nowrap;
  background: rgba(11, 12, 10, .97); color: var(--avorio); border-top: 1px solid var(--bordo);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { overflow: hidden; text-overflow: ellipsis; }
.cookie-bar a { color: var(--oro); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__corto { display: none; }
.cookie-bar__x {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 12px; flex: none;
  background: none; border: 1px solid var(--oro); color: var(--oro); cursor: pointer; border-radius: var(--raggio-btn);
  font: 600 12px/1 var(--font-testo); letter-spacing: .04em;
  transition: background-color .2s, color .2s;
}
.cookie-bar__x:hover { background: var(--oro); color: var(--carbone); }

/* ── pagine semplici: privacy e 404 ─────────────────────────── */
.pagina-semplice .testata .testata__azioni { margin-left: auto; }
.btn--piccolo { min-height: 40px; padding: 0 16px; font-size: 12px; white-space: nowrap; }
.documento { padding: calc(var(--testata) + 48px) 0 72px; }
.documento__corpo { max-width: 820px; }
.documento h1 { font-size: 52px; line-height: 1.1; color: var(--oro-chiaro); }
.documento__data { margin: 10px 0 32px; color: var(--grigio); font-size: 14px; }
.documento h2 { font-size: 32px; margin: 40px 0 12px; color: var(--avorio); }
.documento p { color: var(--avorio); opacity: .9; margin-bottom: 14px; }
.documento a { color: var(--oro); text-underline-offset: 2px; }
.tabella-scorre { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--bordo); border-radius: var(--raggio); }
.documento table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.documento th, .documento td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(96, 84, 60, .5); vertical-align: top; }
.documento th { color: var(--oro); font-weight: 600; background: var(--pannello); }
.documento tr:last-child td { border-bottom: 0; }
.piede--semplice { padding-top: 0; }
.piede--semplice .piede__fondo { padding-top: 24px; }
.piede--semplice .piede__fondo::before { display: none; }
.vuota { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--testata) + 40px) 0 64px; }
.vuota__sfondo { position: absolute; inset: 0; z-index: -1; }
.vuota__sfondo img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.vuota__sfondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--carbone) 10%, rgba(16, 18, 15, .4) 100%); }
.vuota__ico { width: 48px; height: 48px; color: var(--oro); stroke-width: 1.2; margin-bottom: 20px; }
.vuota h1 { font-size: 56px; line-height: 1.1; color: var(--oro-chiaro); margin-bottom: 16px; }
.vuota p { max-width: 480px; margin-bottom: 28px; }
@media (max-width: 767px) {
  .documento { padding-top: calc(var(--testata) + 32px); }
  .documento h1, .vuota h1 { font-size: 40px; }
  .documento h2 { font-size: 26px; margin-top: 32px; }
  .pagina-semplice .btn--piccolo { padding: 0 10px; letter-spacing: .03em; }
  .pagina-semplice .testata__logo img { width: 160px; }
}

/* ══ MOVIMENTO (step 5-bis) ═══════════════════════════════════
   Pochi gesti, sempre transform/opacity (mai l'impaginazione):
   l'apertura che entra, le sezioni che arrivano con lo stesso ritmo,
   le linee e le icone oro del kit che si disegnano, le risposte al dito. */
:root { --dolce: cubic-bezier(.22, .7, .2, 1); --ritmo: 90ms; }

/* apertura: la testata scende, la foto si avvicina piano, poi titolo, testo, pulsanti */
.testata { animation: testata-entra .8s var(--dolce) backwards; }
@keyframes testata-entra { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.apertura__foto { will-change: transform; }
.apertura__foto img { animation: foto-respira 2.8s var(--dolce) both; transform-origin: 62% 60%; }
@keyframes foto-respira { from { transform: scale(1.08); opacity: .55; } to { transform: scale(1); opacity: 1; } }
.entra { animation: entra 1s var(--dolce) both; }
.entra--0 { animation-delay: .15s; }
.entra--1 { animation-delay: .3s; }
.entra--2 { animation-delay: .45s; }
.entra--3 { animation-delay: .6s; }
@keyframes entra { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.apertura h1::after { transform-origin: left; animation: linea-entra 1s var(--dolce) .9s both; }
@keyframes linea-entra { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* allo scroll: tutto arriva con lo stesso passo; nelle griglie uno dopo l'altro */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--dolce), transform .8s var(--dolce);
  transition-delay: calc(var(--i, 0) * var(--ritmo));
}
.js .reveal.in { opacity: 1; transform: none; }

/* le linee oro sotto i titoli si tracciano quando il blocco arriva */
.js .reveal .titolo-segnato::after,
.js .reveal .occhiello::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--dolce) .35s; }
.js .reveal.in .titolo-segnato::after,
.js .reveal.in .occhiello::after { transform: scaleX(1); }
.js .reveal .linea-titolo path { stroke-dasharray: 146; stroke-dashoffset: 146; transition: stroke-dashoffset 1.1s var(--dolce) .3s; }
.js .reveal .linea-titolo circle { opacity: 0; transition: opacity .4s ease 1.2s; }
.js .reveal.in .linea-titolo path { stroke-dashoffset: 0; }
.js .reveal.in .linea-titolo circle { opacity: 1; }

/* icone del kit che si disegnano (fascia e passaggi) */
.js .disegna .reveal .ico { stroke-dasharray: 220; stroke-dashoffset: 220; }
.js .disegna .reveal.in .ico {
  stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--dolce); transition-delay: calc(var(--i, 0) * 140ms + .1s);
}
/* come si ordina: la linea fra due passaggi si disegna dopo l'icona */
.js .passo.reveal::before { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--dolce); transition-delay: calc(var(--i, 0) * 180ms + .2s); }
.js .passo.reveal.in::before { transform: scaleX(1); }
.js .passi .passo.reveal { transition-delay: calc(var(--i, 0) * 180ms); }
.js .passi .passo.reveal .passo__ico { transition-delay: calc(var(--i, 0) * 180ms + .35s); }

/* schede e pulsanti: rispondono a mouse, tastiera e dito */
.scheda, .espressione { transition: border-color .35s, transform .45s var(--dolce), box-shadow .45s var(--dolce); }
.js .scheda.reveal, .js .espressione.reveal {
  transition: opacity .8s var(--dolce), transform .8s var(--dolce), border-color .35s, box-shadow .45s;
  transition-delay: calc(var(--i, 0) * var(--ritmo)), calc(var(--i, 0) * var(--ritmo)), 0s, 0s;
}
.scheda__link .ico, .link-freccia .ico { transition: transform .3s var(--dolce); }
.link-freccia:hover .ico, .scheda:hover .scheda__link .ico { transform: translateX(3px); }
.link-freccia:hover { gap: 6px; }
.scheda:focus-within { border-color: var(--oro); }
@media (hover: hover) and (pointer: fine) {
  .js .scheda.reveal.in:hover, .js .espressione.reveal.in:hover, .scheda:hover, .espressione:hover {
    transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7);
  }
}
.js .reveal.in.fatto { transition-delay: 0s; }
.scheda:active, .espressione:active,
.js .scheda.reveal.in:active, .js .espressione.reveal.in:active { transform: scale(.985); transition-duration: .12s; }
.btn { transition: background-color .25s, color .25s, border-color .25s, transform .15s var(--dolce); }
.btn:active { transform: translateY(1px) scale(.98); }
.icona-btn:active { transform: scale(.92); }
.fascia__lista a:active .ico { transform: scale(.94); }

/* testata: si stringe scorrendo, si toglie di mezzo scendendo e torna appena si risale */
.testata { transition: background-color .3s, box-shadow .3s, transform .45s var(--dolce); }
.testata.nascosta { transform: translateY(-100%); }
.menu a.attivo { color: var(--oro); }
.menu a.attivo::after { transform: scaleX(1); }

/* domande frequenti: la risposta si apre morbida, il più diventa meno */
.voce__segno { position: relative; width: 22px; height: 22px; flex: none; }
.voce__segno .ico { position: absolute; inset: 0; transition: transform .35s var(--dolce), opacity .25s; }
.voce__btn .ico--meno { display: block; opacity: 0; transform: rotate(-90deg); }
.voce__btn[aria-expanded="true"] .ico--piu { display: block; opacity: 0; transform: rotate(90deg); }
.voce__btn[aria-expanded="true"] .ico--meno { opacity: 1; transform: none; }
.voce__risposta { display: grid; grid-template-rows: 1fr; padding: 0; }
.voce__dentro { overflow: hidden; min-height: 0; }
.voce__dentro p { padding: 0 48px 20px 4px; color: var(--grigio); }
.js .voce__risposta {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .45s var(--dolce), visibility 0s linear .45s;
}
.js .voce.aperta .voce__risposta { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--dolce), visibility 0s; }
.js .voce__dentro p { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--dolce); }
.js .voce.aperta .voce__dentro p { opacity: 1; transform: none; transition-delay: .12s; }

/* foto dei racconti: una profondità leggera mentre si scorre (solo col mouse, gestita in main.js) */
.racconto__foto { overflow: hidden; }
.racconto__foto img { transform: translateY(var(--sposta, 0px)) scale(var(--zoom, 1)); will-change: transform; }

/* modulo: l'esito arriva morbido */
.modulo__esito:not([hidden]) { animation: entra .6s var(--dolce) both; }
.campo:focus-within label { color: var(--oro); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .racconto__foto img, .apertura__foto { transform: none !important; }
  .testata.nascosta { transform: none; }
}

.solo-largo { display: inline; }

/* ── tablet ─────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .menu ul { gap: 28px; }
  .testata__logo img { width: 240px; }
}
@media (max-width: 1023px) {
  :root { --margine: 32px; --sezione: 72px; }
  .menu-btn { display: inline-flex; }
  .icona-btn--cerca { display: none; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--carbone); border-bottom: 1px solid var(--bordo);
    padding: 8px var(--margine) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .menu.aperto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .menu li { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--dolce, ease); }
  .menu.aperto li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu li + li { border-top: 1px solid rgba(96, 84, 60, .5); }
  .menu a { display: block; padding: 16px 0; font-size: 15px; }
  .menu a::after { display: none; }
  .testata__azioni { margin-left: auto; }
  .testata.menu-aperto { background: var(--carbone); }
  .fascia__lista { grid-template-columns: repeat(2, 1fr); }
  .fascia__lista li:nth-child(3)::before { display: none; }
  .fascia__lista li:nth-child(n+3) { border-top: 1px solid rgba(96, 84, 60, .45); }
  .schede, .schede.schede--tre { grid-template-columns: repeat(2, 1fr); }
  .passi { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .passo:nth-child(3)::before { display: none; }
  .due-colonne { grid-template-columns: 1fr; gap: 32px; }
  .piede__griglia { grid-template-columns: 1fr 1fr 1fr; }
  .piede__marchio { grid-column: 1 / -1; }
  .racconto__testo { padding-left: 24px; }
}

/* ── telefono ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root { --margine: 20px; --sezione: 56px; --testata: 68px; }
  html { scroll-padding-top: 72px; }
  h2 { font-size: 32px; }
  h3 { font-size: 25px; }
  .testata__barra { gap: 12px; }
  .testata.scorsa .testata__barra { height: 64px; }
  .testata__logo img, .testata.scorsa .testata__logo img { width: 190px; }
  .testata__azioni { gap: 2px; }

  /* apertura: la foto intera, occhiello e titolo sul cielo, il resto del testo sotto la foto */
  .apertura { display: block; min-height: 0; padding: 0 0 40px; }
  .apertura__foto { position: relative; inset: auto; z-index: 0; height: min(150vw, 620px); }
  .apertura__foto img { object-position: 50% 80%; }
  .apertura::before {
    z-index: 1; bottom: auto; height: min(150vw, 620px);
    background:
      linear-gradient(180deg, rgba(11, 12, 10, .88) 0%, rgba(11, 12, 10, .6) 28%, rgba(11, 12, 10, 0) 48%),
      linear-gradient(0deg, var(--carbone) 0%, rgba(16, 18, 15, 0) 22%);
  }
  .apertura__testo { position: static; }
  .apertura__titoli { position: absolute; z-index: 2; top: calc(var(--testata) + 14px); left: var(--margine); right: var(--margine); }
  .apertura__occhiello { margin-bottom: 10px; font-size: 11px; }
  .apertura h1 { font-size: 34px; max-width: none; }
  .apertura h1::after { margin-top: 12px; }
  .apertura__sotto { position: relative; z-index: 2; margin-top: -18px; }
  .apertura__sotto p { font-size: 16px; }
  .apertura__sotto p:first-child { margin-top: 0; }
  .apertura__sotto .bottoni { margin-top: 22px; }
  .bottoni { gap: 12px; }
  .bottoni .btn { flex: 1 1 auto; padding: 0 14px; white-space: nowrap; }

  .fascia__lista a { flex-direction: column; gap: 10px; padding: 22px 8px; text-align: center; font-size: 11px; }
  .fascia__lista .ico { width: 36px; height: 36px; }

  .racconto { display: block; min-height: 0; }
  .racconto__foto { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .racconto__foto::after, .racconto--storia .racconto__foto::after {
    background: linear-gradient(0deg, var(--carbone) 0%, rgba(16, 18, 15, 0) 40%);
  }
  .racconto--storia .racconto__foto::after { background: linear-gradient(0deg, var(--notte) 0%, rgba(11, 12, 10, 0) 40%); }
  .racconto__griglia { display: block; padding-top: 8px; padding-bottom: 48px; }
  .racconto__testo { padding-left: 0; max-width: none; }

  .espressioni { padding-top: 48px; padding-bottom: 32px; }
  .espressioni .titolo-centro { margin-bottom: 24px; }
  .espressioni__griglia { grid-template-columns: 1fr; gap: 16px; }
  .espressione__foto { aspect-ratio: 16 / 7; }
  .espressione__corpo { padding: 18px 20px 20px; }
  .espressione__corpo h3 .ico { width: 24px; height: 24px; }
  .collezione__sotto { font-size: 14px; }
  .modulo__titolo { font-size: 25px; }
  .modulo__nota { padding-top: 0; }

  .collezione { padding-top: 32px; padding-bottom: 32px; }
  .collezione--gioielli { padding-bottom: 56px; }
  .collezione__testa { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .collezione__testa .link-freccia { margin-bottom: 0; }
  .titolo-linea { gap: 16px; }
  .linea-titolo { display: none; }
  .schede, .schede.schede--tre { gap: 12px; }
  .scheda__corpo { padding: 12px 10px 14px 12px; }
  .espressioni__fondo { margin-top: 20px; }
  .scheda__corpo h3 { font-size: 14px; }
  .scheda__corpo p { font-size: 12px; margin-bottom: 10px; }
  .scheda__link { font-size: 12px; gap: 4px; }
  .scheda__link .ico { width: 14px; height: 14px; }

  .ordine { padding-top: 48px; padding-bottom: 48px; }
  .ordine .titolo-centro { margin-bottom: 28px; }
  .passi { gap: 20px; row-gap: 32px; }
  .passo::before { display: none; }
  .passo__ico { width: 36px; height: 36px; margin-bottom: 12px; }
  .passo__testo { font-size: 15px; }

  .domande, .contatti { padding-top: 48px; padding-bottom: 48px; }
  .due-colonne { gap: 24px; }
  .due-colonne__testa p { font-size: 16px; }
  .voce__btn { min-height: 56px; gap: 16px; }
  .voce__dentro p { padding-right: 8px; }
  .modulo__riga { grid-template-columns: 1fr; }
  .modulo__fondo { flex-direction: column; align-items: stretch; }
  .modulo .btn--oro { width: 100%; min-width: 0; }
  .solo-largo { display: none; }

  .piede { padding-top: 40px; }
  .piede__griglia { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .piede__logo img { width: 220px; }
  .piede__fondo { flex-direction: column; gap: 6px; padding-bottom: 64px; }

  .cookie-bar { font-size: 12px; padding: 6px 8px 6px 14px; gap: 6px; }
  .cookie-bar__lungo { display: none; }
  .cookie-bar__corto { display: inline; }
}
@media (max-width: 359px) {
  .testata__logo img, .testata.scorsa .testata__logo img { width: 160px; }
  .apertura h1 { font-size: 30px; }
}
