/* ============================================================================
   Endoplan — sito istituzionale · layer sopra styles.css (della landing)
   Porta nel sito la FIRMA VISIVA delle Stories:
   1) l'orbita — grandi anelli tagliati dal bordo (eco Endoring)
   2) i pallini di avanzamento (mai barrette)
   3) il peso misto — titoli Inter Light con la parola chiave in Black
   4) l'hairline scura su bianco caldo
   ========================================================================== */

/* ------------------------------------------------ 3 · Il peso misto */
/* I titoli del sito sono Light 300 con la parola chiave in Black 900. */
h1.mix, h2.mix, .mix {
  font-weight: 300;
  letter-spacing: -0.01em;
}
h1.mix b, h2.mix b, .mix b { font-weight: 900; }

/* ------------------------------------------------ 1 · L'orbita */
/* Sempre tagliata dal bordo, mai un cerchio intero al centro. */
.has-orbit { overflow: hidden; }
.orbit {
  position: absolute; z-index: 0; border-radius: 50%;
  border: 1.5px solid rgba(17, 17, 17, 0.22);
  pointer-events: none;
}
.orbit.dashed { border-style: dashed; }
.orbit.thick { border-width: 10px; border-color: rgba(185, 154, 226, 0.20); }
.orbit.light { border-color: rgba(255, 255, 255, 0.14); }
section > .wrap { position: relative; z-index: 1; }

