/* Sito v2 — strato sopra style.css (che resta la base anche per prenota, privacy e dalle basi).
   Ritmo e movimento ispirati al caso studio MORE Nutrition; colori, font e contenuti restano di Beatrice. */

:root {
  --terra: #c26a3e;
  /* stessa curva di partenza veloce e arrivo lunghissimo usata in anim.js */
  --ease: cubic-bezier(.32, .72, 0, 1);
}
/* niente scroll orizzontale: si taglia su main (clip non crea un contenitore di scorrimento, lo sticky dei passi funziona) */
.v2 main { overflow-x: clip; }
.v2 h2 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.eyebrow.center { text-align: center; }
.split-line { padding-bottom: .06em; }

/* velo di caricamento: solo con le animazioni attive; si toglie da solo se lo script non arriva */
.loader { display: none; }
.motion .loader { display: block; position: fixed; inset: 0; z-index: 100; background: var(--bg); animation: loader-out .3s 3s forwards; }
.motion .loader::after { content: ""; position: absolute; right: 32px; bottom: 32px; width: 20px; height: 20px; border: 2px solid var(--green-dark); border-bottom-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }
.loader.done { opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }

/* bottone con cerchio-freccia: all'hover il cerchio di sinistra sparisce e ne compare uno a destra */
.btn.cyc { position: relative; padding: 6px 24px 6px 6px; gap: 12px; overflow: hidden; }
.btn.cyc:hover { transform: none; }
.cyc-i { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--bg); position: relative; transition: transform .55s var(--ease); }
.cyc-i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 13px; height: 13px; background: var(--green-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 11.5l9-9M4.5 2.5h7v7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 11.5l9-9M4.5 2.5h7v7'/%3E%3C/svg%3E") center / contain no-repeat; }
.cyc-t { transition: transform .55s var(--ease); white-space: nowrap; }
.cyc-2 { position: absolute; right: 6px; top: 0; bottom: 0; margin: auto 0; transform: scale(0); }
.btn.cyc:hover .cyc-i:not(.cyc-2), .btn.cyc:focus-visible .cyc-i:not(.cyc-2) { transform: scale(0); }
.btn.cyc:hover .cyc-t, .btn.cyc:focus-visible .cyc-t { transform: translateX(-38px); }
.btn.cyc:hover .cyc-2, .btn.cyc:focus-visible .cyc-2 { transform: scale(1); }
.btn.ghost.cyc .cyc-i { background: var(--ink); }
.btn.ghost.cyc .cyc-i::after { background: var(--bg); }
.btn.ghost.cyc:hover .cyc-i { background: var(--bg); }
.btn.ghost.cyc:hover .cyc-i::after { background: var(--ink); }
.top .btn.cyc { padding: 5px 18px 5px 5px; }
.top .btn.cyc .cyc-i { width: 32px; height: 32px; }
.top .btn.cyc:hover .cyc-t { transform: translateX(-32px); }
.top .btn.cyc .cyc-2 { right: 5px; }
.menu a { padding: 6px 12px; border-radius: 999px; transition: background .3s var(--ease), color .3s; }
.menu a:hover { background: var(--green-soft); color: var(--green-dark); }
.menu { gap: 6px; }

/* apertura */
.hero2 { padding: 48px 0 40px; }
.hero2 .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero2 h1 { font-size: clamp(44px, 6vw, 92px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.h-l { display: block; }
.h-l.brushed { position: relative; display: inline-block; color: var(--green); }
.brush { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.brush path { fill: none; stroke: var(--terra); stroke-width: 9; stroke-linecap: round; }
.hero2 .lead { margin: 28px 0 34px; }
.hero2 .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; padding: 24px 0 64px 40px; }
.portrait2 { margin: 0; transform: rotate(-3deg); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31, 42, 26, .45); }
.portrait2 img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.badges { list-style: none; margin: 0; padding: 0; position: absolute; left: -24px; top: 18%; display: grid; gap: 14px; }
.badge { width: 118px; height: 118px; border-radius: 50%; background: var(--surface); box-shadow: 0 12px 30px -12px rgba(31, 42, 26, .35); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; line-height: 1.1; }
.badge:nth-child(2) { margin-left: -34px; }
.badge b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--green-dark); }
.badge span { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.hand { position: absolute; right: -8px; bottom: 0; max-width: 270px; background: var(--peach-soft); padding: 16px 18px; border-radius: 16px; transform: rotate(2.5deg); font-size: 17px; font-style: italic; font-weight: 600; line-height: 1.35; color: var(--ink); }
.hand small { display: block; font-style: normal; font-weight: 400; color: var(--muted); margin-top: 6px; font-size: 14px; }
.hand-arrow { position: absolute; left: -54px; top: -30px; width: 56px; height: 46px; transform: scaleX(-1) rotate(-20deg); }
.hand-arrow path { fill: none; stroke: var(--terra); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* fascia curva */
.curve-band { position: relative; height: clamp(150px, 18vw, 260px); margin: 0 0 20px; pointer-events: none; }
.curve-band svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.band-stroke { fill: none; stroke: var(--green-dark); stroke-width: 74; stroke-linecap: butt; }
.curve-band text { fill: #f3f6ec; font-size: 34px; font-weight: 800; letter-spacing: .02em; }

/* chi sono */
.about2 { padding: 72px 0 110px; }
.manifesto { max-width: 22ch; margin: 0 auto; text-align: center; font-size: clamp(32px, 4.4vw, 60px) !important; }
.manifesto [data-highlight] { color: var(--green); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 88px; }
.polaroids { position: relative; height: 560px; }
.pola { position: absolute; margin: 0; width: 56%; }
.pola-in { background: #fff; padding: 12px 12px 0; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(31, 42, 26, .45); will-change: transform; }
.pola img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.pola figcaption { font-style: italic; font-weight: 600; color: var(--ink2); padding: 10px 4px 12px; font-size: 16px; }
.p1 { left: 0; top: 40px; transform: rotate(-6deg); z-index: 2; }
.p2 { right: 2%; top: 0; width: 44%; transform: rotate(5deg); }
.p3 { right: 10%; bottom: 0; width: 42%; transform: rotate(-2deg); z-index: 3; }
.hello { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.about2 .text > p { color: var(--ink2); }
.about2 .text > p + p { margin-top: 16px; }
.about2 .text > .lead { color: var(--ink); }
.tl2 { position: relative; border-left: 0; }
.tl2::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--green); transform-origin: top; transform: scaleY(var(--p, 1)); }
.tl2 li::before { box-shadow: 0 0 0 4px var(--bg); }

/* sequenza dei tre passi */
.seq { padding: 96px 0; }
.seq-stage { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.seq-head { text-align: center; max-width: 760px; margin: 0 auto; }
.seq-head .lead { margin: 18px auto 0; }
.seq-line, .seq-avocado, .seq-final { display: none; }
.seq-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step2 { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; box-shadow: 0 30px 60px -36px rgba(31, 42, 26, .35); }
.step2 .n { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step2 h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.step2 .dur { color: var(--terra); font-weight: 700; font-size: 16px; margin: 4px 0 14px; }
.step2 ul { margin: 0; padding-left: 20px; color: var(--ink2); font-size: 17px; }
.step2 li + li { margin-top: 6px; }

/* versione animata su schermi grandi: la sezione è alta e lo stage resta fermo */
@media (min-width: 992px) {
  .motion .seq { height: 420vh; padding: 0; }
  .motion .seq-stage { position: sticky; top: 0; height: 100vh; max-width: none; padding: 0; overflow: hidden; }
  .motion .seq-head { position: absolute; left: 0; right: 0; top: 13vh; z-index: 1; }
  .motion .seq-line { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .motion .seq-line path { fill: none; stroke: #fff; stroke-width: 28; stroke-linecap: round; }
  .motion .seq-avocado { display: block; position: absolute; left: 50%; top: 58%; width: min(34vh, 320px); translate: -50% -50%; filter: drop-shadow(0 30px 40px rgba(31, 42, 26, .25)); }
  .motion .seq-cards { display: block; margin: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .motion .step2 { position: absolute; top: 50%; width: 380px; pointer-events: auto; }
  .motion .step2.left { left: calc(50% - 470px); }
  .motion .step2.right { right: calc(50% - 470px); }
  .motion .seq-final { display: block; position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; font-size: clamp(40px, 5.6vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; z-index: 3; }
  .motion .seq-final em { font-style: normal; color: var(--green); }
}

.goals { padding: 24px 0 110px; }
.goals .where { justify-content: center; margin-top: 8px; }
.goals .chip { font-size: 18px; padding: 12px 22px; background: var(--surface); }
.goals .chip:nth-child(odd) { rotate: -2deg; }
.goals .chip:nth-child(even) { rotate: 2deg; }

/* tariffe */
.prices2 { border-radius: 40px 40px 0 0; padding: 110px 0; }
.prices2 .price { border-radius: 24px; }
.prices2 .amount { font-size: 64px; }
.prices2 .price:not(.main) .btn.ghost.cyc .cyc-i { background: #f3f6ec; }
.prices2 .price:not(.main) .btn.ghost.cyc .cyc-i::after { background: var(--green-dark); }

/* cosa portare: righe che si disegnano e spunte che "saltano" */
.bring2 { padding: 110px 0; }
.bring2 .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.bring-head .lead { margin-top: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; }
.checklist li:first-child { padding-top: 6px; }
.checklist h3 { font-size: 23px; }
.checklist p { color: var(--ink2); font-size: 17px; margin-top: 4px; }
.check { width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.check.soft { background: var(--peach); }
.check svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.row-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); transform-origin: left center; }

/* recensioni: binario orizzontale a scatto, trascinabile */
.reviews2 { background: var(--surface); padding: 110px 0; }
.rev-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.rev-arrows { display: flex; gap: 10px; }
.rev-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease), color .3s, transform .3s var(--ease); }
.rev-arrow:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.rev-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rev-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px)); padding: 44px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 10px; scrollbar-width: none; cursor: grab; outline: none; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rev-track:focus-visible { outline: 3px solid var(--peach); outline-offset: -3px; }
.rev2 { flex: none; width: min(420px, 82vw); margin: 0; scroll-snap-align: start; }
.rev-in { height: 100%; background: var(--bg); border-radius: 24px; padding: 30px; will-change: transform; }
.rev2 .stars { color: #d08a3c; letter-spacing: 2px; font-size: 16px; }
.rev2 p { margin: 12px 0 16px; font-size: 18px; color: var(--ink2); }
.rev2 b { font-size: 16px; }
.rev2 b small { font-weight: 400; color: var(--muted); }

/* chiusura */
.contact2 { padding: 120px 0 110px; }
.contact2 .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.closing .big { font-size: clamp(64px, 11vw, 160px) !important; letter-spacing: -0.05em; line-height: .9; color: var(--green-dark); }
.closing .lead { margin: 24px 0 30px; }
.closing .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cards2 .card { border-radius: 22px; }
.cards2 .card a { font-size: 20px; overflow-wrap: anywhere; }
.cards2 .small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; }
.cards2 .strong { font-size: 20px; font-weight: 700; }

/* telefono e tablet */
@media (max-width: 980px) {
  .hero2 .wrap, .about-grid, .bring2 .wrap, .contact2 .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; padding-left: 28px; }
  .seq-cards { grid-template-columns: 1fr; }
  .polaroids { height: 480px; max-width: 520px; }
  .about-grid { margin-top: 56px; }
}
@media (max-width: 560px) {
  .hero2 { padding: 24px 0 24px; }
  .hero-visual { padding: 10px 0 120px 18px; }
  .badges { left: -6px; top: auto; bottom: 20px; grid-auto-flow: column; gap: 8px; }
  .badge { width: 92px; height: 92px; }
  .badge:nth-child(2) { margin-left: 0; margin-top: 18px; }
  .badge b { font-size: 19px; }
  .badge span { font-size: 11.5px; }
  .hand { position: relative; right: auto; bottom: auto; margin: -36px 0 0 auto; max-width: 250px; font-size: 16px; }
  .hero-visual { display: flex; flex-direction: column; }
  .badges { position: static; order: 3; margin-top: 18px; justify-content: start; }
  .hand-arrow { display: none; }
  .curve-band { height: 130px; }
  .band-stroke { stroke-width: 96; }
  .curve-band text { font-size: 46px; }
  .about2 { padding: 48px 0 72px; }
  .polaroids { height: 400px; }
  .pola { width: 60%; }
  .p2 { width: 48%; }
  .p3 { width: 46%; right: 4%; }
  .seq { padding: 64px 0; }
  .seq-stage { padding: 0 16px; }
  .goals { padding: 8px 0 72px; }
  .prices2 { border-radius: 28px 28px 0 0; padding: 72px 0; }
  .prices2 .amount { font-size: 52px; }
  .bring2, .reviews2 { padding: 72px 0; }
  .checklist li { grid-template-columns: 44px 1fr; gap: 14px; }
  .check { width: 44px; height: 44px; }
  .rev-track { scroll-padding-inline: 16px; padding-inline: 16px; }
  .contact2 { padding: 80px 0 72px; }
  .btn.cyc { font-size: 16px; }
}

/* chi ha chiesto meno movimento: niente transizioni decorative */
@media (prefers-reduced-motion: reduce) {
  .cyc-i, .cyc-t, .menu a, .rev-arrow { transition: none; }
}
