/* ═══════════════════════════════════════════════════════════════════════════
   Landing Page Styles — Vinicius Murari
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Nav (minimal) ─── */
#lpNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  transition: background .4s, box-shadow .4s;
}
#lpNav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
#lpNav .nav-logo { color: #fff; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: color .4s; }
#lpNav.scrolled .nav-logo { color: var(--text); }
.lp-nav-right { display: flex; align-items: center; gap: 12px; }
.btn-sm { padding: 8px 20px; font-size: 0.76rem; }

/* ─── Hero ─── */
.lp-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #111;
}
.lp-hero-slides {
  position: absolute; inset: 0; z-index: 0;
  background: #0e0e0e; /* base colour while slides are still rendering */
}
/* Shimmer placeholder shown while the first hero image is downloading.
   Replaces the flat black with a subtle animated gradient — feels far more
   premium and gives instant feedback that something is loading. */
.lp-hero-slides.hero-loading::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg,
    #1a1a1a 0%, #1a1a1a 30%,
    #2c2c2c 45%, #3a3a3a 50%, #2c2c2c 55%,
    #1a1a1a 70%, #1a1a1a 100%);
  background-size: 250% 100%;
  animation: heroShimmer 1.6s ease-in-out infinite;
  pointer-events: none;
  transition: opacity .5s ease;
}
.lp-hero-slides:not(.hero-loading)::before { opacity: 0; pointer-events: none; }
@keyframes heroShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero-slides.hero-loading::before { animation: none; background: #1d1d1d; }
}
.lp-hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.lp-hero-slides .hero-slide {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  background-color: transparent;
  opacity: 0; transition: opacity 1.2s ease;
  transform: scale(1.04);
  animation: heroZoom 12s ease-in-out infinite alternate;
  z-index: 1; /* above the shimmer ::before */
}
.lp-hero-slides .hero-slide.active { opacity: 1; }
/* When the full image has loaded, mark the slide so the shimmer can fade out.
   The blurred LQIP underneath the full image is naturally hidden once the
   sharp image paints over it. */
.lp-hero-slides .hero-slide.hero-slide-loaded { /* no extra style needed yet */ }
.lp-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
}
.lp-hero-content {
  position: relative; z-index: 2;
  max-width: 720px; padding: 0 24px;
}
.lp-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25); padding: 6px 14px; border-radius: 980px;
  margin-bottom: 28px; backdrop-filter: blur(8px);
  opacity: 0; animation: fadeUp .6s .1s ease forwards;
}
.lp-hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #34c759; flex-shrink: 0; box-shadow: 0 0 6px rgba(52,199,89,0.7); }
.lp-hero h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.025em;
  color: #fff; margin-bottom: 20px;
  opacity: 0; animation: fadeUp .8s .25s ease forwards;
}
.lp-hero h1 em { font-style: italic; color: rgba(255,255,255,0.6); }
.lp-hero-sub {
  font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,0.7);
  line-height: 1.7; max-width: 480px; margin: 0 auto 36px;
  opacity: 0; animation: fadeUp .7s .4s ease forwards;
}
.lp-hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .55s ease forwards;
}
.lp-trust-line {
  font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 28px;
  opacity: 0; animation: fadeUp .6s .7s ease forwards;
}
.lp-hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.lp-hero-dots .hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.lp-hero-dots .hero-dot.active { background: #fff; transform: scale(1.3); }

/* ─── Stats Bar ─── */
.lp-stats {
  background: var(--text); padding: 0;
  position: relative; z-index: 10;
}
.lp-stats-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(var(--stat-cols, 3), 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
}
.lp-stat {
  text-align: center; padding: 40px 24px;
  background: var(--text);
}
.lp-stat-value {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; color: #fff; line-height: 1; margin-bottom: 6px;
}
.lp-stat-label {
  font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ─── Sections ─── */
.lp-section { padding: 100px 24px; }
.lp-section--alt { background: var(--bg); }
.lp-section--dark { background: var(--text); }
.lp-inner { max-width: 1080px; margin: 0 auto; }
.lp-section-head { text-align: center; margin-bottom: 56px; }
.lp-section-head .body-t { max-width: 520px; margin: 12px auto 0; }
.lp-faq-inner { max-width: 720px; }

/* ─── Problem ─── */
.lp-problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.lp-problem-text .eyebrow { margin-bottom: 14px; }
.lp-problem-text h2 { margin-bottom: 20px; }
.lp-problem-text p { font-size: 0.95rem; font-weight: 300; color: var(--muted); line-height: 1.85; }
.lp-problem-img {
  border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
  background: var(--bg);
}
.lp-problem-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── Services ─── */
.lp-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--light); border-radius: var(--r); overflow: hidden;
}
.lp-service-card {
  background: var(--white); padding: 40px 28px;
  transition: background .2s, transform .2s;
}
.lp-service-card:hover { background: var(--bg2); }
.lp-service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.lp-service-card h3 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  margin-bottom: 10px;
}
.lp-service-card p {
  font-size: 0.82rem; font-weight: 300; color: var(--muted); line-height: 1.75;
  margin-bottom: 16px;
}
.lp-service-features {
  list-style: none; padding: 0;
}
.lp-service-features li {
  font-size: 0.78rem; color: var(--muted); padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}
