/* =============================================================================
   Studio di Naturopatia — Massimo Del Pizzo
   Foglio di stile unico. Palette e misure sono tutte qui in cima: cambiando
   queste variabili cambia l'intero sito.
   ========================================================================== */

:root {
    /* colori: erbario antico — verde bosco, pergamena, ottone */
    --bosco: #1f3b30;
    --bosco-scuro: #142a22;
    --salvia: #6b8f7a;
    --salvia-chiara: #a8c3b0;
    --pergamena: #f6f1e6;
    --pergamena-scura: #ebe3d4;
    --ottone: #b08b4f;
    --ottone-chiaro: #d8bb84;
    --inchiostro: #26302c;
    --inchiostro-tenue: #5c6862;
    --terracotta: #a4562f;

    /* tipografia fluida: si adatta da sola alla larghezza dello schermo */
    --titolo: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --corpo: "Lato", "Helvetica Neue", -apple-system, system-ui, sans-serif;
    --t-mega: clamp(2rem, 8vw, 5.4rem);
    --t-h1: clamp(1.7rem, 6vw, 3.6rem);
    --t-h2: clamp(1.5rem, 3.4vw, 2.4rem);
    --t-h3: clamp(1.15rem, 2.2vw, 1.5rem);
    --t-corpo: clamp(1rem, 1.05vw, 1.12rem);

    --colonna: 1180px;
    --stretta: 760px;
    --raggio: 14px;
    --ombra: 0 18px 50px rgba(20, 42, 34, 0.14);
    --ombra-lieve: 0 6px 22px rgba(20, 42, 34, 0.09);
    --transizione: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--pergamena);
    color: var(--inchiostro);
    font-family: var(--corpo);
    font-size: var(--t-corpo);
    line-height: 1.72;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--bosco); text-decoration-color: rgba(176, 139, 79, 0.5); text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
    font-family: var(--titolo);
    font-weight: 600;
    line-height: 1.14;
    color: var(--bosco);
    margin: 0 0 0.5em;
    letter-spacing: 0.01em;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p { margin: 0 0 1.1em; }

.contenitore { width: min(100% - 2.6rem, var(--colonna)); margin-inline: auto; }
.stretto { width: min(100% - 2.6rem, var(--stretta)); margin-inline: auto; }

section { padding: clamp(3.4rem, 9vw, 7rem) 0; position: relative; }
.sezione-chiara { background: var(--pergamena); }
.sezione-crema { background: var(--pergamena-scura); }
.sezione-scura { background: var(--bosco); color: #e8efe9; }
.sezione-scura h1, .sezione-scura h2, .sezione-scura h3 { color: #fff; }
.sezione-scura a { color: var(--ottone-chiaro); }

/* occhiello: la righetta con il titolino sopra le sezioni */
.occhiello {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--corpo);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ottone);
    margin-bottom: 0.9rem;
}
.occhiello::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.sezione-scura .occhiello { color: var(--ottone-chiaro); }

.sottotitolo {
    font-family: var(--titolo);
    font-size: clamp(1.1rem, 1.8vw, 1.32rem);
    font-style: italic;
    color: var(--inchiostro-tenue);
    max-width: 62ch;
}
.sezione-scura .sottotitolo { color: var(--salvia-chiara); }

/* --- barra di navigazione ------------------------------------------------ */
.barra {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem clamp(1rem, 4vw, 2.6rem);
    background: rgba(246, 241, 230, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 59, 48, 0.09);
    transition: padding var(--transizione), background var(--transizione);
}
.barra.compatta { padding-block: 0.5rem; background: rgba(246, 241, 230, 0.95); }

.marchio { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex-shrink: 0; }
.marchio img { height: 46px; width: auto; transition: height var(--transizione); }
.barra.compatta .marchio img { height: 38px; }
.marchio-testo { display: flex; flex-direction: column; line-height: 1.1; }
.marchio-testo strong {
    font-family: var(--titolo);
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--bosco);
}
.marchio-testo span {
    font-size: 0.62rem;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--ottone);
}

.menu { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.menu a {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--inchiostro);
    white-space: nowrap;
    transition: background var(--transizione), color var(--transizione);
}
.menu a:hover, .menu a.attivo { background: rgba(107, 143, 122, 0.16); color: var(--bosco); }

/* --- voce di menu con sottomenu (Iridologia) -----------------------------
   La freccia sta DENTRO il link: una sola pillola, allineata alle altre voci. */
.menu-gruppo { position: relative; display: flex; align-items: center; }
.voce-madre { display: inline-flex; align-items: center; gap: 0.42rem; }
.voce-madre .freccia {
    width: 9px; height: 6px; flex: 0 0 auto;
    stroke: currentColor; stroke-width: 1.7; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0.5;
    transition: transform var(--transizione), opacity var(--transizione);
}
.menu-gruppo:hover .freccia,
.menu-gruppo:focus-within .freccia,
.menu-gruppo.aperto .freccia { transform: rotate(180deg); opacity: 1; }

