/* ==========================================================================
   Minelli PETS — SuperZoo 2026 Waiting List
   Mobile-first. Breakpoints: 640 (tablet) · 1024 (laptop) · 1440 (desktop)

   Foglio autonomo: questa pagina ha una palette propria, leggermente diversa
   da quella della landing (rosso, fondi, container). Vedi README.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --wl-red: #E11B22;
  --wl-red-dark: #B0141A;
  --wl-blue: #213560;

  /* Neutrals */
  --wl-ink: #16130F;
  --wl-ink-deep: #0D0B09;
  --wl-cream: #F6F3EE;
  --wl-line: #ECE8E2;
  --wl-body: #4A453E;
  --wl-muted: #6B655E;
  --wl-text: #222221;
  --wl-white: #FFFFFF;

  /* Type */
  --wl-font: 'Bai Jamjuree', system-ui, -apple-system, sans-serif;

  /* Layout */
  --wl-container: 1180px;
  --wl-gutter: 20px;
  --wl-header-h: 62px;
  --wl-radius: 18px;
  --wl-radius-lg: 22px;
  --wl-pill: 100px;

  /* Fluid type */
  --wl-h1: clamp(2.125rem, 1.15rem + 4.3vw, 3.875rem);  /* 34 → 62px */
  --wl-h2: clamp(1.75rem, 1.1rem + 2.9vw, 2.75rem);     /* 28 → 44px */
  --wl-h2-cta: clamp(1.625rem, 1.15rem + 2.1vw, 2.5rem);/* 26 → 40px */
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--wl-font);
  color: var(--wl-ink);
  background: var(--wl-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--wl-red); text-decoration: none; }
a:hover { color: var(--wl-red-dark); }

::selection { background: var(--wl-red); color: var(--wl-white); }

input, select, textarea, button { font-family: inherit; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }

:focus-visible {
  outline: 3px solid var(--wl-red);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes wl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 180, 0, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(244, 180, 0, 0); }
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.wl-container {
  width: 100%;
  max-width: var(--wl-container);
  margin-inline: auto;
  padding-inline: var(--wl-gutter);
}

.wl-section { padding-block: 56px; }

.wl-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wl-text);
  margin-bottom: 14px;
}

.wl-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wl-skip-link {
  position: absolute;
  top: -100px;
  left: var(--wl-gutter);
  z-index: 100;
  background: var(--wl-ink);
  color: var(--wl-white);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.wl-skip-link:focus { top: 0; color: var(--wl-white); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 17px 32px;
  border-radius: var(--wl-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wl-btn--white {
  background: var(--wl-white);
  color: var(--wl-ink);
  border-color: var(--wl-white);
}
.wl-btn--white:hover {
  background: transparent;
  color: var(--wl-white);
  border-color: var(--wl-white);
}

/* --------------------------------------------------------------------------
   5. Header
   Nessuna navigazione: pagina monoscopo, l'unico compito è il form.
   -------------------------------------------------------------------------- */
.wl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wl-line);
}

.wl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--wl-header-h);
}

/* Il logo è 8.5:1: dimensionato in larghezza per non sfondare sui telefoni */
.wl-header__logo { display: flex; align-items: center; min-width: 0; }
.wl-header__logo img { width: min(150px, 34vw); height: auto; }

.wl-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: var(--wl-cream);
  border: 1px solid var(--wl-line);
  color: var(--wl-body);
  padding: 7px 12px;
  border-radius: var(--wl-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.wl-header__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wl-blue);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Hero + form
   -------------------------------------------------------------------------- */
.wl-hero {
  position: relative;
  overflow: hidden;
  background: var(--wl-ink);
  color: var(--wl-white);
  background-image: url("../assets/img/brushes-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Aloni decorativi: blu in alto a sinistra, rosso in basso a destra 
.wl-hero::before,
.wl-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.wl-hero::before {
  top: -120px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(33, 53, 96, 0.45), transparent 70%);
}
.wl-hero::after {
  bottom: -160px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(225, 27, 34, 0.35), transparent 70%);
}*/

.wl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 48px 56px;
}

.wl-hero h1 {
  font-size: var(--wl-h1);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.wl-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem);
  line-height: 1.55;
  max-width: 50ch;
  margin-top: 20px;
}
.wl-hero__lead strong { color: var(--wl-white); font-weight: 700; }

/* Badge "The 2026 line · coming soon" */
.wl-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wl-blue);
  color: var(--wl-white);
  padding: 8px 15px;
  border-radius: var(--wl-pill);
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.wl-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wl-white);
  animation: wl-pulse 2s infinite;
  flex-shrink: 0;
}

