/* MAIKER HUB · Offerta Black Friday: /black-friday-second-brain.
   Si appoggia a second-brain.css (apertura, prima e dopo, metodo, programma, team, voci, per chi è, domande, chiusura,
   barra fissa): qui solo il pacchetto a fogli (come la card prezzi della Community), il risparmio, il countdown,
   cosa comprende e l'offerta.
   Area Formazione (verde), azione principale arancio, testo Carbon sui piani colorati. */

/* ── il pacchetto a fogli: nella fascia del countdown, sotto l'apertura (nell'apertura c'è la VSL, come nel webinar) ── */
.bf-poster { position: relative; display: block; justify-self: center; width: min(100%, 440px); rotate: -2deg; text-decoration: none; color: var(--carbon); transition: rotate .45s var(--ease), translate .45s var(--ease); }
.bf-poster > .sheet, .bf-plan > .sheet { position: absolute; inset: 0; border: 2px solid var(--carbon); }
.bf-poster > .sheet.a, .bf-plan > .sheet.a { background: var(--white); transform: translate(10px, 10px); }
.bf-poster > .sheet.b, .bf-plan > .sheet.b { background: var(--orange); transform: translate(20px, 20px); }
.bf-poster .face { position: relative; display: grid; gap: 14px; padding: clamp(28px, 3vw, 44px); background: var(--fo); border: 2px solid var(--carbon); }
@media (hover: hover) and (pointer: fine) { .bf-poster:hover { rotate: 0deg; translate: -4px -4px; } }
.bf-poster:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.bf-poster .lbl { margin: 0; }
.bf-poster-price { font: 800 clamp(72px, 8vw, 128px)/.9 "Syne", sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.bf-poster-list { display: grid; gap: 8px; font-size: 17px; font-weight: 600; }
.bf-poster-list span { position: relative; padding-left: 30px; }
.bf-poster-list span::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; background: var(--carbon); color: var(--community); font: 800 12px/1 "DM Sans", sans-serif; }
/* rinnovo della Community: sempre accanto al prezzo, leggibile (poster e card dell'offerta) */
.bf-renew { margin: 0; max-width: 46ch; font-size: 16px; font-weight: 500; line-height: 1.4; }
.bf-renew b { font-weight: 800; }
.bf-poster .bf-renew { font-weight: 600; }
.bf-poster-when { justify-self: start; padding: 9px 14px; background: var(--carbon); color: var(--white); font: 700 16px/1.1 "DM Sans", sans-serif; rotate: -1.5deg; box-shadow: 5px 5px 0 var(--white); }
.bf-poster .flag, .bf-plan .flag { position: absolute; top: -20px; right: 24px; padding: 9px 14px; background: var(--white); color: var(--carbon); border: 2px solid var(--carbon); font: 800 13px/1 "DM Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; rotate: 3deg; box-shadow: 4px 4px 0 var(--carbon); }

/* ── risparmio: corso 497 € + Community 149 € = 646 € barrati, 237 € e quanto si risparmia (poster, fascia, card) ── */
.bf-was { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.bf-was s { font: 700 clamp(24px, 2.2vw, 32px)/1 "Syne", sans-serif; letter-spacing: -.02em; text-decoration-thickness: 3px; }
.bf-save { display: inline-block; padding: 7px 11px; background: var(--orange); color: var(--carbon); border: 2px solid var(--carbon); font: 800 13px/1 "DM Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; rotate: -2deg; }
.bf-poster-list > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bf-poster-list em { flex: none; font-style: normal; font-weight: 800; }
.bf-value { display: grid; gap: 8px; margin: 0; padding-bottom: 14px; border-bottom: 2px dashed #0b0f1440; }
.bf-value div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; line-height: 1.3; }
.bf-value dt { font-weight: 600; }
.bf-value dd { margin: 0; font-weight: 800; white-space: nowrap; }
.bf-value .tot { padding-top: 8px; border-top: 2px solid #0b0f1426; }
.bf-value s { text-decoration-thickness: 3px; }
.bf-plan .amt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* ── countdown: fascia sotto l'apertura e riquadro in cima all'offerta. Cifre e testi da offer.js; senza JavaScript
   resta solo la data. Riquadri a larghezza fissa: le cifre cambiano senza spostare nulla ── */
.bf-count-band { padding-block: clamp(44px, 6vw, 84px); background: radial-gradient(ellipse 55% 90% at 15% 50%, #ff914d1f, transparent 70%), var(--carbon-2); border-block: 2px solid #ffffff1f; }
.bf-count-band[hidden], .bf-count[hidden] { display: none; }
.bf-count-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.bf-count { display: grid; gap: clamp(16px, 2vw, 24px); min-width: 0; }
.bf-count-t { display: flex; align-items: flex-start; gap: 12px; margin: 0; font: 700 clamp(21px, 2vw, 30px)/1.15 "Syne", sans-serif; letter-spacing: -.015em; }
/* pallino centrato sulla prima riga anche quando il testo va a capo */
.bf-count-t i { flex: none; width: 11px; height: 11px; margin-top: calc(.575em - 5.5px); border-radius: 50%; background: var(--orange); animation: sbPulse 1.4s infinite; }
.bf-count-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.bf-count-clock .u { display: grid; justify-items: center; gap: clamp(6px, .8vw, 10px); padding: clamp(14px, 2vw, 26px) 4px clamp(12px, 1.6vw, 20px); background: var(--white); color: var(--carbon); border: 2px solid var(--carbon); box-shadow: 6px 6px 0 var(--orange); }
.bf-count-clock b { font: 800 clamp(44px, 7vw, 116px)/.85 "Syne", sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bf-count-clock small { font: 700 12px/1 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.bf-count-when { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.45; }
html:not(.js) .bf-count-clock { display: none; }
.bf-count-cta { justify-self: start; margin-top: 4px; }
/* in cima all'offerta: su tutta la larghezza, testo a sinistra e cifre a destra */
.bf-count--offer { grid-column: 1 / -1; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; column-gap: clamp(24px, 4vw, 64px); padding: clamp(22px, 2.8vw, 36px); background: var(--carbon-2); border: 2px solid var(--white); box-shadow: 10px 10px 0 var(--orange); }
.bf-count--offer .bf-count-t { font-size: clamp(20px, 1.7vw, 26px); }
.bf-count--offer .bf-count-clock { grid-column: 2; grid-row: 1 / span 2; }
.bf-count--offer .bf-count-clock b { font-size: clamp(40px, 4.6vw, 80px); }
.bf-count--offer .bf-count-clock .u { box-shadow: 5px 5px 0 var(--fo); }

/* ── metodo in tre passi ── */
/* hero: il titolo nomina gli strumenti ed è più lungo di quello della pagina del corso: colonna del testo più larga e corpo
   un po' più piccolo, così titolo, testo e bottoni stanno nel primo schermo */
.bf-hero .sb-hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.bf-hero h1 { font-size: clamp(44px, 5.2vw, 84px); max-width: 17ch; }
.bf-hero h1 em { margin-top: 16px; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
.bf-hero-campaign { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 24px; }
.bf-hero-campaign strong { padding: 11px 16px; background: var(--orange); color: var(--carbon); border: 2px solid var(--carbon); box-shadow: 5px 5px 0 var(--white); rotate: -2deg; font: 800 clamp(22px, 2.2vw, 32px)/1 "Syne", sans-serif; letter-spacing: -.025em; }
.bf-hero-campaign > span { max-width: 25ch; font: 700 14px/1.4 "DM Sans", sans-serif; color: var(--white); }
.bf-hero-deal { display: grid; gap: 10px; margin-top: 26px; padding: clamp(16px, 2vw, 24px); max-width: 560px; border: 2px solid var(--carbon); background: var(--white); color: var(--carbon); box-shadow: 7px 7px 0 var(--orange); }
.bf-hero-deal-label { font: 800 13px/1.3 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.bf-hero-deal-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bf-hero-deal-price > s { font: 700 clamp(22px, 2vw, 28px)/1 "Syne", sans-serif; text-decoration-thickness: 2px; white-space: nowrap; }
.bf-hero-deal-price > b { font: 800 clamp(46px, 4.5vw, 68px)/1 "Syne", sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.bf-hero-deal p { margin: 0; font: 500 14px/1.4 "DM Sans", sans-serif; }
.bf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* strumenti e metodo: cosa impari a fare con ChatGPT e Claude (sopra) e cosa costruisci (i tre piani sotto) */
.bf-sub { margin-top: clamp(46px, 6vw, 76px); font: 700 clamp(20px, 1.8vw, 26px)/1.15 "Syne", sans-serif; letter-spacing: -.015em; }
.bf-sub + .sb-steps { margin-top: clamp(24px, 3vw, 36px); }
.bf-tools { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 2.6vw, 32px); }
.bf-tools li { display: grid; align-content: start; gap: 8px; padding: clamp(18px, 2vw, 24px); background: var(--carbon-2); border: 2px solid #ffffff30; transition: border-color .25s, box-shadow .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .bf-tools li:hover { border-color: var(--white); box-shadow: 8px 8px 0 var(--community); } }
.bf-tools b { font: 700 clamp(18px, 1.5vw, 21px)/1.15 "Syne", sans-serif; letter-spacing: -.01em; }
.bf-tools span { color: var(--soft); font-size: 16px; line-height: 1.45; }
.bf-tools small { justify-self: start; margin-top: 2px; padding: 4px 8px; border: 1px solid var(--community); color: var(--community); font: 700 12px/1.2 "DM Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; }

/* ── cosa comprende ── */
.bf-inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(46px, 6vw, 80px); align-items: stretch; }
.bf-inc-grid .plate { display: grid; align-content: start; gap: 14px; padding: clamp(26px, 3vw, 42px); rotate: var(--r, 0deg); }
.bf-inc-grid h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.04; }
.bf-inc-grid p { font-size: 17px; }
.bf-check { list-style: none; display: grid; gap: 11px; margin-top: 6px; }
.bf-check li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.4; }
.bf-check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--carbon); color: var(--community); font: 800 12px/1 "DM Sans", sans-serif; }
.bf-text-link { justify-self: start; margin-top: 4px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.bf-note { margin-top: clamp(26px, 3vw, 40px); color: var(--soft); font-size: 16px; }

/* ── per chi è: cosa serve per iniziare ── */
.bf-needs li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }

/* ── l'offerta ── */
.bf-offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; scroll-margin-top: 70px; background: radial-gradient(ellipse 60% 50% at 75% 40%, #16a34a1f, transparent 70%); }
.bf-offer-copy { display: grid; gap: 22px; position: sticky; top: 130px; }
@media (max-height: 760px) { .bf-offer-copy { position: static; } }
.bf-offer-lead { color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); }
.bf-deadline { display: grid; gap: 6px; justify-self: start; padding: 18px 22px; background: var(--carbon-2); border: 2px solid var(--white); box-shadow: 8px 8px 0 var(--orange); rotate: -1deg; }
.bf-deadline .lbl { margin: 0; color: var(--orange); }
.bf-deadline b { font: 800 clamp(26px, 2.6vw, 38px)/1.05 "Syne", sans-serif; letter-spacing: -.02em; }
.bf-deadline span:last-child { color: var(--soft); font-size: 16px; }
.bf-already { font-size: 16px; color: var(--soft); max-width: 52ch; }
.bf-already strong { color: var(--white); }
.bf-already a { color: var(--white); }

.bf-plan { position: relative; display: grid; }
.bf-plan .face { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 46px); background: var(--fo); color: var(--carbon); border: 2px solid var(--carbon); }
.bf-plan .lbl { margin: 0; font-size: 13px; }
.bf-plan .amt b { font: 800 clamp(72px, 8vw, 128px)/.9 "Syne", sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.bf-state { font-size: 17px; font-weight: 700; line-height: 1.35; }
.bf-plan .btn { align-self: flex-start; margin: 4px 0 2px; background: var(--carbon); color: var(--white); border-color: var(--carbon); box-shadow: 6px 6px 0 var(--white); }
.bf-plan .btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: 3px 3px 0 var(--white); translate: none; }
.bf-checkout-feedback { font-size: 16px; font-weight: 600; }
.bf-checkout-feedback:empty { display: none; }
.bf-feat-t { margin-top: 8px; padding-top: 18px; border-top: 2px dashed #0b0f1440; font: 800 11px/1 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.bf-feat { list-style: none; display: grid; gap: 11px; }
.bf-feat li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.35; }
.bf-feat li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--carbon); color: var(--community); font: 800 12px/1 "DM Sans", sans-serif; }
.bf-webinar-link { align-self: flex-start; margin-top: 6px; color: var(--carbon); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.bf-offer-buy { display: grid; gap: clamp(36px, 4vw, 56px); min-width: 0; }
.bf-guarantee { margin-top: 0; }

/* ── assistenza WhatsApp: fissa in basso a destra, verde WhatsApp con bordo e ombra piena come i bottoni.
   Su telefono resta l'icona e sale sopra la barra fissa «Vedi →» quando compare (barra a 10px dal fondo, alta ~66px) ── */
.bf-wa { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 56; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; background: #25d366; color: var(--carbon); border: 2px solid var(--carbon); box-shadow: 5px 5px 0 var(--white); font: 800 15px/1 "DM Sans", sans-serif; text-decoration: none; transition: translate .25s var(--ease), box-shadow .25s var(--ease), bottom .45s var(--ease); }
.bf-wa svg { flex: none; width: 26px; height: 26px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .bf-wa:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--white); } }
.bf-wa:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 1060px) {
  .bf-steps { grid-template-columns: 1fr; }
  .bf-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bf-hero .sb-hero-in { grid-template-columns: 1fr; }
  .bf-poster { margin: 10px 20px 20px 0; rotate: -1deg; }
  .bf-inc-grid, .bf-offer { grid-template-columns: 1fr; }
  .bf-inc-grid .plate { rotate: 0deg; }
  .bf-offer-copy { position: static; }
  .bf-plan { margin-right: 20px; }
  .bf-count-in { grid-template-columns: 1fr; }
  .bf-count--offer { grid-template-columns: 1fr; margin-right: 10px; }
  .bf-count--offer .bf-count-clock { grid-column: auto; grid-row: auto; }
  .bf-wa { right: 12px; bottom: 14px; padding: 12px; box-shadow: 4px 4px 0 var(--white); }
  .sb-bar.on ~ .bf-wa { bottom: 88px; }
  .bf-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 600px) {
  .bf-tools { grid-template-columns: 1fr; }
  .bf-poster-price, .bf-plan .amt b { font-size: 64px; }
  .bf-plan .btn { align-self: stretch; justify-content: center; }
  .bf-count-clock { gap: 8px; }
  .bf-count-clock .u { padding: 12px 2px 10px; box-shadow: 4px 4px 0 var(--orange); }
  .bf-count--offer .bf-count-clock .u { box-shadow: 4px 4px 0 var(--fo); }
  .bf-count-clock b, .bf-count--offer .bf-count-clock b { font-size: clamp(30px, 10vw, 56px); }
  .bf-count-clock small { font-size: 10px; letter-spacing: .04em; }
  .bf-count-cta { justify-self: stretch; justify-content: center; }
  /* pacchetto stretto: il prezzo di ogni voce in coda al testo, non in colonna */
  .bf-poster-list > span { display: block; }
  .bf-poster-list em::before { content: " · "; font-weight: 600; }
  .bf-poster-when { font-size: 14px; }
  /* VSL su telefono come nel webinar: pulsante dell'audio compatto, il video resta visibile */
  .bf-vsl .sb-vsl-frame { box-shadow: 8px 8px 0 var(--fo), 8px 8px 0 2px var(--white); }
  .bf-vsl .sb-vsl-sound { left: 8px; bottom: 8px; align-items: center; gap: 6px; padding: 7px 11px; font-size: 13px; box-shadow: 3px 3px 0 var(--white); }
  .bf-vsl .sb-vsl-sound:not([hidden]) { display: flex; } /* con l'audio attivo il pulsante sparisce anche qui */
  .bf-vsl .sb-vsl-sound small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-count-t i { animation: none; }
  .bf-wa { transition: none; }
}
