/* =========================================================
   Marmoraria Bomfim — landing page
   ========================================================= */
:root {
  --ink: #141414;
  --ink-2: #1e1d1b;
  --ink-soft: #3a3835;
  --muted: #6b665f;
  --stone: #f1ede6;
  --stone-2: #e4ded3;
  --line: #ddd6ca;
  --white: #ffffff;
  --gold: #b8955a;
  --gold-light: #d4b98a;
  --wa: #16873f;
  --wa-hover: #11702f;
  --wa-bright: #25d366;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .08);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, .16);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  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: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 48px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.lead { font-size: 1.075rem; color: var(--muted); margin-top: 16px; }
.section { padding: var(--section) 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-stone { background: var(--stone); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead { color: #cfc9bf; }
.note { margin-top: 28px; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn-xl { min-height: 64px; padding: 18px 36px; font-size: 1.05rem; letter-spacing: .03em; }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 8px 20px rgba(22, 135, 63, .28); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(20, 20, 20, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(20, 20, 20, .96); box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark {
  display: block; width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
  border: 1.5px solid var(--gold);
}
.logo-text { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; white-space: nowrap; }
.logo-text strong { font-weight: 700; color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  text-decoration: none; font-weight: 600; font-size: .93rem; color: rgba(255, 255, 255, .88);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav ul a:hover { color: var(--white); border-color: var(--gold); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 8px;
  background: transparent; color: var(--white); position: relative;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle-bars { top: 23px; }
.menu-toggle-bars::before { content: ""; left: 0; top: -7px; }
.menu-toggle-bars::after { content: ""; left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: rgba(20, 20, 20, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav ul a:hover { border-color: rgba(255, 255, 255, .08); color: var(--gold-light); }
  .main-nav .btn { width: 100%; min-height: 52px; }
}
@media (max-width: 380px) {
  .logo-text { font-size: 1.15rem; }
  .logo-mark { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 940px); min-height: min(100svh, 940px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero-bg.is-active { opacity: 1; transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .hero-bg, .hero-bg.is-active { transition: opacity 1.2s ease; transform: none; } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .72) 45%, rgba(14, 13, 12, .35) 100%),
    linear-gradient(0deg, rgba(14, 13, 12, .5), transparent 40%);
}
.hero-content { max-width: 1200px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.07; letter-spacing: -.015em;
  max-width: 18ch; text-wrap: balance;
}
.hero-sub { margin-top: 22px; max-width: 560px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .88); }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 30px; }
.hero-highlights li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(212, 185, 138, .5); background: rgba(20, 20, 20, .35);
  font-size: .9rem; font-weight: 600;
}
.hero-highlights .icon { color: var(--gold-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.img-note {
  position: absolute; right: 12px; bottom: 10px; z-index: 1;
  font-size: .7rem; letter-spacing: .04em; color: rgba(255, 255, 255, .75);
  background: rgba(0, 0, 0, .35); padding: 3px 8px; border-radius: 4px;
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; }
  .hero-actions .btn { width: 100%; }
  .hero-highlights li { font-size: .84rem; }
}

/* ---------- Faixa de confiança ---------- */
.trust { background: var(--ink-2); color: var(--white); border-top: 1px solid rgba(212, 185, 138, .25); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li {
  display: flex; align-items: center; gap: 14px; padding: 26px 20px;
  font-weight: 600; font-size: .95rem; line-height: 1.35;
}
.trust-list li + li { border-left: 1px solid rgba(255, 255, 255, .08); }
.trust-list .icon { width: 30px; height: 30px; color: var(--gold-light); }
@media (max-width: 900px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { padding: 18px 4px; border-left: 0 !important; }
  .trust-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 28px; flex: 1; }
.service-body h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; }
.service-body p { color: var(--muted); flex: 1; }
.service-body .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-body .btn { align-self: stretch; } }

/* ---------- Materiais ---------- */
.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.material-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink);
  color: var(--white); min-height: 300px; display: flex; align-items: flex-end;
}
.material-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.material-card:hover img { transform: scale(1.05); }
.material-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 13, 12, 0) 25%, rgba(14, 13, 12, .88) 100%);
}
.material-body { position: relative; z-index: 1; padding: 24px; }
.material-body h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.material-body p { margin-top: 6px; font-size: .93rem; color: rgba(255, 255, 255, .88); }
.material-cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px;
  padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.material-cta p { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.25; }
@media (max-width: 960px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .materials-grid { grid-template-columns: 1fr; }
  .material-card { min-height: 250px; }
  .material-cta .btn { width: 100%; }
}

/* ---------- Galeria ---------- */
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery li { break-inside: avoid; margin-bottom: 18px; }
.gallery li.is-extra { display: none; }
.gallery.is-expanded li.is-extra { display: block; }
.gallery-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--stone-2);
}
.gallery-item img { width: 100%; transition: transform .5s, filter .5s; }
.gallery-item:hover img { transform: scale(1.03); filter: brightness(.88); }
.gallery-caption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(20, 20, 20, .78); color: var(--white);
  font-size: .8rem; font-weight: 600;
}
.gallery-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
@media (max-width: 600px) {
  .gallery { columns: 2; column-gap: 10px; }
  .gallery li { margin-bottom: 10px; }
  .gallery-caption { left: 6px; bottom: 6px; font-size: .7rem; padding: 3px 8px; }
  .gallery-actions .btn { width: 100%; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(212, 185, 138, .55); border-radius: var(--radius); z-index: 0; pointer-events: none;
}
.about-media img { position: relative; z-index: 1; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 32px; }
.features li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.features .icon { color: var(--gold-light); width: 24px; height: 24px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media::before { inset: -10px 10px 10px -10px; }
}
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative; padding: 36px 30px 32px; border-radius: var(--radius);
  background: var(--stone); border: 1px solid var(--line);
}
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 50%; background: var(--ink); color: var(--gold-light);
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
}
.step h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 600px) { .center .btn { width: 100%; } }

