/* ═══════════════════════════════════════════════
   GIARDINI D'INVERNO — LANDING PAGE
═══════════════════════════════════════════════ */

:root {
  --color-dark:    #16241B;
  --color-green:   #1F4D33;
  --color-green-l: #2F6B47;
  --color-cta:     #FF6B35;
  --color-cta-dark:#E0501E;
  --color-cream:   #F6F2EA;
  --color-white:   #ffffff;
  --color-text:    #262A21;
  --color-muted:   #5B5F52;
  --color-border:  #E3DDCE;
  --font-display: 'Poppins', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --max-width: 1180px;
  --transition: .2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--color-text);
  background: var(--color-white); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; }
.section-photo { margin-bottom: 2.2rem; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(22,36,27,.16); }
.section-photo img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--color-dark); line-height: 1.18; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.tag-label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-cta-dark); margin-bottom: .8rem; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--color-green); background: rgba(31,77,51,.08); padding: 7px 14px; border-radius: 20px; margin-bottom: 1.2rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: .98rem; padding: 16px 30px; border-radius: 6px; border: none; cursor: pointer; transition: transform var(--transition), background var(--transition); white-space: normal; }
.btn-cta { background: var(--color-cta); color: #fff; box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.btn-cta:hover { background: var(--color-cta-dark); transform: translateY(-2px); }
.btn-lg { padding: 20px 36px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ── TOPBAR ── */
.lp-topbar { background: var(--color-dark); padding: 14px 0; }
.lp-topbar-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; }
.lp-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: .01em; }
.lp-topbar-tag { font-size: .8rem; color: rgba(255,255,255,.65); }
.lp-topbar-tag strong { color: #fff; }

/* ── HERO FULL-BLEED ── */
.hero-full { position: relative; min-height: clamp(600px, 82vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 55%; background-repeat: no-repeat; animation: heroZoom 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
.hero-full::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,12,.28) 0%, rgba(10,18,12,.42) 100%); }
.hero-full-inner { position: relative; z-index: 2; width: 100%; padding: 76px 0 130px; text-align: center; display: flex; justify-content: center; }
.hero-text-panel { background: rgba(13,22,15,.58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 2.8rem 3rem; max-width: 820px; box-shadow: 0 25px 70px rgba(0,0,0,.3); animation: heroPanelIn 1s cubic-bezier(.2,.9,.25,1) both; }
@keyframes heroPanelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-full .eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); padding: 7px 16px; border-radius: 20px; margin-bottom: 1.4rem; }
.hero-full h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 720px; margin: 0 auto 1.2rem; }
.hero-full h1 .hl { color: var(--color-cta); }
.hero-full .hero-lead { color: rgba(255,255,255,.92); font-size: 1.08rem; max-width: 620px; margin: 0 auto 1.6rem; }
.hero-full .hero-points { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem 1rem; justify-content: center; }
.hero-full .hero-points li { font-size: .9rem; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 8px 16px; border-radius: 30px; }
.hero-mobile-photo { display: none; }
.hero-full .btn-lg { padding: 19px 38px; font-size: 1.08rem; }