.lp-service-features li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

/* ─── Portfolio ─── */
.lp-portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lp-portfolio-item {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3; position: relative; cursor: pointer;
}
.lp-portfolio-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.lp-portfolio-item:hover img { transform: scale(1.06); }
.lp-portfolio-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; font-size: 0.72rem; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  opacity: 0; transition: opacity .3s;
}
.lp-portfolio-item:hover .lp-portfolio-caption { opacity: 1; }

/* ─── Showreel ─── */
.lp-showreel-wrap {
  max-width: 800px; margin: 32px auto 0;
  border-radius: var(--r); overflow: hidden;
  aspect-ratio: 16/9; background: #000;
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
}
.lp-showreel-wrap iframe,
.lp-showreel-wrap video {
  width: 100%; height: 100%; border: 0; display: block;
}

/* ─── Before/After (grid mode — preserved as fallback) ─── */
.lp-ba-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.lp-ba-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--r); overflow: hidden;
}
.lp-ba-side {
  position: relative; aspect-ratio: 4/3;
}
.lp-ba-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-ba-label {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 4px 10px; border-radius: 6px;
  pointer-events: none; z-index: 4;
}
.lp-ba-label--before { background: rgba(239,68,68,0.9); color: #fff; }
.lp-ba-label--after { background: rgba(16,185,129,0.9); color: #fff; }

/* ─── Before/After interactive slider ─── */
/* When slider pairs are present, lay them out one per row (full width) so
   each comparison gets enough space to breathe. */
.lp-ba-grid:has(.lp-ba-slider) {
  grid-template-columns: 1fr;
  max-width: 1080px; margin: 0 auto;
}

.lp-ba-slider {
  /* Override .lp-ba-item's display:grid + grid-template-columns:1fr 1fr —
     those are for the side-by-side grid mode and were breaking the slider. */
  display: block !important;
  grid-template-columns: none !important;
  position: relative; width: 100%; aspect-ratio: 3/2;
  border-radius: var(--r); overflow: hidden;
  user-select: none; -webkit-user-select: none;
  touch-action: none;       /* prevent scroll-during-drag on mobile */
  cursor: ew-resize;
  background: #1a1a1a;
  outline: none;
  --bf-pos: 50%;            /* drives both clip-path and handle position */
}
.lp-ba-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,113,227,0.45);
}
.lp-ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  -webkit-user-drag: none; user-drag: none;
  pointer-events: none;
}
.lp-ba-slider-after  { z-index: 1; }
/* Before image is rendered full-size on top of the after image, then clipped
   from the right via clip-path so only the leftmost var(--bf-pos) is visible. */
.lp-ba-slider-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--bf-pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--bf-pos)) 0 0);
}

.lp-ba-slider-handle {
  position: absolute; top: 50%; left: var(--bf-pos);
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: #0e0e0e;
  border: 2px solid rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 4px rgba(255,255,255,0.18);
  cursor: ew-resize;
  transition: transform .15s ease, box-shadow .2s ease;
}
.lp-ba-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 6px rgba(255,255,255,0.22);
}
.lp-ba-slider-handle svg { width: 18px; height: 18px; }
/* Vertical line attached to the handle */
.lp-ba-slider-handle::before,
.lp-ba-slider-handle::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 2px; background: rgba(255,255,255,0.85);
  pointer-events: none;
}
.lp-ba-slider-handle::before { bottom: 100%; height: 9999px; }
.lp-ba-slider-handle::after  { top: 100%;    height: 9999px; }

