/* ============================================================
   RoomReveal — home.css: sistema di design della landing (v2)
   Usato SOLO da index.html. app.html/dashboard.html usano studio.css.
   Palette: paper #FBFAF8 · ink #17181B · estate-green #1F5E4C · gold #C49A5A
   Font: Manrope (struttura) + Fraunces corsivo (accento)
   Firma: la Linea di Reveal — la trasformazione è guidata dallo scroll, non da un widget.
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --paper: #FBFAF8;
  --paper-2: #F4F2EE;
  --ink: #17181B;
  --ink-soft: #55585E;
  --line: rgba(23,24,27,.10);
  --line-2: rgba(23,24,27,.06);
  --gold: #C49A5A;
  --gold-deep: #836427;      /* AA 4.5:1+ su paper/paper-2/surface, per testo piccolo */
  --green: #1F5E4C;
  --green-tint: #EAF1EE;
  --grad: linear-gradient(90deg, var(--green), var(--gold));
  --ease: cubic-bezier(.22,.68,.28,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --radius: 22px;
  --maxw: 1280px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  overflow-x: hidden;
}
.serif { font-family: "Fraunces", serif; font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.wrap, .container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* progress bar tied to scroll — firma cromatica verde→oro, ricorre in ogni meccanica */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); z-index: 200; width: 0%; }