.sottomenu {
    position: absolute; top: 100%; left: 50%;
    z-index: 5;
    margin-top: 0.7rem;
    padding: 0.35rem;
    display: flex; flex-direction: column;
    min-width: 100%;
    background: rgba(250, 247, 240, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(31, 59, 48, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(20, 42, 34, 0.14);
    opacity: 0; visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
/* il becco: lega il pannello alla voce, così non sembra appoggiato a caso */
.sottomenu::after {
    content: ""; position: absolute; top: -5px; left: 50%;
    width: 9px; height: 9px; margin-left: -4.5px;
    background: rgba(250, 247, 240, 0.97);
    border-left: 1px solid rgba(31, 59, 48, 0.08);
    border-top: 1px solid rgba(31, 59, 48, 0.08);
    transform: rotate(45deg);
}
/* copre il varco fra voce e pannello: senza, il mouse in discesa lo richiude */
.sottomenu::before { content: ""; position: absolute; inset: -0.8rem 0 auto 0; height: 0.8rem; }
.sottomenu a {
    padding: 0.5rem 1.05rem;
    border-radius: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    text-align: center;
    white-space: nowrap;
}
.menu-gruppo:hover .sottomenu,
.menu-gruppo:focus-within .sottomenu,
.menu-gruppo.aperto .sottomenu { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* la pagina in cui ci si trova, marcata da sito.js */
.menu a.attivo,
.menu-gruppo.attivo > .voce-madre { background: rgba(107, 143, 122, 0.16); color: var(--bosco); }
.sottomenu a.attivo { background: rgba(107, 143, 122, 0.2); }

.bottone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--bosco);
    color: #fff !important;
    font-family: var(--corpo);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transizione), background var(--transizione), box-shadow var(--transizione);
}
.bottone:hover { background: var(--bosco-scuro); color: #fff !important; transform: translateY(-2px); box-shadow: var(--ombra-lieve); }
.bottone-oro { background: var(--ottone); }
.bottone-oro:hover { background: #97763f; }
.bottone-chiaro { background: transparent; border: 1.5px solid currentColor; color: var(--bosco) !important; }
.bottone-chiaro:hover { background: var(--bosco); color: #fff !important; }
.sezione-scura .bottone-chiaro { color: #fff !important; }
.barra .bottone { padding: 0.66rem 1.3rem; font-size: 0.78rem; }

/* apri-menu per il telefono */
.apri-menu {
    display: none;
    margin-left: auto;
    width: 46px; height: 46px;
    border: 0; border-radius: 12px;
    background: rgba(31, 59, 48, 0.08);
    cursor: pointer;
    position: relative;
}
.apri-menu span, .apri-menu span::before, .apri-menu span::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--bosco);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.2s;
}
.apri-menu span { top: 50%; margin-top: -1px; }
.apri-menu span::before { top: -6px; }
.apri-menu span::after { top: 6px; }
body.menu-aperto .apri-menu span { background: transparent; }
body.menu-aperto .apri-menu span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
body.menu-aperto .apri-menu span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* --- copertina ----------------------------------------------------------- */
.copertina {
    position: relative;
    min-height: min(94vh, 900px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    color: #fff;
    overflow: hidden;
}
.copertina-fondo {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: respiro 22s ease-in-out infinite alternate;
}
@keyframes respiro { to { transform: scale(1.14); } }
.copertina::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20, 42, 34, 0.62) 0%, rgba(20, 42, 34, 0.5) 45%, rgba(20, 42, 34, 0.82) 100%);
}
.copertina-testo { position: relative; z-index: 2; max-width: min(940px, 100%); }
.copertina h1 {
    font-size: var(--t-mega);
    color: #fff;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.copertina .occhiello { color: var(--ottone-chiaro); justify-content: center; }
.copertina p {
    font-family: var(--titolo);
    font-size: clamp(1.15rem, 2.3vw, 1.6rem);
    font-style: italic;
    color: #eef3ee;
    max-width: 46ch;
    margin-inline: auto;
}
.copertina-azioni { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }
.copertina-piccola { min-height: min(58vh, 460px); padding-top: 7rem; }
.copertina-piccola h1 { font-size: var(--t-h1); }

/* freccia che invita a scorrere */
.scorri {
    position: absolute; bottom: 1.6rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px; height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
}
.scorri::after {
    content: "";
    position: absolute; top: 8px; left: 50%;
    width: 3px; height: 7px; margin-left: -1.5px;
    background: #fff; border-radius: 2px;
    animation: scendi 1.9s ease-in-out infinite;
}
@keyframes scendi { 0%, 100% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(13px); } }

/* --- griglie e schede ---------------------------------------------------- */
.griglia { display: grid; gap: clamp(1.2rem, 2.6vw, 2rem); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.scheda {
    background: #fff;
    border-radius: var(--raggio);
    padding: clamp(1.4rem, 2.6vw, 2.1rem);
    box-shadow: var(--ombra-lieve);
    border: 1px solid rgba(31, 59, 48, 0.07);
    transition: transform var(--transizione), box-shadow var(--transizione);
}
.scheda:hover { transform: translateY(-5px); box-shadow: var(--ombra); }
.scheda h3 { margin-bottom: 0.35em; }
.scheda p:last-child { margin-bottom: 0; }
.scheda-numero {
    font-family: var(--titolo);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--ottone-chiaro);
    display: block;
    margin-bottom: 0.3rem;
}

/* scheda con tavola botanica in filigrana */
.scheda-erbario { position: relative; overflow: hidden; }
.scheda-erbario::after {
    content: "";
    position: absolute; right: -30px; bottom: -30px;
    width: 190px; height: 190px;
    background-size: contain; background-repeat: no-repeat; background-position: bottom right;
    opacity: 0.13;
    pointer-events: none;
    transition: transform var(--transizione), opacity var(--transizione);
}
.scheda-erbario:hover::after { transform: scale(1.08) rotate(-3deg); opacity: 0.2; }
.erb-salvia::after { background-image: url("../tavole/salvia.jpg"); }
.erb-camomilla::after { background-image: url("../tavole/camomilla.jpg"); }
.erb-melissa::after { background-image: url("../tavole/melissa.jpg"); }
.erb-achillea::after { background-image: url("../tavole/achillea.jpg"); }
.erb-lavanda::after { background-image: url("../tavole/lavanda.jpg"); }
.erb-valeriana::after { background-image: url("../tavole/valeriana.jpg"); }

/* --- figure e blocchi misti ---------------------------------------------- */
.duo { display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.duo-invertito > :first-child { order: 2; }
@media (max-width: 780px) { .duo-invertito > :first-child { order: 0; } }

.figura { margin: 0; border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); background: #fff; }
/* la regola vale per la foto della figura, NON per il marchio sovrapposto */
.figura > img, .figura-img > img:not(.marchio-sovrapposto) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.figura figcaption {
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    color: var(--inchiostro-tenue);
    font-style: italic;
    background: #fff;
}
.figura-tonda { border-radius: 50%; aspect-ratio: 1; box-shadow: var(--ombra); }

/* citazione */
.citazione {
    position: relative;
    font-family: var(--titolo);
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
    font-style: italic;
    line-height: 1.45;
    color: var(--bosco);
    padding-left: 2.2rem;
    border-left: 3px solid var(--ottone);
    margin: 2rem 0;
}
.citazione footer {
    display: block;
    margin-top: 0.7rem;
    font-family: var(--corpo);
    font-size: 0.8rem;
    font-style: normal;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ottone);
}
.sezione-scura .citazione { color: #fff; border-color: var(--ottone-chiaro); }

/* riquadro di avvertenza */
.avvertenza {
    background: #fff;
    border: 1px solid rgba(164, 86, 47, 0.28);
    border-left: 5px solid var(--terracotta);
    border-radius: var(--raggio);
    padding: clamp(1.3rem, 3vw, 2rem);
    box-shadow: var(--ombra-lieve);
}
.avvertenza h3 { color: var(--terracotta); }
.avvertenza strong { color: var(--terracotta); }

/* --- fisarmonica (contenuti lunghi) -------------------------------------- */
.fisarmonica { border-top: 1px solid rgba(31, 59, 48, 0.14); }
.voce { border-bottom: 1px solid rgba(31, 59, 48, 0.14); }
.voce-testa {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 0.4rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--titolo);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 600;
    color: var(--bosco);
    transition: color var(--transizione);
}
.voce-testa:hover { color: var(--terracotta); }
.voce-testa::after {
    content: "";
    margin-left: auto;
    flex-shrink: 0;
    width: 11px; height: 11px;
    border-right: 2px solid var(--ottone);
    border-bottom: 2px solid var(--ottone);
    transform: rotate(45deg);
    transition: transform var(--transizione);
}
.voce[aperta] .voce-testa::after { transform: rotate(-135deg); }
.voce-corpo {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transizione);
}
.voce[aperta] .voce-corpo { grid-template-rows: 1fr; }
.voce-corpo > div { overflow: hidden; }
.voce-corpo p { padding-right: 1rem; color: var(--inchiostro-tenue); }
.voce-corpo p:first-child { padding-top: 0.2rem; }

/* --- galleria ------------------------------------------------------------ */
.galleria { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0.8rem; }
.galleria button {
    padding: 0; border: 0; cursor: zoom-in;
    border-radius: 10px; overflow: hidden;
    aspect-ratio: 4 / 3; background: #ddd;
    box-shadow: var(--ombra-lieve);
}
.galleria img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.galleria button:hover img { transform: scale(1.07); }

/* --- fotografie di iridi dell'archivio dello studio ----------------------- */
button.foto-iride {
    display: block; width: 100%; padding: 0; border: 0; line-height: 0;
    cursor: zoom-in; border-radius: 10px; overflow: hidden;
    aspect-ratio: 4 / 3; background: var(--pergamena-scura);
    box-shadow: var(--ombra-lieve);
}
button.foto-iride img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
button.foto-iride:hover img { transform: scale(1.06); }
.scheda button.foto-iride { margin-bottom: 1.1rem; }

