/* =====================================================================
   Caterina Moro — Life Coach
   Crema e salvia, terracotta del biglietto («MORO»), oro dei girasoli.
   Caratteri: Fraunces (titoli) + Mulish (testo) — licenza OFL, ospitati sul sito.
   Il filo nodo → cuore → freccia viene dal biglietto da visita di Caterina.
   ===================================================================== */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --ink: #2f2a26;
  --ink-soft: #6b645b;
  --sage: #7e8f6f;
  --sage-d: #5f7151;
  --sage-l: #e7ede0;
  --terra: #b06e58;
  --terra-l: #f4e4dc;
  --sun: #e2a52a;
  --line: #e6dfd4;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.75 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-d); text-underline-offset: 3px; }
strong, b { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }

/* ---------- Pulsanti ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--sage); border: 1px solid var(--sage); color: #fff; font: 600 16px/1.25 var(--sans); text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--sage-d); border-color: var(--sage-d); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(47,42,38,.6); }
.btn-line { background: transparent; color: var(--sage-d); border-color: #c9d2be; }
.btn-line:hover { background: var(--sage-l); color: var(--sage-d); border-color: var(--sage); }

/* ---------- Testata (menu sempre visibile, niente «hamburger») ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(247,243,236,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.brand-n { font: 400 21px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.brand-n b { font-weight: 400; color: var(--terra); }
.brand-s { font: italic 400 15px/1.2 var(--serif); color: var(--ink-soft); margin: 4px 0 0; letter-spacing: .02em; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sun); }
.top-wa { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--sage); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.top-wa:hover { background: var(--sage-d); color: #fff; }

/* ---------- Apertura ---------- */
.hero { padding: 64px 0 20px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(226,165,42,.18), rgba(226,165,42,0) 65%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; position: relative; }
.hero-q { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 36em; padding-left: 16px; border-left: 2px solid var(--terra-l); margin-bottom: 28px; }
.eyebrow { font: 700 13px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-d); margin: 0 0 10px; }
.hero h1 { font-size: clamp(52px, 7.6vw, 104px); line-height: .95; letter-spacing: -.01em; margin: 0 0 18px; }
.hero h1 span { display: block; color: var(--terra); font-style: italic; }
.hero-sub { font: italic 400 clamp(22px, 2.4vw, 30px)/1.3 var(--serif); color: var(--ink); margin: 0; }
.hero-ph { margin: 0; position: relative; justify-self: center; width: min(420px, 100%); }
.hero-ph::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); opacity: .85; z-index: -1; }
.hero-ph img { border-radius: 999px 999px 26px 26px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; box-shadow: 0 30px 60px -32px rgba(47,42,38,.55); }

