/* Studio Fisio Bruma (inventato): stile chiaro, morbido, ariosa. */

/* ---------- PRIMA: com'era (2012) ---------- */
.s-wrap { min-width: 980px; background: #dfe6ee; font: 11px/1.5 Arial, Helvetica, sans-serif; color: #222; padding-bottom: 20px; }
.s-addr { background: #ece9d8; border-bottom: 1px solid #716f64; padding: 6px 10px; font: 12px Tahoma, Arial, sans-serif; color: #333; }
.s-addr .warn { color: #b00; font-weight: 700; margin-right: 10px; }
.s-page { width: 940px; margin: 12px auto; background: #fff; border: 1px solid #889; }
.s-head { display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: linear-gradient(#5b8fc9, #2a5d9f); color: #fff; }
.s-logo { width: 84px; height: 64px; background: #ccc; border: 2px inset #888; display: grid; place-items: center; color: #555; font-size: 10px; }
.s-head h1 { margin: 0; font: bold 22px Arial, sans-serif; letter-spacing: .5px; } .s-head p { margin: 2px 0 0; }
.s-ie { margin-left: auto; background: #0004; border: 1px dashed #fff8; padding: 5px 8px; font-size: 10px; text-align: center; }
.s-bar { background: #1c3f77; color: #fff; font-weight: 700; padding: 7px 10px; font-size: 11px; }
.s-cols { display: flex; }
.s-left { width: 172px; background: #e8eef6; border-right: 1px solid #aab; padding: 10px; }
.s-left ul { margin: 6px 0 0; padding-left: 14px; list-style: square; } .s-left li { padding: 3px 0; border-bottom: 1px dotted #99a; }
.s-like { margin-top: 14px; background: #3b5998; color: #fff; padding: 3px 6px; display: inline-block; font-weight: 700; }
.s-main { flex: 1; padding: 12px 16px; text-align: justify; }
.s-main h2 { margin: 0 0 8px; color: #1c3f77; font: bold 14px Arial; }
.s-img { float: right; width: 220px; height: 140px; margin: 4px 0 8px 14px; background: #ddd; border: 1px solid #999; display: grid; place-items: center; color: #666; }
.s-tel { border: 2px solid #c00; padding: 8px; color: #c00; text-align: center; clear: both; }
.s-foot { background: #1c3f77; color: #cde; padding: 7px; text-align: center; font-size: 10px; }

/* ---------- DOPO ---------- */
#nuovo { --bg: #f3f9f8; --ink: #0f2a2b; --teal: #0e7c7b; --teal2: #14b8a6; --aqua: #c6f0ea; --coral: #ff7a59; --soft: #5b7576;
  position: relative; background: var(--bg); color: var(--ink); font: 18px/1.65 ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: clip; }
#nuovo h1, #nuovo h2, #nuovo h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs i { position: absolute; filter: blur(46px); opacity: .5; animation: morph 16s ease-in-out infinite alternate; }
.b1 { width: 540px; height: 540px; top: -140px; right: -120px; background: radial-gradient(circle at 30% 30%, #8cebdc, var(--teal2)); }
.b2 { width: 420px; height: 420px; top: 38%; left: -160px; background: radial-gradient(circle at 60% 40%, #ffd3c4, #ff9b7d); animation-delay: -6s; opacity: .32; }
.b3 { width: 480px; height: 480px; bottom: 6%; right: -140px; background: radial-gradient(circle at 40% 40%, #b8e4ff, #6fb7f0); animation-delay: -11s; opacity: .3; }
@keyframes morph { 0% { border-radius: 42% 58% 63% 37% / 41% 45% 55% 59%; transform: translate(0, 0) rotate(0); } 50% { border-radius: 63% 37% 41% 59% / 58% 36% 64% 42%; transform: translate(-30px, 40px) rotate(40deg); } 100% { border-radius: 36% 64% 52% 48% / 47% 60% 40% 53%; transform: translate(30px, -20px) rotate(90deg); } }
.kick { margin: 0 0 12px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.sub { max-width: 52ch; color: var(--soft); margin: 12px 0 22px; }
.lead { margin: 20px 0 26px; max-width: 38ch; font-size: clamp(18px, 2.2vw, 22px); color: var(--soft); }
.hl { background: linear-gradient(transparent 62%, var(--aqua) 62% 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size .9s .35s cubic-bezier(.2, .8, .2, 1); }
.in .hl, h1.in .hl, html:not(.js) .hl { background-size: 100% 100%; }
.n-btn { display: inline-block; text-decoration: none; cursor: pointer; border: 0; font: inherit; font-weight: 700; font-size: 16px; background: linear-gradient(135deg, var(--teal), var(--teal2)); color: #fff; padding: 15px 28px; border-radius: 99px; box-shadow: 0 12px 28px #0e7c7b44; transition: box-shadow .3s, transform .2s ease-out; will-change: transform; }
.n-btn:hover { box-shadow: 0 18px 36px #0e7c7b55; }
.n-btn.sm { padding: 10px 20px; font-size: 14px; box-shadow: none; }
.n-btn.ghost { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal), 0 8px 20px #0e7c7b1a; }
.n-link { text-decoration: none; color: var(--teal); font-weight: 700; }
.n-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
#nuovo :focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

.n-top { position: sticky; top: var(--bar); z-index: 6; display: flex; justify-content: space-between; align-items: center; padding: 12px clamp(16px, 4vw, 44px); background: #f3f9f8cc; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid #0f2a2b10; }
.n-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.n-logo .mark { width: 28px; height: 28px; border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; background: linear-gradient(135deg, var(--teal), var(--teal2)); animation: morphlogo 9s ease-in-out infinite alternate; }
@keyframes morphlogo { from { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; } to { border-radius: 62% 38% 46% 54% / 40% 58% 42% 60%; } }
.n-logo i { font: 600 11px ui-sans-serif, system-ui; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); margin-left: 4px; }
.n-top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.n-top nav a:not(.n-btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--soft); transition: color .2s; } .n-top nav a:not(.n-btn):hover { color: var(--teal); }
@media (max-width: 800px) { .n-top nav a:not(.n-btn) { display: none; } .n-logo i { display: none; } }

.n-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 5vw, 70px); align-items: center; max-width: 1180px; margin: 0 auto; padding: clamp(30px, 7vw, 80px) clamp(16px, 5vw, 56px) clamp(40px, 8vw, 90px); min-height: min(86vh, 760px); }
@media (max-width: 860px) { .n-hero { grid-template-columns: 1fr; } }
.n-hero h1 { font-size: clamp(46px, 8.6vw, 104px); }
.live { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 8px 16px; border-radius: 99px; background: #fff; box-shadow: 0 6px 20px #0f2a2b14; font-size: 15px; font-weight: 600; }
.live .dot { width: 10px; height: 10px; border-radius: 50%; background: #94a3a3; } .live.open .dot { background: #22c55e; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #22c55e88; } 100% { box-shadow: 0 0 0 12px #22c55e00; } }

.h-right { position: relative; display: grid; place-items: center; }
#n-spine { width: min(100%, 340px); height: auto; overflow: visible; filter: drop-shadow(0 24px 40px #0e7c7b2e); }
#n-spine .vb { fill: url(#gV); } #n-spine .sp { fill: #0e7c7b; opacity: .85; } #n-spine .dc { fill: #c6f0ea; } #n-spine .sac { fill: url(#gS); }
#n-spine .v { transform-box: fill-box; transform-origin: center; animation: vwave 3.8s ease-in-out infinite; animation-delay: calc(var(--i) * 110ms); }
#n-spine .lbl { font: 700 13px ui-sans-serif, system-ui, sans-serif; fill: #5b7576; text-anchor: end; pointer-events: none; }
@keyframes vwave { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(3px); } }
.spot { cursor: pointer; outline: none; } .spot .core { fill: var(--coral); transition: r .2s; } .spot .ring { fill: none; stroke: var(--coral); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: ring 2.2s ease-out infinite; }
.spot:nth-child(2) .ring { animation-delay: -.5s; } .spot:nth-child(3) .ring { animation-delay: -1s; } .spot:nth-child(4) .ring { animation-delay: -1.5s; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.spot:hover .core, .spot:focus-visible .core, .spot.on .core { r: 10; } .spot.on .core { fill: var(--teal); }
.spot:focus-visible .ring { stroke-width: 5; }
.spot-card { margin-top: 10px; width: min(100%, 360px); padding: 14px 18px; border-radius: 18px; background: #ffffffb8; backdrop-filter: blur(10px); box-shadow: 0 10px 30px #0f2a2b14; border: 1px solid #fff; transition: transform .3s; }
.spot-card b { display: block; color: var(--teal); } .spot-card span { color: var(--soft); font-size: 16px; }

.n-sec { position: relative; z-index: 1; padding: clamp(50px, 9vw, 110px) clamp(16px, 5vw, 56px); max-width: 1180px; margin: 0 auto; }
.n-sec h2 { font-size: clamp(32px, 5.4vw, 60px); }

/* percorso: la linea si disegna mentre scorri */
.steps { list-style: none; margin: 40px 0 0; padding: 0 0 0 64px; position: relative; max-width: 720px; --p: 0%; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 6px; width: 4px; border-radius: 4px; }
.steps::before { bottom: 6px; background: #0f2a2b14; } .steps::after { height: calc((100% - 12px) * var(--p, 0)); background: linear-gradient(var(--teal2), var(--teal)); }
.step { position: relative; padding-bottom: 40px; opacity: .45; transition: opacity .5s; } .step:last-child { padding-bottom: 0; } .step.on { opacity: 1; }
.step .num { position: absolute; left: -64px; top: -2px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: #fff; color: var(--soft); box-shadow: 0 0 0 3px #0f2a2b14; transition: background .4s, color .4s, box-shadow .4s, transform .4s; }
.step.on .num { background: linear-gradient(135deg, var(--teal), var(--teal2)); color: #fff; box-shadow: 0 8px 20px #0e7c7b55; transform: scale(1.08); }
.step h3 { font-size: 26px; margin-bottom: 4px; } .step p { margin: 0; color: var(--soft); }

/* schede con riflesso */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.cd { position: relative; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid #0f2a2b12; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; box-shadow: 0 8px 26px #0f2a2b0d; }
.cd::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), #14b8a622, transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cd.in { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, opacity .9s; }
.cd:hover, .cd.in:hover { transform: translateY(-6px); box-shadow: 0 22px 46px #0e7c7b24; } .cd:hover::before { opacity: 1; }
.cd h3 { font-size: 22px; margin: 16px 0 6px; } .cd p { margin: 0; color: var(--soft); font-size: 16px; }
.ic { display: block; width: 48px; height: 48px; background: linear-gradient(135deg, var(--teal2), var(--teal)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cd:hover .ic { transform: rotate(14deg) scale(1.1); }
.i1 { border-radius: 50%; } .i2 { border-radius: 14px; } .i3 { border-radius: 50% 0 50% 0; } .i4 { clip-path: polygon(50% 4%, 96% 92%, 4% 92%); background: linear-gradient(135deg, #ff9b7d, var(--coral)); } .i5 { border-radius: 99px; width: 64px; height: 36px; margin: 6px 0; } .i6 { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }

/* domande a fisarmonica */
.faq { margin-top: 30px; max-width: 760px; }
.faq details { background: #fff; border: 1px solid #0f2a2b12; border-radius: 20px; margin-bottom: 12px; box-shadow: 0 6px 20px #0f2a2b0a; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--aqua); color: var(--teal); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .35s, background .35s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--teal); color: #fff; }
.faq .ans { overflow: hidden; height: 0; transition: height .4s cubic-bezier(.2, .8, .2, 1); } .faq details[open] .ans { height: auto; }
.faq .ans p { margin: 0; padding: 0 22px 20px; color: var(--soft); }

/* contatti */
.bk { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 4vw, 50px); align-items: center; padding: clamp(26px, 5vw, 56px); border-radius: 34px; background: linear-gradient(135deg, #0e7c7b, #0a5d5d); color: #fff; box-shadow: 0 30px 70px #0e7c7b44; overflow: hidden; position: relative; }
.bk::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, #14b8a666, transparent 70%); }
@media (max-width: 800px) { .bk { grid-template-columns: 1fr; } }
.bk .kick { color: #9ff0e2; } .bk h2 { margin-bottom: 8px; } .bk .hl { background-image: linear-gradient(transparent 62%, #ffffff30 62% 92%, transparent 92%); } .bk .sub { color: #d5f3ee; }
.bk .n-btn { background: #fff; color: var(--teal); box-shadow: 0 10px 26px #0004; } .bk .n-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.r-demo { margin: 14px 0 0; font-size: 13px; color: #b9e6df; }
.hours { width: 100%; border-collapse: collapse; position: relative; font-size: 16px; }
.hours th { text-align: left; font-weight: 600; padding: 9px 0; color: #cfeee9; } .hours td { text-align: right; padding: 9px 0; } .hours tr { border-bottom: 1px solid #ffffff22; }
.hours tr.today { color: #fff; font-weight: 800; } .hours tr.today th { color: #fff; } .hours tr.today td::before { content: "oggi · "; color: #9ff0e2; font-weight: 600; }
.n-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px clamp(16px, 5vw, 56px) 40px; max-width: 1180px; margin: 0 auto; color: var(--soft); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .blobs i, .n-logo .mark, #n-spine .v, .spot .ring, .live.open .dot { animation: none; } .hl { transition: none; background-size: 100% 100%; } }