.scatto { margin: 0; }
.scatto figcaption {
    padding-top: 0.45rem;
    font-size: 0.78rem; font-style: italic;
    color: var(--inchiostro-tenue); line-height: 1.35;
}
.scatti-coppia { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

/* voce della fisarmonica con la sua foto a fianco */
.voce-illustrata { display: grid; grid-template-columns: minmax(0, 250px) 1fr; gap: 1.3rem; align-items: start; }
.voce-illustrata .voce-testo p:last-child { margin-bottom: 0; }
.voce-illustrata .voce-scatti { padding-top: 0.2rem; }
.voce-illustrata:has(.scatti-coppia) { grid-template-columns: minmax(0, 330px) 1fr; }
@media (max-width: 720px) {
    .voce-illustrata { grid-template-columns: 1fr; gap: 0.9rem; }
    .voce-illustrata:has(.scatti-coppia) { grid-template-columns: 1fr; }
}

.nota-foto, .nota-fonti {
    margin-top: 1.6rem;
    font-size: 0.82rem; font-style: italic;
    color: var(--inchiostro-tenue);
    border-left: 2px solid var(--ottone-chiaro);
    padding-left: 0.9rem;
}

.lente {
    position: fixed; inset: 0; z-index: 200;
    display: none;
    place-items: center;
    padding: 1.5rem;
    background: rgba(15, 28, 23, 0.92);
    backdrop-filter: blur(6px);
}
.lente[aperta] { display: grid; }
.lente img { width: min(94vw, 1200px); max-height: 86vh; border-radius: 8px; object-fit: contain; }
/* le foto d'iride sono piccole all'origine: si ingrandiscono con misura, per non sgranarle */
.lente img[src*="/iridi/"] { width: min(92vw, 700px); }
.lente-chiudi {
    position: absolute; top: 1.2rem; right: 1.4rem;
    width: 46px; height: 46px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* --- fascia con foto di sfondo ------------------------------------------- */
.fascia-foto {
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.fascia-foto::before { content: ""; position: absolute; inset: 0; background: rgba(20, 42, 34, 0.74); }
.fascia-foto > * { position: relative; z-index: 1; }
.fascia-foto h2, .fascia-foto h3 { color: #fff; }
/* sopra le foto tutto il testo è bianco: la citazione, altrimenti, resterebbe
   verde scuro e illeggibile */
.fascia-foto, .fascia-foto p, .fascia-foto .citazione, .fascia-foto blockquote { color: #fff; }
.fascia-foto .citazione footer { color: var(--ottone-chiaro); }
.fascia-foto .occhiello { color: var(--ottone-chiaro); }
.fascia-foto em { color: #eef3ee; }
@media (hover: none) { .fascia-foto { background-attachment: scroll; } }

/* --- modulo contatti ----------------------------------------------------- */
.modulo { display: grid; gap: 1.1rem; }
.campo { display: flex; flex-direction: column; gap: 0.4rem; }
.campo label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--inchiostro-tenue); }
.campo input, .campo textarea, .campo select {
    font-family: var(--corpo);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(31, 59, 48, 0.18);
    border-radius: 10px;
    background: #fff;
    color: var(--inchiostro);
    transition: border-color var(--transizione), box-shadow var(--transizione);
}
.campo textarea { min-height: 150px; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus {
    outline: none;
    border-color: var(--salvia);
    box-shadow: 0 0 0 4px rgba(107, 143, 122, 0.16);
}
.campo.errore input, .campo.errore textarea { border-color: var(--terracotta); }
.campo .avviso-campo { font-size: 0.8rem; color: var(--terracotta); display: none; }
.campo.errore .avviso-campo { display: block; }
.riga-campi { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.consenso { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--inchiostro-tenue); }
.consenso input { width: 20px; height: 20px; margin-top: 0.15rem; flex-shrink: 0; }
.esito { display: none; border-radius: 10px; padding: 0.9rem 1.1rem; font-size: 0.95rem; }
.esito[stato="ok"] { display: block; background: #e7f1ea; color: #1f3b30; border: 1px solid var(--salvia); }
.esito[stato="ko"] { display: block; background: #fbeee8; color: #8d4526; border: 1px solid rgba(164, 86, 47, 0.4); }

.recapito { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.recapito svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--ottone); margin-top: 0.2rem; }
.recapito > div > strong:first-child { display: block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--inchiostro-tenue); font-weight: 700; }
.recapito a, .recapito span { font-size: 1.05rem; }

.mappa { border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); border: 0; width: 100%; height: 340px; }

/* --- piè di pagina ------------------------------------------------------- */
.piede { background: var(--bosco-scuro); color: #cfdcd3; padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; font-size: 0.94rem; }
.piede h4 { color: #fff; font-size: 1.16rem; margin-bottom: 0.7rem; }
.piede a { color: #cfdcd3; text-decoration: none; }
.piede a:hover { color: var(--ottone-chiaro); }
.piede-griglia { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.piede-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.piede-social a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transition: background var(--transizione), transform var(--transizione);
}
.piede-social a:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.piede-social svg { width: 18px; height: 18px; }
.piede-coda {
    margin-top: 2.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #9fb3a7;
}

/* --- comparsa allo scorrimento ------------------------------------------- */
.appare { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.appare.visibile { opacity: 1; transform: none; }
.appare.r1 { transition-delay: 0.08s; }
.appare.r2 { transition-delay: 0.16s; }
.appare.r3 { transition-delay: 0.24s; }

/* barra di avanzamento della lettura */
.avanzamento {
    position: fixed; top: 0; left: 0; z-index: 101;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--ottone), var(--salvia));
    transition: width 0.1s linear;
}

/* --- telefoni ------------------------------------------------------------ */
@media (max-width: 900px) {
    .apri-menu { display: block; }
    /* su schermo stretto l'occhiello va a capo invece di sbordare */
    .occhiello { flex-wrap: wrap; letter-spacing: 0.14em; font-size: 0.68rem; }
    .occhiello::before { width: 20px; }
    .copertina { padding-inline: 1.2rem; }
    .menu {
        position: fixed;
        inset: 0 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 5.5rem 1.4rem 2rem;
        background: var(--pergamena);
        box-shadow: var(--ombra);
        transform: translateY(-102%);
        transition: transform var(--transizione);
        max-height: 100vh;
        overflow-y: auto;
    }
    body.menu-aperto .menu { transform: none; }
    .menu a { padding: 0.95rem 0.6rem; font-size: 1rem; border-bottom: 1px solid rgba(31, 59, 48, 0.09); border-radius: 0; }
    .menu-gruppo { display: block; }
    .voce-madre .freccia { display: none; }
    /* niente tendina sul telefono: le voci stanno sotto, legate da un filetto */
    .sottomenu {
        position: static; transform: none; opacity: 1; visibility: visible;
        min-width: 0; margin: 0 0 0 0.55rem; padding: 0.1rem 0 0.1rem 0.95rem;
        background: transparent; border: 0; border-left: 2px solid rgba(216, 187, 132, 0.75);
        border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    }
    .sottomenu::after, .sottomenu::before { display: none; }
    .sottomenu a {
        text-align: left; padding: 0.7rem 0.6rem;
        font-size: 0.9rem; text-transform: none; letter-spacing: 0.03em;
        border-bottom: 0;
    }
    .menu .bottone { margin-top: 1rem; justify-content: center; border-radius: 999px; }
    .barra .bottone { display: none; }
    .menu .bottone { display: inline-flex; }
    .copertina { min-height: 88vh; }
    .citazione { padding-left: 1.3rem; }
    .fascia-foto { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    html { scroll-behavior: auto; }
    .appare { opacity: 1; transform: none; }
}

/* --- stampa -------------------------------------------------------------- */
@media print {
    .barra, .piede-social, .scorri, .avanzamento, .lente { display: none !important; }
    body { background: #fff; }
    .copertina { min-height: auto; color: #000; }
    .copertina::after, .copertina-fondo { display: none; }
    .copertina h1, .copertina p { color: #000; text-shadow: none; }
}



/* --- marchio al centro della foto di benvenuto --------------------------- */
.colonna-figura { position: relative; }
.figura-img { position: relative; line-height: 0; }
.marchio-sovrapposto {
    /* centratura con transform e ALTEZZA AUTOMATICA: con "inset:0 + margin:auto"
       e height:fit-content il browser stirava l'immagine (logo schiacciato) */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(330px, 58%);
    height: auto;
    z-index: 3;
    pointer-events: none;
    /* alone chiaro sotto al marchio: lo stacca dalla fotografia senza riquadri */
    filter: drop-shadow(0 0 26px rgba(255, 255, 255, 0.85))
            drop-shadow(0 6px 18px rgba(20, 42, 34, 0.35));
}

/* --- iride con la mappa di lettura sovrapposta (home) -------------------- */
.figura-iride .figura-img { aspect-ratio: 1; }
.mappa-iride {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.mappa-iride .cerchi circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 0.35;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.6));
}
.mappa-iride .settori line,
.mappa-iride .tacche line {
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 0.2;
}
.mappa-iride .tacche line { stroke: rgba(216, 187, 132, 0.85); stroke-width: 0.26; }
/* anello esterno tratteggiato che ruota lentamente */
.mappa-iride .anello-ruota {
    fill: none;
    stroke: rgba(216, 187, 132, 0.9);
    stroke-width: 0.3;
    stroke-dasharray: 1.2 2.4;
    transform-origin: 50% 50%;
    animation: gira-anello 46s linear infinite;
}
@keyframes gira-anello { to { transform: rotate(360deg); } }
.mappa-iride .richiamo line { stroke: rgba(255, 255, 255, 0.75); stroke-width: 0.22; }
.mappa-iride .richiamo circle { fill: var(--ottone-chiaro); }
.mappa-iride .richiamo text {
    fill: #fff;
    font-family: Lato, sans-serif;
    font-size: 2.5px;
    font-weight: 700;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    paint-order: stroke;
    stroke: rgba(20, 42, 34, 0.65);
    stroke-width: 0.7px;
    dominant-baseline: middle;
}
/* i tratti si disegnano quando la figura entra nello schermo */
.appare .mappa-iride > g, .appare .mappa-iride > circle { opacity: 0; transition: opacity 0.9s ease 0.3s; }
.appare.visibile .mappa-iride > g, .appare.visibile .mappa-iride > circle { opacity: 1; }

/* =============================================================================
   Pagina Medicina cinese — i cinque elementi (25/11/2026)
   I colori degli elementi sono smorzati per stare dentro la palette "erbario".
   ========================================================================== */
:root {
    --el-legno: #5d8a58;
    --el-fuoco: #b4503a;
    --el-terra: #c09034;
    --el-metallo: #8d979b;
    --el-acqua: #2e4d68;
    --ideo: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
}
.invisibile { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[lang="zh"] { font-family: var(--ideo); font-style: normal; }
.nome-orientale { font-style: italic; color: var(--inchiostro-tenue); font-weight: 400; }
h3 .nome-orientale, h4 .nome-orientale { font-size: 0.72em; }
p.nome-orientale { margin: -0.3em 0 0.7em; font-size: 0.9rem; }

/* le quattro idee di base */
.scheda-concetto { position: relative; overflow: hidden; }
.ideogramma-piccolo {
    position: absolute; top: 0.6rem; right: 1rem;
    font-size: 2.6rem; line-height: 1; color: var(--ottone-chiaro); opacity: 0.55;
}
.scheda-concetto h3 { padding-right: 3.6rem; }

/* il diagramma dei due cicli */
.cicli-figura { margin: 0; }
.cicli { width: 100%; max-width: 470px; margin-inline: auto; display: block; overflow: visible; }
.cicli-centro { font-size: 46px; fill: var(--ottone); opacity: 0.22; }
.ciclo-nutre path { fill: none; stroke: var(--ottone); stroke-width: 2.6; stroke-linecap: round; }
.ciclo-frena line { stroke: var(--terracotta); stroke-width: 1.7; stroke-dasharray: 6 5; opacity: 0.85; }
.nodo circle { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 10px rgba(20, 42, 34, 0.22)); }
.nodo-legno circle { fill: var(--el-legno); }
.nodo-fuoco circle { fill: var(--el-fuoco); }
.nodo-terra circle { fill: var(--el-terra); }
.nodo-metallo circle { fill: var(--el-metallo); }
.nodo-acqua circle { fill: var(--el-acqua); }
.nodo-ideo { fill: #fff; font-size: 34px; text-anchor: middle; dominant-baseline: central; transform: translateY(-6px); transform-box: fill-box; }
.nodo-nome { fill: #fff; font-family: var(--corpo); font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px; text-anchor: middle; }
/* i nodi entrano uno dopo l'altro quando la figura compare */
.appare .nodo { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.appare.visibile .nodo { opacity: 1; transform: none; }
.appare.visibile .nodo-legno { transition-delay: 0.1s; }
.appare.visibile .nodo-fuoco { transition-delay: 0.25s; }
.appare.visibile .nodo-terra { transition-delay: 0.4s; }
.appare.visibile .nodo-metallo { transition-delay: 0.55s; }
.appare.visibile .nodo-acqua { transition-delay: 0.7s; }
.appare .ciclo-nutre, .appare .ciclo-frena { opacity: 0; transition: opacity 0.9s ease 0.9s; }
.appare.visibile .ciclo-nutre, .appare.visibile .ciclo-frena { opacity: 1; }

.ciclo-spiega { margin-bottom: 1.4rem; }
.ciclo-spiega h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.6rem; margin-bottom: 0.3em; }
.ciclo-spiega p { margin-bottom: 0.4em; }
.segno { width: 30px; height: 0; flex: 0 0 auto; }
.segno-nutre { border-top: 3px solid var(--ottone); border-radius: 2px; }
.segno-frena { border-top: 2px dashed var(--terracotta); }
.catena { margin: 0; padding: 0; list-style: none; }
.catena li { position: relative; padding: 0.18rem 0 0.18rem 1.3rem; }
.catena li::before { content: "→"; position: absolute; left: 0; color: var(--ottone); }

/* la tavola delle corrispondenze */
.tavola-scorre { overflow-x: auto; border-radius: var(--raggio); box-shadow: var(--ombra-lieve); background: #fff; -webkit-overflow-scrolling: touch; }
.tavola-scorre:focus-visible { outline: 3px solid var(--salvia-chiara); }
.tavola-elementi { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed;font-size: 0.94rem; line-height: 1.4; }
.tavola-elementi th, .tavola-elementi td { padding: 0.75rem 0.9rem; text-align: center; border-bottom: 1px solid rgba(31, 59, 48, 0.08); }
.tavola-elementi td small, .tavola-elementi thead small { display: block; font-size: 0.8em; font-style: italic; color: var(--inchiostro-tenue); }
.tavola-elementi thead th { color: #fff; font-family: var(--titolo); font-size: 1.22rem; font-weight: 600; padding-top: 1rem; }
.tavola-elementi thead th small { color: rgba(255, 255, 255, 0.82); font-family: var(--corpo); font-size: 0.72rem; }
.tavola-elementi thead th [lang="zh"] { display: block; font-size: 1.7rem; line-height: 1.1; margin-bottom: 0.15rem; }
.tavola-elementi thead th:first-child { background: var(--bosco); width: 16%; }
.col-legno { background: var(--el-legno); }
.col-fuoco { background: var(--el-fuoco); }
.col-terra { background: var(--el-terra); }
.col-metallo { background: var(--el-metallo); }
.col-acqua { background: var(--el-acqua); }
.tavola-elementi tbody th {
    text-align: left; line-height: 1.35;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ottone); background: #fbf8f1;
    position: sticky; left: 0; z-index: 1;
}
.tavola-elementi tbody tr:nth-child(even) td { background: #fcfaf5; }
.tavola-elementi tbody tr:first-child td { font-family: var(--titolo); font-size: 1.12rem; font-weight: 600; color: var(--bosco); }
.tavola-elementi tbody tr:last-child th, .tavola-elementi tbody tr:last-child td { border-bottom: 0; }
.tavola-avviso { display: none; margin-top: 0.6rem; font-size: 0.8rem; font-style: italic; color: var(--inchiostro-tenue); text-align: right; }
@media (max-width: 820px) { .tavola-avviso { display: block; } }

/* i cinque elementi, uno per uno */
.elementi { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2.4rem; }
.elemento {
    --el: var(--bosco);
    position: relative; overflow: hidden;
    background: #fff; border-radius: var(--raggio);
    box-shadow: var(--ombra-lieve);
    border: 1px solid rgba(31, 59, 48, 0.07);
    border-top: 6px solid var(--el);
    padding: clamp(1.4rem, 3vw, 2.4rem);
}
.el-legno { --el: var(--el-legno); }
.el-fuoco { --el: var(--el-fuoco); }
.el-terra { --el: var(--el-terra); }
.el-metallo { --el: var(--el-metallo); }
.el-acqua { --el: var(--el-acqua); }
.elemento-testa { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: flex-start; margin-bottom: 1.6rem; }
.ideogramma {
    flex: 0 0 auto;
    width: clamp(4.4rem, 11vw, 6.4rem); aspect-ratio: 1;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--el); color: #fff;
    font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1;
    box-shadow: 0 8px 22px rgba(20, 42, 34, 0.18);
}
.elemento-testa h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.15em; color: var(--el); }
.elemento-testa p { margin-bottom: 0.45em; }
.elemento-testa > div > p:first-of-type { font-family: var(--titolo); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--inchiostro); }
.elemento-stagione { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ottone); margin-bottom: 0.3rem; }
.elemento-organi { font-size: 0.95rem; color: var(--inchiostro-tenue); margin-bottom: 0 !important; }
.elemento-colonne { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.elemento-colonne > div { border-radius: 10px; padding: 1rem 1.1rem 0.9rem; background: #faf7f0; }
.elemento-colonne h4 { font-family: var(--corpo); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; }
.elemento-colonne ul { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; line-height: 1.45; }
.elemento-colonne li { position: relative; padding: 0.22rem 0 0.22rem 1.25rem; }
.elemento-colonne li::before { position: absolute; left: 0; font-weight: 700; }
.elemento-bene h4 { color: var(--bosco); }
.elemento-bene li::before { content: "✓"; color: var(--salvia); }
.elemento-male { background: #fbf1ec !important; }
.elemento-male h4 { color: var(--terracotta); }
.elemento-male li::before { content: "!"; color: var(--terracotta); left: 0.25rem; }
.elemento-aiuta { background: color-mix(in srgb, var(--el) 10%, #fff) !important; }
.elemento-aiuta h4 { color: var(--el); }
.elemento-aiuta li::before { content: "→"; color: var(--el); }
@media (max-width: 560px) {
    .elemento-testa { flex-direction: column; gap: 0.8rem; }
}

/* gli esempi con la catena di passaggi */
.esempio { margin-top: 2rem; background: #fff; border-radius: var(--raggio); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--ombra-lieve); border: 1px solid rgba(31, 59, 48, 0.07); }
.passaggi { list-style: none; margin: 1rem 0 1.2rem; padding: 0; display: flex; align-items: stretch; gap: 0.6rem; }
.passaggi li:not(.p-freccia) {
    flex: 1 1 0; border-radius: 10px; padding: 0.8rem 0.9rem;
    background: #faf7f0; border-left: 4px solid var(--el, var(--ottone));
    line-height: 1.35;
}
.passaggi strong { display: block; color: var(--el, var(--bosco)); font-size: 0.98rem; }
.passaggi span { font-size: 0.85rem; color: var(--inchiostro-tenue); }
.p-legno { --el: var(--el-legno); }
.p-terra { --el: var(--el-terra); }
.p-fuoco { --el: var(--el-fuoco); }
.p-acqua { --el: var(--el-acqua); }
.p-sintomo { --el: var(--terracotta); background: #fbf1ec !important; }
.p-freccia { flex: 0 0 auto; align-self: center; color: var(--ottone); font-size: 1.4rem; }
.esempio-rimedio { margin: 0; font-size: 0.98rem; }
@media (max-width: 640px) {
    .passaggi { flex-direction: column; }
    .p-freccia { transform: rotate(90deg); }
}

/* l'orologio degli organi */
.orologio { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.orologio li {
    border-left: 4px solid var(--el); background: #fff; border-radius: 8px;
    padding: 0.55rem 0.8rem; line-height: 1.3; font-weight: 700; color: var(--bosco);
}
.orologio b { display: inline-block; min-width: 4.6rem; font-family: var(--titolo); font-size: 1.1rem; color: var(--el); }
.orologio small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--inchiostro-tenue); margin-top: 0.15rem; }

/* --- menu su schermi medi (901–1280 px) ------------------------------------
   Con la sesta voce (Medicina cinese, 25/11/2026) la barra non ci stava più fra
   900 e ~1240 px: Contatti e Prenota uscivano dallo schermo. In questa fascia le
   voci si stringono e, sotto i 1100 px, accanto al logo resta solo il marchio. */
@media (min-width: 901px) and (max-width: 1280px) {
    .barra { gap: 0.8rem; }
    .menu { gap: 0.1rem; }
    .menu a { padding: 0.5rem 0.6rem; font-size: 0.78rem; letter-spacing: 0.035em; }
    .barra .bottone { padding: 0.6rem 1rem; font-size: 0.74rem; margin-left: 0.3rem; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .marchio-testo { display: none; }
}
/* settima voce (Riflessologia, 03/12/2026): fra 901 e 1020 px Prenota usciva di
   ~5–60 px. Qui si stringono ancora margini, voci e bottone. */
@media (min-width: 901px) and (max-width: 1020px) {
    .barra { padding-inline: 1rem; gap: 0.5rem; }
    .menu a { padding: 0.45rem 0.4rem; font-size: 0.72rem; letter-spacing: 0.02em; }
    .voce-madre { gap: 0.3rem; }
    .barra .bottone { padding: 0.55rem 0.8rem; font-size: 0.7rem; margin-left: 0.2rem; }
}

/* frase finale dell'avvertenza (pagina Medicina cinese): più calda, in corsivo, senza margine sotto */
.avvertenza-natura {
    margin: 1.2rem 0 0 !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(164, 86, 47, 0.18);
    font-family: var(--titolo);
    font-style: italic;
    font-size: clamp(1.12rem, 1.8vw, 1.3rem);
    line-height: 1.5;
    color: var(--bosco);
}

/* orologio degli organi sempre aperto (non più in fisarmonica, 25/11/2026) */
.orologio-blocco h3 { margin-bottom: 0.4em; }
.orologio-blocco > p { color: var(--inchiostro-tenue); margin-bottom: 1.2rem; }
.orologio-blocco .orologio { margin-bottom: 0; }

/* =============================================================================
   Medicina cinese — ampliamento del 30/11/2026: storia, test, citazione,
   natura degli alimenti, ginnastica e respiro, cinque punti.
   ========================================================================== */
/* dipinti e tavole antiche: cornice color carta, nessun ritaglio */
.figura-antica { background: #efe6d2; padding: 0.7rem; }
.figura-antica > img { border-radius: 8px; }
.figura-antica figcaption { background: transparent; padding: 0.8rem 0.3rem 0.2rem; }
.figura-antica .nome-orientale { font-style: normal; }

/* cronologia */
.cronologia { list-style: none; margin: 1.4rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--ottone-chiaro); }
.cronologia li { position: relative; padding: 0 0 1.05rem; line-height: 1.5; }
.cronologia li:last-child { padding-bottom: 0; }
.cronologia li::before {
    content: ""; position: absolute; left: calc(-1.4rem - 6px); top: 0.42rem;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--pergamena); border: 2px solid var(--ottone);
}
.cronologia b { display: block; font-family: var(--titolo); font-size: 1.2rem; color: var(--ottone); line-height: 1.2; }
.cronologia > li > span { font-size: 0.96rem; }

/* il test */
.test-elementi { margin-top: 1.8rem; background: #fff; border-radius: var(--raggio); box-shadow: var(--ombra-lieve); border: 1px solid rgba(31, 59, 48, 0.07); padding: clamp(1.2rem, 3vw, 2rem); }
.test-elementi fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.test-elementi label {
    display: flex; gap: 0.7rem; align-items: flex-start;
    padding: 0.65rem 0.8rem; border-radius: 10px; cursor: pointer;
    background: #faf7f0; border: 1.5px solid transparent;
    font-size: 0.95rem; line-height: 1.4;
    transition: background var(--transizione), border-color var(--transizione);
}
.test-elementi label:hover { background: #f3eee2; }
.test-elementi label:has(input:checked) { background: #eef4ef; border-color: var(--salvia); }
.test-elementi input { width: 19px; height: 19px; margin-top: 0.1rem; flex-shrink: 0; accent-color: var(--bosco); }
.test-azioni { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.test-esito { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(31, 59, 48, 0.1); }
.test-barre { display: grid; gap: 0.55rem; }
.barra-el { display: grid; grid-template-columns: 5.5rem 1fr 2rem; gap: 0.8rem; align-items: center; font-size: 0.9rem; font-weight: 700; color: var(--el); }
.barra-el i { height: 12px; border-radius: 99px; background: #efe9dc; overflow: hidden; }
.barra-el b { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--el); transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
.barra-el em { font-style: normal; text-align: right; }
.test-frase { margin: 1.2rem 0 0; font-family: var(--titolo); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; color: var(--bosco); }
.test-frase a { font-family: var(--corpo); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.test-nota { margin: 1.2rem 0 0; font-size: 0.8rem; font-style: italic; color: var(--inchiostro-tenue); }

/* citazione con il testo cinese */
.citazione-cinese { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: 0.18em; color: var(--ottone-chiaro) !important; margin: 0.4rem 0 0; line-height: 1.2; }
.fascia-cinese::before { background: rgba(20, 42, 34, 0.7); }

/* scala caldo-freddo */
.scala-termica { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.scala-termica li { padding: 1rem 0.9rem 0.9rem; border-radius: 10px; color: #fff; text-align: center; line-height: 1.3; }
.scala-termica strong { display: block; font-family: var(--titolo); font-size: 1.35rem; }
.scala-termica .nome-orientale { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; }
.scala-termica p { margin: 0.55rem 0 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.95); }
.scala-termica li:first-child { border-radius: 14px 6px 6px 14px; }
.scala-termica li:last-child { border-radius: 6px 14px 14px 6px; }
.t-freddo { background: #2e4d68; }
.t-fresco { background: #5b8197; }
.t-neutro { background: #8a8f7e; }
.t-tiepido { background: #c08a3e; }
.t-caldo { background: #b4503a; }
.regole-tavola { margin-top: 1.6rem; }
.regole-tavola h3 { font-size: 1.25rem; }
@media (max-width: 760px) {
    .scala-termica { grid-template-columns: 1fr; }
    .scala-termica li, .scala-termica li:first-child, .scala-termica li:last-child { border-radius: 10px; text-align: left; display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 0.6rem; }
    .scala-termica strong { font-size: 1.2rem; }
    .scala-termica .nome-orientale { grid-column: 1; }
    .scala-termica p { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
}

/* figura larga e figura alta, ingrandibili con la lente */
.figura-larga { background: #efe6d2; padding: 0.7rem; }
.figura-larga figcaption { background: transparent; padding: 0.8rem 0.3rem 0.2rem; }
button.foto-larga { aspect-ratio: 2 / 1; box-shadow: none; }
button.foto-larga img, button.foto-alta img { object-fit: contain; }
button.foto-alta { aspect-ratio: 2 / 3; box-shadow: none; background: #f4efe4; }
.lente img[src*="/cina/"] { width: min(96vw, 1500px); }

/* i sei suoni */
.sei-suoni { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.45rem; }
.sei-suoni li { display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.6rem; border-radius: 8px; background: #faf7f0; border-left: 4px solid var(--el); font-size: 0.9rem; }
.sei-suoni b { font-size: 1.4rem; line-height: 1; color: var(--el); font-weight: 400; }
.sei-suoni strong { color: var(--el); }

/* i cinque punti */
.duo-punti { align-items: start; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 900px) { .duo-punti { grid-template-columns: 1fr; } .figura-tavola { max-width: 420px; margin-inline: auto; } }
.figura-tavola { position: sticky; top: 6rem; }
.punti { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.punti li { background: #fff; border-radius: 10px; border-left: 5px solid var(--el); padding: 0.9rem 1.1rem; box-shadow: var(--ombra-lieve); }
.punti h3 { font-size: 1.25rem; color: var(--el); margin-bottom: 0.3em; }
.punti p { margin: 0; font-size: 0.93rem; line-height: 1.55; }
.punti b { color: var(--bosco); }
.attenzione { color: var(--terracotta); font-weight: 700; font-style: normal; }
/* il grigio del Metallo è troppo chiaro per i testi: tono più scuro solo per le scritte */
.el-metallo .elemento-testa h3, .punti .el-metallo h3,
.sei-suoni .el-metallo b, .sei-suoni .el-metallo strong { color: #6a7477; }
/* il dipinto di Ma Yuan deve trasparire dietro la citazione */
.fascia-cinese { background-position: center 40%; }
.fascia-cinese::before { background: rgba(20, 42, 34, 0.58); }
/* bambù di Ke Jiusi (1343) in filigrana accanto al test, solo su schermo largo */
.sezione-test { overflow: hidden; }
.sezione-test > .stretto { position: relative; z-index: 1; }
@media (min-width: 1100px) {
    .sezione-test::before {
        content: ""; position: absolute; top: 4rem; bottom: 4rem; right: 0;
        width: min(28vw, 400px);
        background: url("../cina/bambu.jpg") right center / contain no-repeat;
        opacity: 0.22; mix-blend-mode: multiply; pointer-events: none;
    }
}

/* =============================================================================
   Bio-Quantica — ampliamento del 30/11/2026
   ========================================================================== */
/* i due diapason */
.diapason-figura { margin: 0; }
.diapason { width: 100%; max-width: 460px; display: block; margin-inline: auto; overflow: visible; }
.dia-base rect { fill: var(--pergamena-scura); stroke: rgba(31, 59, 48, 0.15); }
.dia path, .dia line { fill: none; stroke: var(--bosco); stroke-width: 7; stroke-linecap: round; }
.dia .vibra { stroke: var(--ottone); stroke-width: 2; opacity: 0; }
.onde path { fill: none; stroke: var(--ottone); stroke-width: 2.4; stroke-linecap: round; opacity: 0.25; }
.dia-etichetta { font-family: var(--corpo); font-size: 12px; font-weight: 700; letter-spacing: 2px; fill: var(--ottone); text-anchor: middle; }
.diapason-figura.visibile .dia-sx .vibra { animation: vibra 1.6s ease-in-out infinite; }
.diapason-figura.visibile .dia-dx .vibra { animation: vibra 1.6s ease-in-out 0.8s infinite; }
.diapason-figura.visibile .onde path { animation: onda 1.6s ease-in-out infinite; }
.diapason-figura.visibile .onde path:nth-child(2) { animation-delay: 0.15s; }
.diapason-figura.visibile .onde path:nth-child(3) { animation-delay: 0.3s; }
.diapason-figura.visibile .onde path:nth-child(4) { animation-delay: 0.45s; }
.diapason-figura.visibile .onde path:nth-child(5) { animation-delay: 0.6s; }
@keyframes vibra { 0%, 100% { opacity: 0; } 50% { opacity: 0.9; } }
@keyframes onda { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .dia .vibra { opacity: 0.6; } .onde path { opacity: 0.6; } }

/* la seduta passo per passo */
.seduta { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.seduta li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; background: #fff; border-radius: var(--raggio); padding: 1.1rem 1.3rem; box-shadow: var(--ombra-lieve); border: 1px solid rgba(31, 59, 48, 0.07); }
.seduta-n { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--bosco); color: #fff; font-family: var(--titolo); font-size: 1.5rem; font-weight: 600; }
.seduta h3 { font-size: 1.3rem; margin-bottom: 0.25em; }
.seduta p { margin: 0; }
.semaforo { display: inline-block; padding: 0.05rem 0.55rem; border-radius: 99px; font-size: 0.85rem; font-weight: 700; color: #fff; white-space: nowrap; }
.s-verde { background: #5d8a58; }
.s-arancio { background: #c58a2e; }
.s-rosso { background: #b4503a; }

/* sì / no */
.si-no { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin-top: 1.6rem; }
.si-no > div { background: #fff; border-radius: var(--raggio); padding: 1.4rem 1.6rem; box-shadow: var(--ombra-lieve); border-top: 5px solid; }
.si-no .si { border-color: var(--salvia); }
.si-no .no { border-color: var(--terracotta); }
.si-no h3 { font-size: 1.5rem; }
.si-no .si h3 { color: var(--bosco); }
.si-no .no h3 { color: var(--terracotta); }
.si-no ul { margin: 0; padding-left: 1.1rem; }
.si-no li { padding: 0.2rem 0; }

/* schede che sono collegamenti */
a.scheda-link { display: block; text-decoration: none; color: inherit; }
a.scheda-link:hover { color: inherit; }
.scheda-link .scheda-numero { font-size: 1.6rem; }
.scheda-vai { display: inline-block; margin-top: 0.6rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ottone); }

/* Bio-Quantica: foto della postazione accanto alla seduta (30/11/2026) */
.duo-seduta { align-items: start; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.figura-studio { position: sticky; top: 6rem; }
.figura-studio button.foto-iride { display: block; width: 100%; aspect-ratio: 739 / 930; border-radius: 0; box-shadow: none; }
@media (max-width: 900px) {
  .duo-seduta { grid-template-columns: 1fr; }
  .figura-studio { position: static; max-width: 440px; margin-inline: auto; }
}

/* =============================================================================
   Pagina Riflessologia plantare (03/12/2026)
   La mappa del piede è un SVG generato (mappa_piede.py, nella cartella di lavoro):
   due piante viste da sotto, alluci al centro, fasce del corpo ritagliate sulla sagoma.
   ========================================================================== */
:root {
    --rf-testa: #d9c39a;
    --rf-torace: #a8c3b0;
    --rf-addome-alto: #e2bf78;
    --rf-addome-basso: #d6a68b;
    --rf-bacino: #a3b8c6;
}
.mappa-figura { margin: 0; }
.mappa-piede { width: 100%; max-width: 530px; display: block; margin-inline: auto; overflow: visible; }
.mappa-piede .pianta { fill: #fff; }
.mappa-piede .pianta-bordo { fill: none; stroke: var(--bosco); stroke-width: 1.6; }
.mappa-piede .dito { fill: var(--rf-testa); stroke: var(--bosco); stroke-width: 1.4; }
.mappa-piede .f-torace { fill: var(--rf-torace); }
.mappa-piede .f-addome-alto { fill: var(--rf-addome-alto); }
.mappa-piede .f-addome-basso { fill: var(--rf-addome-basso); }
.mappa-piede .f-bacino { fill: var(--rf-bacino); }
.mappa-piede .colonna { fill: none; stroke: var(--terracotta); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 6; }
.mappa-piede .linea-guida { stroke: var(--ottone); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.7; }
.mappa-piede .linea-nome { font-family: var(--corpo); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; fill: var(--ottone); text-anchor: start; }
.mappa-piede .punto circle { fill: #fff; stroke: var(--bosco); stroke-width: 1.4; }
.mappa-piede .punto text { font-family: var(--corpo); font-size: 9px; font-weight: 700; fill: var(--bosco); text-anchor: middle; dominant-baseline: central; }
.mappa-piede .piede-nome { font-family: var(--corpo); font-size: 11px; font-weight: 700; letter-spacing: 2px; fill: var(--inchiostro-tenue); text-anchor: middle; }
/* i punti compaiono dopo la sagoma, quando la figura entra nello schermo */
.appare .mappa-piede .punto { opacity: 0; transition: opacity 0.6s ease 0.5s; }
.appare.visibile .mappa-piede .punto { opacity: 1; }
/* passando sulla legenda si accende il punto corrispondente */
.mappa-piede .punto.acceso circle { fill: var(--ottone); stroke: var(--ottone); }
.mappa-piede .punto.acceso text { fill: #fff; }

.legenda-fasce { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.legenda-fasce li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.7rem; align-items: start; line-height: 1.45; font-size: 0.95rem; }
.legenda-fasce i { width: 1.2rem; height: 1.2rem; border-radius: 4px; margin-top: 0.15rem; border: 1px solid rgba(31, 59, 48, 0.25); }
.lf-testa { background: var(--rf-testa); }
.lf-torace { background: var(--rf-torace); }
.lf-addome-alto { background: var(--rf-addome-alto); }
.lf-addome-basso { background: var(--rf-addome-basso); }
.lf-bacino { background: var(--rf-bacino); }
.lf-colonna { background: repeating-linear-gradient(180deg, var(--terracotta) 0 3px, transparent 3px 7px); border: 0 !important; width: 0.35rem !important; margin-left: 0.42rem; }

.legenda-punti { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.35rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.legenda-punti li { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.92rem; line-height: 1.4; padding: 0.2rem 0.3rem; border-radius: 6px; cursor: default; transition: background var(--transizione); }
.legenda-punti li:hover, .legenda-punti li:focus-within { background: rgba(176, 139, 79, 0.12); }
.legenda-punti b { flex: 0 0 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; border: 1.4px solid var(--bosco); font-size: 0.78rem; color: var(--bosco); background: #fff; transform: translateY(0.35rem); }
.legenda-punti small { color: var(--inchiostro-tenue); font-style: italic; }

/* dipinti/disegni antichi in figura: l'altezza la decide l'immagine */
.figura-antica button.foto-iride { aspect-ratio: auto; box-shadow: none; background: transparent; }
.figura-antica button.foto-iride img { height: auto; object-fit: contain; }
.figura-fitz { max-width: 380px; margin-inline: auto; }
.figura-rp { max-width: 860px; margin-inline: auto; }
/* origini: la cronologia è lunga, la figura resta in alto e accompagna lo scorrimento */
.duo-origini { align-items: start; }
.figura-egitto { position: sticky; top: 6rem; }
@media (max-width: 900px) { .figura-egitto { position: static; } }
.lente img[src*="/riflessologia/"] { width: min(96vw, 1300px); }
.lente img[src*="fitzgerald"] { width: min(92vw, 640px); }

/* tecniche e gesti da provare */
.gesti { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.gesti li { background: #fff; border-radius: var(--raggio); padding: 1.1rem 1.3rem; box-shadow: var(--ombra-lieve); border-left: 5px solid var(--salvia); }
.gesti h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.gesti p { margin: 0; font-size: 0.96rem; }

/* --- Riflessologia: ampliamento del 03/12/2026 ----------------------------- */
/* il piede in numeri */
.cifre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.6rem; }
.cifre > div { background: #fff; border-radius: var(--raggio); padding: 1rem 1.1rem; box-shadow: var(--ombra-lieve); border-top: 4px solid var(--ottone-chiaro); }
.cifre b { display: block; font-family: var(--titolo); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--bosco); }
.cifre span { display: block; margin-top: 0.35rem; font-size: 0.9rem; line-height: 1.35; color: var(--inchiostro-tenue); }

/* foto accanto alla seduta: proporzioni proprie, non quelle della postazione di Bio-Quantica */
.figura-poltrone button.foto-iride { aspect-ratio: 3 / 2; }
.duo-tecniche { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.duo-tecniche .figura button.foto-iride { aspect-ratio: 1200 / 924; border-radius: 0; box-shadow: none; }
.tecniche { gap: 0.9rem; margin-top: 1rem; }
.tecniche .scheda h3 { font-size: 1.25rem; }
@media (max-width: 900px) { .duo-tecniche { grid-template-columns: 1fr; } }

/* gli studi */
.studio { display: flex; flex-direction: column; border-top: 5px solid var(--salvia); }
.studio-tema { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ottone); }
.studio-cifra { margin: 0.3rem 0 0.8rem; font-size: 0.95rem; color: var(--inchiostro-tenue); }
.studio-cifra b { font-family: var(--titolo); font-size: 2rem; font-weight: 600; color: var(--bosco); }
.studio-fonte { margin-top: auto !important; padding-top: 0.8rem; border-top: 1px solid rgba(31, 59, 48, 0.08); font-size: 0.8rem; color: var(--inchiostro-tenue); }
.studio-fonte a { font-weight: 700; white-space: nowrap; }
.studio-limiti { border-left: 5px solid var(--ottone); }
.studio-limiti h3 { color: var(--bosco); }

/* fascia «a piedi nudi» */
.fascia-spiaggia { background-position: center 60%; }
.fascia-spiaggia::before { background: rgba(20, 42, 34, 0.55); }
.fascia-frase { font-family: var(--titolo); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.25; margin: 0.4rem auto 1rem; max-width: 24ch; }

/* sentieri nel mondo */
.galleria-mondo { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.1rem; }
.galleria-mondo button { width: 100%; display: block; }

/* due foto accanto ai gesti da provare */
.foto-coppia { display: grid; gap: 0.9rem; position: sticky; top: 6rem; }
.foto-coppia .figura button.foto-iride { border-radius: 0; box-shadow: none; }
.foto-coppia .figura:first-child button.foto-iride { aspect-ratio: 4 / 5; }
.foto-coppia .figura:last-child button.foto-iride { aspect-ratio: 979 / 610; }
@media (max-width: 900px) { .foto-coppia { position: static; grid-template-columns: 1fr 1fr; } .foto-coppia .figura button.foto-iride { aspect-ratio: 1 !important; } }
.lente img[src*="gray-"] { width: min(92vw, 760px); background: #fff; }
.studi { max-width: 1000px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }

/* --- Riflessologia: mappa cliccabile, canali, mano (03/12/2026) ------------- */
.mappa-invito { margin: 0 0 0.6rem; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ottone); }
html:not(.js-mappa) .mappa-invito, html:not(.js-mappa) .mappa-info { display: none; }
.mappa-piede .punto, .mappa-piede [data-zona] { cursor: pointer; }
.mappa-piede .colonna-tocco { fill: none; stroke: transparent; stroke-width: 16; }
.mappa-piede rect[data-zona], .mappa-piede .dito { transition: opacity 0.3s ease; }
.mappa-piede.ha-scelta rect[data-zona]:not(.scelto), .mappa-piede.ha-scelta .dito:not(.scelto) { opacity: 0.35; }
.mappa-piede .colonna.scelto { stroke-width: 5.5; stroke-dasharray: 1 5; }
.mappa-piede .punto.scelto circle { fill: var(--terracotta); stroke: var(--terracotta); }
.mappa-piede .punto.scelto text { fill: #fff; }
.mappa-info { margin-top: 1rem; background: #fff; border-radius: var(--raggio); padding: 1rem 1.2rem; box-shadow: var(--ombra-lieve); border-left: 4px solid var(--ottone); min-height: 7.5rem; }
.mappa-info h4 { font-size: 1.2rem; margin-bottom: 0.3em; }
.mappa-info p { margin: 0; font-size: 0.94rem; line-height: 1.55; }
.legenda-fasce .spiega, .legenda-punti .spiega { display: block; margin-top: 0.2rem; font-size: 0.86rem; color: var(--inchiostro-tenue); }
.js-mappa .legenda-fasce .spiega, .js-mappa .legenda-punti .spiega { display: none; }
.js-mappa .legenda-fasce li, .js-mappa .legenda-punti li { cursor: pointer; }
.legenda-fasce li { padding: 0.2rem 0.3rem; border-radius: 6px; transition: background var(--transizione); }
.legenda-fasce li:hover, .legenda-fasce li:focus-visible, .legenda-fasce li.scelto,
.legenda-punti li.scelto { background: rgba(176, 139, 79, 0.16); outline: none; }
.legenda-punti li.scelto b { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

/* i sei canali */
.duo-canali { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
@media (max-width: 900px) { .duo-canali { grid-template-columns: 1fr; } }
.canali-figura { margin: 0; }
.canali-piede { width: 100%; max-width: 340px; display: block; margin-inline: auto; overflow: visible; }
.canali-piede .pianta { fill: #fff; }
.canali-piede .pianta-bordo { fill: none; stroke: var(--bosco); stroke-width: 1.6; }
.canali-piede .dito { fill: #fff; stroke: var(--bosco); stroke-width: 1.4; }
.canali-piede .canale circle { fill: var(--el); }
.canali-piede .canale .alone { fill: var(--el); opacity: 0.22; }
.canali-piede .canale text { font-family: var(--corpo); font-size: 10.5px; font-weight: 700; fill: var(--el); }
.canali-piede .piede-nome { font-family: var(--corpo); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; fill: var(--inchiostro-tenue); text-anchor: middle; }
.appare.visibile .canali-piede .alone { animation: pulsa 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulsa { 0%, 100% { transform: scale(1); opacity: 0.25; } 50% { transform: scale(1.7); opacity: 0.08; } }
.canali-elenco { list-style: none; margin: 1.2rem 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; }
.canali-elenco li { background: #fff; border-radius: 8px; border-left: 4px solid var(--el); padding: 0.55rem 0.9rem; line-height: 1.4; font-size: 0.93rem; }
.canali-elenco b { color: var(--el); font-family: var(--titolo); font-size: 1.15rem; }
.canali-elenco > li > span:last-child { display: block; color: var(--inchiostro-tenue); }
.sezione-chiara .canali-elenco li { box-shadow: var(--ombra-lieve); }

/* home: cinque discipline (con la Riflessologia, 03/12/2026). Cinque colonne su
   schermo largo, poi 3+2, poi 2+2+1, poi una sola. */
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .g5 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .g5 > * { grid-column: span 2; } .g5 > :nth-child(4) { grid-column: 2 / span 2; } }
@media (max-width: 860px) { .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g5 > *, .g5 > :nth-child(4) { grid-column: auto; } .g5 > :last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .g5 { grid-template-columns: 1fr; } }
