/* ==========================================================================
   Ketch Eat – Strumenti gratuiti (ketcheat.com/strumenti)
   Sezione a sé: non usa il CSS/JS del sito né dell'app. Stessa grafica del marchio.
   Mobile-first.
   ========================================================================== */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}
:root {
  --cream: #fbf3e8; --sand: #f1dcc0; --caramel: #d9a86c; --orange: #e06a1b;
  --brown: #9a6534; --brown-ink: #4a2f17; --dark: #1a1410; --ink: #1f1a15;
  --text: #3d352d; --muted: #6b6157; --line: rgba(154,101,52,.16);
  --green: #1e7f52; --green-soft: #e3f3ea; --amber: #b26b00; --amber-soft: #fff1d6;
  --red: #c0392b; --red-soft: #fdeae7;
  --fd: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px;
  --shadow: 0 24px 50px -30px rgba(74,47,23,.45), 0 2px 6px rgba(31,26,21,.04);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fd); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brown); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--fd); color: var(--ink); margin: 0; font-weight: 800; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* sfondo "lava" come la home */
.lava { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--cream); }
.lava i { position: absolute; display: block; width: 75vmax; height: 75vmax; border-radius: 50%; animation: lava 24s ease-in-out infinite alternate; }
.lava i:nth-child(1) { left: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(224,106,27,.45), rgba(224,106,27,0) 62%); }
.lava i:nth-child(2) { right: -30vmax; top: -10vmax; background: radial-gradient(circle, rgba(217,168,108,.6), rgba(217,168,108,0) 62%); animation-duration: 30s; animation-delay: -8s; }
.lava i:nth-child(3) { left: 5vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(154,101,52,.32), rgba(154,101,52,0) 62%); animation-duration: 27s; animation-delay: -15s; }
@keyframes lava { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(10vmax,12vmax,0) scale(1.15); } 100% { transform: translate3d(-6vmax,6vmax,0) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .lava i { animation: none; } html { scroll-behavior: auto; } }

/* testata */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251,243,232,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.m { width: 36px; height: 36px; border-radius: 10px; }
.brand img.w { width: 96px; height: auto; }
.brand-tag { font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 4px 9px; border-radius: 8px; }
.top .grow { flex: 1; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; background: var(--dark); color: #fff; transition: transform .25s, box-shadow .25s, background .25s; box-shadow: 0 16px 30px -16px rgba(26,20,16,.8); }
.pill:hover { color: #fff; background: var(--orange); transform: translateY(-2px); }
.pill--ghost { background: rgba(255,255,255,.85); color: var(--ink); border: 1.5px solid rgba(31,26,21,.14); box-shadow: none; }
.pill--ghost:hover { background: #fff; color: var(--orange); }
.pill--orange { background: var(--orange); }
.pill--orange:hover { background: var(--dark); }
.pill--sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.pill svg { width: 18px; height: 18px; flex: none; }

/* testata della pagina */
.hero { padding: 34px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-weight: 800; font-size: .86rem; color: var(--brown-ink); margin-bottom: 14px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); line-height: .95; letter-spacing: -.05em; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, var(--brown), var(--orange) 55%, var(--caramel)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 3.6vw, 1.25rem); margin-top: 14px; color: var(--text); max-width: 680px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-weight: 700; font-size: .92rem; color: var(--brown-ink); }
.ticks span { display: inline-flex; align-items: center; gap: 6px; }
.ticks span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.tid { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tid .tico { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 12px 16px rgba(154,101,52,.35)); }
.tid .chip { margin: 0; }

/* card */
.card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 18px; }
.sec { padding: 28px 0; }
.sec h2 { font-size: clamp(1.8rem, 6.5vw, 3rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 14px; }

/* footer */
.foot { margin-top: 40px; padding: 34px 0 120px; background: var(--dark); color: #d8cbb9; }
.foot a { color: #fff; }
.foot .brand img.m { background: #fff; padding: 3px; }
.foot .row { display: grid; gap: 22px; }
.foot h4 { margin: 0 0 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--caramel); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ig { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-decoration: none; font-weight: 800; }
.ig svg { width: 24px; height: 24px; }
.ig small { display: block; font-weight: 600; color: #b9ab98; font-size: .8rem; }
.foot .small { font-size: .82rem; color: #9d907f; margin-top: 22px; }
@media (min-width: 760px) {
  .foot .row { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot { padding-bottom: 40px; }
}
@media (max-width: 420px) { .top .brand img.w { display: none; } }