/* ------------------------------------------------ 2 · I pallini */
.dots { display: inline-flex; gap: 7px; align-items: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid rgba(17,17,17,0.45); display: block; }
.dots i.done { background: #111; border-color: #111; }
.dots i.cur { width: 11px; height: 11px; border-color: #111; }
.dots.lilac i.done { background: var(--purple); border-color: var(--purple); }

/* Eyebrow con i pallini accanto (sostituiscono ogni barretta) */
.eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eyebrow-row .eyebrow { margin: 0; }
.center .eyebrow-row { justify-content: center; }

/* ------------------------------------------------ 4 · L'hairline */
.hairline-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

/* ================================================ Screenshot dell'app
   Ogni slot prova a caricare images/<nome>.png; finché il file non c'è,
   mostra il segnaposto col nome del file da fornire (vedi images/README.md). */
.shot { position: relative; width: 100%; height: 100%; }
.shot img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.shot .ph { display: none; }
.shot.missing img { display: none; }
.shot.missing .ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; height: 100%; padding: 20px; text-align: center;
  background:
    linear-gradient(180deg, rgba(255,253,249,0.92), rgba(236,224,249,0.85));
  border: 2px dashed rgba(17,17,17,0.35); border-radius: 26px; margin: 8px;
}
.shot.missing .ph .cam { font-size: 30px; opacity: 0.6; }
.shot.missing .ph b { font-size: 13px; font-weight: 900; }
.shot.missing .ph code {
  font-family: ui-monospace, Consolas, monospace; font-size: 11.5px;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(17,17,17,0.25);
  border-radius: 8px; padding: 4px 9px; word-break: break-all;
}
.shot.missing .ph small { font-size: 11px; color: var(--muted); }

/* ================================================ Mockup HTML animati
   Finché lo screenshot vero non è in images/, ogni slot mostra un mockup
   in HTML/CSS fedele all'app (stessi componenti dei mock delle landing).
   Quando il file arriva, l'immagine prende il posto del mockup da sola. */
.shot .mock { display: none; }
.shot.missing .mock { display: block; height: 100%; overflow: hidden; }
.shot.missing .ph { display: none; } /* se c'è il mockup, niente riquadro tratteggiato */
.shot.missing.no-mock .ph { display: flex; } /* slot senza mockup (es. ritratto) */

/* le animazioni dei mockup partono quando lo schermo entra in vista (.go) */
.mock .screen-pad { padding: 44px 15px 14px; }
.mock .m-hello { font-size: 17px; }
.mock .m-sub { font-size: 10.5px; }
.mock .m-card { padding: 11px 12px; margin-top: 9px; border-radius: 18px; }
.mock .m-kicker { font-size: 8.5px; }
.mock .m-meal { padding: 8px 0; gap: 9px; }
.mock .m-meal .ic { width: 28px; height: 28px; border-radius: 10px; flex-basis: 28px; font-size: 14px; }
.mock .m-meal .tx b { font-size: 11.5px; }
.mock .m-meal .tx small { font-size: 9.5px; }
.mock .m-meal .chk { width: 18px; height: 18px; flex-basis: 18px; }

/* striscia giorni (calendario Home): lettera sopra, data nel cerchio sotto,
   distribuita su tutta la larghezza — come il CalendarHeader dell'app */
.m-days { display: flex; justify-content: space-between; margin: 2px 2px 16px; }
.m-days .d { display: flex; flex-direction: column-reverse; align-items: center; gap: 5px; font-size: 8px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.m-days .d i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(17,17,17,0.28); display: grid; place-items: center; font-size: 9.5px; font-style: normal; font-weight: 700; color: var(--text); background: rgba(255,255,255,0.6); transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.m-days .d i.done { background: var(--purple); border-color: var(--purple); color: #fff; }
.m-days .d i.cur { border-color: #111; border-width: 2px; background: var(--card-bg); }
.go .m-days .d i { transform: scale(1); }
.go .m-days .d:nth-child(1) i { transition-delay: .05s; } .go .m-days .d:nth-child(2) i { transition-delay: .1s; }
.go .m-days .d:nth-child(3) i { transition-delay: .15s; } .go .m-days .d:nth-child(4) i { transition-delay: .2s; }
.go .m-days .d:nth-child(5) i { transition-delay: .25s; } .go .m-days .d:nth-child(6) i { transition-delay: .3s; }
.go .m-days .d:nth-child(7) i { transition-delay: .35s; }

/* slider sintomi: la barra si riempie quando .go */
.mock .m-sym { margin-top: 9px; }
.mock .sym-fill { width: 0 !important; transition: width 1s ease .25s; }
.mock .sym-knob { transition: margin-left 1s ease .25s; margin-left: 0 !important; }
.go .m-sym .sym-fill.f30 { width: 30% !important; } .go .m-sym .sym-knob.k30 { margin-left: 24% !important; }
.go .m-sym .sym-fill.f62 { width: 62% !important; } .go .m-sym .sym-knob.k62 { margin-left: 56% !important; }
.go .m-sym .sym-fill.f45 { width: 45% !important; } .go .m-sym .sym-knob.k45 { margin-left: 39% !important; }

/* chip giornata (micro-domanda del tracker) */
.m-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.m-chips span { border: 1.5px solid rgba(17,17,17,0.3); border-radius: 999px; padding: 4px 9px; font-size: 9px; font-weight: 600; background: rgba(255,255,255,0.7); }
.m-chips span.on { background: var(--lilac-soft); border-color: var(--purple); color: #4A3568; }

/* barra kcal del Piano */
.m-knum { font-weight: 900; font-size: 26px; line-height: 1; margin-top: 6px; }
.m-knum small { font-size: 11px; font-weight: 600; color: var(--muted); }
.m-kbar { height: 9px; border-radius: 999px; background: rgba(17,17,17,0.08); margin-top: 8px; overflow: hidden; }
.m-kbar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--pill-from), var(--pill-to)); transition: width 1.1s ease .3s; }
.go .m-kbar i { width: 72%; }
.m-nutri { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.m-nutri span { background: #EDEFE6; color: var(--green-deep); border-radius: 999px; padding: 4px 9px; font-size: 9px; font-weight: 700; }

/* barre trigger/protettivi (Insights) */
.m-tbar { display: grid; grid-template-columns: 62px 1fr 30px; align-items: center; gap: 7px; margin-top: 9px; font-size: 9.5px; }
.m-tbar .n { font-weight: 700; }
.m-tbar .track { height: 8px; border-radius: 999px; background: rgba(17,17,17,0.07); overflow: hidden; }
.m-tbar .track i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .9s ease; }
.m-tbar .v { font-weight: 900; text-align: right; }
.m-tbar.up .track i { background: var(--score-mid); } .m-tbar.up .v { color: var(--score-mid); }
.m-tbar.down .track i { background: var(--green); } .m-tbar.down .v { color: var(--green); }
.go .m-tbar i.w80 { width: 80%; } .go .m-tbar i.w55 { width: 55%; } .go .m-tbar i.w38 { width: 38%; }
.go .m-tbar i.w60 { width: 60%; } .go .m-tbar i.w42 { width: 42%; }
.go .m-tbar:nth-of-type(2) i { transition-delay: .15s; } .go .m-tbar:nth-of-type(3) i { transition-delay: .3s; }

/* sparkline (andamento 4 settimane, Insights) */
.m-spark { width: 100%; height: 52px; margin-top: 10px; }
.m-spark polyline { stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset 1.6s ease .3s; }
.go .m-spark polyline { stroke-dashoffset: 0; }
.go .m-spark .sp2 { transition-delay: .55s; }
.m-spark-legend { display: flex; gap: 12px; margin-top: 6px; font-size: 9px; color: var(--muted); }
.m-spark-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }

/* chat "dimmi cosa hai mangiato" */
.m-bubble { max-width: 88%; border-radius: 16px; padding: 9px 12px; font-size: 10.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.m-bubble.user { align-self: flex-end; margin-left: auto; color: #fff; background: linear-gradient(135deg, var(--pill-from), var(--pill-to)); border-bottom-right-radius: 5px; }
.go .m-bubble { opacity: 1; transform: none; }
.go .m-bubble.b2 { transition-delay: .5s; }
.mock .m-result { opacity: 0; transform: translateY(8px); transition: opacity .5s ease 1s, transform .5s ease 1s; }
.go .m-result { opacity: 1; transform: none; }

/* import dieta: progresso lettura + righe che appaiono */
.m-doc { display: flex; align-items: center; gap: 9px; }
.m-doc .fic { width: 32px; height: 32px; border-radius: 10px; background: var(--lilac-soft); display: grid; place-items: center; font-size: 15px; }
.m-doc b { font-size: 11px; display: block; }
.m-doc small { font-size: 9px; color: var(--muted); }
.m-prog { height: 7px; border-radius: 999px; background: rgba(17,17,17,0.08); margin-top: 9px; overflow: hidden; }
.m-prog i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--green); transition: width 1.2s ease .2s; }
.go .m-prog i { width: 100%; }
.m-appear { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.go .m-appear { opacity: 1; transform: none; }
.go .m-appear.a1 { transition-delay: 1.2s; } .go .m-appear.a2 { transition-delay: 1.45s; } .go .m-appear.a3 { transition-delay: 1.7s; }
.m-oppure { display: inline-block; background: rgba(255,255,255,0.85); border: 1px dashed rgba(17,17,17,0.4); border-radius: 999px; padding: 2px 8px; font-size: 8px; font-weight: 900; letter-spacing: 0.6px; color: var(--muted); }

/* punteggio piccolo accanto agli ingredienti */
.m-score { font-weight: 900; font-size: 12px; }
.m-score.hi { color: var(--green); } .m-score.best { color: var(--purple); }

/* gauge EndoScore piccolo nel mockup */
.m-gaugebox { position: relative; width: 132px; margin: 4px auto 0; }
.m-gaugebox svg { display: block; width: 100%; height: auto; }
.m-gauge-center { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; font-size: 26px; font-weight: 900; }

/* schermo Mente (scuro, come MenteScreen) */
.mente-screen { background: radial-gradient(120% 90% at 70% 15%, #241E38 0%, #12101C 60%) !important; }
.mock-mente { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 16px 16px; color: #E9E2F5; position: relative; }
.mock-mente .blob { position: absolute; border-radius: 50%; filter: blur(28px); opacity: 0.35; animation: blobfloat 9s ease-in-out infinite; }
.mock-mente .blob.b1 { width: 150px; height: 150px; background: #6D5A9E; top: 8%; left: -18%; }
.mock-mente .blob.b2 { width: 120px; height: 120px; background: #4A3568; bottom: 10%; right: -14%; animation-delay: 4.5s; }
@keyframes blobfloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(12px,-14px) scale(1.12); } }
.mock-mente .badge { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 34px rgba(185,154,226,0.5); }
.mock-mente .badge img { width: 42px; height: 42px; border-radius: 50%; }
.mock-mente .badge .breath { inset: -12px; }
.mock-mente .badge .breath.b2 { inset: -24px; }
.mock-mente .think { position: relative; min-height: 96px; width: 100%; }
.mock-mente .think p {
  position: absolute; inset: 0; margin: 0; text-align: center;
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: 12.5px; line-height: 1.6; opacity: 0;
  animation: thought 12s ease-in-out infinite;
}
.mock-mente .think p .manca { display: block; font-size: 9.5px; color: rgba(233,226,245,0.55); margin-top: 7px; font-style: normal; font-family: Inter, sans-serif; }
.mock-mente .think p.t2 { animation-delay: 6s; }
@keyframes thought { 0% { opacity: 0; transform: translateY(6px); } 6%,44% { opacity: 1; transform: none; } 52%,100% { opacity: 0; transform: translateY(-6px); } }
.mock-mente .conf { width: 64%; }
.mock-mente .conf .bar { height: 3px; border-radius: 999px; background: rgba(255,255,255,0.14); overflow: hidden; }
.mock-mente .conf .bar i { display: block; height: 100%; width: 0; background: var(--purple); border-radius: 999px; transition: width 1.2s ease .4s; }
.go .mock-mente .conf .bar i { width: 58%; }
.mock-mente .conf small { display: block; text-align: center; font-size: 8.5px; color: rgba(233,226,245,0.5); margin-top: 5px; letter-spacing: 0.4px; }
.mock-mente .ask { width: 100%; border: 1.5px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 9px 14px; font-size: 10.5px; color: rgba(233,226,245,0.65); background: rgba(255,255,255,0.05); }

/* Telefono pieno (senza il taglio in basso della landing) per le griglie */
.phone.full {
  margin: 0 auto; border-radius: 44px; padding: 12px;
  -webkit-mask-image: none; mask-image: none;
}
.phone.full .screen { border-radius: 33px; }

/* ================================================ Home · griglia funzioni */
.appgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 28px; margin-top: 40px;
}
.appcell { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.appcell .phone { width: 260px; }
/* proporzione da iPhone vero: schermo interno 236px → altezza ~19.5:9 */
.appcell .phone .screen { height: 512px; }

/* Su mobile la griglia diventa uno SLIDESHOW orizzontale stile rotella:
   una card centrata a scatti, le vicine sbucano ai lati sfumate. */
@media (max-width: 720px) {
  .appgrid {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 20px; padding: 10px 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bordi sfumati, come la rotella delle domande della Mente */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
  }
  .appgrid::-webkit-scrollbar { display: none; }
  .appgrid .appcell {
    flex: 0 0 262px; scroll-snap-align: center;
    transition: opacity .25s ease, transform .25s ease;
  }
  /* margini fantasma per poter centrare la prima e l'ultima card */
  .appgrid::before, .appgrid::after { content: ""; flex: 0 0 calc(50% - 141px); }
  /* le card lontane dal centro si spengono (classe messa dal JS) */
  .appgrid .appcell.off { opacity: 0.45; transform: scale(0.92); }
  .appgrid .appcell.off .phone { box-shadow: 0 14px 30px rgba(90,60,120,0.14); }
}

/* pallini di avanzamento dello slideshow (creati dal JS solo su mobile) */
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.carousel-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(17,17,17,0.45); display: block; transition: all .25s ease; }
.carousel-dots i.cur { width: 13px; height: 13px; background: var(--purple); border-color: var(--purple); }
.appcell h3.mix { font-size: 20px; text-align: center; }
.appcell p { font-size: 14px; color: var(--muted); font-weight: var(--f-regular); text-align: center; max-width: 34ch; margin: 0; }

/* ================================================ Home · 3 passi coi pallini-giorno */
.calib { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.calib .step-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 26px 26px 24px;
  position: relative; overflow: hidden;
}
.calib .step-card .orbit { width: 190px; height: 190px; top: -110px; right: -90px; }
.calib .step-dots { display: flex; gap: 7px; margin-bottom: 16px; }
.calib .step-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(17,17,17,0.45); }
.calib .step-dots i.done { background: var(--purple); border-color: var(--purple); }
.calib h3 { font-size: 20px; font-weight: 300; margin-bottom: 8px; }
.calib h3 b { font-weight: 900; }
.calib p { color: var(--muted); font-weight: var(--f-regular); font-size: 15px; margin: 0; position: relative; }

/* ================================================ Home · sezione Mente (scura) */
.mente-sec {
  background: #12101C; color: #F3EFF9;
  border-radius: 0; padding: 84px 0;
}
.mente-sec .eyebrow { color: var(--purple); }
.mente-sec h2 { color: #fff; }
.mente-sec .lead { color: rgba(243,239,249,0.72); }
.mente-sec .m-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .mente-sec .m-grid { grid-template-columns: 1fr; } }
.mente-sec .phone { box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
/* schermo della Mente in proporzione reale (come i frame 390×844 delle Stories) */
.mente-sec .phone .screen { height: 600px; }
/* pensiero in voce serif corsiva, come in app */
.pensiero {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: clamp(19px, 2.4vw, 24px); line-height: 1.55; color: #E9E2F5;
  border-left: 2px solid rgba(185,154,226,0.55); padding-left: 18px; margin: 26px 0;
}
.pensiero .manca { display: block; font-size: 14px; color: rgba(233,226,245,0.55); margin-top: 10px; }
.mente-sec .punti { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.mente-sec .punti li { display: flex; gap: 12px; font-size: 15.5px; font-weight: var(--f-regular); color: rgba(243,239,249,0.85); }
.mente-sec .punti li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); margin-top: 7px; }
/* anelli che respirano attorno al mockup */
.breath { position: absolute; border-radius: 50%; border: 1.5px solid rgba(185,154,226,0.35); animation: breath 3.4s ease-in-out infinite; pointer-events: none; }
.breath.b2 { animation-delay: 1.6s; border-color: rgba(185,154,226,0.2); }
@keyframes breath { 0%,100% { transform: scale(0.94); opacity: 0.5; } 50% { transform: scale(1.06); opacity: 1; } }

/* ================================================ Metodo · gauge e bande */
.gauge-fig { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bande { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.banda {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px 16px; box-shadow: var(--shadow-soft);
}
.banda .sw { display: block; width: 34px; height: 10px; border-radius: 999px; margin-bottom: 10px; }
.banda b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.banda small { font-size: 12px; color: var(--muted); }

/* blocco "cosa NON facciamo" — cerchio tratteggiato, come il mito delle Stories */
.no-block {
  position: relative; border-radius: 20px; padding: 16px 18px 16px 54px;
  background: rgba(255,255,255,0.72); border: 1.5px dashed var(--border); margin-bottom: 12px;
}
.no-block .mark { position: absolute; left: 17px; top: 19px; width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--score-low); }
.no-block b { font-size: 15px; }
.no-block p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); font-weight: var(--f-regular); }
.si-block { border-style: solid; background: var(--sage-soft); }
.si-block .mark { border: none; background: var(--green-deep); }

/* ================================================ Pagine interne */
.page-hero { padding: 64px 0 26px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; }
.page-hero .lead { margin-top: 16px; }
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; font-weight: var(--f-regular); }
.prose p { margin-bottom: 14px; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin: 44px 0 12px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }

/* FAQ — hairline card che si apre */
.faq-list { max-width: 760px; margin-top: 30px; display: grid; gap: 12px; }
details.faq {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-soft);
  padding: 0 20px;
}
details.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 17px 0; font-weight: var(--f-semibold); font-size: 15.5px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(17,17,17,0.5); transition: background .2s, border-color .2s; }
details.faq[open] summary .dot { background: var(--purple); border-color: var(--purple); }
details.faq .a { padding: 0 0 18px 28px; font-size: 15px; line-height: 1.65; font-weight: var(--f-regular); color: #333; }
details.faq .a a { color: var(--green-deep); text-decoration: underline; }

/* Chi siamo — ritratto */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; margin-top: 36px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.founder .portrait {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-xl);
  overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card);
  background: var(--card-bg);
}
.fie-block {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 30px 34px; margin-top: 40px;
}
.fie-block img { height: 62px; width: auto; }
.fie-block p { flex: 1; min-width: 260px; margin: 0; font-size: 15.5px; font-weight: var(--f-regular); }

/* Segnaposto da completare (come nelle pagine legali) */
.todo { background: #FFF3B0; border-radius: 4px; padding: 1px 6px; font-weight: var(--f-semibold); }

/* Footer del sito: più colonne delle landing */
.site-footer { padding: 54px 0 44px; border-top: 1px solid var(--card-stroke); position: relative; overflow: hidden; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; position: relative; z-index: 1; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 12px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.site-footer a { display: block; font-size: 14px; font-weight: var(--f-regular); color: var(--text); opacity: 0.75; margin-bottom: 8px; }
.site-footer a:hover { opacity: 1; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .fie-logo { height: 30px; width: auto; margin-top: 6px; }
.site-footer .fine { margin-top: 34px; font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.site-footer .orbit { width: 300px; height: 300px; bottom: -180px; right: -120px; }
