@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

.sc-fioraio { --k-bg: #e6eee0; --k-ink: #1f3d2b; --k-muted: #557062; --k-ac: #1f3d2b; --k-ac-ink: #f2f6ec; --k-surface: #f6f9f2; --k-line: rgba(31,61,43,.14);
  --k-display: "Fraunces", Georgia, serif; --k-body: "Outfit", system-ui, sans-serif; --k-dw: 500; --k-track: -.035em; --k-r: 30px; --pink: #e2557a; --sun: #f7c948; }
.sc-fioraio em { color: var(--pink); }

.sc-fioraio .k-nav { background: transparent; backdrop-filter: none; }
.sc-fioraio .k-nav.is-scrolled { background: rgba(230,238,224,.85); backdrop-filter: blur(14px); }
.sc-fioraio .fx-ph img { width: 100%; height: 100%; object-fit: cover; }

/* Hero con maschera a fiore */
.pt-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 0 30px; min-height: calc(100svh - 110px); padding: 30px var(--k-pad) 60px; overflow: hidden; }
.pt-hero h1 { position: relative; z-index: 2; grid-column: 1 / -1; grid-row: 1; margin: 10px 0 0; font-size: clamp(60px, 11.5vw, 200px); line-height: .88; }
.pt-hero h1 .hl2 { color: var(--pink); font-weight: 400; --fx-delay: 150ms; } .pt-hero h1 .hl3 { --fx-delay: 300ms; }
.pt-flower { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: center; width: min(640px, 100%); aspect-ratio: 1; margin: 60px 0 0; clip-path: url(#petal); animation: pt-spin 60s linear infinite; transform: scale(calc(1 + var(--p, 0) * .35)); }
.pt-rot { width: 100%; height: 100%; animation: pt-spin 60s linear infinite reverse; }
.pt-rot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
@keyframes pt-spin { to { rotate: 360deg; } }
.pt-hero-b { position: relative; z-index: 2; grid-column: 1; grid-row: 2; align-self: end; }
.lead { max-width: 460px; margin: 30px 0 24px; color: var(--k-muted); font-size: 19px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-float { position: absolute; z-index: 3; padding: 12px 18px; border-radius: 99px; background: rgba(246,249,242,.78); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(31,61,43,.12); font-weight: 600; animation: bob 5s ease-in-out infinite; }
.c1 { right: 6%; top: 46%; } .c2 { right: 34%; bottom: 14%; animation-delay: -1.6s; } .c3 { right: 8%; bottom: 8%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }

.pt-marq { padding: 22px 0; font: 400 clamp(46px, 6vw, 96px)/1 "Fraunces"; }
.pt-marq span { padding: 0 .35em; } .pt-marq span::after { content: "✿"; margin-left: .7em; color: var(--pink); font-size: .5em; vertical-align: middle; } .pt-marq i { color: var(--pink); }

/* Galleria che sboccia */
.pt-bloom { --fx-zh: 240vh; }
.pt-bloom .fx-z-sticky { display: grid; place-items: center; }
.pt-bloom-t { position: relative; z-index: 1; margin: 0; text-align: center; font: 400 clamp(56px, 8vw, 140px)/.9 "Fraunces"; opacity: clamp(0, calc(var(--p, 0) * 2.2 - .5), 1); }
.pt-bloom-t i { color: var(--pink); }
.pt-tiles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pt-tile { position: absolute; left: 50%; top: 50%; width: clamp(150px, 17vw, 270px); aspect-ratio: 3 / 4; border-radius: 22px; box-shadow: 0 30px 60px rgba(31,61,43,.22);
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--p, 0) * 1vw), calc(var(--y) * var(--p, 0) * 1vh)) rotate(calc(var(--r) * (1 - var(--p, 0)) * 3deg + var(--r) * 1deg)) scale(calc(.75 + var(--p, 0) * .25)); }
.pt-tile:nth-child(odd) { border-radius: 999px 999px 22px 22px; } .pt-tile:nth-child(3n) { border-radius: 50%; aspect-ratio: 1; }