/* --- Elenco benefit numerato ------------------------------------------- */
.wl-perks {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  list-style: none;
}

.wl-perks li { display: flex; align-items: flex-start; gap: 14px; }

.wl-perks__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.9375rem;
  background: var(--wl-red);
  color: var(--wl-white);
}
.wl-perks li:nth-child(2) .wl-perks__num { background: var(--wl-blue); }
.wl-perks li:nth-child(3) .wl-perks__num {
  background: var(--wl-white);
  color: var(--wl-blue);
}

/* Titolo e descrizione sono <span>: senza block finirebbero sulla stessa riga */
.wl-perks__title {
  display: block;
  font-size: 1.03125rem;
  font-weight: 700;
}
.wl-perks__desc {
  display: block;
  font-size: 0.90625rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.5;
}

/* --- Card del form ------------------------------------------------------ */
.wl-form-card {
  background: var(--wl-white);
  color: var(--wl-ink);
  border-radius: var(--wl-radius-lg);
  padding: 28px 22px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.wl-form-card h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.6875rem);
  letter-spacing: -0.02em;
  color: var(--wl-blue);
}
.wl-form-card__note {
  font-size: 0.9375rem;
  color: var(--wl-muted);
  line-height: 1.5;
  margin-top: 8px;
}

.wl-form-mount { margin-top: 24px; min-height: 360px; }

/* Messaggio se il form HubSpot non carica: senza, resterebbe un buco bianco */
.wl-form-fallback {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wl-muted);
}
.wl-form-fallback a { font-weight: 700; }

/* --------------------------------------------------------------------------
   7. Why early
   -------------------------------------------------------------------------- */
.wl-why { background: var(--wl-cream); }

.wl-why__head {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto 36px;
}
.wl-why__head h2 { font-size: var(--wl-h2); color: var(--wl-blue); }

.wl-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.wl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--wl-white);
  border: 1px solid var(--wl-line);
  border-radius: var(--wl-radius);
  padding: 28px 24px;
}

.wl-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--wl-red);
  color: var(--wl-white);
  flex-shrink: 0;
}
.wl-card__icon--blue { background: var(--wl-blue); }
.wl-card__icon--outline {
  background: var(--wl-white);
  border: 1px solid var(--wl-blue);
  color: var(--wl-blue);
}

.wl-card h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.wl-card p { font-size: 0.9375rem; line-height: 1.55; color: var(--wl-text); }

/* --------------------------------------------------------------------------
   8. Final CTA
   -------------------------------------------------------------------------- */
.wl-cta {
  position: relative;
  overflow: hidden;
  background: var(--wl-blue);
  color: var(--wl-white);
}

.wl-cta__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.wl-cta h2 {
  font-size: var(--wl-h2-cta);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 52ch;
}
.wl-cta p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 16px;
  max-width: 52ch;
}
.wl-cta .wl-btn { width: 100%; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.wl-footer {
  background: var(--wl-ink-deep);
  color: #8C857B;
  padding-block: 40px;
}

.wl-footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.wl-footer__logo img { height: 24px; width: auto; }
.wl-footer p { font-size: 0.875rem; }
.wl-footer__cta { color: var(--wl-white); font-weight: 700; font-size: 0.90625rem; }
.wl-footer__cta:hover { color: var(--wl-red); }

/* ==========================================================================
   BREAKPOINT — Tablet (≥ 640px)
   ========================================================================== */
@media (min-width: 640px) {
  :root { --wl-gutter: 28px; --wl-header-h: 66px; }

  .wl-section { padding-block: 72px; }

  .wl-header__badge { font-size: 0.75rem; padding: 8px 15px; }

  .wl-hero__grid { padding-block: 60px 68px; gap: 48px; }
  .wl-form-card { padding: 32px 28px; }

  .wl-why__head { margin-bottom: 44px; }
  .wl-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .wl-cta__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  .wl-cta .wl-btn { width: auto; }

  .wl-footer__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   BREAKPOINT — Laptop (≥ 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --wl-gutter: 32px; --wl-header-h: 70px; }

  .wl-section { padding-block: 92px; }

  .wl-header__logo img { width: 150px; }
  .wl-header__badge { font-size: 0.8125rem; gap: 9px; }

  .wl-hero__grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 64px;
    padding-block: 72px 84px;
  }
  .wl-perks { gap: 15px; margin-top: 36px; }
  .wl-form-card { padding: 36px; }
  .wl-form-mount { margin-top: 26px; }

  .wl-why__head { margin-bottom: 52px; }
  .wl-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .wl-card { padding: 32px 28px; }

  .wl-cta { padding-block: 76px; }
  .wl-footer { padding-block: 48px; }
}
