/* ==========================================================================
   Liguria Blumen — landing di transizione
   Custom styling sopra Bootstrap 5. Design tokens definitivi dall'handoff.
   ========================================================================== */

:root {
  --primary: #4e7a32;
  --primaryd: #3c5e26;
  --accent: #a9c64a;
  --ink: #1f2c18;
  --body: #5e6b51;
  --muted: #8a957c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Mulish", system-ui, -apple-system, sans-serif;
  color: #22301c;
  background: radial-gradient(120% 120% at 50% 0%, #f7faf0 0%, #eef3e3 55%, #e4ecd4 100%);
}

a {
  color: inherit;
}

/* Layout full-height ---------------------------------------------------- */
.lb-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lb-page > * {
  position: relative;
  z-index: 5;
}

/* Blob decorativi ------------------------------------------------------- */
.lb-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.lb-blob--tr {
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 40% 40%, rgba(169, 198, 74, 0.28), rgba(169, 198, 74, 0) 70%);
}

.lb-blob--bl {
  bottom: -160px;
  left: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 50% 50%, rgba(78, 122, 50, 0.18), rgba(78, 122, 50, 0) 70%);
}

.lb-glyph {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.lb-glyph--tl {
  top: 12%;
  left: 8%;
  font-size: 38px;
  opacity: 0.18;
  animation: lbFloat 7s ease-in-out infinite;
}

.lb-glyph--br {
  bottom: 16%;
  right: 10%;
  font-size: 46px;
  opacity: 0.16;
  animation: lbFloat 9s ease-in-out infinite;
}

/* Selettore lingua ------------------------------------------------------ */
.lb-langbar {
  display: flex;
  justify-content: center;
  padding: 26px 20px 0;
}

.lb-langbar__pill {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(78, 122, 50, 0.15);
  padding: 5px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -14px rgba(50, 70, 30, 0.5);
}

.lb-lang {
  cursor: pointer;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  border: none;
  padding: 9px 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #4e6a3a;
  transition: background 0.2s ease, color 0.2s ease;
}

.lb-lang__flag {
  font-size: 15px;
}

.lb-lang.is-active {
  background: var(--primary);
  color: #fff;
}

/* Main ------------------------------------------------------------------ */
.lb-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px 12px;
}

/* Logo grande su sfondo trasparente (nessun riquadro dietro). */
.lb-logo {
  margin-bottom: 30px;
  animation: lbUp 0.5s ease both;
}

.lb-logo img {
  height: clamp(72px, 12vw, 118px);
  width: auto;
  max-width: 100%;
  display: block;
}

.lb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: lbUp 0.5s ease both;
  animation-delay: 0.05s;
}

.lb-title {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--ink);
  max-width: 14ch;
  animation: lbUp 0.5s ease both;
  animation-delay: 0.1s;
}

.lb-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 520px;
  margin: 0 0 40px;
  animation: lbUp 0.5s ease both;
  animation-delay: 0.15s;
}

/* I due tastoni --------------------------------------------------------- */
.lb-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: 100%;
  max-width: 760px;
  animation: lbUp 0.55s ease both;
  animation-delay: 0.2s;
}

@media (max-width: 640px) {
  .lb-cards {
    grid-template-columns: 1fr;
  }
}

.lb-card {
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  padding: 34px 30px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 230px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lb-card:hover {
  transform: translateY(-4px);
}

.lb-card__glyph {
  position: absolute;
  top: -40px;
  right: -30px;
  font-size: 150px;
  line-height: 1;
}

.lb-card__badge {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.lb-card__body {
  flex: 1;
}

.lb-card__title {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.lb-card__desc {
  font-size: 15px;
  line-height: 1.5;
  max-width: 26ch;
}

.lb-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 11px;
}

.lb-card__cta span {
  font-size: 17px;
}

/* Card SHOP (verde piena) */
.lb-card--shop {
  background: linear-gradient(160deg, var(--primary), var(--primaryd));
  color: #fff;
  box-shadow: 0 24px 50px -22px rgba(60, 94, 38, 0.75);
}

.lb-card--shop:hover {
  box-shadow: 0 30px 60px -22px rgba(60, 94, 38, 0.85);
}

.lb-card--shop .lb-card__glyph {
  opacity: 0.12;
}

.lb-card--shop .lb-card__badge {
  background: rgba(255, 255, 255, 0.16);
}

.lb-card--shop .lb-card__desc {
  opacity: 0.9;
}

.lb-card--shop .lb-card__cta {
  background: var(--accent);
  color: #22301c;
}

/* Card CATALOGO (bianca bordata) */
.lb-card--catalog {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #e2e8d5;
  box-shadow: 0 24px 50px -26px rgba(60, 94, 38, 0.4);
}

.lb-card--catalog:hover {
  box-shadow: 0 30px 60px -26px rgba(60, 94, 38, 0.5);
}

.lb-card--catalog .lb-card__glyph {
  opacity: 0.06;
  color: var(--primary);
}

.lb-card--catalog .lb-card__badge {
  background: rgba(78, 122, 50, 0.1);
  color: var(--primary);
}

.lb-card--catalog .lb-card__desc {
  color: var(--body);
}

.lb-card--catalog .lb-card__cta {
  background: var(--primary);
  color: #fff;
}

/* Footer ---------------------------------------------------------------- */
.lb-footer {
  padding: 18px 24px 30px;
  text-align: center;
}

.lb-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(78, 122, 50, 0.12);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  color: #3a4730;
  font-weight: 600;
}

.lb-footer__pill a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3a4730;
}

.lb-footer__pill a span {
  color: var(--primary);
}

.lb-footer__sep {
  width: 1px;
  height: 16px;
  background: rgba(78, 122, 50, 0.2);
}

.lb-copyright {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Animazioni ------------------------------------------------------------ */
@keyframes lbUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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