/* =========================================================================
   FLOW MOTION — gli stili del sito, tutti qui.
   -------------------------------------------------------------------------
   Caratteri: Lato (self-hosted) ovunque: testata, piede, titoli e testo.
              Un solo carattere, nessuna richiesta a Google Fonts.
   Palette:   bosco + terracotta + crema (le variabili in :root).

   INDICE
     0. Caratteri e variabili
     1. Base
     2. Testata (barra alta, logo, menu, lingua)
     3. Piede, torna su, cookie
     4. Componenti (pulsanti, card, moduli, griglia contatti)
     5. Home
     6. Libri
     7. Bussola Verde
     8. Contatti, in allestimento, legale, grazie, download
     9. Responsive
   ========================================================================= */

/* 0. CARATTERI E VARIABILI ------------------------------------------------ */
@font-face { font-family: 'Lato'; src: url('../fonts/lato-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/lato-bold.woff2')    format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/lato-light.woff2')   format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/lato-black.woff2')   format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    --fm-ink: #26331F;
    --fm-forest: #2F5D3A;
    --fm-forest-deep: #21442B;
    --fm-leaf: #5B8C4A;
    --fm-green: #88ca94;
    --fm-accent: #C8742D;
    --fm-accent-soft: #E6A24B;
    --fm-cream: #F6F4EA;
    --fm-panel: #EDF3E5;
    --fm-panel2: #FBF6EC;
    --fm-line: #CBD8BD;
    --fm-mute: #6E7A63;
    --fm-white: #ffffff;
    --fm-dark: #3E4A3F;
    --fm-book-green: #0a3d0a;

    --fm-ui: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fm-display: var(--fm-ui);   /* titoli: stesso carattere del menu */
    --fm-body: var(--fm-ui);      /* testo:  idem */
    --fm-wrap: 1120px;
}

