/* ===== Font ospitati in locale (niente chiamate a Google, ok GDPR) ===== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("fonts/playfair-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/playfair-italic-latin.woff2") format("woff2"); }

/* ===== Intimità Facile — palette bianco/rosso ===== */
:root {
  --red: #d7192f;
  --red-dark: #9e0f20;
  --red-deep: #5c0812;
  --red-soft: #fff1f2;
  --red-line: #f7cdd2;
  --ink: #17141a;
  --ink-2: #4a4550;
  --muted: #7a7480;
  --white: #ffffff;
  --gold: #f5a623;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(158, 15, 32, 0.35);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.red { color: var(--red); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; margin-bottom: 14px; }
h3 { font-size: 1.45rem; }
h1 em { font-style: italic; color: var(--ink-2); }

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--red); margin-bottom: 12px; }
.eyebrow.light { color: #ffd2d7; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 680px; margin: 0 auto 10px; }
.section { padding: 96px 0; }

/* ===== Buttons ===== */
.btn { display: inline-block; background: var(--red); color: var(--white); text-decoration: none; font-weight: 700; padding: 15px 28px; border-radius: 999px; transition: transform .15s, box-shadow .15s, background .15s; box-shadow: 0 10px 24px -10px rgba(215, 25, 47, .7); border: none; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 16px 30px -12px rgba(215, 25, 47, .8); }
.btn--small { padding: 10px 20px; font-size: .9rem; }
.btn--big { padding: 19px 34px; font-size: 1.1rem; }
.btn--white { background: var(--white); color: var(--red); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn--white:hover { background: var(--red-soft); color: var(--red-dark); }
.btn--amazon { background: linear-gradient(180deg, #e3213a, #b8122a); font-size: 1.05rem; padding: 17px 30px; }

/* ===== Top bar + Nav ===== */
.topbar { background: var(--red); color: var(--white); text-align: center; font-size: .86rem; padding: 9px 16px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--red-line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { font-family: var(--serif); font-weight: 900; font-size: 1.5rem; text-decoration: none; color: var(--ink); }
.logo span { color: var(--red); font-style: italic; }
.logo--light { color: var(--white); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav__links a:hover { color: var(--red); }

/* ===== Hero ===== */
.hero { position: relative; padding: 70px 0 90px; background: radial-gradient(circle at 85% 20%, #ffe0e4 0, transparent 45%), radial-gradient(circle at 0% 100%, #fff1f2 0, transparent 50%); }
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.hero__pains { list-style: none; margin: 26px 0 22px; display: grid; gap: 10px; }
.hero__pains li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 1.05rem; background: var(--white); border: 1px solid var(--red-line); padding: 12px 16px; border-radius: 12px; box-shadow: 0 6px 18px -14px rgba(158,15,32,.5); }
.x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-size: .75rem; }
.hero__sub { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.link-anon { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.hero__proof small { color: var(--muted); }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--white); margin-left: -10px; display: grid; place-items: center; font-weight: 700; color: var(--white); background: var(--red); font-size: .85rem; }
.avatars span:first-child { margin-left: 0; background: #a3122a; }
.avatars span:nth-child(2) { background: #c4162d; }
.avatars span:nth-child(4) { background: #e85466; }
.avatars span:last-child { background: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.stars strong, .stars span { color: var(--ink); letter-spacing: 0; font-size: .95rem; margin-left: 6px; }
.stars span { color: var(--muted); font-weight: 500; }

/* ===== Book covers (CSS) — sostituire con immagini reali ===== */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.book-stack { position: relative; width: 100%; height: 420px; }
.cover { position: absolute; width: 210px; height: 315px; border-radius: 4px 10px 10px 4px; padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); box-shadow: var(--shadow), inset 6px 0 0 rgba(0,0,0,.18), inset 8px 0 0 rgba(255,255,255,.08); overflow: hidden; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 40%); pointer-events: none; }
.cover--1 { background: linear-gradient(160deg, #e01d35, #7d0b19); }
.cover--2 { background: linear-gradient(160deg, #1d1a21, #3b0b13 70%, #9e0f20); }
.cover--3 { background: linear-gradient(160deg, #f8e3e6, #ffffff); color: var(--red-dark); border: 1px solid var(--red-line); }
.cover__brand { font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; opacity: .85; font-weight: 700; }
.cover__title { font-family: var(--serif); font-size: 2.1rem; font-weight: 900; line-height: 1.02; }
.cover__sub { font-size: .78rem; font-weight: 600; border-top: 1px solid currentColor; padding-top: 10px; opacity: .9; }
.book-stack .cover { left: 50%; top: 50%; }
.tilt-l { transform: translate(-115%, -48%) rotate(-9deg); }
.front { transform: translate(-50%, -54%); z-index: 2; }
.tilt-r { transform: translate(15%, -48%) rotate(9deg); }
.badge-float { position: absolute; bottom: 6px; right: 6%; background: var(--white); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.25); animation: bob 3s ease-in-out infinite; z-index: 3; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ===== Trust strip ===== */
.trust { background: var(--ink); color: var(--white); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__inner > div { padding: 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.trust__inner > div:last-child { border-right: none; }
.trust span { color: #bdb6c2; font-size: .86rem; }

/* ===== Agitation ===== */
.agitation { background: var(--white); }
.story { font-size: 1.15rem; color: var(--ink-2); margin: 30px auto 60px; display: grid; gap: 16px; }
.story blockquote { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--red); border-left: 4px solid var(--red); padding: 4px 0 4px 20px; margin: 6px 0; }
.story__hit { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); font-weight: 700; line-height: 1.3; margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--red-soft); border: 1px solid var(--red-line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: 3.4rem; font-weight: 900; color: var(--red); line-height: 1; display: inline-block; }
.stat__num small { font-size: 1.2rem; margin: 0 6px; color: var(--red-dark); }
.stat__unit { display: inline-block; font-family: var(--serif); font-weight: 900; font-size: 1.4rem; color: var(--red); margin-left: 4px; }
.stat p { margin-top: 12px; color: var(--ink-2); font-size: .97rem; }
.sources { margin-top: 18px; font-size: .78rem; color: var(--muted); text-align: center; }

/* ===== Problems ===== */
.problems { background: linear-gradient(180deg, var(--red-soft), var(--white)); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.problem-card { background: var(--white); border-radius: var(--radius); padding: 34px 28px; text-decoration: none; border: 2px solid transparent; box-shadow: 0 20px 50px -30px rgba(158,15,32,.5); transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.problem-card:hover { transform: translateY(-6px); border-color: var(--red); }
.problem-card__icon { font-size: 2.4rem; margin-bottom: 14px; }
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { color: var(--ink-2); flex: 1; }
.problem-card__cta { margin-top: 20px; font-weight: 700; color: var(--red); }

/* ===== Why ===== */
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why .lead { margin: 0; }
.compare { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare li { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.compare .bad { background: #f5f3f6; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(215,25,47,.5); }
.compare .good { background: var(--red); color: var(--white); }

/* ===== Books ===== */
.books { background: var(--white); }
.book { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; margin-top: 70px; padding: 50px; border-radius: 28px; background: var(--red-soft); border: 1px solid var(--red-line); }
.book--reverse .book__cover { order: 2; }
.book__cover { position: relative; display: grid; place-items: center; }
.cover.big { position: relative; width: 250px; height: 375px; transform: rotate(-3deg); transition: transform .3s; }
.book:hover .cover.big { transform: rotate(0) scale(1.03); }
.cover.big .cover__title { font-size: 2.6rem; }
.tag { position: absolute; top: -10px; right: 12%; background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; z-index: 2; }
.book__pain { display: inline-block; background: var(--white); color: var(--red); font-weight: 700; font-size: .86rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--red-line); margin-bottom: 14px; }
.book h3 { font-size: 2.3rem; }
.book__subtitle { color: var(--ink-2); font-size: 1.08rem; margin: 10px 0 12px; }
.checks { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: var(--white); font-size: .75rem; display: grid; place-items: center; font-weight: 800; }
.book__buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.formats { font-size: .88rem; color: var(--muted); font-weight: 600; }
.price { display: flex; flex-direction: column; line-height: 1.2; order: -1; }
.price__amount { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--red); }
.price-anchor { max-width: 560px; margin: 26px auto 0; text-align: center; background: var(--red-soft); border: 1px dashed var(--red); border-radius: 14px; padding: 16px 20px; font-size: 1.05rem; color: var(--ink-2); }
.price-anchor strong { color: var(--red); }
.micro { font-size: .85rem; color: var(--ink-2); margin-top: 12px; }
.cover.cover--img { padding: 0; background: none; border: none; }
.cover.cover--img::after { background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 35%); }
.cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.book__meta { font-size: .85rem; font-weight: 600; color: var(--red-dark); margin: -4px 0 12px; }
.btn--soon { background: var(--muted); box-shadow: none; cursor: default; }
.btn--soon:hover { background: var(--muted); transform: none; box-shadow: none; }
.book--soon .price, .book--soon .micro, .book--soon .paper, .book--soon .stars { display: none; }
.paper {font-size: .85rem; color: var(--ink-2); margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--red-line); }
.paper em { color: var(--muted); }

.bundle { margin-top: 70px; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: var(--white); border-radius: 28px; padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.bundle h3 { font-size: 2rem; margin-bottom: 10px; }
.bundle p { max-width: 640px; color: #ffe3e6; }
.bundle strong { color: var(--white); }

/* ===== Reviews ===== */
.reviews { background: var(--ink); color: var(--white); }
.reviews .eyebrow { color: #ff8796; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 20px 0 30px; }
.rating-summary__big { font-family: var(--serif); font-size: 4rem; font-weight: 900; line-height: 1; }
.rating-summary p { color: #bdb6c2; font-size: .92rem; }
.stars.big { font-size: 1.5rem; }
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.25); padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: .15s; }
.filter:hover { border-color: var(--red); }
.filter.active { background: var(--red); border-color: var(--red); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #221e26; border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 26px; transition: opacity .25s, transform .25s; }
.review.hide { display: none; }
.review h4 { font-family: var(--serif); font-size: 1.2rem; margin: 10px 0 8px; }
.review p { color: #cfc8d4; font-size: .96rem; }
.review__who { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .88rem; font-weight: 600; }
.review__who em { color: #ff8796; font-style: normal; font-weight: 500; font-size: .82rem; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 700; }

/* ===== Anonymous purchase ===== */
.anon { background: var(--white); }
.anon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.anon-card { position: relative; border: 1px solid var(--red-line); border-radius: var(--radius); padding: 36px 26px 26px; background: var(--white); }
.anon-card.highlight { border: 2px solid var(--red); box-shadow: var(--shadow); }
.anon-card__num { position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.anon-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.anon-card ol { padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.tip { margin-top: 16px; background: var(--red-soft); padding: 12px 14px; border-radius: 10px; font-size: .88rem; color: var(--ink-2); }
.privacy-list { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.privacy-list div { background: var(--ink); color: var(--white); padding: 16px; border-radius: 12px; font-weight: 600; font-size: .9rem; text-align: center; }

/* ===== Authority ===== */
.authority { background: var(--red-soft); }
.big-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--red); margin: 10px 0 24px; line-height: 1.3; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pillars div { background: var(--white); padding: 22px; border-radius: 14px; display: flex; flex-direction: column; border: 1px solid var(--red-line); }
.pillars strong { font-family: var(--serif); font-size: 1.3rem; color: var(--red); }
.pillars span { color: var(--ink-2); font-size: .92rem; }

/* ===== FAQ ===== */
.accordion { margin-top: 36px; display: grid; gap: 12px; }
details { border: 1px solid var(--red-line); border-radius: 14px; padding: 0 22px; background: var(--white); transition: background .2s; }
details[open] { background: var(--red-soft); }
summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding-bottom: 20px; color: var(--ink-2); }
details a { color: var(--red); font-weight: 600; }

/* ===== Final CTA ===== */
.final { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); color: var(--white); padding: 100px 0; }
.final h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.final h2 span { font-style: italic; color: #ffc2c9; }
.final p { color: #ffe3e6; font-size: 1.12rem; max-width: 640px; margin: 16px auto 32px; }
.final .final__micro { font-size: .9rem; margin-top: 22px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #9d96a3; padding: 50px 0 100px; font-size: .85rem; }
.footer p { margin-top: 14px; max-width: 760px; }
.footer .copy a { color: #9d96a3; }

/* ===== Sticky CTA (mobile) ===== */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--red-line); display: none; z-index: 60; transform: translateY(100%); transition: transform .3s; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; text-align: center; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .badge-float { animation: none; } html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero__inner, .why__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 380px; }
  .book, .book--reverse { grid-template-columns: 1fr; padding: 36px 24px; gap: 36px; }
  .book--reverse .book__cover { order: 0; }
  .review-grid, .anon-grid { grid-template-columns: 1fr 1fr; }
  .privacy-list { grid-template-columns: 1fr 1fr; }
  .bundle { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
}
@media (max-width: 680px) {
  .section { padding: 70px 0; }
  .container { padding: 0 16px; }
  .nav .btn--small { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero__text { display: flex; flex-direction: column; }
  .hero h1 { font-size: 1.95rem; }
  .hero__pains { margin: 18px 0; gap: 8px; }
  .hero__pains li { font-size: .93rem; padding: 9px 12px; line-height: 1.35; }
  .x { width: 22px; height: 22px; font-size: .65rem; }
  .hero__ctas { order: 1; margin-bottom: 26px; }
  .hero__sub { order: 2; }
  .hero__proof { order: 3; margin-top: 4px; }
  .cover { width: 150px; height: 225px; padding: 16px 13px; }
  .cover__title { font-size: 1.5rem; }
  .book-stack { height: 320px; }
  .hero__visual { min-height: 330px; }
  .tilt-l { transform: translate(-108%, -48%) rotate(-9deg); }
  .tilt-r { transform: translate(8%, -48%) rotate(9deg); }
  .cover.big { width: 210px; height: 315px; }
  .cover.big .cover__title { font-size: 2.1rem; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__inner > div:nth-child(2) { border-right: none; }
  .stats, .problem-grid, .review-grid, .anon-grid, .pillars, .compare { grid-template-columns: 1fr; }
  .privacy-list { grid-template-columns: 1fr; }
  .story blockquote { font-size: 1.6rem; }
  .book h3 { font-size: 1.9rem; }
  .btn--big { width: 100%; text-align: center; }
  .sticky-cta { display: block; }
}
@media (max-width: 380px) {
  .hero { overflow-x: clip; }
  .book-stack .cover { width: 128px; height: 192px; }
  .book-stack .cover__title { font-size: 1.3rem; }
}
