/* =========================================================
   NOX Wallpapers — Landing Page
   HTML5 + CSS3 + JS Vanilla puro. Mobile-first.
   ========================================================= */

:root {
  --bg: #090909;
  --bg-alt: #0d0d0d;
  --card: #1a1a1a;
  --card-hover: #212121;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-secondary: #d9d9d9;
  --text-muted: #8f8f8f;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --gold: #d4af37;

  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-display: swap;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: clamp(56px, 9vw, 120px);
}

.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 12px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* Reveal-on-scroll (progressive enhancement). Conteúdo é 100% visível por
   padrão — só fica oculto-até-revelar quando lazyload.js confirma suporte
   a IntersectionObserver e "arma" a animação via .reveal-armed no <html>. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal-armed .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-armed .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Defer render cost of far-offscreen sections without removing them from
   the DOM (keeps content crawlable/accessible, avoids heavy custom JS). */
.carousel-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  min-width: 0;
  flex: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), #1e3a8a);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  display: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 860px) {
  .main-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .header-actions .btn {
    display: inline-flex;
    padding: 11px 22px;
  }
}

/* Mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(9, 9, 9, 0.98);
  backdrop-filter: blur(10px);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 4px;
  font-size: 1.1rem;
}

.mobile-nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .mobile-nav {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(
    ellipse at top,
    rgba(59, 130, 246, 0.22),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-copy,
.hero-showcase {
  min-width: 0;
}

.hero-copy {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.hero-title {
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--accent-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 20px auto 0;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 44px);
  margin-top: 44px;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-showcase {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(155deg, #1c1c1c, #050505);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-frame .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--card);
}

.phone-frame .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-frame .notch {
  position: absolute;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  width: 38%;
  height: 22px;
  background: #050505;
  border-radius: 999px;
  z-index: 2;
}

@media (min-width: 760px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
  }
  .hero-copy,
  .hero-actions,
  .hero-stats {
    text-align: left;
    justify-content: flex-start;
  }
  .hero-subtitle {
    margin-inline: 0;
  }
}

/* ---------- Benefícios ---------- */
.benefits-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.benefit-card {
  min-width: 0;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--card-hover);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-2);
  margin-bottom: 18px;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  min-width: 0;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), #1e40af);
  font-weight: 800;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---------- Categorias ---------- */
.categories-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.category-chip {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  isolation: isolate;
}

.category-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.category-chip:hover img {
  transform: scale(1.06);
}

.category-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 10%,
    rgba(0, 0, 0, 0.1) 60%
  );
  z-index: 1;
}

.category-chip .chip-label {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
}

.category-chip .chip-label strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.category-chip .chip-label span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ---------- Carrosséis ---------- */
.carousel-section + .carousel-section {
  margin-top: clamp(40px, 6vw, 72px);
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.carousel-header > * {
  min-width: 0;
}

.carousel-header h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
}

.carousel-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.carousel-nav {
  display: none;
  gap: 8px;
}

.carousel-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: var(--card);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.carousel-nav button:hover {
  border-color: var(--accent);
  background: var(--card-hover);
}

.carousel-nav svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 760px) {
  .carousel-nav {
    display: flex;
  }
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 20px;
  padding: 4px 20px 18px;
  margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.wallpaper-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: clamp(150px, 40vw, 190px);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.wallpaper-card button.wallpaper-trigger {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
}

.wallpaper-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  background: var(--card);
  transition: transform 0.4s var(--ease);
}

.wallpaper-card:hover img {
  transform: scale(1.045);
}

/* ---------- Oferta ---------- */
.offer-card {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #151515, #0c0c0c);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.offer-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 4px;
}

.offer-price .old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.1rem;
}

.offer-price .new {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.offer-price .cents {
  font-size: 1.3rem;
  font-weight: 700;
}

.offer-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 26px;
}

.offer-features {
  text-align: left;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.offer-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.offer-features li span {
  min-width: 0;
}

.offer-features svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: #34d399;
  margin-top: 1px;
}

.offer-timer {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Depoimentos ---------- */
.testimonials-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  min-width: 0;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}

.stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(145deg, var(--accent), #1e3a8a);
}

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Garantia ---------- */
.guarantee {
  display: grid;
  gap: 28px;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.guarantee-badge {
  width: 84px;
  height: 84px;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.guarantee-badge svg {
  width: 38px;
  height: 38px;
}

.guarantee h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-top: 20px;
}

.guarantee p {
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .icon-plus {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-item .icon-plus::before,
.faq-item .icon-plus::after {
  content: "";
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.faq-item .icon-plus::before {
  inset: 45% 0;
  height: 2px;
}

.faq-item .icon-plus::after {
  inset: 0 45%;
  width: 2px;
}

.faq-item[open] .icon-plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  padding: clamp(56px, 10vw, 110px) 0;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(59, 130, 246, 0.16),
      transparent 60%
    ),
    var(--bg-alt);
}

.cta-final h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-inline: auto;
}

.cta-final p {
  color: var(--text-secondary);
  margin: 16px auto 32px;
  max-width: 480px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.footer-grid > * {
  min-width: 0;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Botão flutuante ---------- */
.floating-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  justify-content: center;
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}

.floating-cta.is-visible {
  transform: none;
}

.floating-cta .btn {
  width: 100%;
  max-width: 420px;
  padding: 15px;
}

@media (min-width: 860px) {
  .floating-cta {
    left: auto;
    right: 24px;
    bottom: 24px;
  }
  .floating-cta .btn {
    width: auto;
  }
}

/* ---------- Modal / Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.lightbox-caption {
  text-align: center;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

/* ---------- Skeleton (primeira pintura) ---------- */
.skeleton {
  background: linear-gradient(
    100deg,
    var(--card) 30%,
    var(--card-hover) 50%,
    var(--card) 70%
  );
  background-size: 200% 100%;
  animation: skeleton-sheen 1.6s ease-in-out infinite;
}

@keyframes skeleton-sheen {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