/* 1. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fm-body); color: var(--fm-ink); background: var(--fm-cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--fm-forest); }
h1, h2, h3 { font-family: var(--fm-display); font-weight: 700; line-height: 1.14; color: var(--fm-forest); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
.fm-wrap { max-width: var(--fm-wrap); margin: 0 auto; padding: 0 28px; }
.fm-inner { max-width: 760px; margin: 0 auto; }
.fm-sec { padding: 64px 0; }
.fm-center { text-align: center; }
.fm-page { overflow-x: hidden; }
.fm-eyebrow { display: inline-block; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; color: var(--fm-accent); margin: 0 0 4px; }
.fm-pill { display: inline-block; background: var(--fm-white); border: 1px solid #ECD9BE; color: var(--fm-accent); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px; }
.fm-micro { font-size: 0.82rem; color: var(--fm-mute); }
.fm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.fm-reveal { opacity: 0; transform: translateY(14px); animation: fmRise 0.7s ease forwards; }
.fm-d1 { animation-delay: 0.05s; }
.fm-d2 { animation-delay: 0.18s; }
@keyframes fmRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fm-reveal { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* 2. TESTATA --------------------------------------------------------------- */
.fm-main-header { background: #fff; border-bottom: 1px solid #e6e6e6; position: sticky; top: 0; z-index: 50; }
.fm-main-inner { max-width: 1240px; margin: 0 auto; padding: 10px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fm-main-header a { text-decoration: none; }
.fm-logo { display: block; height: 62px; }
.fm-logo img { height: 86px; width: auto; display: block; margin-top: -12px; }   /* piu' grande della riga del menu, senza allargarla */
.fm-logo-text { font-weight: 900; font-size: 1.4rem; color: var(--fm-forest); }
.fm-nav { display: flex; align-items: center; gap: 26px; }
.fm-nav-link, .fm-menu-trigger { font-family: var(--fm-ui); font-size: 0.95rem; font-weight: 500; color: #2b2b2b; padding: 8px 0; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.fm-nav-link:hover, .fm-menu-trigger:hover { color: var(--fm-forest); }
.fm-nav-link.is-current { color: var(--fm-forest); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.fm-header-right { display: flex; align-items: center; gap: 16px; }
.fm-btn-nav { padding: 11px 20px; border-radius: 999px; font-size: 0.92rem; background: var(--fm-forest-deep); box-shadow: none; }
.fm-btn-nav:hover { background: var(--fm-forest); box-shadow: none; }
.fm-nav .fm-nav-cta { display: none; }
.fm-caret { font-size: 0.8em; }
.fm-dropdown { position: relative; }
.fm-dropdown-content { position: absolute; top: 100%; right: 0; min-width: 180px; background: #fff; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: none; padding: 8px 0; z-index: 100; }
.fm-dropdown.is-open > .fm-dropdown-content { display: block; }
.fm-dropdown-content a { display: block; padding: 10px 18px; font-size: 0.92rem; color: #333; }
.fm-dropdown-content a:hover { background: #f1f1f1; }
.fm-dropdown-content a[aria-current] { font-weight: 700; color: var(--fm-forest); }
.fm-hamburger, .fm-close-menu { display: none; }

/* 3. PIEDE, TORNA SU, COOKIE ------------------------------------------------ */
#fm-footer { background: var(--fm-forest-deep); color: #fff; font-size: 0.9rem; }
#fm-footer a { color: #fff; text-decoration: none; }
#fm-footer a:hover { text-decoration: underline; }
.fm-footer-main { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 26px; padding-bottom: 22px; text-align: center; }
.fm-footer-logo img { max-height: 54px; width: auto; display: block; background: #fff; border-radius: 10px; padding: 6px 10px; }
.fm-footer-motto { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78rem; color: #dbe7d3; }
.fm-footer-links { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.fm-footer-social { display: flex; gap: 16px; align-items: center; justify-content: center; }
.fm-footer-social a { display: flex; opacity: 0.9; }
.fm-footer-legal { border-top: 1px solid rgba(255,255,255,0.15); text-align: center; font-size: 0.72rem; color: #b9c9b0; padding: 12px 20px; line-height: 1.6; }

#fm-top { position: fixed; bottom: 25px; right: 25px; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 4px 12px rgba(0,0,0,0.12); z-index: 900; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: #444; transition: all 0.2s ease-in-out; }
#fm-top[hidden] { display: none; }
#fm-top:hover { transform: translateY(-3px); color: var(--fm-forest); border-color: var(--fm-forest); }
#fm-top svg { width: 20px; height: 20px; }

.fm-cookie { position: fixed; bottom: 0; left: 0; right: 0; background: var(--fm-forest-deep); color: #fff; padding: 22px 20px; font-size: 15px; text-align: center; box-shadow: 0 -5px 20px rgba(0,0,0,0.3); z-index: 1000; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); line-height: 1.5; }
.fm-cookie.is-visible { transform: translateY(0); }
.fm-cookie-inner { max-width: 900px; margin: 0 auto; }
.fm-cookie p { margin: 0 0 14px; }
.fm-cookie a { color: #fff; text-decoration: underline; font-weight: 700; }
.fm-cookie button { font-family: var(--fm-ui); margin: 4px 8px; padding: 10px 25px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; }
.fm-cookie-acc { background: var(--fm-accent); color: #fff; border: none; }
.fm-cookie-dec { background: transparent; color: #fff; border: 1px solid #fff; }

/* scritte "a mano" */
.fm-mano { font-family: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive; font-size: 1.7rem; line-height: 1.05; color: var(--fm-ink); white-space: nowrap; }

/* 4. COMPONENTI ------------------------------------------------------------ */
.fm-btn { display: inline-block; font-family: var(--fm-body); font-weight: 700; font-size: 1rem; color: #fff !important; background: var(--fm-accent); padding: 14px 26px; border-radius: 12px; box-shadow: 0 10px 22px -10px rgba(200,116,45,0.7); border: none; cursor: pointer; text-decoration: none !important; transition: transform 0.2s ease, box-shadow 0.2s ease; line-height: 1.3; }
.fm-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(200,116,45,0.8); }
.fm-btn.fm-ghost { color: var(--fm-forest) !important; background: #fff; border: 1.5px solid var(--fm-line); box-shadow: none; }
.fm-btn.fm-ghost:hover { background: var(--fm-panel); }
.fm-btn.fm-disabled, .fm-btn.fm-disabled:hover { background: #cfd6cc; color: #fff !important; box-shadow: none; transform: none; cursor: not-allowed; }

.fm-card { background: #fff; border-radius: 14px; padding: 30px 26px; box-shadow: 0 26px 50px -30px rgba(35,68,43,0.45); text-align: left; }
.fm-card-h { font-size: 1.4rem; text-align: center; margin: 0 0 6px; }
.fm-card-sub { text-align: center; color: var(--fm-mute); font-size: 0.9rem; margin: 0 0 18px; }
.fm-form { margin: 0; }
.fm-input { width: 100%; padding: 13px 15px; font-size: 1rem; color: var(--fm-ink); border: 1.5px solid var(--fm-line); border-radius: 11px; background: #fff; margin-bottom: 12px; font-family: var(--fm-body); }
textarea.fm-input { resize: vertical; min-height: 120px; }
.fm-input:focus { outline: none; border-color: var(--fm-leaf); box-shadow: 0 0 0 3px rgba(91,140,74,0.18); }
.fm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: #46553d; margin: 4px 0 14px; }
.fm-check input { margin-top: 4px; flex: 0 0 auto; }
.fm-submit { width: 100%; }
.fm-form-error { background: #fbeaea; color: #8a1f1f; border: 1px solid #f0c8c8; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 0.95rem; }
.fm-form-ok, .fm-form-done p { color: #3a4733; font-size: 0.98rem; }
.fm-form-ok { background: var(--fm-panel); border: 1px solid var(--fm-line); border-radius: 10px; padding: 14px 16px; text-align: center; }
.fm-form-done { text-align: center; padding: 8px 0; }
.fm-form-done h3 { font-size: 1.4rem; margin: 0 0 8px; }

.fm-contacts { background: var(--fm-panel2); border-top: 1px solid var(--fm-line); }
.fm-contacts h1, .fm-contacts h2 { text-align: center; font-size: clamp(1.6rem,2.6vw,2rem); margin-bottom: 8px; }
.fm-contacts .fm-csub { text-align: center; color: var(--fm-mute); margin: 0 0 40px; font-size: 0.95rem; }
.fm-contacts-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; text-align: center; }
.fm-contact-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--fm-forest); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; transition: transform 0.3s ease; }
.fm-contacts-grid > div:hover .fm-contact-icon { transform: scale(1.05); }
.fm-contact-icon svg { width: 36px; height: 36px; }
.fm-contact-label { font-weight: 700; font-size: 0.85rem; margin: 0 0 6px; color: var(--fm-ink); }
.fm-contact-text { font-size: 0.95rem; color: #555; }
.fm-contact-text a { color: inherit; text-decoration: underline; }

/* 5. HOME ------------------------------------------------------------------ */
.fm-hero2 { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: var(--fm-panel); }
.fm-hero2-slides { position: absolute; inset: 0; }
.fm-hero2-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s ease; }
.fm-hero2-slide.is-visible { opacity: 1; }
.fm-hero2-placeholder { background: linear-gradient(120deg, #dfe8d6, #f6f4ea 60%, #dce9e0); }
.fm-hero2::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,244,234,0.94) 0%, rgba(246,244,234,0.82) 38%, rgba(246,244,234,0) 65%); pointer-events: none; }
.fm-hero2-inner { position: relative; width: 100%; padding-top: 60px; padding-bottom: 60px; }
.fm-hero2-text { max-width: 520px; }
.fm-hero2 h1 { font-size: clamp(2.3rem,4.6vw,3.6rem); font-weight: 700; color: var(--fm-forest-deep); margin: 0 0 16px; }
.fm-hero2 .fm-sub { font-size: 1.22rem; color: #2f3d2a; margin: 0 0 26px; max-width: 34ch; }
.fm-hero2-text > .fm-btn { font-size: 1.15rem; padding: 17px 34px; border-radius: 14px; }
.fm-ico { display: inline-flex; width: 30px; height: 30px; color: var(--fm-forest); }
.fm-ico svg { width: 100%; height: 100%; }
.fm-hero2-mano { position: absolute; right: 8%; top: 24%; color: #fff; font-size: 3rem; transform: rotate(-8deg); text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.fm-hero2-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.85); box-shadow: 0 4px 14px rgba(0,0,0,0.18); cursor: pointer; font-size: 18px; z-index: 3; }
.fm-hero2-prev { left: 16px; } .fm-hero2-next { right: 16px; }
.fm-hero2-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.fm-hero2-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,255,255,0.7); cursor: pointer; padding: 0; }
.fm-hero2-dots button.is-active { background: var(--fm-forest-deep); }

.fm-vie { background: #fff; }
.fm-vie h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom: 10px; }
.fm-vie-sub { color: #46553d; font-size: 1.05rem; margin-bottom: 30px; }
.fm-vie-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.fm-vie-grid.fm-vie-2 { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 820px; margin: 0 auto; }
.fm-via { background: #fff; border: 1px solid var(--fm-line); border-radius: 18px; padding: 16px 16px 22px; box-shadow: 0 14px 34px -24px rgba(35,68,43,0.4); display: flex; flex-direction: column; }
.fm-via-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--fm-panel); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.fm-via-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-via-libri { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; width: 100%; height: 100%; }
.fm-via-libri img { max-height: 100%; width: 46%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.25)); }
.fm-via-libri img:first-child { transform: rotate(-4deg); }
.fm-via-libri img:last-child { transform: rotate(5deg); }
.fm-via-mano { position: absolute; right: 10px; top: 12px; color: var(--fm-forest-deep); font-size: 1.35rem; text-align: right; background: rgba(255,255,255,0.75); padding: 6px 10px; border-radius: 8px; }
.fm-via-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--fm-panel), #d9e6cf); }
.fm-via-placeholder .fm-mano { color: var(--fm-forest); font-size: 1.6rem; text-align: center; white-space: normal; }
.fm-via h3 { font-size: 1.3rem; margin: 0 0 8px; }
.fm-via p { color: #46553d; font-size: 0.98rem; margin-bottom: 18px; flex: 1; }
.fm-via .fm-btn { align-self: flex-start; border-radius: 999px; padding: 11px 18px; font-size: 0.92rem; background: var(--fm-panel); border: none; }

.fm-valori { background: #e3ede0; padding: 26px 0; }
.fm-valori-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.fm-valore { display: flex; align-items: center; gap: 12px; }
.fm-valore .fm-ico { width: 40px; height: 40px; flex: 0 0 auto; color: var(--fm-forest-deep); }
.fm-valore strong { display: block; font-size: 0.92rem; color: var(--fm-ink); }
.fm-valore span:last-child { font-size: 0.85rem; color: #46553d; }

.fm-filo { text-align: center; }
.fm-sec-verde { background: var(--fm-panel); border-top: 1px solid var(--fm-line); border-bottom: 1px solid var(--fm-line); }
.fm-filo-body { max-width: 760px; }
.fm-filo h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom: 16px; }
.fm-filo p { color: #3a4733; font-size: 1.08rem; margin-bottom: 12px; }
.fm-filo-img { margin: 28px auto; border-radius: 18px; overflow: hidden; max-width: 640px; }
.fm-filo-img img { width: 100%; height: auto; display: block; }
.fm-filo .fm-btn { margin-top: 10px; border-radius: 999px; background: #fff; border: none; }

.fm-voci { position: relative; background: var(--fm-forest-deep); color: #fff; background-size: cover; background-position: center; text-align: center; }
.fm-voci.has-bg::before { content: ''; position: absolute; inset: 0; background: rgba(20,40,28,0.62); }
.fm-voci .fm-wrap { position: relative; }
.fm-voci h2 { color: #fff; font-size: clamp(1.6rem,2.6vw,2rem); margin-bottom: 24px; }
.fm-voci-grid { display: grid; gap: 24px; }
.fm-voci-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.fm-voci-2 { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 900px; margin: 0 auto; }
.fm-voci-1 { max-width: 720px; margin: 0 auto; }
.fm-voce { margin: 0; }
.fm-voce p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 10px; }
.fm-voce footer { font-size: 0.85rem; color: #dbe7d3; }
.fm-voci.is-chiaro { background: #fff; color: var(--fm-ink); }
.fm-voci.is-chiaro h2 { color: var(--fm-forest); }
.fm-voci.is-chiaro .fm-voce p { color: #3a4733; font-style: italic; }
.fm-voci.is-chiaro .fm-voce footer { color: var(--fm-mute); }

.fm-bussola-fascia { background: var(--fm-cream); border-top: 1px solid var(--fm-line); }
.fm-bussola-inner { display: flex; align-items: center; gap: 28px; }
.fm-bussola-icona { width: 84px; height: 84px; object-fit: contain; flex: 0 0 auto; }
.fm-bussola-testo { flex: 1; }
.fm-bussola-fascia h2 { font-size: 1.5rem; margin-bottom: 6px; }
.fm-bussola-fascia p { color: #3a4733; max-width: 62ch; }

/* pagine About e Whisper */
.fm-about .fm-about-filo { background: #fff; border: none; }
.fm-about-filo .fm-diff-body { padding: 48px 8% 48px 40px; }
.fm-about-filo h1 { font-size: clamp(1.8rem,3.2vw,2.4rem); margin: 6px 0 16px; }
.fm-about-filo p { color: #3a4733; font-size: 1.05rem; margin-bottom: 12px; }
.fm-about-filo .fm-lead { font-style: italic; }
.fm-about-mano { left: auto; right: 8%; top: 42%; }
.fm-pilastri { background: #fff; padding: 44px 0 56px; }   /* continua la sezione bianca sopra, con un po' d'aria dall'immagine */
.fm-pilastri .fm-pillars { margin: 0 auto; gap: 18px; justify-content: center; }
.fm-pilastri .fm-p { flex-direction: column; background: #dfe9d5; border: none; padding: 16px 28px; min-width: 120px; gap: 6px; font-size: 0.9rem; color: var(--fm-forest-deep); }
.fm-pilastri .fm-ico { width: 26px; height: 26px; color: var(--fm-forest-deep); }
.fm-about-chi { background: var(--fm-panel); }
.fm-chi-grid { display: grid; grid-template-columns: 1fr 0.9fr 0.7fr; gap: 32px; align-items: center; }
.fm-chi-grid h2 { font-size: clamp(1.9rem,3.4vw,2.6rem); margin: 6px 0 6px; }
.fm-chi-ruolo { font-size: 1.1rem; color: var(--fm-ink); font-weight: 500; margin-bottom: 14px; }
.fm-chi-testo p { color: #3a4733; font-size: 0.98rem; margin-bottom: 12px; }
.fm-chi-testo .fm-btn { margin-top: 10px; }
.fm-chi-foto { border-radius: 14px; overflow: hidden; aspect-ratio: 5/6; background: var(--fm-panel); display: flex; }
.fm-chi-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-chi-cit { margin: 0; text-align: center; }
.fm-chi-virgolette { display: block; font-size: 3rem; line-height: 0.6; color: var(--fm-line); margin-bottom: 14px; }
.fm-chi-cit .fm-mano { font-size: 1.6rem; white-space: normal; line-height: 1.25; margin-bottom: 14px; transform: rotate(-3deg); }
.fm-chi-cit footer { font-size: 0.85rem; color: var(--fm-mute); }
.fm-start { position: relative; background-size: cover; background-position: center; padding: 90px 0; min-height: 420px; display: flex; align-items: center; color: #fff; }
.fm-about .fm-start { border-bottom: 1px solid #fff; }   /* un filo bianco prima del piede */
.fm-start::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,28,0.15) 0%, rgba(20,40,28,0.6) 45%, rgba(20,40,28,0.7) 100%); }
.fm-start-inner { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-left: 30%; }
.fm-start h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 10px; }
.fm-start p { color: #e6efe0; max-width: 52ch; font-size: 1.1rem; }
.fm-start .fm-btn { white-space: nowrap; }
.fm-whisper-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.fm-whisper h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 14px; }
.fm-whisper p { color: #3a4733; font-size: 1.1rem; margin-bottom: 22px; }
.fm-whisper-img { aspect-ratio: 4/3; }

/* Filosofia per esteso (pagina About) e sezione Studio */
.fm-philo { background: #fff; }
.fm-philo .fm-inner { text-align: center; }
.fm-philo h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin: 8px 0 22px; }
.fm-philo p { font-size: 1.12rem; color: #3a4733; margin-bottom: 16px; }
.fm-philo .fm-lead { font-style: italic; }
.fm-pillars { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fm-pillars .fm-p { display: flex; align-items: center; gap: 9px; background: var(--fm-panel); border: 1px solid var(--fm-line); border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--fm-forest); font-size: 0.95rem; }

.fm-studio { background: #fff; border-top: 1px solid var(--fm-line); }
.fm-studio-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.fm-studio-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--fm-line); background: var(--fm-panel); min-height: 340px; display: flex; }
.fm-studio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-studio-placeholder { flex: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--fm-forest), var(--fm-forest-deep)); color: #fff; font-weight: 900; font-size: 2rem; text-align: center; letter-spacing: 0.04em; line-height: 1.2; }
.fm-studio h1, .fm-studio h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin: 8px 0 16px; }
.fm-studio h3 { font-size: 1.15rem; margin: 22px 0 10px; }
.fm-studio p { color: #3a4733; font-size: 1.05rem; margin-bottom: 12px; }
.fm-studio-intro .fm-btn { margin-top: 10px; }
.fm-studio-ctasub { margin-top: 10px; }
.fm-studio-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.fm-studio-col h3:first-child { margin-top: 0; }
.fm-studio-offerta { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fm-studio-offerta li { background: var(--fm-panel); border: 1px solid var(--fm-line); border-radius: 14px; padding: 14px 18px; display: grid; gap: 4px; }
.fm-studio-offerta strong { color: var(--fm-forest); font-size: 1.02rem; }
.fm-studio-offerta span { color: #46553d; font-size: 0.95rem; }
.fm-studio-side { background: var(--fm-panel2); border: 1px solid #ECD9BE; border-radius: 18px; padding: 24px 24px 18px; }
.fm-studio-prezzi { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.fm-studio-prezzi td { padding: 8px 0; border-bottom: 1px solid #ECD9BE; font-size: 0.98rem; color: #3a4733; }
.fm-studio-prezzi td:last-child { text-align: right; font-weight: 700; color: var(--fm-forest); white-space: nowrap; }
.fm-studio-dove { font-weight: 700; color: var(--fm-forest); }
.fm-studio-page .fm-contacts { border-top: 1px solid var(--fm-line); }

/* pagina Studio — nuovo disegno */
.fm-eyebrow-verde { color: var(--fm-forest); }
.fm-studio-hero { min-height: 520px; }
.fm-studio-hero .fm-hero2-text > .fm-btn { font-size: 1rem; padding: 14px 26px; }
.fm-hero2-punti { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 34px; flex-wrap: wrap; }
.fm-hero2-punti li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.88rem; font-weight: 700; color: var(--fm-forest-deep); text-align: center; }
.fm-hero2-punti small { font-weight: 500; font-size: 0.8rem; color: #46553d; }
.fm-hero2-punti .fm-ico { width: 32px; height: 32px; }
.fm-mano-scuro { color: var(--fm-forest-deep); text-shadow: none; font-size: 2.6rem; }

.fm-offerta { background: #fff; }
.fm-offerta h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom: 10px; }
.fm-offerta-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.fm-offerta-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; padding: 12px 14px 18px; display: flex; flex-direction: column; box-shadow: 0 14px 34px -26px rgba(35,68,43,0.4); }
.fm-offerta-img { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, var(--fm-panel), #d9e6cf); margin-bottom: 14px; }
.fm-offerta-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-offerta-ico { width: 30px; height: 30px; color: var(--fm-forest); margin-bottom: 8px; }
.fm-offerta-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.fm-offerta-card p { font-size: 0.86rem; color: #46553d; margin-bottom: 12px; flex: 1; }
.fm-offerta-more { font-size: 0.85rem; font-weight: 700; color: var(--fm-forest-deep); text-decoration: none; }
.fm-offerta-more:hover { text-decoration: underline; }

.fm-diff { display: grid; grid-template-columns: 1fr 1fr; background: var(--fm-panel); border-top: 1px solid var(--fm-line); border-bottom: 1px solid var(--fm-line); }
.fm-diff-img { position: relative; min-height: 340px; background: linear-gradient(160deg, #cfe0c2, var(--fm-panel)); }
.fm-diff-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-diff-mano { position: absolute; left: 6%; top: 12%; color: #fff; font-size: 2.4rem; transform: rotate(-10deg); text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.fm-diff-body { padding: 56px 10% 56px 48px; align-self: center; }
.fm-diff h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom: 14px; }
.fm-diff p { color: #3a4733; font-size: 1.08rem; margin-bottom: 22px; }
.fm-diff .fm-btn { border-radius: 999px; background: #fff; border: none; }

.fm-studio-info { background: #fff; }
.fm-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fm-info-card { background: var(--fm-panel2); border: 1px solid #ECD9BE; border-radius: 18px; padding: 24px; }
.fm-info-card h3 { font-size: 1.25rem; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.fm-info-card h3 .fm-ico { width: 34px; height: 34px; border: 1.5px solid var(--fm-forest); border-radius: 50%; padding: 6px; }
.fm-info-card p { color: #3a4733; font-size: 0.98rem; margin-bottom: 12px; }
.fm-info-foto { position: relative; padding: 0; overflow: hidden; min-height: 260px; background: linear-gradient(160deg, var(--fm-panel), #d9e6cf); }
.fm-info-foto img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.fm-info-mano { position: absolute; right: 8%; top: 12%; font-size: 2.1rem; color: var(--fm-forest-deep); text-align: center; }

/* 6. LIBRI ----------------------------------------------------------------- */
.fm-libro { padding: 40px 0 40px; }
.fm-libro-1 { padding-top: 64px; }   /* un po' piu' d'aria sotto il titolo della pagina */
.fm-libro-1 { background: #fff; }
.fm-libro-2 { background: var(--fm-cream); border-top: 1px solid var(--fm-line); }
.fm-libro-grid { display: grid; grid-template-columns: 0.95fr 1.25fr 0.8fr; gap: 32px; align-items: start; }
.fm-libro-cover { border-radius: 18px; overflow: hidden; background-size: cover; background-position: center; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 8%; }
.fm-libro-cover img { max-height: 100%; max-width: 78%; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,0.35)); transform: rotate(-2deg); }
.fm-libro-sinistra { display: flex; flex-direction: column; gap: 16px; }
.fm-sfoglia { background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 14px 34px -26px rgba(35,68,43,0.4); }
.fm-sfoglia h3 { font-size: 1rem; margin: 0 0 10px; }
.fm-sfoglia-presto { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 120px; border: 1px dashed var(--fm-line); border-radius: 12px; color: var(--fm-mute); font-size: 0.9rem; background: var(--fm-panel2); }
.fm-sfoglia-presto .fm-ico { width: 24px; height: 24px; color: var(--fm-mute); }
.fm-book-gallery { position: relative; border-radius: 12px; overflow: hidden; background: var(--fm-panel2); border: 1px solid var(--fm-line); }
.fm-bg-track { display: flex; flex-wrap: nowrap; transition: transform 0.35s ease; }
.fm-bg-track img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; display: block; cursor: zoom-in; }
.fm-bg-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.92); border: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-size: 15px; cursor: pointer; z-index: 2; }
.fm-bg-prev { left: 8px; } .fm-bg-next { right: 8px; }
.fm-bg-dots { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; }
.fm-bg-dots button { width: 28px; height: 28px; background: transparent; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.fm-bg-dots button::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,0.3); display: block; }
.fm-bg-dots button.is-active::after { background: var(--fm-forest); }
.fm-libro-testo h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin: 0 0 4px; }
.fm-libro-sotto { font-size: 1.15rem; color: #3a4733; margin: 0 0 18px; }
.fm-libro-testo .fm-readmore-content { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.fm-libro-testo p, .fm-libro-testo li { font-size: 0.98rem; color: #3a4733; line-height: 1.6; margin-bottom: 10px; }
.fm-libro-testo ul { padding-left: 1.2em; margin: 0 0 10px; }
.fm-readmore:not(.is-open) .fm-nascosto { display: none; }
.fm-libro-chiavi { list-style: none; padding: 0; margin: 18px 0 20px; display: flex; gap: 22px; flex-wrap: wrap; }
.fm-libro-chiavi li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 0.8rem; color: var(--fm-forest-deep); max-width: 96px; line-height: 1.25; }
.fm-libro-chiavi .fm-ico { width: 30px; height: 30px; }
.fm-libro-testo .fm-readmore-toggle { margin: 0; padding: 11px 18px; border-radius: 999px; background: var(--fm-panel); border: none; font-size: 0.92rem; font-weight: 700; color: var(--fm-forest-deep) !important; }
.fm-libro-testo .fm-readmore-toggle:hover { text-decoration: none; background: #d9e6cf; }

.fm-fmt-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; padding: 10px 16px; box-shadow: 0 14px 34px -26px rgba(35,68,43,0.4); }
.fm-fmt { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eef2ea; }
.fm-fmt:last-child { border-bottom: none; }
.fm-fmt-ico { width: 30px; height: 30px; flex: 0 0 auto; color: var(--fm-forest-deep); margin-top: 2px; }
.fm-fmt-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fm-fmt-body strong { font-size: 0.92rem; color: var(--fm-ink); }
.fm-fmt-prezzo { font-size: 0.85rem; color: var(--fm-ink); }
.fm-fmt-prezzo b { font-size: 1.15rem; }
.fm-fmt .fm-fx { min-height: 0; font-size: 0.75rem; color: var(--fm-mute); margin: 0; line-height: 1.3; }
.fm-fmt .fm-fx:empty { display: none; }
.fm-fmt-btn { display: inline-block; margin-top: 6px; padding: 9px 14px; border-radius: 10px; font-size: 0.88rem; font-weight: 700; text-align: center; }
.fm-fmt-btn.fm-buy { background: var(--fm-forest-deep); box-shadow: none; }
.fm-fmt-btn.fm-buy:hover { background: var(--fm-forest); }
.fm-fmt-soon { background: #ececec; color: #888; cursor: default; }
.fm-fmt-nota { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; background: var(--fm-panel); border: 1px solid var(--fm-line); border-radius: 14px; padding: 14px 16px; }
.fm-fmt-nota .fm-ico { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 2px; }
.fm-fmt-nota p { font-size: 0.86rem; color: #3a4733; line-height: 1.5; margin: 0; }
.fm-fmt-nota small { color: var(--fm-mute); }
.fm-buy-note { text-align: center; font-size: 0.8rem; color: var(--fm-mute); margin: 28px auto 0; max-width: 760px; line-height: 1.5; }
.fm-buy-note a { color: var(--fm-forest); }

.fm-due { background: #fff; border-top: 1px solid var(--fm-line); padding: 48px 0; text-align: center; }
.fm-due-inner { position: relative; }
.fm-due h2 { font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom: 10px; }
.fm-due p { color: #3a4733; max-width: 62ch; margin: 0 auto 26px; font-size: 1.02rem; }
.fm-due-punti { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; gap: 0; max-width: 720px; }
.fm-due-punti li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 700; color: var(--fm-ink); border-left: 1px solid var(--fm-line); padding: 6px 12px; }
.fm-due-punti li:first-child { border-left: none; }
.fm-due-punti .fm-ico { width: 34px; height: 34px; color: var(--fm-forest-deep); }
.fm-libri-titolo { background: #fff; padding: 28px 24px 0; text-align: center; }
.fm-libri-titolo h1 { font-size: 2.6rem; font-weight: 600; color: var(--fm-leaf); white-space: normal; line-height: 1.15; margin: 0; }

.fm-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 950; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.fm-lightbox.is-active { opacity: 1; pointer-events: all; }
.fm-lightbox img { max-width: 90%; max-height: 90%; border-radius: 10px; }

/* 7. BUSSOLA VERDE ---------------------------------------------------------- */
.fm-gc-hero { padding: 72px 0 64px; text-align: center; }
.fm-gc-hero .fm-inner { max-width: 880px; }
.fm-gc-hero h1 { font-size: clamp(2.3rem,4.6vw,3.6rem); margin: 0 0 16px; }
.fm-gc-hero .fm-sub { font-family: var(--fm-display); font-style: italic; font-size: clamp(1.15rem,2vw,1.4rem); color: #3a4733; margin: 0 auto 18px; max-width: 58ch; }
.fm-gc-hero .fm-intro { font-size: 1.12rem; color: #3a4733; max-width: 66ch; margin: 0 auto 30px; }
.fm-gc-formhost { max-width: 480px; margin: 40px auto 0; }
.fm-gc-inside { background: var(--fm-panel); }
.fm-gc-head { margin-bottom: 34px; }
.fm-gc-inside h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin: 12px 0 8px; }
.fm-gc-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; text-align: left; }
.fm-gc-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.fm-gc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--fm-panel2); border: 1px solid #ECD9BE; color: var(--fm-forest); display: flex; align-items: center; justify-content: center; }
.fm-gc-ic svg { width: 24px; height: 24px; }
.fm-gc-card h3 { font-size: 1.12rem; }
.fm-gc-card p { color: #46553d; font-size: 0.96rem; }
.fm-gc-soon { padding: 96px 0; text-align: center; }
.fm-gc-soon .fm-inner { max-width: 620px; }
.fm-gc-soon h1 { font-size: clamp(2rem,4vw,3rem); margin: 14px 0 18px; }
.fm-gc-soon p { font-size: 1.12rem; color: #3a4733; margin: 0 auto 30px; max-width: 46ch; }

/* 8. CONTATTI, ALLESTIMENTO, LEGALE, GRAZIE, DOWNLOAD ----------------------- */
.fm-contact-page .fm-contacts { border-top: none; padding-top: 72px; }
.fm-contact-page .fm-contacts h1 { color: #C78929; text-transform: uppercase; letter-spacing: 1px; font-size: 2.4rem; }
.fm-contact-form { padding-top: 64px; }
.fm-contact-form .fm-inner { max-width: 620px; }

.fm-soon { padding: 40px 0 60px; }
.fm-soon-box { max-width: 720px; margin: 20px auto; padding: 40px 20px; border: 2px dashed var(--fm-green); border-radius: 20px; text-align: center; background: #f7fff9; }
.fm-soon-icon { font-size: 50px; margin-bottom: 15px; }
.fm-soon-box h1 { font-size: 2.2rem; color: #2e4936; margin: 0 0 6px; }
.fm-soon-status { display: block; font-size: 0.95rem; opacity: 0.8; margin-bottom: 18px; }
.fm-soon-box p { font-size: 1.1rem; color: #555; }

.fm-legal { padding: 56px 0 72px; background: #fff; }
.fm-legal-inner { max-width: 860px; }
.fm-legal h1 { text-align: center; font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 4px; }
.fm-legal-date { text-align: center; color: var(--fm-mute); margin-bottom: 36px; }
.fm-legal-body h2 { font-size: 1.3rem; margin: 30px 0 10px; color: var(--fm-forest); }
.fm-legal-body p, .fm-legal-body li { font-size: 1.02rem; margin-bottom: 10px; color: #333; }
.fm-legal-body ul { padding-left: 1.3em; }
.fm-legal-body a { color: var(--fm-leaf); }

.fm-thanks, .fm-download { padding: 80px 0 100px; }
.fm-thanks .fm-inner, .fm-download .fm-inner { max-width: 620px; }
.fm-thanks .fm-card, .fm-download .fm-card { text-align: center; }
.fm-thanks h1, .fm-download h1 { font-size: 1.8rem; margin-bottom: 14px; }
.fm-thanks p, .fm-download p { color: #3a4733; margin-bottom: 22px; }

/* 9. RESPONSIVE ------------------------------------------------------------- */
@media (max-width: 1100px) {
    .fm-header-cta { display: none; }
    .fm-nav { gap: 18px; }
}
@media (max-width: 900px) {
    .fm-nav .fm-nav-cta { display: inline-block; margin-top: 16px; }
    .fm-hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; background: none; border: none; cursor: pointer; padding: 0; z-index: 60; }
    .fm-hamburger span { display: block; width: 100%; height: 3px; background: #333; border-radius: 2px; }
    .fm-nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 80px 30px 30px; transform: translateX(100%); transition: transform 0.3s ease; z-index: 70; overflow-y: auto; gap: 0; }
    .fm-nav.is-open { transform: translateX(0); }
    .fm-close-menu { display: block; position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #333; }
    .fm-nav > a.fm-nav-link { width: 100%; text-align: left; border-bottom: 1px solid #eee; }
    .fm-nav .fm-nav-link, .fm-nav .fm-menu-trigger { padding: 15px 0; font-size: 1.1rem; width: 100%; }
    .fm-nav .fm-dropdown-content { position: static; box-shadow: none; border-radius: 0; padding: 0 0 10px 20px; }
    .fm-nav .fm-dropdown-content a { padding: 10px 0; }
}
@media (max-width: 820px) {
    .fm-hero .fm-grid, .fm-compass .fm-grid, .fm-book .fm-grid, .fm-quotes, .fm-studio-top, .fm-studio-grid, .fm-vie-grid, .fm-whisper-grid, .fm-voci-3, .fm-voci-2 { grid-template-columns: 1fr; }
    .fm-valori-grid { grid-template-columns: 1fr 1fr; }
    .fm-offerta-grid { grid-template-columns: 1fr 1fr; }
    .fm-diff, .fm-info-grid, .fm-chi-grid { grid-template-columns: 1fr; }
    .fm-about-filo .fm-diff-body { padding: 36px 24px; }
    .fm-start-inner { padding-left: 0; align-items: center; text-align: center; }
    .fm-start::before { background: rgba(20,40,28,0.6); }
    .fm-diff-body { padding: 40px 24px; }
    .fm-hero2::before { background: rgba(246,244,234,0.86); }
    .fm-hero2-mano { display: none; }
    .fm-bussola-inner { flex-direction: column; text-align: center; }

    .fm-sec { padding: 48px 0; }
    .fm-hero { padding: 48px 0; }
    .fm-gc-hero { padding: 48px 0; }
    .fm-contacts-grid { grid-template-columns: 1fr 1fr; }
    .fm-gc-cards { grid-template-columns: 1fr 1fr; }
    .fm-wrap { padding: 0 20px; }
}
@media (max-width: 1000px) {
    .fm-libro-grid { grid-template-columns: 1fr 1fr; }
    .fm-libro-formati { grid-column: 1 / -1; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 700px) {
    .fm-libro-grid { grid-template-columns: 1fr; }
    .fm-due-punti { flex-wrap: wrap; }
    .fm-due-punti li { flex: 1 1 40%; border-left: none; }
}
@media (max-width: 600px) {
    .fm-top-inner { flex-wrap: wrap; gap: 10px; }
    .fm-contacts-grid, .fm-gc-cards, .fm-valori-grid, .fm-offerta-grid { grid-template-columns: 1fr; }
    .fm-hero2-punti { gap: 18px; }
    .fm-contact-page .fm-contacts h1 { font-size: 2rem; }
    .fm-logo img { max-height: 60px; }
}
