/* ==========================================
   LAVANDERIA FLORA — CASE STUDY
   Prefix: lf-
   Palette: dark Soul + azzurro Flora (#4FB8E8)
   Bollicine animate come firma visiva
   ========================================== */

:root {
  --lf-blue: #4FB8E8;
  --lf-blue-light: #A8DFFF;
  --lf-blue-dark: #2E7FAE;
  --lf-bg: #0a0a0a;
  --lf-bg-deeper: #060606;
  --lf-bg-card: #111;
  --lf-border: rgba(255,255,255,0.08);
  --lf-text: #fff;
  --lf-text-mid: #888;
  --lf-text-low: #555;
}

.lf-page { background: var(--lf-bg); color: var(--lf-text); font-family: 'Inter', sans-serif; }
.lf-page h1, .lf-page h2, .lf-page h3 { font-family: 'Inter', sans-serif; }

.lf-anim { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.lf-anim.visible { opacity: 1; transform: translateY(0); }

/* UTILITY */
.lf-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--lf-blue);
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
}
.lf-kicker::before { content: ''; width: 6px; height: 6px; background: var(--lf-blue); border-radius: 50%; }

.lf-h2 {
  font-size: 48px; font-weight: 900; line-height: 1.05;
  letter-spacing: -1.5px; text-transform: lowercase;
  color: var(--lf-text); margin: 0 0 18px;
}
.lf-grad {
  background: linear-gradient(90deg, #A8DFFF 0%, #4FB8E8 40%, #2E7FAE 80%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.lf-lead {
  font-size: 16px; font-weight: 400; line-height: 1.7;
  color: var(--lf-text-mid); max-width: 640px; margin: 0 auto 24px;
}

.lf-section-head { text-align: center; margin: 0 auto 36px; max-width: 820px; }

.lf-cta-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px;
  background: linear-gradient(135deg, var(--lf-blue-dark), var(--lf-blue));
  color: #fff; border-radius: 100px; font-size: 16px; font-weight: 700;
  box-shadow: 0 6px 25px rgba(79,184,232,0.45);
  text-decoration: none; transition: transform .2s;
}
.lf-cta-pill:hover { transform: scale(1.04); }
.lf-cta-pill--big { font-size: 18px; padding: 20px 44px; }

/* SECTION */
.lf-section { position: relative; padding: 45px 0; overflow: hidden; }
.lf-section--deeper { background: var(--lf-bg-deeper); }

/* GLOW */
.lf-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.lf-glow--topleft { top: -80px; left: -100px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(79,184,232,0.14), transparent 70%); }
.lf-glow--topright { top: -60px; right: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(168,223,255,0.12), transparent 70%); }
.lf-glow--bottomleft { bottom: -100px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(79,184,232,0.13), transparent 70%); }
.lf-glow--bottomright { bottom: -80px; right: -100px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(168,223,255,0.15), transparent 70%); }

/* BOLLICINE */
.lf-bubbles-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
@keyframes lfBubbleRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-900px) scale(1.3); opacity: 0; }
}
.lf-bubble {
  position: absolute; bottom: -20px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(79,184,232,0.25));
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 0 15px rgba(255,255,255,0.3), 0 0 10px rgba(79,184,232,0.3);
  animation: lfBubbleRise linear infinite;
}

/* SPRINKLES */
@keyframes lfFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(6deg); }
}
.lf-sprinkle {
  position: absolute; font-size: 26px; opacity: 0.13;
  pointer-events: none; z-index: 1;
  animation: lfFloat 7s ease-in-out infinite;
}
.lf-sprinkle--1 { top: 15%; left: 5%; animation-delay: 0s; }
.lf-sprinkle--2 { top: 28%; right: 7%; animation-delay: 2s; font-size: 22px; }
.lf-sprinkle--3 { bottom: 22%; left: 8%; animation-delay: 1s; font-size: 24px; }
.lf-sprinkle--4 { bottom: 12%; right: 10%; animation-delay: 3s; font-size: 20px; }

/* HERO */
.lf-hero { position: relative; padding: 70px 0 50px; overflow: hidden; text-align: center; }
.lf-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.lf-hero__glow--blue {
  top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(79,184,232,0.35), rgba(46,127,174,0.15) 40%, transparent 70%);
  animation: lfGlowPulse 6s ease-in-out infinite;
}
.lf-hero__glow--cyan-r { top: 30%; right: -150px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(168,223,255,0.18), transparent 70%); }
.lf-hero__glow--cyan-l { top: 60%; left: -150px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(79,184,232,0.14), transparent 70%); }
@keyframes lfGlowPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

