/* ── Bento Grid ── */
.bento-section {
  padding: 44px 0 0;
}

.bento-head {
  text-align: center;
  margin-bottom: 28px;
}

.sec-title {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 7px;
}

.sec-sub {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
}

.stag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--o-lt);
  color: var(--o);
  padding: 4px 13px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 13px;
}

.tile {
  border-radius: var(--r-xl);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  user-select: none;
  box-shadow: 0 4px 22px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .24);
}

.tile:active {
  transform: scale(.97);
}

.tile-wide {
  grid-column: span 2;
}

.tile-tall {
  grid-row: span 2;
}

.tile-bg-i {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-55%) rotate(-10deg);
  font-size: 125px;
  opacity: .09;
  pointer-events: none;
  line-height: 1;
  transition: transform .4s ease, opacity .4s ease;
  color: white;
}

.tile:hover .tile-bg-i {
  transform: translateY(-58%) rotate(-5deg) scale(1.1);
  opacity: .15;
}

.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .08) 55%, transparent 100%);
}

.tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}

.tile-photo.loaded {
  opacity: .25;
}

.tile-content {
  position: relative;
  z-index: 2;
}

.tile-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}

.tile-title {
  font-family: var(--fh);
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 4px;
}

.tile-wide .tile-title,
.tile-tall .tile-title {
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
}

.tile-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.5;
  margin-bottom: 12px;
}

.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .17);
  border: 1px solid rgba(255, 255, 255, .28);
  color: white;
  padding: 6px 13px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  transition: var(--t);
}

.tile:hover .tile-cta {
  background: white;
  color: var(--ink);
}

/* ── WhatsApp Flottant ── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-bubble {
  background: var(--ink2);
  color: white;
  padding: 10px 14px;
  border-radius: 14px 14px 0 14px;
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 165px;
  text-align: right;
  position: relative;
  box-shadow: var(--sh-lg);
  animation: bIn .4s var(--ease) both;
}

.wa-bubble p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 1px;
}

.wa-bubble strong {
  color: #4ade80;
}

.wa-bx {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  border: none;
  transition: var(--t);
}

.wa-bx:hover {
  background: var(--bd);
}

.wa-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-top: 8px solid var(--ink2);
}

.wa-bubble.gone {
  display: none;
}

@keyframes bIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.wa-main-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: white;
  border-radius: 50px;
  padding: 0 20px;
  height: var(--tap-lg);
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--sh-wa);
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
}

.wa-main-btn i {
  font-size: 22px;
}

.wa-main-btn:hover {
  background: var(--wa-dk);
  transform: scale(1.05);
}

/* ── Scroll Top ── */
.scroll-top {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 800;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--o);
  color: white;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-o);
  transition: var(--t);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--o-dk);
  transform: translateY(-3px);
}

/* ── Lightbox (Zoom Image) ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.3s var(--ease);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: var(--sh-xl);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 50px;
  height: 50px;
  background: white;
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--sh-lg);
  transition: var(--t);
}

.lightbox-close:hover {
  transform: rotate(90deg);
  background: var(--o);
  color: white;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: auto;
    bottom: 40px;
    right: 50%;
    transform: translateX(50%);
  }
  .lightbox-close:hover {
    transform: translateX(50%) rotate(90deg);
  }
}