/* ---------- Pagamento ---------- */
.payment { background: linear-gradient(120deg, #1b1a18, #2b2824); color: var(--white); padding: 56px 0; }
.payment-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.payment-badge {
  display: grid; place-items: center; align-content: center; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold-light); line-height: 1;
}
.payment-badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }
.payment-badge strong { font-family: var(--font-display); font-size: 2.8rem; }
.payment h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.payment p { margin-top: 8px; color: #d6d0c6; }
@media (max-width: 860px) {
  .payment-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; }
}
@media (max-width: 600px) { .payment .btn { width: 100%; } }

/* ---------- Localização ---------- */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.location address { margin-top: 28px; display: grid; gap: 14px; }
.location address p { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.location address .icon { color: var(--gold); margin-top: 3px; }
.location address a { text-decoration: none; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.location address a:hover { border-color: var(--gold); }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--stone) url("../img/web/material-marmore.jpg") center / cover;
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  position: absolute; inset: 0; width: 100%; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(241, 237, 230, .82); color: var(--ink); padding: 24px; text-align: center;
}
.map-load .icon { width: 44px; height: 44px; color: var(--gold); }
.map-load span { font-weight: 700; font-size: 1.1rem; border-bottom: 2px solid var(--gold); }
.map-load small { color: var(--muted); }
.map-load:hover { background: rgba(241, 237, 230, .7); }
@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; }
  .location-actions .btn { flex: 1 1 220px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding: clamp(80px, 12vw, 150px) 0; text-align: center;
}
.final-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final-cta-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(14, 13, 12, .78); }
.final-cta-content { max-width: 820px; }
.final-cta h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); text-wrap: balance; }
.final-cta p { margin: 20px auto 36px; max-width: 600px; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }
@media (max-width: 600px) { .btn-xl { width: 100%; font-size: .95rem; padding: 16px 20px; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #cfc9bf; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 40px; }
.logo-light { color: var(--white); }
.footer-about { margin: 18px 0 22px; max-width: 320px; }
.footer-title {
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: var(--gold-light); margin-bottom: 18px;
}
.footer-list { display: grid; gap: 10px; }
.footer-list a { text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #a49e94;
  display: grid; gap: 10px;
}
.credits a { color: #cfc9bf; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding-bottom: 104px; } /* espaço para o botão flutuante */
}

/* ---------- Botão flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa-bright); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 3px rgba(255, 255, 255, .9);
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }
.wa-float { transition: transform .2s, box-shadow .2s, opacity .3s, visibility .3s; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.6s ease-out 3;
}
@keyframes wa-pulse { to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 10, .95); color: var(--white);
}
.lightbox::backdrop { background: rgba(10, 10, 10, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 64px 72px; display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(1080px, 100%); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox figcaption { font-size: .95rem; text-align: center; color: #e6e0d6; min-height: 1.5em; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--white);
  font-size: 2rem; line-height: 1; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; font-size: .85rem; color: #bdb6ab; }
@media (max-width: 600px) {
  .lightbox figure { padding: 72px 12px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Animação de entrada (só com JS e sem redução de movimento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
