@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/playfair-display-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("assets/fonts/playfair-display-italic.woff2") format("woff2"); }
/* VARIANTE AM — "STAMPA PULITA" (come Y, senza numerazione delle sezioni)
   Editoriale, come una rivista di qualità (es. Minaa B., Wholeness
   Collective): fondo quasi bianco, titoli Playfair Display, sezioni
   numerate 01, 02… con un filo sottile, foto a tutta larghezza, elenchi
   separati da linee invece di box. Solo mobile. */
@media (max-width: 768px) {

  body { --font-heading: "Playfair Display", Georgia, "Times New Roman", serif; }
  body h1, body h2, body h3, body h4, body .clean-heading, body .hero-clean-title, body .story-card-title { font-weight: 500; letter-spacing: -0.01em; }
  body .hero-clean-title { font-size: 2.3rem; line-height: 1.08; }
  body .clean-heading { font-size: 2rem; line-height: 1.12; }
  body .pillar-card h3, body .method-pillar-card h3, body .linear-step h3, body .story-card-title { font-size: 1.35rem; line-height: 1.2; }
  body .brand-name { font-weight: 600; letter-spacing: 0; }

  body .section-clean, body .bg-warm, body .section-profiles-verified { background: var(--bg-card); }
  body #metodo, body #faq { background: var(--bg-primary); }
  body .hero-clean { padding: 100px 0 40px; background: var(--bg-card); }

  body .hero-clean-grid { grid-template-columns: 1fr; grid-template-areas: "title" "photo" "desc" "btns"; row-gap: 20px; }

  body .hero-clean-title { font-size: 2.3rem; }
  body .hero-clean-visual { width: 100vw; margin: 0 calc(50% - 50vw); }
  body .hero-portrait-blend {
    width: 100%; max-width: none; height: min(46svh, 380px); overflow: hidden; align-items: flex-end;
    background: linear-gradient(180deg, var(--color-teal-light) 0%, color-mix(in srgb, var(--color-teal-light) 70%, var(--color-teal)) 100%);
  }

  body .hero-portrait-blend picture { display: flex; justify-content: center; align-items: flex-end; width: 100%; height: 100%; }
  body .hero-faded-img { max-height: none; width: auto; max-width: 100%; -webkit-mask-image: none; mask-image: none; filter: none; }

  body .hero-faded-img { height: 96%; }

  body .hero-clean-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; width: 100%; }
  body .hero-clean-actions .btn { flex-direction: row; min-height: 50px; font-size: 0.92rem; }
  body .hero-clean-actions .btn-whatsapp { grid-column: 1 / -1; min-height: 54px; font-size: 1rem; }
  body .hero-clean-actions .btn-whatsapp .btn-label-long { display: inline; }
  body .hero-clean-actions .btn-whatsapp .btn-label-short { display: none; }

  body .btn, body .nav-mobile-cta, body .hero-clean-actions .btn { border-radius: 6px; }
  body .hero-clean-actions .btn-call { background: var(--text-primary); }
  body .hero-clean-actions .btn-secondary { background: transparent; border: none; box-shadow: inset 0 0 0 1.5px var(--text-primary); color: var(--text-primary); }
  /* Titoli di sezione riconoscibili: filo spesso colorato, etichetta colorata, titolo grande.
     Le card restano separate da fili sottili grigi, così non si confondono. */
  body .clean-section-header { text-align: left; border-top: 3px solid var(--color-teal); padding-top: 18px; margin-bottom: 28px; }
  body .clean-tag { color: var(--color-teal); letter-spacing: 0.16em; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
  body .clean-tag::before { content: ""; width: 22px; height: 2px; background: var(--color-terracotta); }
  body .clean-heading { font-size: 2.25rem; line-height: 1.08; }
  body .section-clean { padding-top: 60px; }
  body .contact-clean-info .clean-tag::before, body .verified-strip-text .clean-tag::before { display: none; }
  body .timeline-story-card, body .method-pillar-card, body .pillar-card, body .linear-step {
    background: transparent; border: none; border-top: 1px solid rgba(31, 38, 48, 0.14); border-radius: 0; box-shadow: none; padding: 24px 0 8px;
  }
  body .timeline-story-card.current-focus { border-left: none; background: transparent; }
  body .faq-item, body .pillars-bottom-callout, body .guarantee-pill-item, body .contact-clean-card { border-radius: 4px; box-shadow: none; }
  body .pillar-icon { background: transparent; color: var(--color-teal); width: auto; height: auto; justify-content: flex-start; font-size: 1.5rem; }
  body .step-badge { display: block; background: none; padding: 0; margin-bottom: 6px; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: 2.4rem; line-height: 1; letter-spacing: 0; color: var(--color-teal); }
  body .pillar-tags span { border-radius: 3px; }
}