.lp-ba-slider-caption {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; font-weight: 500;
  color: #fff; background: rgba(0,0,0,0.55);
  padding: 6px 14px; border-radius: 100px;
  backdrop-filter: blur(8px);
  white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
  z-index: 4; pointer-events: none;
}

/* Auto-demo sweep on first viewport entry — animates to 80%, back to 20%, settles at 50% */
.lp-ba-slider.lp-ba-slider-demo { --bf-pos: 50%; animation: bfDemo 2.2s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes bfDemo {
  0%   { --bf-pos: 50%; }
  20%  { --bf-pos: 80%; }
  55%  { --bf-pos: 20%; }
  100% { --bf-pos: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-ba-slider.lp-ba-slider-demo { animation: none; }
}

/* ─── Process ─── */
.lp-process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  counter-reset: step;
}
.lp-process-step {
  text-align: center; padding: 32px 24px;
  counter-increment: step;
}
.lp-process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); font-family: var(--serif);
  font-size: 1.4rem; font-weight: 400; color: var(--text);
  margin-bottom: 20px;
}
.lp-process-step h3 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  margin-bottom: 10px;
}
.lp-process-step p {
  font-size: 0.82rem; font-weight: 300; color: var(--muted); line-height: 1.75;
}

/* ─── Packages ─── */
.lp-packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lp-package {
  background: var(--white); border-radius: var(--r); padding: 36px 28px;
  border: 2px solid transparent; transition: border-color .3s, transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.lp-package:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.lp-package.highlighted { border-color: var(--blue); position: relative; }
.lp-package-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 0.68rem; font-weight: 600;
  padding: 4px 16px; border-radius: 980px; text-transform: uppercase; letter-spacing: 0.08em;
}
.lp-package h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400;
  margin-bottom: 8px;
}
.lp-package-price {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 400;
  color: var(--text); margin-bottom: 20px; line-height: 1;
}
.lp-package-price.hidden-price {
  font-size: 0.85rem; font-weight: 400; font-family: var(--sans);
  color: var(--muted);
}
.lp-package-features {
  list-style: none; padding: 0; flex: 1;
}
.lp-package-features li {
  font-size: 0.82rem; color: var(--muted); padding: 8px 0;
  border-bottom: 1px solid var(--bg);
  display: flex; align-items: center; gap: 10px;
}
.lp-package-features li::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2310b981'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lp-package .btn { margin-top: 24px; text-align: center; justify-content: center; }
.lp-package .btn-fill { background: var(--text); color: var(--white); }
.lp-package.highlighted .btn-fill { background: var(--blue); color: #fff; }

/* ─── Testimonials ─── */
.lp-testimonials-scroll {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lp-testimonial {
  background: var(--bg); border-radius: var(--r); padding: 32px 24px;
}
.lp-testimonial-stars {
  display: flex; gap: 2px; margin-bottom: 16px;
}
.lp-testimonial-stars svg { width: 16px; height: 16px; fill: #f5a623; color: #f5a623; }
.lp-testimonial-text {
  font-size: 0.88rem; font-weight: 300; color: var(--muted);
  line-height: 1.75; margin-bottom: 20px; font-style: italic;
}
.lp-testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.lp-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--light); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 500; color: var(--blue);
}
.lp-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-testimonial-name { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.lp-testimonial-role { font-size: 0.72rem; color: var(--muted); }

/* ─── Final CTA / Contact ─── */
.lp-cta-final { padding: 100px 24px; }
.lp-cta-final h2 { margin-bottom: 12px; }
.lp-cta-final h2 em { color: rgba(255,255,255,0.5); }
.lp-cta-sub {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
}
.lp-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 800px; margin: 0 auto; text-align: left;
}
.lp-form .fg label { color: rgba(255,255,255,0.7); }
.lp-form .fg input, .lp-form .fg textarea {
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.12);
  color: #fff;
}
.lp-form .fg input::placeholder, .lp-form .fg textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.lp-form .fg input:focus, .lp-form .fg textarea:focus {
  border-color: var(--blue); background: rgba(255,255,255,0.12);
}
.lp-form .fsub { width: 100%; }
.lp-contact-side {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.lp-contact-or {
  font-size: 0.8rem; color: rgba(255,255,255,0.35); text-transform: uppercase;
  letter-spacing: 0.1em;
}
.lp-wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 14px 32px;
  border-radius: 980px; font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.lp-wa-btn:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.lp-wa-note {
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
}

/* ─── Sticky Mobile CTA ─── */
.lp-sticky-cta {
  display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; padding: 14px 36px; border-radius: 980px;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500; text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,113,227,0.4); z-index: 300;
  transition: opacity .3s, transform .3s;
  opacity: 0; pointer-events: none;
}
.lp-sticky-cta.visible { opacity: 1; pointer-events: auto; }

