/* KALMODOG — stile condiviso delle pagine del funnel (sales page e advertorial). Caratteri serviti dal sito, niente Google Fonts. */
@font-face { font-family: Fraunces; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }

:root { --p: #1B4B4A; --p2: #2E6B69; --a: #FF6B4A; --a2: #E4522F; --bg: #F6F3EE; --dark: #12302F; --t: #1A1F1E; --m: #5E6866; --line: #E2DDD3; --card: #fff; --hf: Fraunces, Georgia, serif; --bf: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--t); font: 400 18px/1.7 var(--bf); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }
.wide { max-width: 980px; margin: 0 auto; padding: 0 22px; }
#bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--a); z-index: 50; }

/* testata */
.top { background: var(--dark); color: var(--bg); text-align: center; padding: 14px 22px; font: 700 15px var(--hf); letter-spacing: .34em; }
.hero { background: var(--dark); color: var(--bg); padding: 26px 0 64px; text-align: center; }
.pre { font: 600 14px/1.5 var(--bf); letter-spacing: .04em; color: #F3B9A9; max-width: 600px; margin: 0 auto 18px; text-align: left; }
.hero h1 { font: 700 clamp(29px, 5.3vw, 47px)/1.13 var(--hf); letter-spacing: -.015em; margin: 0 auto 22px; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--a); }
.hero .sub { font: 400 clamp(17px, 2.3vw, 20px)/1.6 var(--bf); color: rgba(246, 243, 238, .86); max-width: 680px; margin: 0 auto 30px; }
.hero figure { margin: 34px auto 0; max-width: 780px; }
.hero figure img { border-radius: 14px; }
.hero figcaption { font-size: 13px; color: rgba(246, 243, 238, .62); margin-top: 10px; }

/* testo lungo */
section { padding: 56px 0; }
section.alt { background: #EFEAE1; }
section.dark { background: var(--dark); color: var(--bg); }
section.dark h2 { color: var(--bg); }
section.dark a { color: #F3B9A9; }
h2 { font: 700 clamp(25px, 4vw, 34px)/1.2 var(--hf); letter-spacing: -.01em; color: var(--p); margin: 0 0 22px; }
h3 { font: 650 21px/1.3 var(--hf); color: var(--p); margin: 34px 0 10px; }
p { margin: 0 0 18px; }
.lead p:first-of-type { font-size: 20px; }
strong { font-weight: 650; }
.photo { margin: 30px 0; }
.photo img { border-radius: 12px; width: 100%; }
.photo.narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.photo figcaption, .cap { font-size: 14px; line-height: 1.5; color: var(--m); margin-top: 9px; text-align: center; }
section.dark .photo figcaption { color: rgba(246, 243, 238, .62); }
.tried { list-style: none; padding: 0; margin: 0 0 22px; border-left: 3px solid var(--a); }
.tried li { padding: 7px 0 7px 18px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--a); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 26px 0; }
.note p:last-child { margin-bottom: 0; }
section.dark .note { background: rgba(246, 243, 238, .06); border-color: rgba(246, 243, 238, .16); border-left-color: var(--a); }
.studies { font-size: 16px; }
.studies li { margin-bottom: 10px; }
.sign { font: 600 26px var(--hf); color: var(--p); margin: 26px 0 4px; }

/* pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 16px 30px; border: 0; border-radius: 12px; background: var(--a2); color: #fff; font: 700 19px/1.25 var(--bf); text-decoration: none; text-align: center; cursor: pointer; box-shadow: 0 10px 26px rgba(228, 82, 47, .32); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(228, 82, 47, .42); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #F3B9A9; outline-offset: 3px; }
.cta { text-align: center; margin: 34px 0 6px; }
.cta small { display: block; margin-top: 12px; font-size: 14px; color: var(--m); }
section.dark .cta small { color: rgba(246, 243, 238, .66); }

/* contenuto del prodotto */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.parts { list-style: none; padding: 0; margin: 26px 0; counter-reset: p; }
.parts li { counter-increment: p; position: relative; padding: 18px 20px 18px 66px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.parts li::before { content: counter(p); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--p); color: var(--bg); font: 700 15px/32px var(--bf); text-align: center; }
.parts b { display: block; font: 650 19px/1.3 var(--hf); color: var(--p); margin-bottom: 3px; }
.bullets { list-style: none; padding: 0; margin: 22px 0; }
.bullets li { position: relative; padding: 0 0 14px 34px; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--a); }
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 8px; }
.pages img { border-radius: 8px; box-shadow: 0 8px 24px rgba(18, 48, 47, .16); border: 1px solid var(--line); }
.phone { max-width: 300px; margin: 0 auto; border: 9px solid #1d2221; border-radius: 34px; overflow: hidden; box-shadow: 0 18px 44px rgba(18, 48, 47, .28); background: var(--bg); }

/* offerta */
.offer { background: var(--card); border: 2px solid var(--p); border-radius: 18px; padding: 34px 30px; margin: 10px 0 0; }
.offer h2 { text-align: center; }
.stack { list-style: none; padding: 0; margin: 0 0 24px; }
.stack li { position: relative; padding: 13px 0 13px 38px; border-bottom: 1px solid var(--line); }
.stack li svg { position: absolute; left: 2px; top: 16px; width: 22px; height: 22px; }
.price { text-align: center; margin: 22px 0 6px; }
.price b { font: 700 62px/1 var(--hf); color: var(--p); }
.price span { display: block; font-size: 15px; color: var(--m); margin-top: 8px; }
form.order { margin-top: 22px; }
form.order label.f { display: block; font: 600 15px var(--bf); margin-bottom: 14px; }
form.order input[type=email] { display: block; width: 100%; margin-top: 7px; padding: 15px 16px; font: 400 18px var(--bf); border: 1.5px solid #cfc8bb; border-radius: 11px; background: #fff; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.check input { width: 21px; height: 21px; margin-top: 2px; accent-color: var(--p); flex: 0 0 auto; }
form.order .btn { width: 100%; }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--m); margin: 14px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 0; }
.badges span { font: 600 12px var(--bf); letter-spacing: .04em; color: var(--m); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; background: #fff; }
.guarantee { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-top: 28px; }
.guarantee svg { width: 84px; height: 84px; }
.guarantee h3 { margin-top: 0; }
.guarantee p:last-child { margin-bottom: 0; }

/* commenti di chi lo segue */
.tcards { display: grid; gap: 14px; max-width: 600px; margin: 26px auto 14px; }
.tcards img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(18, 48, 47, .10); background: #fff; }
section.dark .cap { color: rgba(246, 243, 238, .62); }

/* domande */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font: 650 18px/1.4 var(--hf); color: var(--p); padding: 17px 24px 17px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 13px; font: 400 26px var(--bf); color: var(--a2); }
details[open] summary::after { content: "\2212"; }
details p { font-size: 17px; }

