/* =========================================================
   Bompan Group — Landing Pulmino 9 posti weekend
   ========================================================= */

:root {
  --orange: #F39C2F;          /* logo Bompan */
  --orange-bright: #FF8B30;   /* badge prezzo */
  --orange-dark: #C8761E;
  --navy: #1E2C4F;            /* dark blue accent */
  --dark: #1A1F2E;            /* testo principale */
  --muted: #6B6E7E;
  --cream: #FAF6F1;           /* background */
  --cream-deep: #F2EBE0;
  --white: #FFFFFF;
  --line: rgba(26, 31, 46, 0.08);
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px -6px rgba(26,31,46,.18);
  --shadow-md: 0 18px 40px -18px rgba(26,31,46,.25);
  --shadow-xl: 0 30px 60px -20px rgba(243,156,47,.35);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.muted { color: var(--muted); }
.muted.big { font-size: 1.05rem; line-height: 1.7; }
.muted.small { font-size: 0.85rem; }
.text-accent { color: var(--orange); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-orange {
  background: var(--orange);
  color: var(--dark);
}
.badge-light {
  background: rgba(243, 156, 47, 0.12);
  color: var(--orange-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.22,.61,.36,1),
              box-shadow .25s ease,
              background-color .25s ease,
              color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-sm  { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg  { padding: 16px 28px; font-size: 1.05rem; }
.btn-xl  { padding: 20px 36px; font-size: 1.2rem; }

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .55);
}
.btn-wa:hover {
  background: var(--wa-green-dark);
  box-shadow: 0 18px 40px -10px rgba(18, 140, 126, .65);
}

.btn-orange {
  background: var(--orange);
  color: var(--dark);
}
.btn-orange:hover { background: var(--orange-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--white); border-color: var(--dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand img { height: 32px; width: auto; display: block; }
@media (min-width: 768px) { .brand img { height: 38px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(243,156,47,.18) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(30,44,79,.08) 0%, transparent 60%),
    var(--cream);
}
@media (min-width: 900px) { .hero { padding: 80px 0 110px; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
}

.display {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 28px;
  line-height: 1.55;
}
.lead strong { color: var(--dark); }

/* Price card */
.price-card {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-bottom: 28px;
  overflow: hidden;
}
.price-tag {
  background: var(--orange);
  color: var(--dark);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.04em;
  padding: 14px 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
}
.price-meta {
  padding: 8px 18px 8px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-meta-line {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-meta-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--dark);
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points span {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(1.5deg);
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--orange) 0%, transparent 60%);
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 6px);
  filter: blur(40px);
  opacity: .5;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .35s ease;
}
.hero-image-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,.95);
  color: var(--dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .hero-image { transform: rotate(-2deg); aspect-ratio: 4 / 5; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 100px 0; } }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 16px 0 12px;
}
.section-head .muted { max-width: 60ch; margin: 0 auto; }

/* Targets */
.section-targets { background: var(--cream); }
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.22,.61,.36,1),
              box-shadow .4s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-deep);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* Included */
.section-included {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(243,156,47,.22), transparent 60%),
    var(--white);
}
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .included-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.included-text h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  margin: 14px 0 18px;
  letter-spacing: -0.035em;
}

.included-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--line);
}
.included-list .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--dark);
  display: grid;
  place-items: center;
}
.included-list .ico svg { width: 22px; height: 22px; }
.included-list strong { font-size: 1rem; }
.included-list span { color: var(--muted); font-size: 0.85rem; }

/* Steps */
.section-steps { background: var(--cream-deep); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--line);
  position: relative;
}
.steps .num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--dark);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); line-height: 1.55; font-size: 0.95rem; }

/* Final CTA */
.cta-final {
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(243,156,47,.45), transparent 70%),
    linear-gradient(135deg, #1E2C4F 0%, #11182C 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-final h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.035em;
}
.cta-final p {
  color: rgba(255,255,255,.75);
  max-width: 60ch;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}
.cta-meta {
  margin-top: 22px !important;
  font-size: 0.95rem;
}
.cta-meta a {
  color: var(--orange);
  font-weight: 700;
  border-bottom: 2px solid rgba(243,156,47,.4);
}
.cta-meta a:hover { border-bottom-color: var(--orange); }

/* Footer */
.site-footer {
  background: #11182C;
  color: rgba(255,255,255,.78);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}
.site-footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 14px;
}
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin-bottom: 8px; font-size: 0.95rem; }
.site-footer .muted.small { color: rgba(255,255,255,.55); }
.copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* Sticky WA button (mobile) */
.sticky-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--wa-green);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 100;
  box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .6);
  transition: transform .25s ease, background-color .25s ease;
  animation: wapulse 2.4s ease-out infinite;
}
.sticky-wa:hover { background: var(--wa-green-dark); transform: scale(1.08); }
@keyframes wapulse {
  0%   { box-shadow: 0 18px 40px -10px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 18px 40px -10px rgba(37,211,102,.55), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 18px 40px -10px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,0); }
}
@media (min-width: 900px) {
  .sticky-wa { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