/* ── FLOATING FORM CARD ── */
.form-float-wrap { position: relative; z-index: 3; background: var(--color-cream); padding-bottom: 56px; }
.hero-form-card { background: #fff; border-radius: 16px; padding: 2.4rem 2.2rem; box-shadow: 0 30px 70px rgba(22,36,27,.28); border: 1px solid var(--color-border); max-width: 640px; margin: -70px auto 0; }

.hero-form-card h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.form-sub { color: var(--color-muted); font-size: .92rem; margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-single { grid-template-columns: 1fr; max-width: 100%; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--color-dark); }
.form-group input { padding: 13px 14px; border: 1px solid var(--color-border); border-radius: 6px; font-family: var(--font-sans); font-size: .95rem; background: var(--color-cream); }
.form-group input:focus { outline: none; border-color: var(--color-green); background: #fff; }
.form-checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .8rem; color: var(--color-muted); margin: .4rem 0 1.3rem; cursor: pointer; }
.form-checkbox input { margin-top: 3px; }
.form-checkbox a { color: var(--color-green); text-decoration: underline; }
.form-error { background: #FBEAEA; color: #B33A3A; padding: .9rem 1rem; border-radius: 6px; margin-bottom: 1.2rem; font-size: .9rem; }
.form-trust { text-align: center; font-size: .78rem; color: var(--color-muted); margin: .9rem 0 0; }

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-cream { background: var(--color-cream); }
.section-dark { position: relative; background: var(--color-dark); color: #fff; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; top: -20%; right: -10%; width: 55%; aspect-ratio: 1/1; background: radial-gradient(circle, rgba(255,107,53,.16) 0%, rgba(255,107,53,0) 70%); pointer-events: none; }
.section-dark::after { content: ''; position: absolute; bottom: -25%; left: -12%; width: 50%; aspect-ratio: 1/1; background: radial-gradient(circle, rgba(47,107,71,.3) 0%, rgba(47,107,71,0) 70%); pointer-events: none; }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }
.section-dark .tag-label { color: var(--color-cta); }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-lead { font-size: 1.05rem; color: var(--color-muted); }
.section-dark .section-lead { color: rgba(255,255,255,.72); }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps-grid-3 { grid-template-columns: repeat(3, 1fr); text-align: left; margin: 2.2rem 0; }
.step-item { text-align: center; }
.steps-grid-3 .step-item { text-align: left; background: var(--color-cream); border-radius: 10px; padding: 1.6rem; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--color-green); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; }
.step-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step-item p { font-size: .92rem; color: var(--color-muted); }

/* ── VANTAGGI ── */
.vantaggi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2.6rem; }
.vantaggio-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 2rem; transition: transform var(--transition), background var(--transition), border-color var(--transition); }
.vantaggio-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(255,107,53,.35); }
.vantaggio-icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; border-radius: 50%; background: rgba(255,107,53,.14); border: 1px solid rgba(255,107,53,.4); color: var(--color-cta); }
.vantaggio-icon svg { width: 26px; height: 26px; }

/* ── FLOWER POWER CLAIM ── */
.claim { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--color-green); margin-top: 1.6rem; }