/* advertorial */
.adv-label { font: 600 12px var(--bf); letter-spacing: .14em; text-transform: uppercase; color: var(--m); text-align: center; padding: 10px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.adv h1 { font: 700 clamp(29px, 5.2vw, 43px)/1.15 var(--hf); letter-spacing: -.015em; color: var(--t); margin: 34px 0 16px; }
.adv .deck { font-size: 20px; line-height: 1.55; color: var(--m); margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 13px; font-size: 15px; line-height: 1.4; color: var(--m); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.byline img { width: 50px; height: 50px; border-radius: 50%; }
.byline b { color: var(--t); display: block; }
.adv h2 { margin-top: 44px; }
.box { background: var(--dark); color: var(--bg); border-radius: 18px; padding: 34px 30px; margin: 44px 0 10px; text-align: center; }
.box h2 { color: var(--bg); margin-top: 0; }
.box img { max-width: 100%; margin: 0 auto 18px; border-radius: 12px; }
.box p { color: rgba(246, 243, 238, .86); }
.box .cta small { color: rgba(246, 243, 238, .66); }

/* piè di pagina */
footer { background: var(--dark); color: rgba(246, 243, 238, .62); font-size: 13.5px; line-height: 1.65; padding: 38px 0 46px; }
footer p { margin-bottom: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 14px; font-size: 14.5px; }
footer a, footer button { color: rgba(246, 243, 238, .86); }
footer button { all: unset; cursor: pointer; text-decoration: underline; color: rgba(246, 243, 238, .86); }

/* barra fissa e finestra di uscita: solo da computer */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(18, 48, 47, .97); color: var(--bg); padding: 12px 22px; display: none; align-items: center; justify-content: center; gap: 22px; font-size: 16px; }
.sticky .btn { min-height: 46px; padding: 10px 22px; font-size: 16px; box-shadow: none; }
.sticky.on { display: flex; }
.pop { position: fixed; inset: 0; z-index: 60; background: rgba(18, 31, 30, .72); display: none; align-items: center; justify-content: center; padding: 20px; }
.pop.on { display: flex; }
.pop .in { background: var(--bg); border-radius: 18px; max-width: 560px; width: 100%; max-height: 92vh; overflow: auto; padding: 30px 30px 24px; position: relative; }
.pop .eyebrow { font: 700 12px var(--bf); letter-spacing: .16em; text-transform: uppercase; color: var(--a2); }
.pop h2 { font-size: 26px; margin: 8px 0 14px; }
.pop .stack li { padding-top: 9px; padding-bottom: 9px; font-size: 16px; }
.pop .stack li svg { top: 11px; }
.pop .btn { width: 100%; }
.pop .g { display: flex; gap: 12px; align-items: center; font-size: 14.5px; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; }
.pop .g svg { width: 40px; height: 40px; flex: 0 0 auto; }
.pop .no { display: block; margin: 14px auto 0; background: none; border: 0; font: 400 14.5px var(--bf); color: var(--m); text-decoration: underline; cursor: pointer; }
.pop .x { position: absolute; right: 12px; top: 8px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--m); cursor: pointer; }

/* comparsa allo scorrimento: attiva solo con JavaScript, così senza script la pagina resta leggibile */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

@media (max-width: 720px) {
  body { font-size: 17px; }
  section { padding: 44px 0; }
  .grid2 { grid-template-columns: 1fr; gap: 24px; }
  .pages { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .offer { padding: 26px 18px; }
  .guarantee { grid-template-columns: 1fr; }
  .guarantee svg { width: 64px; height: 64px; }
  .btn { width: 100%; font-size: 18px; }
  .price b { font-size: 54px; }
}
/* su telefono niente barra fissa e niente finestra di uscita */
@media (max-width: 560px) { .sticky, .sticky.on, .pop, .pop.on { display: none !important; } }