/* il filo */
.filo-wrap { position: relative; margin-top: 40px; color: var(--ink); }
.filo { width: 100%; height: auto; display: block; overflow: visible; }
.js .hero .filo .trail { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw 4.2s ease-in-out .3s forwards; }
.js .hero .filo .tip { opacity: 0; animation: tip .4s ease 4.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tip { to { opacity: 1; } }
.filo-tappe { list-style: none; margin: -14px 0 0; padding: 0; position: relative; height: 26px; font: italic 500 18px/1 var(--serif); color: var(--terra); }
.filo-tappe li { position: absolute; transform: translateX(-50%); }
.filo-tappe li:nth-child(1) { left: 6.5%; } .filo-tappe li:nth-child(2) { left: 51.5%; } .filo-tappe li:nth-child(3) { left: 96%; }

/* ---------- Sezioni ---------- */
.sec { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-t { font-size: clamp(36px, 4.6vw, 54px); }
.sec-t-sm { font-size: clamp(26px, 3vw, 34px); }
.intro { padding: 70px 0 90px; }
.intro p { font-size: 19px; }
.intro .lead { font: 400 clamp(24px, 2.6vw, 31px)/1.42 var(--serif); color: var(--ink); margin-bottom: 1.1em; }
.intro .lead strong { font-weight: 500; color: var(--terra); }
.intro strong { color: var(--sage-d); }

/* Fasce con le frasi delle illustrazioni */

.frase { width: min(1240px, 100% - 40px); margin: 0 auto; }
.frase-in { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 28px; overflow: hidden; min-height: 420px; background: var(--tone-bg); color: var(--tone-fg); }
.frase-rev .frase-in { grid-template-columns: 1fr 1.15fr; }
.frase-rev .frase-img { order: 2; }
.frase-img { margin: 0; min-height: 300px; background: var(--sage-l) var(--bg) var(--pos) / cover no-repeat; }
.frase p { margin: 0; align-self: center; padding: clamp(36px, 5vw, 72px); font: italic 400 clamp(23px, 2.6vw, 34px)/1.35 var(--serif); }
.frase strong { display: block; font-weight: 500; font-style: normal; color: var(--tone-accent); margin-bottom: .35em; font-size: 1.12em; }
.frase-sage  { --tone-bg: var(--sage-d); --tone-fg: #f4f1ea; --tone-accent: #f3d9a0; }
.frase-terra { --tone-bg: var(--terra); --tone-fg: #fbf3ee; --tone-accent: #ffe1b0; }
.frase-cream { --tone-bg: #ece4d6; --tone-fg: var(--ink); --tone-accent: var(--terra); }

/* Chi sono */
.chi-top { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.chi-ph { margin: 0; position: sticky; top: 100px; }
.chi-ph img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--terra-l), 0 24px 50px -28px rgba(47,42,38,.6); }
.prose strong { color: var(--ink); }
.card-biglietto { margin-top: 64px; margin-bottom: 64px; display: flex; justify-content: center; }
.card-biglietto img { width: min(600px, 100%); border-radius: 6px; box-shadow: 0 2px 0 #fff inset, 0 30px 60px -34px rgba(47,42,38,.6); transform: rotate(-1.2deg); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-col { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 38px 38px 26px; font-size: 17px; }
.duo-col h3 { font: 500 26px/1.2 var(--serif); color: var(--terra); margin-bottom: .8em; }

/* Il Metodo */
.metodo { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.metodo-lead { font: italic 400 clamp(24px, 3vw, 34px)/1.2 var(--serif); color: var(--sage-d); margin: -.2em 0 .4em; }
.metodo-sub { color: var(--ink-soft); max-width: 34em; margin: 0 auto; }
.tappe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.tappe::before { content: ""; position: absolute; left: 12%; right: 12%; top: 58px; border-top: 1.5px dashed #c9bfae; z-index: 0; }
.tappa { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px 30px 26px; font-size: 17px; }
.tappa-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: -2px 0 18px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); color: var(--ink); position: relative; z-index: 1; }
.tappa-ico svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.t-nodo svg { stroke-width: 2.2; }
.t-dono { color: var(--terra); background: var(--terra-l); border-color: transparent; }
.t-impatto { color: var(--sage-d); background: var(--sage-l); border-color: transparent; }
.tappa-l { display: block; font: 700 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-d); margin-bottom: 6px; }
.tappa h3 { font-size: 32px; margin-bottom: .6em; }
.tappa p { margin-bottom: .9em; }
.tappa p.beat { margin: .2em 0 .9em; padding-left: 14px; border-left: 2px solid var(--sun); font: italic 400 19px/1.45 var(--serif); color: var(--sage-d); }

/* Percorsi */
.perc { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 38px 38px 34px; font-size: 17px; box-shadow: 0 14px 34px -28px rgba(47,42,38,.55); display: flex; flex-direction: column; align-items: flex-start; }
.perc h3 { font-size: clamp(28px, 3vw, 36px); margin-bottom: .55em; }
.perc .btn { margin-top: auto; }
.perc p:last-of-type { margin-bottom: 26px; }
.perc-tag { font: 700 12px/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.perc-note { font-style: italic; color: var(--ink-soft); }
.perc-in { font-weight: 700; margin-bottom: .5em; }
.perc-list { list-style: none; padding: 0; margin: 0 0 26px; }
.perc-list li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.perc-list li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.perc-free { position: relative; flex-direction: row; gap: 40px; align-items: center; background: var(--sage-l); border-color: #d6dfca; padding: 46px 48px; margin-bottom: 28px; }
.perc-free .perc-txt { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.perc-free .perc-tag { color: var(--sage-d); }
.perc-badge { flex: none; display: grid; place-items: center; align-content: center; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); color: var(--ink); font: italic 400 20px/1 var(--serif); text-align: center; transform: rotate(-8deg); box-shadow: 0 18px 30px -18px rgba(150,100,10,.7); }
.perc-badge b { display: block; font: 500 64px/.9 var(--serif); font-style: normal; }
.perc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.perc-soft { background: transparent; border-style: dashed; border-color: #cdbfa9; box-shadow: none; }
.perc-soft p { color: var(--ink-soft); }

/* Condizioni */
.cond { padding: 72px 0; font-size: 15.5px; color: var(--ink-soft); }
.cond strong { color: var(--ink); font-weight: 600; }

/* Piè di pagina: chiusura calma e centrata */
main > .frase:last-child { margin-bottom: 90px; }
.foot { background: var(--ink); color: #d9d1c4; padding: 72px 0 0; text-align: center; }
.foot-in { display: flex; flex-direction: column; align-items: center; padding-bottom: 46px; }
.foot-filo { width: min(420px, 90%); color: #cbbfae; opacity: .8; margin-bottom: 26px; }
.foot-filo .filo { stroke-width: 2.4; }
.foot .brand-n { color: #fff; font-size: 24px; } .foot .brand-n b { color: #e9a58d; }
.foot .brand-s { color: #b9ae9f; font-size: 17px; margin-bottom: 26px; }
.foot-soc { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.foot-soc a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .2s, border-color .2s, transform .2s; }
.foot-soc a:hover { background: var(--sage); border-color: var(--sage); transform: translateY(-2px); }
.foot-mail { margin: 20px 0 0; font-size: 15px; }
.foot-mail a { color: #e8e0d4; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 30px; margin: 0 auto; font-size: 13px; line-height: 1.65; color: #9d9284; max-width: 900px; }
.foot-legal a { color: #d9d1c4; text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }

/* Fascia «in breve» */
.fatti { padding: 0 0 90px; }
.fatti-in { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fatti-in li { display: flex; align-items: center; gap: 18px; padding: 26px 24px; }
.fatti-in li + li { border-left: 1px solid var(--line); }
.fatti-in b { flex: none; font: 500 50px/1 var(--serif); color: var(--terra); min-width: 64px; text-align: center; }
.fatti-in span { font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); }
.fatti-ico svg { width: 56px; height: 50px; fill: none; stroke: var(--terra); stroke-width: 3; stroke-linecap: round; }

/* Testimonianze (compaiono solo quando ce ne sono di vere) */
.voci-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.voce { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px 26px; position: relative; }
.voce::before { content: "“"; position: absolute; top: 6px; left: 22px; font: 500 80px/1 var(--serif); color: var(--sun); opacity: .7; }
.voce blockquote { margin: 18px 0 18px; font: italic 400 19px/1.55 var(--serif); }
.voce blockquote p { margin: 0; }
.voce figcaption b { display: block; font-weight: 700; }
.voce figcaption span { font-size: 14px; color: var(--sage-d); }

/* Barra contatti mobile */

/* Pagine interne */
.page-head { padding: 70px 0 30px; text-align: center; }
.legal { padding-top: 20px; }
.legal h2 { font-size: 26px; margin-top: 1.6em; color: var(--terra); }

/* ---------- Comparsa dolce ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Schermi piccoli ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-ph { width: min(320px, 82%); }
  .hero-txt { display: flex; flex-direction: column; }
  .hero-q { order: 5; margin: 30px 0 0; }
  .chi-top { grid-template-columns: 1fr; gap: 30px; }
  .chi-ph { position: static; width: 220px; }
  .duo, .perc-duo, .tappe { grid-template-columns: 1fr; }
  .tappe::before { display: none; }
  .perc-free { flex-direction: column; align-items: flex-start; }
  .perc-badge { position: absolute; right: 18px; top: -30px; width: 104px; height: 104px; font-size: 16px; }
  .perc-badge b { font-size: 44px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top-in { flex-wrap: wrap; gap: 8px 14px; padding: 10px 0 0; min-height: 0; }
  .top-wa span { display: none; }
  .top-wa { padding: 9px; }
  .nav { order: 3; width: 100%; gap: 22px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 15px; }
  .brand-n { font-size: 18px; }
  .hero { padding-top: 36px; }
  .sec { padding: 70px 0; }
  .filo-tappe { font-size: 15px; margin-top: -4px; }
  .filo-tappe li:nth-child(3) { left: auto; right: 0; transform: none; }
  .duo-col, .tappa, .perc { padding: 28px 24px 24px; border-radius: 18px; }
  .perc-free { padding: 40px 24px 28px; }
  .btn { width: 100%; justify-content: center; text-align: center; }
  .frase { width: 100%; }
  .frase-in, .frase-rev .frase-in { grid-template-columns: 1fr; border-radius: 0; min-height: 0; }
  .frase-rev .frase-img { order: 0; }
  .frase-img { min-height: 0; aspect-ratio: 16 / 10; }
  .fatti-in { grid-template-columns: 1fr; }
  .fatti-in li + li { border-left: 0; border-top: 1px solid var(--line); }
  main > .frase:last-child { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero .filo .trail { animation: none; stroke-dashoffset: 0; } .js .hero .filo .tip { animation: none; opacity: 1; }
  .rv { opacity: 1; transform: none; transition: none; }
}