/* ---------- SCHEDE APRIBILI (solo mobile): testi lunghi di Chi sono, Metodo, Ambiti ---------- */
@media (max-width: 768px) {
  body .lt-body {
    transition: max-height 0.35s ease;
  }
  body .lt-body.is-collapsed {
    max-height: 6.6em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }
  body .lt-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    width: 100%;
    margin: 14px 0 0;
    padding: 12px 0 0;
    min-height: 44px;
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--color-teal) 18%, transparent);
    background: transparent;
    color: var(--color-teal);
    font: 600 0.92rem/1 var(--font-sans);
    text-align: left;
    cursor: pointer;
  }
  body .lt-toggle::after {
    content: "";
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background:
      linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
      color-mix(in srgb, var(--color-teal) 12%, transparent);
  }
  body .lt-toggle[aria-expanded="true"]::after {
    background:
      linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
      color-mix(in srgb, var(--color-teal) 12%, transparent);
  }
  body .lt-toggle:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 4px; border-radius: 6px; }
  body .lt-toggle[hidden] { display: none; }
  body .pillar-card .pillar-tags { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .lt-body { transition: none !important; } }
@media (min-width: 769px) { .lt-toggle { display: none !important; } }

/* Il contenitore aggiunto non deve cambiare gli spazi delle card */
.lt-body { display: flex; flex-direction: column; gap: inherit; }
@media (min-width: 769px) { .lt-body { display: contents; } }

/* Chi sono: tappe nascoste da chiuso, bottone di sezione (solo mobile) */
@media (max-width: 768px) {
  body .timeline-story-card.lt-hidden { display: none; }
  body .lt-section-toggle { margin-top: 16px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--color-teal) 22%, transparent); border-radius: 999px; }
}

/* Bottoni compatti: un piccolo link che si appoggia sulle righe sfumate, senza riga né cerchio */
@media (max-width: 768px) {
  body .lt-toggle,
  body .lt-section-toggle {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    gap: 6px;
    margin: -0.6em 0 0;
    padding: 6px 2px;
    min-height: 36px;
    border: none;
    border-radius: 0;
    background: transparent;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
  body .lt-toggle[aria-expanded="true"] { margin-top: 2px; }
  body .lt-section-toggle { margin-top: 4px; }
  body .lt-toggle::after,
  body .lt-toggle[aria-expanded="true"]::after {
    width: 7px;
    height: 7px;
    border-radius: 0;
    background: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  body .lt-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
}

/* ---------- v3.7: Chi sono 4 righe, Metodo 2 righe, Ambiti solo titoli ---------- */
@media (max-width: 768px) {
  body .lt-body.lt-lines-4.is-collapsed { max-height: 6.6em; }
  body .lt-body.lt-lines-2.is-collapsed { max-height: 3.3em; }
  body .lt-body.lt-closed.is-collapsed {
    max-height: 0;
    visibility: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  body .lt-body.lt-closed { transition: max-height 0.35s ease, visibility 0.35s; }
  body .lt-accordion h3 { margin-bottom: 0; }
  body .lt-accordion.is-open h3 { margin-bottom: 10px; }
  body .lt-accordion .lt-body .pillar-tags { margin-top: 14px; }
  body button.lt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 4px 0;
    min-height: 44px;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
  }
  body .lt-head::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-right: 2px solid var(--color-teal);
    border-bottom: 2px solid var(--color-teal);
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.25s ease;
  }
  body .lt-head[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  body .lt-head:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 4px; border-radius: 6px; }
  body .pillars-grid { gap: 12px; }
}
@media (min-width: 769px) {
  button.lt-head { all: unset; }
  .lt-head::after { content: none; }
}
@media (prefers-reduced-motion: reduce) { .lt-head::after, .lt-body { transition: none !important; } }

/* Niente riquadro al tocco sui titoli apribili */
@media (max-width: 768px) {
  body button.lt-head, body .lt-toggle { -webkit-tap-highlight-color: transparent; }
  body .lt-head:focus:not(:focus-visible), body .lt-toggle:focus:not(:focus-visible) { outline: none; }
}

/* v4.1: il titolo apribile e il titolo stesso (h3), non un pulsante */
@media (max-width: 768px) {
  body .lt-accordion h3.lt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
  }
  body .lt-accordion h3.lt-head:focus:not(:focus-visible) { outline: none; }
  body .lt-accordion h3.lt-head:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 4px; border-radius: 6px; }
}
@media (min-width: 769px) {
  h3.lt-head { display: block; cursor: auto; }
  h3.lt-head::after { content: none; }
}