/* ===== ticker ===== */
.ticker { background: var(--ink); color: rgba(251,250,248,.86); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.ticker-inner { max-width: var(--maxw); margin: 0 auto; padding: 9px 40px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.ticker .dia { color: var(--gold); opacity: .8; }
.ticker .tnum { font-variant-numeric: tabular-nums; color: var(--gold); }

/* ===== nav ===== */
nav.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(251,250,248,.82); border-bottom: 1px solid var(--line); transition: transform .38s var(--ease), box-shadow .3s; will-change: transform; }
/* si nasconde verso l'alto scorrendo in giù, ricompare scorrendo su (classe gestita in landing.js) */
nav.nav.nav--hidden { transform: translateY(-100%); }
nav.nav.nav--scrolled { box-shadow: 0 8px 30px -18px rgba(23,24,27,.35); }
@media (prefers-reduced-motion: reduce) { nav.nav { transition: none; } }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; text-decoration: none; }
.logo img { width: 30px; height: 30px; display: block; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .ghost { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 700; }
/* voce "Accedi" del menu mobile: nascosta di default, visibile solo nel burger <=980px */
.nav-login-m { display: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--paper); background: var(--ink); border: none; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.pill:hover { transform: translateY(-2px); background: var(--green); }
.pill.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; padding: 15px 24px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; transition: border-color .2s, transform .2s; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: none; align-items: center; justify-content: center; cursor: pointer; }
.nav-burger svg { width: 18px; height: 18px; }
.nav-burger .bl-1, .nav-burger .bl-2 { transition: transform .25s var(--ease), opacity .2s; transform-origin: center; }
.nav-burger[aria-expanded="true"] .bl-1 { transform: translateY(3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .bl-2 { transform: translateY(-3px) rotate(-45deg); }

/* focus-visible everywhere, keyboard users must see it */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ===== hero ===== */
.hero { position: relative; padding: 40px 0 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.7rem); line-height: 1.01; letter-spacing: -.035em; font-weight: 800; }
h1 em, h2 em { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; color: var(--green); }
.hero-side { padding-bottom: 6px; }
.lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.3vw, 1.18rem); max-width: 36ch; margin-bottom: 30px; }
.lead b { color: var(--ink); font-weight: 700; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.microtrust { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; margin-bottom: 26px; }
.microtrust .ok { width: 18px; height: 18px; border-radius: 50%; background: rgba(31,94,76,.12); display: grid; place-items: center; flex-shrink: 0; }
.microtrust .ok svg { width: 11px; height: 11px; stroke: var(--green); }

.value-props { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.value-props li { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.vp-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.vp-ico svg { display: block; }

/* drip scroll-cue */
.scrollcue { font-size: .82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.scrollcue-line { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; flex-shrink: 0; }
.scrollcue-line::after { content:''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold); animation: scrollDrip 1.8s ease-in-out infinite; }
@keyframes scrollDrip { 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }
@media (prefers-reduced-motion: reduce) { .scrollcue-line::after { animation: none; top: 40%; } }

/* ===== hero scroll-driven reveal ===== */
.reveal-stage { position: relative; height: 340vh; }
.reveal-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* altezza indipendente dalla larghezza (min(75vh,750px), non aspect-ratio): su laptop bassi (1366x768) l'aspect-ratio
   16/10 forzava ~750px di altezza contro un .reveal-sticky di soli ~700px, tagliando badge Prima/Dopo e didascalia/HUD */
.reveal-frame { position: relative; width: min(1200px, 92vw); height: min(75vh, 750px); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(23,24,27,.35); }
.reveal-frame picture, .reveal-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reveal-frame img { object-fit: cover; }
.reveal-frame .after-layer { clip-path: inset(0 0 0 100%); will-change: clip-path; }
.reveal-line { position: absolute; top: 0; bottom: 0; width: 2px; left: 100%; background: linear-gradient(180deg, transparent, #fff, transparent); box-shadow: 0 0 24px 2px rgba(255,255,255,.6); mix-blend-mode: difference; will-change: left; }
.reveal-line::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--paper); box-shadow: 0 8px 24px -8px rgba(23,24,27,.4); }
.reveal-line::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-52%); font-size: 17px; color: var(--ink); font-weight: 800; }
.reveal-tag { position: absolute; top: 26px; padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; backdrop-filter: blur(8px); }
.reveal-tag.before { left: 26px; background: rgba(23,24,27,.72); color: #fff; opacity: var(--fade-before, 1); }
.reveal-tag.after { right: 26px; background: rgba(255,255,255,.85); color: var(--ink); opacity: var(--fade-after, 0); }
/* scrim: senza, il testo bianco scende sotto 3:1 su pareti/pavimenti chiari della foto */
.reveal-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 30px 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; background: linear-gradient(0deg, rgba(23,24,27,.75), rgba(23,24,27,.35) 55%, transparent); }
.reveal-caption .txt { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.reveal-caption .txt small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.reveal-caption .txt strong { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; }
.reveal-hud { display: flex; align-items: center; gap: 12px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.reveal-hud .hud-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.reveal-hud .hud-track { width: 100px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.reveal-hud .hud-fill { height: 100%; width: 0%; background: var(--grad); }
.reveal-hud .hud-pct { font-family: "Fraunces", serif; font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; min-width: 3.4ch; }
.reveal-note { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); padding: 20px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal-stage { height: auto; }
  .reveal-sticky { position: static; height: auto; padding: 60px 0; }
  .reveal-frame .after-layer { clip-path: inset(0 0 0 45%) !important; }
  .reveal-line { left: 45% !important; }
  .reveal-tag.before { opacity: 1 !important; }
  .reveal-tag.after { opacity: 1 !important; }
}

/* ===== shared section scaffolding ===== */
section { position: relative; z-index: 2; }
/* senza questo, ogni link di ancora (#prezzi, #faq, ecc.) porta il titolo della sezione
   proprio sotto la nav sticky (76px), nascondendolo */
[id] { scroll-margin-top: 92px; }
/* padding SOLO verticale: quando .section-pad sta sullo stesso div di .wrap, non deve azzerare
   il padding orizzontale di .wrap (bug: contenuto tagliato ai bordi tra 1200-1280px) */
.section-pad { padding-top: 110px; padding-bottom: 110px; }
.section-pad-tight { padding-top: 80px; padding-bottom: 80px; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.kicker::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.section-head.center .kicker::before { display: none; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; max-width: 56ch; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== trust band ===== */
.trust-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; align-items: center; }
.trust-hero { padding-right: 32px; border-right: 1px solid var(--line); }
.trust-hero .lbl { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.trust-hero b { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 3rem; line-height: 1; color: var(--ink); }
.trust-hero b .unit { font-size: .45em; font-family: "Manrope", sans-serif; font-style: normal; color: var(--ink-soft); margin-left: 3px; }
.trust-hero s { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 13px; text-decoration-color: var(--gold); }
.trust-rest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.trust-rest > div .lbl { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.trust-rest b { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 2rem; color: var(--ink); }
.trust-rest b .unit { font-size: .5em; font-family: "Manrope", sans-serif; font-style: normal; color: var(--ink-soft); margin-left: 2px; }
.trust-rest span:last-child { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 13px; }

/* ===== problem section ===== */
.problem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.problem-stat { display: inline-block; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.problem-stat b { display: block; font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 2.1rem; color: var(--green); }
.problem-stat span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); max-width: 22ch; }
.problem-copy .lead { font-size: 1.15rem; max-width: 60ch; margin-bottom: 20px; }
.problem-copy .lead b { color: var(--ink); }

/* ===== come funziona — split pinned narrative ===== */
.how { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.steps-col { display: flex; flex-direction: column; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .4s var(--ease); }
.step.active { opacity: 1; }
.step-num { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 3.2rem; color: var(--line); line-height: 1; margin-bottom: 22px; transition: color .4s var(--ease); }
.step.active .step-num { color: var(--gold); }
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 14px; }
.step p { color: var(--ink-soft); font-size: 1.03rem; max-width: 40ch; }
.step-bar { width: 44px; height: 3px; border-radius: 3px; background: var(--line); margin-top: 26px; overflow: hidden; }
.step-bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.step.active .step-bar span { width: 100%; }

.sticky-col { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.sticky-visual { position: relative; width: 100%; aspect-ratio: 4/3.1; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(23,24,27,.32); background: #e9e6e0; }
.sticky-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.sticky-visual img.show { opacity: 1; transform: scale(1); }
.sticky-visual .frame-index { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--ink); }
.sticky-visual .frame-caption { position: absolute; left: 22px; bottom: 22px; padding: 9px 16px; border-radius: 999px; background: rgba(23,24,27,.6); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: reduce) {
  .sticky-visual img { transition: opacity .3s ease; transform: none !important; }
  .sticky-col { position: static; height: auto; padding: 20px 0 40px; }
}

/* ===== 4 stili — galleria a scorrimento orizzontale (hijack verticale) ===== */
.styles-pin { position: relative; height: 400vh; background: var(--paper); }
.styles-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.styles-header { padding: 0 40px; max-width: var(--maxw); margin: 0 auto 44px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.styles-jump { display: flex; gap: 20px; flex-wrap: wrap; }
.styles-jump button { font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); background: none; border: none; cursor: pointer; padding: 13px 2px; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.styles-jump button.active { color: var(--ink); border-color: var(--gold); }
.styles-progress { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.styles-progress .seg { width: 34px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.styles-progress .seg i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
/* il bordo sinistro deve coincidere con quello di .styles-header (max-width centrato) anche oltre 1280px,
   altrimenti a schermi ultra-wide la prima card parte più a sinistra del titolo sopra */
.track { display: flex; gap: 34px; padding: 0 40px 0 max(40px, calc((100vw - 1280px) / 2 + 40px)); will-change: transform; }
.style-card { position: relative; flex: 0 0 auto; width: min(74vw, 900px); height: min(64vh, 620px); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 40px 90px -40px rgba(23,24,27,.32); border: 1px solid var(--line); }
.style-card .ba { position: relative; height: 100%; overflow: hidden; }
.style-card .ba img, .style-card .ba picture { width: 100%; height: 100%; }
.style-card .ba img { object-fit: cover; }
.style-card .ba.before::after { content: 'Prima'; position: absolute; top: 20px; left: 20px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: rgba(23,24,27,.72); color: #fff; padding: 7px 14px; border-radius: 999px; }
.style-card .ba.after::after { content: 'Dopo'; position: absolute; top: 20px; left: 20px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: rgba(255,255,255,.88); color: var(--ink); padding: 7px 14px; border-radius: 999px; }
.style-card .meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 28px; background: linear-gradient(0deg, rgba(23,24,27,.72), transparent); color: #fff; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; }
.style-card .meta h3 { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; font-size: 1.7rem; }
.style-card .meta span { font-size: .85rem; opacity: .85; max-width: 30ch; }
.style-card .index { position: absolute; top: 20px; right: 24px; z-index: 3; font-family: "Fraunces", serif; font-style: italic; font-size: 1rem; color: #fff; background: rgba(23,24,27,.4); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 999px; }
.hint-swipe { padding: 0 40px; max-width: var(--maxw); margin: 30px auto 0; width: 100%; font-size: .85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.hint-swipe svg { opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  .styles-pin { height: auto; }
  .styles-sticky { position: static; height: auto; padding: 60px 0; }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 20px; }
  .style-card { scroll-snap-align: start; }
}

/* ===== per-chi — due persona ===== */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.persona { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; background: var(--paper); }
.persona--primary { background: var(--paper-2); }
.persona-index { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 22px; }
.persona-tag { color: var(--ink-soft); font-weight: 600; }
.persona-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin-bottom: 22px; }
.persona h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.persona > p { color: var(--ink-soft); margin-bottom: 22px; max-width: 46ch; }
.checklist { list-style: none; }
.checklist li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.checklist li:first-child { border-top: none; }
.ck-val { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--green); font-size: 1.05rem; }
.persona-stat-line { font-size: 1.05rem; color: var(--ink); }
.persona-stat-line b { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--green); }
.accent-line { text-align: center; margin-top: 40px; font-family: "Fraunces", serif; font-style: italic; font-weight: 400; font-size: 1.2rem; color: var(--ink-soft); }

/* ===== perché funziona — ragioni oneste (no recensioni finte) ===== */
.reasons { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reasons-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.rcard { padding: 42px 36px; position: relative; }
.rcard + .rcard { border-left: 1px solid var(--line); }
.rcard .rnum { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px; }
.rcard .rlede { font-family: "Fraunces", serif; font-weight: 400; font-size: 1.2rem; line-height: 1.42; color: var(--ink); }
.rcard--lead .rlede { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 300; line-height: 1.34; }
.rcard .rlede em { font-style: italic; color: var(--green); }
.rtag { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.rtag::before { content: ''; width: 5px; height: 5px; border-radius: 1px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }

/* ===== pricing — un'unica card scura, sezione resta chiara ===== */
.price-anchor { max-width: 68ch; margin: 0 auto 40px; text-align: center; color: var(--ink-soft); font-family: "Fraunces", serif; font-weight: 300; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; }
.price-anchor b { color: var(--green); font-style: normal; font-weight: 700; }
.price-note { max-width: 62ch; margin: 28px auto 0; text-align: center; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; }
.compare-table { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto 64px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare-table > div { padding: 24px 20px; text-align: center; background: var(--paper); border-left: 1px solid var(--line); }
.compare-table > div:first-child { border-left: none; }
.compare-table span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.compare-table b { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; font-size: 1.5rem; display: block; }
.compare-table small { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 400; margin-top: 4px; font-style: normal; }
.compare-table .ct-win { background: var(--green-tint); }
.compare-table .ct-win b { color: var(--green); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 42px; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.price-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.price-card .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.price-card .amt { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 3.2rem; margin-bottom: 6px; }
.price-card .amt span { font-family: "Manrope", sans-serif; font-style: normal; font-weight: 600; font-size: 1.1rem; color: var(--ink-soft); }
.price-card .desc { color: var(--ink-soft); margin-bottom: 28px; }
.price-card ul { list-style: none; margin-bottom: 32px; flex: 1; }
.price-card li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--ink); }
.price-card li svg { width: 15px; height: 15px; stroke: var(--green); flex-shrink: 0; }
.price-card .cta-btn { padding: 15px; border-radius: 12px; text-align: center; font-weight: 700; text-decoration: none; background: var(--ink); color: var(--paper); transition: transform .2s var(--ease); }
.price-card .cta-btn:hover { transform: translateY(-2px); }
.price-card.hi { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 30px 70px -30px rgba(23,24,27,.4); }
.price-card.hi .tag { color: var(--gold); }
.price-card.hi .amt span { color: rgba(251,250,248,.6); }
.price-card.hi .desc { color: rgba(251,250,248,.66); }
.price-card.hi li { color: rgba(251,250,248,.85); }
.price-card.hi li svg { stroke: var(--gold); }
.price-card.hi .cta-btn { background: var(--gold); color: var(--ink); }
.guarantee { text-align: center; margin-top: 34px; color: var(--ink-soft); font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-sec { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 26px 40px 26px 0; font-family: "Fraunces", serif; font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 400; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; position: relative; }
.faq-q:hover { color: var(--green); }
.faq-chev { position: relative; flex-shrink: 0; width: 12px; height: 12px; align-self: center; }
.faq-chev::before, .faq-chev::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink); transition: transform .28s var(--ease); }
.faq-chev::before { width: 12px; height: 1px; transform: translate(-50%,-50%); }
.faq-chev::after { width: 1px; height: 12px; transform: translate(-50%,-50%); }
.faq-item.open .faq-chev::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item.open .faq-q { color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq-item.open .faq-a { max-height: 1200px; } /* generoso apposta: a zoom alto un valore stretto taglierebbe il testo */
.faq-a p { padding: 0 40px 26px 0; color: var(--ink-soft); line-height: 1.7; max-width: 64ch; }

/* ===== closing CTA — un solo momento con tinta verde tenue, non nero ===== */
.closer { padding: 120px 0; text-align: center; background: var(--green-tint); }
.closer h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; margin: 0 auto 30px; }
.closer .lead { max-width: 46ch; margin: 0 auto 34px; }
.closer .pill { padding: 18px 34px; font-size: 16.5px; background: var(--green); }
.closer .pill:hover { background: var(--green); opacity: .9; }
.closer .microtrust { justify-content: center; margin-top: 22px; margin-bottom: 0; }

/* ===== footer ===== */
footer.site-foot { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.footer-brand img { width: 26px; height: 26px; }
.footer-claim { color: var(--ink-soft); font-size: 14px; max-width: 32ch; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink); text-decoration: none; font-size: 14.5px; margin-bottom: 11px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--ink-soft); font-size: 12.5px; }
.footer-bottom .dia { color: var(--gold); }
.footer-bottom .made { font-family: "Fraunces", serif; font-style: italic; color: var(--gold-deep); }

/* ===== responsive ===== */
@media (max-width: 1080px) {
  .trust-inner { grid-template-columns: 1fr; }
  .trust-hero { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
  .problem-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 980px) {
  .wrap, .container { padding: 0 22px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .how-grid, .reasons-grid { grid-template-columns: 1fr; gap: 0; }
  .sticky-col { position: relative; top: auto; height: auto; padding: 20px 0 60px; }
  .step { min-height: unset; padding: 26px 0; opacity: 1; }
  .step-num { font-size: 2.2rem; }
  .price-grid, .persona-grid, .trust-rest, .compare-table { grid-template-columns: 1fr; }
  .compare-table > div { border-left: none; border-top: 1px solid var(--line); }
  .compare-table > div:first-child { border-top: none; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 22px 18px; gap: 2px; box-shadow: 0 20px 40px -20px rgba(23,24,27,.2); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-2); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta .ghost { display: none; }
  .nav-links .nav-login-m { display: block; font-weight: 700; color: var(--ink); }
  .nav-burger { display: inline-flex; }
  .reveal-stage { height: 240vh; }
  .reveal-frame { width: 94vw; }
  .styles-header, .track, .hint-swipe { padding-left: 22px; padding-right: 22px; }
  .style-card { width: 88vw; height: 56vh; min-height: 380px; grid-template-columns: 1fr 1fr; }
  .rcard + .rcard { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .style-card { grid-template-columns: 1fr 1fr; height: 46vh; min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.3rem; }
  .section-pad { padding-top: 70px; padding-bottom: 70px; }
  .reveal-hud .hud-track { width: 60px; }
  .trust-rest { gap: 22px; }
}