/* ─── Scroll Reveal ─── */
.lp-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.lp-reveal.in { opacity: 1; transform: none; }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
  .lp-services-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-packages-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-testimonials-scroll { grid-template-columns: repeat(2, 1fr); }
  .lp-ba-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .lp-sticky-cta { display: block; }
  #lpNavCta { display: none; }
  .lp-problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-process-grid { grid-template-columns: 1fr; gap: 16px; }
  .lp-section { padding: 72px 20px; }
}

@media (max-width: 600px) {
  .lp-hero { min-height: 85vh; }
  .lp-hero h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .lp-hero-sub { font-size: 0.88rem; margin-bottom: 24px; }
  .lp-services-grid { grid-template-columns: 1fr; }
  .lp-packages-grid { grid-template-columns: 1fr; }
  .lp-testimonials-scroll { grid-template-columns: 1fr; }
  .lp-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .lp-stat { padding: 28px 16px; }
  .lp-stat-value { font-size: 1.8rem; }
  #lpNav { padding: 0 16px; }
}

/* ─── Dark Mode ─── */
[data-theme="dark"] .lp-section--alt { background: #111; }
[data-theme="dark"] .lp-service-card { background: #0a0a0a; }
[data-theme="dark"] .lp-service-card:hover { background: #151515; }
[data-theme="dark"] .lp-package { background: #0a0a0a; }
[data-theme="dark"] .lp-testimonial { background: #111; }
[data-theme="dark"] .lp-service-icon { background: #151515; }
[data-theme="dark"] .lp-process-num { background: #151515; }

/* ═══════════════════════════════════════════════════════════════════════════
   Service Portfolio — Gallery Sheet (matches main site aesthetic)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Backdrop ─── */
.lp-gallery-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lp-gallery-backdrop.open { opacity: 1; pointer-events: all; }

/* ─── Gallery Sheet (both desktop & mobile) ─── */
.lp-gallery {
  position: fixed; inset: 0; z-index: 1001;
  display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lp-gallery.open { opacity: 1; pointer-events: all; }
.lp-gallery.open .lp-gallery-inner { transform: translateY(0); }

.lp-gallery-inner {
  background: var(--white);
  width: 100%; max-height: 92vh;
  border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}

/* ─── Header ─── */
.lp-gallery-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 32px 0;
  flex-shrink: 0;
}
.lp-gallery-header-left { flex: 1; min-width: 0; }
.lp-gallery-eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 4px;
}
.lp-gallery-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500; color: var(--text);
  margin: 4px 0 10px;
}
.lp-gallery-desc {
  font-family: var(--sans);
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.65; max-width: 520px;
  margin: 0 0 4px;
}
.lp-gallery-header-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 8px; flex-shrink: 0; margin-left: 16px;
}
.lp-gallery-close {
  background: var(--bg); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem;
  transition: background .2s;
}
.lp-gallery-close:hover { background: var(--light); }
.lp-gallery-count {
  font-family: var(--sans);
  font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─── Tabs (pill style) ─── */
.lp-gallery-tabs {
  display: flex; gap: 6px; padding: 14px 32px 0;
  flex-shrink: 0; overflow-x: auto;
  scrollbar-width: none;
}
.lp-gallery-tabs::-webkit-scrollbar { display: none; }
.lp-gallery-tab {
  padding: 6px 16px; border-radius: 980px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  background: var(--bg); color: var(--muted);
  border: 1px solid transparent; cursor: pointer;
  white-space: nowrap; transition: all .2s;
}
.lp-gallery-tab:hover { background: var(--light); color: var(--text); }
.lp-gallery-tab.active {
  background: var(--text); color: var(--white);
  border-color: var(--text);
}

/* ─── Tab panels ─── */
.lp-gallery-body {
  flex: 1; overflow-y: auto; padding: 14px 32px;
}
.lp-gallery-panel { display: none; }
.lp-gallery-panel.active { display: block; }

/* ─── Photo grid (masonry) ─── */
.lp-gallery-photo-grid {
  columns: 4; column-gap: 4px;
}
.lp-gallery-photo-item {
  break-inside: avoid; margin-bottom: 4px;
  border-radius: 6px; overflow: hidden;
  cursor: zoom-in; position: relative;
  background: var(--bg);
}
.lp-gallery-photo-item img {
  width: 100%; display: block;
  transition: transform .45s ease, filter .3s;
}
.lp-gallery-photo-item:hover img {
  transform: scale(1.06); filter: brightness(0.92);
}
.lp-gallery-zoom-icon {
  opacity: 0; transition: opacity .25s;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: rgba(255,255,255,0.88); border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  font-size: 0.85rem; pointer-events: none;
}
.lp-gallery-photo-item:hover .lp-gallery-zoom-icon { opacity: 1; }

/* ─── Video / 3D iframe ─── */
.lp-gallery-video-wrap {
  position: relative; width: 100%;
  padding-bottom: 56.25%; border-radius: var(--r); overflow: hidden;
  background: #000;
}
.lp-gallery-video-wrap iframe,
.lp-gallery-video-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.lp-gallery-tour-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 10px 20px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  color: var(--blue); text-decoration: none;
  background: rgba(0,113,227,0.07); border-radius: 100px;
  transition: background .2s;
}
.lp-gallery-tour-btn:hover { background: rgba(0,113,227,0.13); }

/* ─── Footer CTA ─── */
.lp-gallery-footer {
  padding: 18px 32px 26px;
  border-top: 1px solid var(--bg);
  text-align: center; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.lp-gallery-footer .btn {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  color: var(--blue); background: rgba(0,113,227,0.07);
  border-radius: 100px; padding: 10px 24px;
  text-decoration: none; display: inline-block;
  transition: background .2s;
}
.lp-gallery-footer .btn:hover { background: rgba(0,113,227,0.13); }
.lp-gallery-footer .btn-wa {
  color: #25d366; background: rgba(37,211,102,0.08);
}
.lp-gallery-footer .btn-wa:hover { background: rgba(37,211,102,0.16); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .lp-gallery-header { padding: 20px 20px 0; }
  .lp-gallery-tabs { padding: 12px 20px 0; }
  .lp-gallery-body { padding: 12px 20px; }
  .lp-gallery-photo-grid { columns: 2; }
  .lp-gallery-footer { padding: 14px 20px 20px; }
  .lp-gallery-title { font-size: 1.2rem; }
  .lp-gallery-header-right { margin-left: 8px; }
}
@media (max-width: 480px) {
  .lp-gallery-photo-grid { columns: 2; column-gap: 3px; }
  .lp-gallery-photo-item { margin-bottom: 3px; }
}

/* ─── Lightbox ─── */
.lp-lightbox {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.96);
  display: flex; align-items: center; justify-content: center;
  animation: lpLbFadeIn .15s ease;
}
@keyframes lpLbFadeIn { from { opacity:0 } to { opacity:1 } }
.lp-lightbox-img {
  max-width: 90vw; max-height: 90vh;
  border-radius: 6px; object-fit: contain;
  user-select: none;
}
.lp-lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  width: 36px; height: 36px; color: #fff; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lp-lightbox-close:hover { background: rgba(255,255,255,.25); }
.lp-lightbox-prev,
.lp-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  width: 44px; height: 44px; color: #fff; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lp-lightbox-prev { left: 16px; }
.lp-lightbox-next { right: 16px; }
.lp-lightbox-prev:hover,
.lp-lightbox-next:hover { background: rgba(255,255,255,.25); }
.lp-lightbox-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.78rem; color: rgba(255,255,255,.5);
}

/* ─── "Ver Trabalhos" button on service card ─── */
.lp-service-media-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 7px 14px;
  background: rgba(0,113,227,0.07);
  border: none; border-radius: 100px;
  color: var(--blue); font-size: 0.72rem; font-weight: 500;
  cursor: pointer; transition: background .2s;
  font-family: var(--sans);
}
.lp-service-media-btn:hover {
  background: rgba(0,113,227,0.13);
}

/* ─── Dark mode overrides ─── */
[data-theme="dark"] .lp-gallery-inner { background: #1a1a1a; }
[data-theme="dark"] .lp-gallery-title { color: #fff; }
[data-theme="dark"] .lp-gallery-desc { color: #888; }
[data-theme="dark"] .lp-gallery-close { background: #2a2a2a; color: #888; }
[data-theme="dark"] .lp-gallery-close:hover { background: #333; }
[data-theme="dark"] .lp-gallery-tab { background: #2a2a2a; color: #888; }
[data-theme="dark"] .lp-gallery-tab:hover { background: #333; color: #ccc; }
[data-theme="dark"] .lp-gallery-tab.active { background: #fff; color: #1a1a1a; }
[data-theme="dark"] .lp-gallery-photo-item { background: #2a2a2a; }
[data-theme="dark"] .lp-gallery-footer { border-top-color: #2a2a2a; }

/* ─── Backgrounds Guide CTA (portrait landing) ─── */
.lp-bg-guide-section { padding: 60px 0; }
.lp-bg-guide-card {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
  background: #1d1d1f; color: #fff;
  border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.lp-bg-guide-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(0,113,227,0.18) 0%, transparent 65%);
}
.lp-bg-guide-swatches { display: flex; aspect-ratio: auto; min-height: 280px; }
.lp-bg-guide-swatch {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px;
}
.lp-bg-guide-swatch + .lp-bg-guide-swatch { border-left: 1px solid rgba(255,255,255,0.10); }
.lp-bg-guide-swatch span {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.4); padding: 4px 9px; border-radius: 100px;
  backdrop-filter: blur(6px);
}
.lp-bg-guide-swatch:first-child span { color: #1d1d1f; background: rgba(255,255,255,0.85); }
.lp-bg-guide-body {
  padding: 48px 44px; display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.lp-bg-guide-body .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.lp-bg-guide-body h2 { color: #fff; font-size: 2rem; line-height: 1.15; margin: 0 0 14px; font-family: var(--serif); font-weight: 500; }
.lp-bg-guide-body h2 em { color: #0071e3; font-style: italic; }
.lp-bg-guide-body p { color: rgba(255,255,255,0.72); font-size: 0.95rem; line-height: 1.6; margin: 0 0 24px; max-width: 52ch; }
.lp-bg-guide-body .btn { align-self: flex-start; }

@media (max-width: 768px) {
  .lp-bg-guide-card { grid-template-columns: 1fr; }
  .lp-bg-guide-swatches { min-height: 180px; }
  .lp-bg-guide-body { padding: 32px 24px; }
  .lp-bg-guide-body h2 { font-size: 1.55rem; }
}

/* ─── Other Services (SEO cross-linking section) ───────────────────────── */
.lp-other-services { background: var(--lp-bg-soft, #fafafa); padding: 80px 0; }
.lp-other-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.lp-other-head .eyebrow { color: var(--lp-muted, #6e6e73); margin-bottom: 12px; }
.lp-other-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500; line-height: 1.15;
  margin: 0 0 14px; color: #1d1d1f;
}
.lp-other-head h2 em { color: #0071e3; font-style: italic; }
.lp-other-sub { color: var(--lp-muted, #6e6e73); font-size: 1rem; line-height: 1.6; margin: 0; }
.lp-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.lp-other-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: #fff; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 22px rgba(0,0,0,0.06);
  transition: transform .35s cubic-bezier(0.2,0.8,0.2,1), box-shadow .35s;
}
.lp-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 18px 44px rgba(0,0,0,0.10);
}
.lp-other-card-img {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: #efefef;
  position: relative;
}
.lp-other-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.2,0.8,0.2,1);
}
.lp-other-card:hover .lp-other-card-img img { transform: scale(1.04); }
.lp-other-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.lp-other-card-eyebrow {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--lp-muted, #6e6e73);
  margin-bottom: 6px;
}
.lp-other-card-title {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.25;
  font-weight: 500; color: #1d1d1f; margin: 0 0 10px;
}
.lp-other-card-cta {
  margin-top: auto; font-size: 0.86rem; font-weight: 500;
  color: #0071e3; display: inline-flex; align-items: center; gap: 4px;
}
.lp-other-card:hover .lp-other-card-cta { gap: 8px; }
