/* Challenge Pancia Piatta entro Natale — stessa palette e font della landing (DM Serif Display + Inter). Mobile first, nessun JavaScript. */
:root { --ink: #2B3A47; --ink-soft: #4A5763; --cream: #E5DFD9; --bg: #F5F1EC; --rose: #D8C5C7; --rose-deep: #A65B66; --blue: #CAD9E3; --white: #FFFFFF; --serif: 'DM Serif Display', Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.1; }
h2 { font-size: clamp(28px, 7vw, 38px); text-align: center; }
section { padding: 56px 0; }

/* pulsanti */
.btn { display: block; width: 100%; text-align: center; background: var(--ink); color: var(--white); text-decoration: none; padding: 18px 24px; border-radius: 999px; font-weight: 700; font-size: 18px; min-height: 56px; box-shadow: 0 6px 18px rgba(43, 58, 71, .22); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { color: var(--white); background: #1d2933; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.nota { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.nota b { color: var(--ink); }

/* 1. inizio */
.hero { background: var(--cream); padding: 40px 0 52px; }
.tag { display: inline-block; background: var(--ink); color: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 11vw, 64px); margin-bottom: 18px; }
.hero .sotto { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; }
.hero .sotto strong { color: var(--ink); }

/* 2. come funziona */
.punti { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.punti li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 20px; padding: 18px; box-shadow: 0 2px 10px rgba(43, 58, 71, .06); }
.ico { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--rose); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.punti p { margin: 0; font-size: 17px; }

/* 3. programma */
.programma { background: var(--blue); }
.giorni { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.giorno { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: 18px; padding: 14px 16px; border: 2px solid transparent; }
.num { flex: 0 0 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; background: var(--bg); color: var(--ink); }
.giorno h3 { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.25; }
.giorno small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-soft); }
.giorno.fatto { opacity: .82; }
.giorno.fatto .num { background: var(--ink); color: var(--white); }
.giorno.nuovo { border-color: var(--rose-deep); box-shadow: 0 6px 18px rgba(166, 91, 102, .22); }
.giorno.nuovo .num { background: var(--rose-deep); color: var(--white); }
.chip { display: inline-block; margin-top: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.fatto .chip { background: var(--bg); color: var(--ink-soft); }
.nuovo .chip { background: var(--rose); color: var(--ink); }

/* 4. chi ti guida */
.guida { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.guida img { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 10px 30px rgba(43, 58, 71, .2); }
.guida p { margin: 0; font-size: 18px; max-width: 520px; }

/* 5. pulsante finale */
.finale { background: var(--rose); text-align: center; }
.finale h2 { margin-bottom: 24px; }

/* 6. FAQ */
details { background: var(--white); border-radius: 16px; padding: 4px 18px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--rose-deep); flex-shrink: 0; }
details[open] summary::after { content: '–'; }
details p { margin: 0 0 16px; color: var(--ink-soft); }

/* 7. footer */
footer { padding: 36px 0 44px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 14px; }
.logo span:first-child { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.logo span:last-child { font-weight: 700; letter-spacing: .08em; font-size: 14px; color: var(--ink); }
footer p { margin: 8px auto 0; max-width: 560px; }

@media (min-width: 720px) {
  section { padding: 80px 0; }
  .hero { padding: 72px 0 80px; }
  .btn { width: auto; display: inline-block; min-width: 340px; padding: 20px 40px; }
  .nota { text-align: left; }
  .finale .nota { text-align: center; }
  .guida { flex-direction: row; text-align: left; gap: 40px; }
}