/* ── TEAM / PROFESSIONISTI — carosello a scorrimento infinito (autoplay JS + controlli manuali) ── */
.team-carousel-wrap { position: relative; margin-bottom: 2.6rem; }
.team-carousel { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.team-track { display: flex; gap: 1.6rem; width: max-content; will-change: transform; }
.team-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--color-border); box-shadow: 0 8px 20px rgba(22,36,27,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-dark); padding: 0; transition: background var(--transition), color var(--transition), box-shadow var(--transition); }
.team-nav:hover { background: var(--color-cta); border-color: var(--color-cta); color: #fff; box-shadow: 0 10px 26px rgba(255,107,53,.32); }
.team-nav svg { width: 20px; height: 20px; }
.team-nav-prev { left: -6px; }
.team-nav-next { right: -6px; }
.team-card { flex: 0 0 220px; background: var(--color-cream); border-radius: 10px; overflow: hidden; text-align: center; padding-bottom: 1.2rem; transition: transform var(--transition), box-shadow var(--transition); }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(22,36,27,.16); }
.team-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--color-border); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.1) hue-rotate(-6deg) contrast(1.02); transition: filter var(--transition); }
.team-card:hover .team-photo img { filter: saturate(1) sepia(0) hue-rotate(0) contrast(1); }
.team-photo-initials { display: flex; align-items: center; justify-content: center; background: var(--color-green); }
.team-photo-initials span { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: #fff; }
.team-info { padding: 1rem 1rem 0; display: flex; flex-direction: column; gap: 3px; }
.team-info h4 { font-size: .95rem; margin: 0; }
.team-brand { font-size: .8rem; font-weight: 600; color: var(--color-green); }
.team-zona { font-size: .78rem; color: var(--color-muted); }

/* ── BONUS SECTION ── */
.section-bonus { background: linear-gradient(135deg, var(--color-green) 0%, var(--color-dark) 100%); color: #fff; }
.section-bonus h2 { color: #fff; }
.section-bonus p { color: rgba(255,255,255,.82); }
.section-bonus .tag-label { color: var(--color-cta); }
.fine-print { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 1.2rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,36,27,.08); border-color: #d8d0ba; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: .98rem; color: var(--color-dark); }
.faq-toggle { font-size: 1.3rem; color: var(--color-cta-dark); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.4rem; }
.faq-item.is-open .faq-answer { max-height: 300px; padding-bottom: 1.2rem; }
.faq-answer p { color: var(--color-muted); font-size: .92rem; margin: 0; }

/* ── FINAL CTA ── */
.final-cta h2 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── STICKY MOBILE CTA ── */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; background: #fff; padding: 12px 16px; box-shadow: 0 -8px 24px rgba(0,0,0,.12); display: none; }
.sticky-cta .btn { padding: 14px 20px; }

/* ── FOOTER ── */
.lp-footer { background: var(--color-dark); color: rgba(255,255,255,.6); padding: 40px 0; text-align: center; }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; }
.lp-footer-inner p { margin: 0 0 .6rem; font-size: .88rem; }
.lp-footer-small { font-size: .76rem; color: rgba(255,255,255,.4); }
.lp-footer-small a { color: rgba(255,255,255,.65); text-decoration: underline; }
.lp-footer-logo { flex-shrink: 0; display: inline-flex; line-height: 0; }
.lp-footer-logo img { height: 42px; width: auto; border-radius: 10px; }
@media (max-width: 640px) {
  .lp-footer-inner { flex-direction: column; text-align: center; }
  .lp-footer-text { order: 2; }
  .lp-footer-logo { order: 1; }
}

/* ── GRAZIE PAGE ── */
.grazie-section { padding-top: 100px; }
.grazie-check { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-green); color: #fff; font-size: 2rem; margin-bottom: 1.2rem; }
.grazie-notice { background: var(--color-cream); border-radius: 10px; padding: 1.4rem 1.6rem; margin: 1.8rem 0; }
.grazie-notice p { margin: .3rem 0 0; font-size: .92rem; color: var(--color-muted); }
.grazie-subtitle { margin-top: 2.4rem; }
.grazie-bonus { background: linear-gradient(135deg, var(--color-green) 0%, var(--color-dark) 100%); color: #fff; border-radius: 10px; padding: 1.6rem 1.8rem; margin: 2rem 0; text-align: left; }
.grazie-bonus p { color: rgba(255,255,255,.85); margin: .5rem 0 0; font-size: .94rem; }
.grazie-signoff { margin-top: 2rem; color: var(--color-muted); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .vantaggi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 48px 0; }
  .hero-full { min-height: 0; background-color: var(--color-dark); display: block; }
  .hero-bg { display: none; }
  .hero-full::after { display: none; }
  .hero-full-inner { padding: 20px 0 40px; display: block; }
  .hero-mobile-photo { display: block; margin: 0 0 1.4rem; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
  .hero-mobile-photo img { width: 100%; height: 190px; object-fit: cover; display: block; }
  .hero-text-panel { padding: 1.8rem 1.4rem; border-radius: 16px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; box-shadow: none; }
  .hero-full .hero-points { flex-direction: column; align-items: center; }
  .hero-form-card { margin-top: -50px; }
  .hero-form-card { padding: 1.8rem 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-single { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid-3 { grid-template-columns: 1fr; }
  .team-card { flex-basis: 160px; }
  .team-track { gap: 1rem; }
  .team-nav { width: 36px; height: 36px; }
  .team-nav svg { width: 16px; height: 16px; }
  .team-nav-prev { left: 2px; }
  .team-nav-next { right: 2px; }
  .btn { white-space: normal; }
  .sticky-cta { display: block; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}