.lf-hero__floaty-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.lf-floaty { position: absolute; font-size: 30px; opacity: 0.18; animation: lfFloat 6s ease-in-out infinite; }
.lf-floaty--1 { top: 12%; left: 8%; animation-delay: 0s; }
.lf-floaty--2 { top: 20%; right: 10%; animation-delay: 1s; font-size: 26px; }
.lf-floaty--3 { top: 55%; left: 4%; animation-delay: 2s; }
.lf-floaty--4 { top: 65%; right: 6%; animation-delay: 0.5s; font-size: 28px; }
.lf-floaty--5 { top: 85%; left: 20%; animation-delay: 1.5s; font-size: 22px; }
.lf-floaty--6 { top: 8%; left: 45%; animation-delay: 2.5s; font-size: 22px; }
.lf-floaty--7 { top: 78%; right: 25%; animation-delay: 3s; font-size: 24px; }
.lf-floaty--8 { top: 45%; right: 3%; animation-delay: 3.5s; font-size: 20px; }

.lf-hero__content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.lf-hero__title { font-size: 62px; font-weight: 900; line-height: 1.0; letter-spacing: -2px; text-transform: lowercase; margin: 0 0 20px; }
.lf-hero__lead { font-size: 17px; line-height: 1.7; color: var(--lf-text-mid); max-width: 560px; margin: 0 auto 20px; }
.lf-hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; justify-content: center; }
.lf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--lf-bg-card); border: 1px solid var(--lf-border); border-radius: 100px; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lf-blue); }
.lf-badge__icon { font-size: 16px; }
.lf-hero__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 460px; margin: 0 auto 10px; }
.lf-kpi { padding: 18px 12px; background: var(--lf-bg-card); border: 1px solid var(--lf-border); border-radius: 12px; text-align: center; }
.lf-kpi__n { font-size: 28px; font-weight: 900; color: var(--lf-blue); line-height: 1; }
.lf-kpi__s { font-size: 16px; }
.lf-kpi__l { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lf-text-low); margin-top: 8px; line-height: 1.3; }

.lf-hero__photo {
  position: relative; max-width: 900px; margin: 32px auto 0;
  aspect-ratio: 16/9; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(79,184,232,0.3); background: var(--lf-bg-card);
  box-shadow: 0 0 60px 8px rgba(79,184,232,0.18), 0 0 120px 20px rgba(168,223,255,0.1), 0 30px 80px rgba(46,127,174,0.35);
}
.lf-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-hero__sticker { position: absolute; bottom: 20px; left: 20px; background: var(--lf-bg); color: var(--lf-blue); padding: 10px 16px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; transform: rotate(-3deg); border: 1px solid var(--lf-blue); }

/* CHI È */
.lf-chi__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.lf-chi__photo {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--lf-bg-card);
  box-shadow: 0 0 50px 8px rgba(79,184,232,0.2), 0 0 100px 20px rgba(168,223,255,0.11), 0 20px 60px rgba(0,0,0,0.5);
}
.lf-chi__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-chi__sticker { position: absolute; bottom: 16px; left: 16px; background: var(--lf-blue); color: #fff; padding: 10px 16px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; transform: rotate(-3deg); }
.lf-chi__text { text-align: left; }
.lf-chi__lead { font-size: 16px; line-height: 1.75; color: var(--lf-text-mid); margin: 0 0 16px; }
.lf-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.lf-pill { padding: 8px 14px; background: var(--lf-bg-card); border: 1px solid var(--lf-border); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--lf-text); }

