/* Felistay · sito vetrina (felistay.com). Stessi colori e caratteri dell'app: fondo caldo, inchiostro, terracotta solo come marchio.
   Nessun cookie, nessun carattere da server esterni.

   SISTEMA (pochi pezzi, riusati ovunque):
   - .section            ogni fascia della pagina: stesso spazio sopra e sotto (--section). Le fasce si alternano: fondo / .band / .dark.
   - .section-head       intestazione di sezione: .kicker + h2 + testo. .center per le sezioni a griglia, a sinistra in quelle a due colonne.
   - .card               riquadro bianco (problema, per chi, passi, contatto, privacy). Su fondo scuro: .card.on-dark.
   - .badge              numero in quadratino inchiostro (passi, ruoli).
   - .ticks              elenco con spunta verde (funzioni, prova, apertura).
   - .btn                pulsanti; .segmented come il selettore a segmenti dell'app. */

@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #f6f5f1; --surface: #fff; --surface-2: #faf9f6; --text: #1b1c1a; --text-2: #5f5b54; --line: #e8e5df;
  --card-border: rgba(27, 28, 26, .07); --fill: rgba(120, 113, 100, .10);
  --ink: #0e1220; --ink-2: #1b1f2b; --brand: #b23a12; --brand-light: #e8673a; --ok: #1e7b34;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --r: 20px; --r-sm: 14px;
  --shadow-card: 0 1px 2px rgba(23, 20, 15, .04), 0 12px 32px -12px rgba(23, 20, 15, .10);
  --shadow-shot: 0 1px 2px rgba(23, 20, 15, .05), 0 24px 48px -16px rgba(23, 20, 15, .18);
  --shadow-seg: 0 1px 3px rgba(0, 0, 0, .10), 0 0 0 .5px rgba(0, 0, 0, .04);
  --gutter: 16px; --max: 1180px;
  --section: clamp(64px, 3vw + 52px, 104px);    /* spazio sopra e sotto ogni sezione */
  --head-gap: clamp(32px, 1.5vw + 26px, 48px);   /* tra intestazione e contenuto */
  --col-gap: 64px;
}
@media (min-width: 480px) { :root { --gutter: 20px; } }
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-light) 60%, transparent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Sezioni e intestazioni ---------- */
.section { padding-block: var(--section); }
.band { background: var(--surface-2); border-block: 1px solid var(--line); }
.dark { color: #fff; background: radial-gradient(60% 80% at 100% 0%, rgba(232, 103, 58, .22), transparent 60%), var(--ink); }
.section-head { max-width: 640px; margin-bottom: var(--head-gap); }
.section-head.center { margin-inline: auto; max-width: 720px; }
.section-head h2 { margin-bottom: 0; }
.section-head p:not(.kicker) { margin: 16px 0 0; color: var(--text-2); font-size: 1.0625rem; }
.section-head.center p:not(.kicker) { max-width: 36rem; margin-inline: auto; }
.dark .section-head p:not(.kicker) { color: rgba(255, 255, 255, .75); }
.kicker { margin: 0 0 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.dark .kicker { color: #ff9a75; }
.takeaway { margin: 0; font: 700 1.2rem/1.4 var(--display); letter-spacing: -.01em; color: var(--text); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--r-sm);
  background: var(--ink-2); color: #fff; font: 700 1rem var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 18, 26, .2), 0 8px 20px -6px rgba(15, 18, 26, .35); transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(15, 18, 26, .2), 0 14px 28px -8px rgba(15, 18, 26, .4); }
.btn-light { background: #fff; color: var(--ink-2); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-small { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: .9375rem; box-shadow: 0 1px 2px rgba(15, 18, 26, .2); }
.btn-small:hover { box-shadow: 0 1px 2px rgba(15, 18, 26, .2), 0 6px 14px -6px rgba(15, 18, 26, .35); }
.btn-block { width: 100%; }

/* ---------- Riquadri, numeri, spunte ---------- */
.card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-card); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 1rem; }
.card.on-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.card.on-dark h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card.on-dark p { color: rgba(255, 255, 255, .72); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 640px) {
  .card { padding: 22px; }
  /* sul telefono tutte le intestazioni a sinistra, come il testo che segue */
  .section-head.center, .takeaway.center { text-align: left; }
  .section-head.center p:not(.kicker) { margin-inline: 0; }
}

.badge { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px;
  background: var(--ink-2); color: #fff; font: 800 .9375rem/1 var(--display); }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before, .hero-facts li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(30, 123, 52, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e7b34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- Barra in alto ---------- */
.top { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.top.scrolled { background: rgba(246, 245, 241, .86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.25rem var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo img { border-radius: 9px; }
.top-nav { display: none; gap: 28px; margin-left: 24px; }
.top-nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--text-2); }
.top-nav a:hover { color: var(--text); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link-login { font-weight: 600; font-size: .9375rem; text-decoration: none; }
.link-login:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 960px) { .top-nav { display: flex; } }
/* sopra il blocco scuro dell'apertura la barra è chiara su scuro */
.top:not(.scrolled, .page-top) { color: #fff; }
.top:not(.scrolled, .page-top) .top-nav a { color: rgba(255, 255, 255, .72); }
.top:not(.scrolled, .page-top) .top-nav a:hover { color: #fff; }
.top:not(.scrolled, .page-top) .btn-small { background: #fff; color: var(--ink-2); }
.top:not(.scrolled, .page-top) .logo img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }

/* ---------- Apertura ---------- */
.hero {
  position: relative; margin-top: -68px; padding: 124px 0 0; color: #fff; overflow: hidden;
  background: radial-gradient(70% 60% at 85% 10%, rgba(232, 103, 58, .32), transparent 60%),
              radial-gradient(60% 50% at 0% 100%, rgba(91, 141, 239, .14), transparent 60%), var(--ink);
}
.hero-inner { display: grid; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-light); box-shadow: 0 0 0 4px rgba(232, 103, 58, .25); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; max-width: 15ch; }
.lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 38rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; color: rgba(255, 255, 255, .75); }
.hero-facts li { position: relative; padding-left: 26px; }
.hero-facts li::before { top: .2em; background-color: rgba(123, 227, 160, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237be3a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.hero-shot { position: relative; margin: 8px 0 0; }
.browser { margin: 0; border-radius: var(--r-sm) var(--r-sm) 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 60px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #ecebe7; border-bottom: 1px solid #ddd9d1; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6d2ca; }
.browser-bar span { margin: 0 auto; font-size: 12.5px; color: #77736b; background: #fff; padding: 3px 16px; border-radius: 8px; }
.phone { margin: 0; width: 34%; max-width: 230px; border-radius: 30px; overflow: hidden; background: #000; padding: 7px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); }
.phone img { border-radius: 24px; }
.hero .phone { position: absolute; right: -6px; bottom: -40px; transform: rotate(2deg); }
@media (min-width: 1000px) {
  .hero { padding-top: 148px; }
  .hero-text { max-width: 760px; }
  .hero .phone { right: 2%; bottom: -60px; width: 22%; }
}
/* sul telefono la schermata del computer sarebbe illeggibile: si vede il telefono, tagliato dal bordo */
@media (max-width: 640px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-inner { gap: 40px; }
  .hero-shot { height: 340px; overflow: hidden; }
  .hero .browser { display: none; }
  .hero .phone { position: static; width: 250px; max-width: none; margin: 0 auto; transform: none; }
}

/* ---------- Il problema ---------- */
.pain-n { display: block; font: 800 2rem/1 var(--display); letter-spacing: -.03em; color: var(--brand); margin-bottom: 12px; }
.pains .takeaway { margin-top: 32px; }

/* ---------- Due colonne: testo + immagine (ruoli, funzioni, prova) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--col-gap); }
  .split.flip { grid-template-columns: 7fr 5fr; }
  .split.flip > :first-child { order: 2; }
  .split.even { grid-template-columns: 1fr 1fr; }
}
.split-text > p:not(.kicker) { color: var(--text-2); font-size: 1.0625rem; }
.split-text .section-head { margin-bottom: 0; }
.shot { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow-shot); border: 1px solid var(--card-border); }

/* ---------- Una prenotazione, quattro persone: quattro schede affiancate (sul telefono scorrono di lato) ---------- */
.role-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.role-card { display: flex; flex-direction: column; padding: 20px 20px 24px; }
.role-shot { margin: 0 0 22px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; border: 1px solid var(--card-border); background: var(--bg); }
.role-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.role-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 20px; }
.role-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: rgba(232, 103, 58, .12); color: var(--brand); }
.role-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.role-card h3 { margin: 0; font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; }
.role-card .role-sub { margin: 2px 0 0; color: var(--text-2); font-size: .9375rem; }
.role-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.role-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.role-steps .badge { width: 24px; height: 24px; border-radius: 7px; font-size: .75rem; margin-top: 1px; }
.role-card .role-gain { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); font: 700 1rem/1.4 var(--display); color: var(--text); letter-spacing: -.01em; }
.role-card .role-steps { margin-bottom: 22px; }
.role-card:first-child .role-shot img { object-position: 50% 42%; }  /* gestore: la griglia del calendario, non il titolo */
@media (max-width: 1099px) { .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .role-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; }
  .role-grid::-webkit-scrollbar { display: none; }
  .role-card { flex: 0 0 82%; scroll-snap-align: center; }
}

/* ---------- Come si comincia ---------- */
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list .badge { margin-bottom: 16px; }
@media (max-width: 640px) {
  .step-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .step-list .badge { grid-row: span 2; margin: 0; }
}

/* ---------- Prova ---------- */
.contact-card { display: grid; gap: 16px; }
.contact-card h3 { font-size: 1.4rem; margin: 0; }
.contact-card .note { font-size: .9375rem; }

/* ---------- Domande ---------- */
.faq details { background: var(--surface); border-radius: var(--r-sm); margin-bottom: 10px; border: 1px solid var(--card-border); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 700 1.05rem/1.35 var(--display); letter-spacing: -.01em; position: relative; border-radius: var(--r-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font); color: var(--text-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* ---------- Piè di pagina ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot p { margin: 0; color: var(--text-2); font-size: .9375rem; }
.foot nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--text-2); text-decoration: none; font-size: .9375rem; }
.foot nav a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 640px) { .foot nav { margin-left: 0; } }

/* ---------- Pagine di testo (privacy, grazie, 404) ---------- */
body:has(> .page) { min-height: 100vh; display: flex; flex-direction: column; }   /* pagine corte: piè di pagina in fondo */
.page { flex: 1; padding-block: var(--section); }
.page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; }
.page .card h2 { font-size: 1.35rem; margin: 1.6em 0 .4em; }
.page .card h2:first-child { margin-top: 0; }
.page .card p + p { margin-top: 1em; }
.page > .wrap > p { color: var(--text-2); }
.page .card { margin-top: 32px; }
.page-mark { margin: 0 auto 24px; border-radius: 18px; }
.page-note { margin-top: 24px; font-size: .875rem; color: var(--text-2); }
.page-top { position: static; }
.page-top .top-inner { color: var(--text); }