/* SVG fiori */
.stem { fill: none; stroke: #3f7a4c; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: grow 1.2s var(--k-ease) forwards; }
.head { transform-box: fill-box; transform-origin: center; animation: bloom .8s cubic-bezier(.34,1.56,.64,1) both; }
.stem.static, .head.static { animation: none; stroke-dashoffset: 0; }
@keyframes grow { to { stroke-dashoffset: 0; } }
@keyframes bloom { from { transform: scale(0) rotate(-40deg); } }

.builder { border-radius: 50px 50px 0 0; }
.b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.b-stage { position: sticky; top: 90px; padding: 20px; border-radius: var(--k-r); background: radial-gradient(circle at 50% 30%, #fff, var(--k-bg)); }
.b-stage svg { width: 100%; height: auto; max-height: 70vh; }
.b-count { margin: 0; text-align: center; color: var(--k-muted); font-weight: 600; }
.flowers { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.flower-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: var(--k-bg); }
.flower-row svg { width: 56px; height: 56px; }
.flower-row b { display: block; font: 500 20px var(--k-display); }
.flower-row small { color: var(--k-muted); }
.step { display: inline-flex; align-items: center; border: 1.5px solid var(--k-line); border-radius: 99px; background: var(--k-surface); }
.step button { width: 42px; height: 42px; border: 0; background: none; font-size: 20px; font-weight: 700; }
.step output { min-width: 24px; text-align: center; font-weight: 700; }
.paper { margin: 0 0 20px; padding: 0; border: 0; }
.paper legend { margin-bottom: 10px; font-weight: 700; }
.paper button::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); vertical-align: -2px; }
.b-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 600; }
.b-total b { font: 500 46px var(--k-display); }
.wide { width: 100%; }
.b-msg { min-height: 1.4em; color: var(--k-muted); font-weight: 600; }

.occ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.occ { overflow: hidden; border-radius: 28px; background: var(--k-surface); }
.occ .fx-ph { aspect-ratio: 4 / 3.4; }
.occ .fx-ph img { transition: transform 1.2s cubic-bezier(.16,1,.3,1); } .occ:hover .fx-ph img { transform: scale(1.07); }
.occ > div { padding: 22px 24px 26px; }
.occ h3 { margin: 0 0 8px; font-size: 30px; }
.occ p { margin: 0 0 14px; color: var(--k-muted); }

.del-copy { max-width: 440px; color: var(--k-muted); }
.cap { display: flex; gap: 10px; max-width: 420px; }
.cap label { flex: 1; } .cap input { width: 100%; min-height: 50px; padding: 0 18px; border: 1.5px solid var(--k-line); border-radius: 99px; background: var(--k-surface); font-size: 18px; letter-spacing: .1em; }
.cap-out { min-height: 1.4em; font-weight: 700; }
.zones { width: 100%; }
.z { stroke: var(--k-ink); stroke-width: 1.5; stroke-dasharray: 5 6; transition: fill .5s; }
.z1 { fill: rgba(106,163,111,.5); } .z2 { fill: rgba(106,163,111,.3); } .z3 { fill: rgba(106,163,111,.12); }
.z.on { fill: rgba(226,85,122,.45); }
.shop circle { fill: var(--pink); }
.bike circle { fill: var(--sun); stroke: var(--k-ink); stroke-width: 2; }

@media (max-width: 899px) {
  .chip-float { display: none; }
  .b-grid { grid-template-columns: 1fr; }
  .b-stage { position: relative; top: 0; }
  .occ-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .stem { stroke-dashoffset: 0; } }

/* Testimonianza su foto */
.pt-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 120px var(--k-pad); }
.pt-q-ph { aspect-ratio: 4 / 5; border-radius: 999px 999px 30px 30px; }
.pt-quote blockquote { margin: 0; } .pt-quote p { margin: 0 0 20px; font: 400 clamp(36px, 4vw, 64px)/1.05 "Fraunces"; } .pt-quote cite { font-style: normal; opacity: .7; }
.builder, .occasions, .delivery { background: transparent; }
@media (max-width: 899px) { .pt-hero { grid-template-columns: 1fr; grid-template-rows: auto; } .pt-flower { grid-column: 1; grid-row: auto; width: 92%; margin: 20px auto 0; } .pt-hero-b { grid-column: 1; grid-row: auto; } .pt-quote { grid-template-columns: 1fr; } .pt-tile { width: 34vw; } }
@media (prefers-reduced-motion: reduce) { .pt-flower, .pt-rot, .chip-float { animation: none; } .pt-bloom { height: auto; } .pt-bloom .fx-z-sticky { height: auto; padding: 80px var(--k-pad); display: block; } .pt-tiles { position: static; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; } .pt-tile { position: static; width: auto; transform: none !important; } .pt-bloom-t { opacity: 1; } }