/* GOOGLE REVIEWS */
.lf-google { padding: 80px 0; text-align: center; }
.lf-google__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 500px; border-radius: 50%; background: radial-gradient(ellipse, rgba(79,184,232,0.35), transparent 70%); pointer-events: none; animation: lfGlowPulse 4s ease-in-out infinite; z-index: 0; }
.lf-google__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.lf-google__logo { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 12px 22px; border-radius: 100px; font-size: 14px; font-weight: 700; color: #3c4043; margin-bottom: 32px; box-shadow: 0 4px 20px rgba(79,184,232,0.2); }
.lf-google__g { display: inline-block; font-size: 18px; font-weight: 700; background: conic-gradient(from 0deg, #EA4335 0deg 90deg, #FBBC05 90deg 180deg, #34A853 180deg 270deg, #4285F4 270deg 360deg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lf-google__stars { font-size: 40px; margin-bottom: 20px; letter-spacing: 8px; filter: drop-shadow(0 4px 20px rgba(252,195,0,0.4)); }
.lf-google__stars span { color: #FCC300; }
.lf-google__bignum { font-size: 120px; font-weight: 900; line-height: 1; letter-spacing: -6px; margin-bottom: 18px; }
.lf-google__rating { font-size: 22px; font-weight: 800; color: var(--lf-text); margin-bottom: 14px; }
.lf-google__rating span { color: var(--lf-blue); }
.lf-google__tagline { font-size: 17px; color: var(--lf-text-mid); margin-bottom: 32px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; }
.lf-google__cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: #fff; color: var(--lf-bg); border-radius: 100px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s; }
.lf-google__cta:hover { transform: scale(1.04); }

/* REEL */
.lf-reel__row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.lf-reel__card {
  width: 220px; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden;
  background: var(--lf-bg-card); position: relative;
  box-shadow: 0 0 45px 8px rgba(79,184,232,0.22), 0 0 90px 18px rgba(168,223,255,0.12), 0 20px 50px rgba(0,0,0,0.5);
  transition: box-shadow 0.4s ease;
}
.lf-reel__card:hover { box-shadow: 0 0 60px 12px rgba(79,184,232,0.35), 0 0 110px 25px rgba(168,223,255,0.2), 0 20px 50px rgba(0,0,0,0.5); }
.lf-reel__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* GRAFICHE */
.lf-grafiche__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 2; }
.lf-grafica {
  aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: var(--lf-bg-card);
  box-shadow: 0 0 40px 6px rgba(79,184,232,0.18), 0 0 80px 16px rgba(168,223,255,0.1), 0 10px 30px rgba(0,0,0,0.4);
  transition: box-shadow 0.4s ease, transform 0.3s;
}
.lf-grafica:hover { transform: translateY(-4px); box-shadow: 0 0 55px 10px rgba(79,184,232,0.3), 0 0 100px 22px rgba(168,223,255,0.18), 0 10px 30px rgba(0,0,0,0.4); }
.lf-grafica img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Divider e CTA finale dentro blocco Google */
.lf-google__divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--lf-blue), transparent);
  margin: 40px auto 32px;
  border-radius: 2px;
}
.lf-google__cta-title {
  font-size: 32px; font-weight: 900; line-height: 1.1;
  letter-spacing: -1px; text-transform: lowercase;
  color: var(--lf-text); margin: 0 0 16px;
}
.lf-google__cta-text {
  font-size: 15px; line-height: 1.7; color: var(--lf-text-mid);
  max-width: 540px; margin: 0 auto 28px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .lf-grafiche__grid { grid-template-columns: repeat(2, 1fr); }
  .lf-hero__title { font-size: 52px; }
  .lf-h2 { font-size: 40px; }
  .lf-google__bignum { font-size: 100px; }
}
@media (max-width: 768px) {
  .lf-hero { padding: 45px 0 32px; }
  .lf-hero__title { font-size: 40px; }
  .lf-h2 { font-size: 32px; }
  .lf-chi__layout { grid-template-columns: 1fr; }
  .lf-reel__row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 20px; scrollbar-width: none; }
  .lf-reel__row::-webkit-scrollbar { display: none; }
  .lf-reel__card { flex-shrink: 0; width: 200px; }
  .lf-hero__kpis { max-width: 100%; }
  .lf-hero__photo { aspect-ratio: 4/3; margin-top: 40px; }
  .lf-google__bignum { font-size: 80px; }
  .lf-google__cta-title { font-size: 24px; }
}
@media (max-width: 480px) {
  .lf-hero__title { font-size: 32px; }
  .lf-h2 { font-size: 26px; }
  .lf-grafiche__grid { grid-template-columns: 1fr 1fr; }
  .lf-reel__card { width: 180px; }
  .lf-sprinkle { font-size: 18px !important; }
  .lf-floaty { font-size: 22px !important; }
  .lf-google__bignum { font-size: 64px; }
}
