/* ==========================================================================
   Marmoraria Toque de Nobreza — layout comercial
   ========================================================================== */

:root {
  --black: #0D0D0F;
  --graphite: #121214;
  --graphite-2: #1B1B1F;
  --charcoal: #141414;
  --soft: #F6F6F4;
  --white: #FFFFFF;
  --border: #E5E4E0;
  --border-dark: #2A2A2F;
  --text: #141414;
  --text-2: #5C5A55;          /* secundário em fundo claro (AA) */
  --text-inv: #F4F3F0;
  --text-inv-2: #A9A7A1;      /* secundário em fundo escuro (AA) */
  --gold: #B88E36;            /* botões e destaques */
  --gold-hover: #A27B2B;
  --gold-text: #8A6A24;       /* dourado para texto pequeno em fundo claro (AA) */
  --gold-light: #D9B66A;      /* dourado para texto em fundo escuro */

  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --radius: 8px;
  --section-y: clamp(64px, 8vw, 104px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--white); padding: 10px 16px; font-weight: 600; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section--white { background: var(--white); }
.section--dark { background: var(--graphite); color: var(--text-inv); }

/* ---------- Tipografia ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4vw, 52px); }
.section-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--charcoal); }
.section--dark .section-title { color: var(--white); }
.section-sub { margin-top: 12px; font-size: 17px; color: var(--text-2); }
.section--dark .section-sub { color: var(--text-inv-2); }
.section-title--left, .section-sub--left { text-align: left; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { font-size: 20px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--line { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn--line:hover { border-color: var(--white); }
.btn--line-dark { border-color: #CFCDC7; color: var(--charcoal); background: var(--white); }
.btn--line-dark:hover { border-color: var(--charcoal); }

.stars { display: inline-flex; gap: 2px; color: #E0A82E; }
.stars svg { width: 15px; height: 15px; }
.stars--lg svg { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--text-inv); border-bottom: 1px solid #1F1F23; }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { height: 50px; width: auto; object-fit: contain; mix-blend-mode: lighten; }
.brand__text { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; line-height: 1.1; color: var(--white); }
.brand__text small { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 24px; }
.nav__link { font-size: 14.5px; font-weight: 500; color: #D6D4CF; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--white); border-bottom-color: var(--gold); }

.header__contact { display: flex; align-items: center; gap: 18px; padding-left: 24px; border-left: 1px solid #2A2A2F; }
.header__phone, .header__wa { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--white); white-space: nowrap; }
.header__phone svg, .header__wa svg { font-size: 18px; color: var(--gold-light); }
.header__phone:hover, .header__wa:hover { color: var(--gold-light); }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; color: var(--white); border-radius: 6px; }
.menu-toggle svg { font-size: 26px; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--black); padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.mobile-menu ul { margin-bottom: 12px; }
.mobile-menu li a { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; color: var(--white); border-bottom: 1px solid #222226; }

/* ---------- Hero ---------- */
/* Hero ocupa a tela inteira abaixo do header (svh evita o salto da barra do navegador no celular) */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--black); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__overlay { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.62); }
.hero__content { position: relative; z-index: 1; text-align: center; padding-block: 72px 64px; }
.hero__title { max-width: 920px; margin: 0 auto; font-size: clamp(34px, 5.2vw, 62px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.hero__sub { max-width: 680px; margin: 18px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: #E3E1DC; }

.quickbar {
  display: grid; grid-template-columns: 1.15fr 1fr 1.15fr auto; align-items: stretch;
  max-width: 1020px; margin: 44px auto 0; padding: 10px; text-align: left;
  background: var(--white); color: var(--text); border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.28);
}
.quickbar__field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 18px; min-width: 0; }
.quickbar__field + .quickbar__field { border-left: 1px solid var(--border); }
.quickbar__field label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.quickbar__field select, .quickbar__field input { width: 100%; border: 0; background: transparent; padding: 4px 0; font-size: 16px; font-weight: 500; color: var(--charcoal); outline: none; }
.quickbar__field select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23141414' stroke-width='1.75'/%3E%3C/svg%3E") right center / 16px no-repeat; }
.quickbar__field input::placeholder { color: #8B8983; }
.quickbar__field:focus-within label { color: var(--gold-text); }
.quickbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 28px; min-height: 60px; border-radius: 6px; background: var(--charcoal); color: var(--white); font-size: 16px; font-weight: 700; white-space: nowrap; transition: background-color .25s; }
.quickbar__btn svg { font-size: 22px; color: var(--gold-light); }
.quickbar__btn:hover { background: #2B2B2B; }

/* ---------- Cards de serviço ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease); }
.card:hover { border-color: #CFCDC7; }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease); }
.card__media:hover img { transform: scale(1.04); }
.card__tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 4px; background: rgba(13,13,15,.75); color: var(--white); font-size: 12px; font-weight: 600; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--charcoal); }
.card__body p { margin-top: 8px; color: var(--text-2); font-size: 15px; flex: 1; }
.card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14.5px; font-weight: 700; color: var(--gold-text); }
.card__cta svg { font-size: 18px; transition: transform .25s var(--ease); }
.card__cta:hover svg { transform: translateX(4px); }

/* ---------- Mostruário ---------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-dark); background: var(--graphite-2); color: #D6D4CF; font-size: 14.5px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.pill span { font-size: 12.5px; color: var(--text-inv-2); font-weight: 500; }
.pill:hover { border-color: #4A4A50; color: var(--white); }
.pill.is-active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pill.is-active span { color: rgba(255,255,255,.85); }

.stone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stone { transition: opacity .25s var(--ease); }
.stone.is-hiding { opacity: 0; }
.stone__btn { display: block; width: 100%; text-align: left; perspective: 900px; }
/* Inclinação 3D: --rx/--ry são definidos pelo JS conforme a posição do cursor */
.stone__swatch {
  display: block; position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--graphite-2);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1);
  transition: transform .6s var(--ease);
  will-change: transform; touch-action: pan-y;
}
.stone__swatch.is-tilting { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.04); transition: transform .12s linear; }
.stone__swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.stone__swatch.is-tilting img { transform: scale(1.25); }
.stone__swatch--pattern { background-size: 84px 84px; background-repeat: repeat; }
.stone__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.35), rgba(255,255,255,0) 55%); mix-blend-mode: soft-light; }
.stone__swatch.is-tilting .stone__glare { opacity: 1; }
.stone__btn:focus-visible .stone__swatch { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.stone__name { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--white); }
.stone__meta { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-inv-2); }

/* ---------- Drawer técnico ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--white); color: var(--text); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .4s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--charcoal); border: 1px solid var(--border); }
.drawer__close svg { font-size: 20px; }
/* Palco 3D da chapa (CSS 3D, sem WebGL) */
.stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2C2C32 0%, #121214 70%); }
.slab3d-view { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1000px; cursor: grab; touch-action: none; outline-offset: -4px; }
.slab3d-view.is-dragging { cursor: grabbing; }
.slab3d {
  --t: 16px;                         /* espessura da chapa */
  position: relative; width: 74%; aspect-ratio: 382 / 228; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, -24deg));
  transition: transform .25s var(--ease);
}
.slab3d-view.is-dragging .slab3d { transition: none; }
.slab3d-view.is-idle .slab3d { animation: slabSway 6s ease-in-out infinite; }
@keyframes slabSway {
  0%, 100% { transform: rotateX(14deg) rotateY(-24deg); }
  50% { transform: rotateX(8deg) rotateY(18deg); }
}
.slab3d__face { position: absolute; background-position: center; }
.slab3d__face--front { inset: 0; transform: translateZ(calc(var(--t) / 2)); }
.slab3d__face--back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); filter: brightness(.55); }
/* bordas: --hw/--hh = metade da largura/altura da chapa, medidas pelo JS */
.slab3d__face--right, .slab3d__face--left { top: 0; height: 100%; width: var(--t); left: calc(50% - var(--t) / 2); filter: brightness(.5) contrast(1.1); }
.slab3d__face--right { transform: rotateY(90deg) translateZ(var(--hw, 0px)); }
.slab3d__face--left { transform: rotateY(-90deg) translateZ(var(--hw, 0px)); }
.slab3d__face--top, .slab3d__face--bottom { left: 0; width: 100%; height: var(--t); top: calc(50% - var(--t) / 2); filter: brightness(.6) contrast(1.1); }
.slab3d__face--top { transform: rotateX(90deg) translateZ(var(--hh, 0px)); }
.slab3d__face--bottom { transform: rotateX(-90deg) translateZ(var(--hh, 0px)); }
.slab3d__glare { position: absolute; inset: 0; transform: translateZ(calc(var(--t) / 2 + .5px)); pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) var(--gx, 50%), rgba(255,255,255,0) 75%); mix-blend-mode: soft-light; }
.stage__hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #E6E4DF; font-size: 12.5px; font-weight: 600; pointer-events: none; white-space: nowrap; transition: opacity .4s; }
.stage__hint.is-hidden { opacity: 0; }
.stage__zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 4px; background: rgba(255,255,255,.92); color: var(--charcoal); font-size: 12.5px; font-weight: 700; cursor: zoom-in; }
.stage__tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 4px; background: rgba(13,13,15,.75); color: var(--white); font-size: 12px; font-weight: 600; pointer-events: none; }
.drawer__body { padding: 26px 28px 32px; }
.drawer__cat { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.drawer__title { margin-top: 6px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.drawer__desc { margin-top: 10px; color: var(--text-2); }
.tech { margin: 22px 0 26px; border-top: 1px solid var(--border); }
.tech > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.tech dt { font-size: 14px; font-weight: 700; color: var(--charcoal); }
.tech dd { font-size: 14.5px; color: var(--text-2); }
.finishes { display: flex; flex-wrap: wrap; gap: 6px; }
.finishes li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.finishes li.is-on { border-color: var(--gold); color: var(--gold-text); background: #FBF6EC; }
.finishes__note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }

/* ---------- Execução (vídeo) ---------- */
.video { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.video__media { display: flex; justify-content: center; }
.player { position: relative; width: fit-content; max-width: 100%; border-radius: 8px; overflow: hidden; background: #000; line-height: 0; }
.player video { display: block; width: auto; max-width: 100%; height: auto; max-height: 540px; border-radius: 8px; }
.player__big { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--white); transition: background-color .2s, opacity .2s; }
.player__big svg { font-size: 26px; margin-left: 4px; }
.player__big:hover { background: var(--gold-hover); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding: 26px 8px 8px; line-height: 1; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .3s; }
.player.is-started .player__bar { opacity: 1; }
.player.is-playing.is-idle .player__bar { opacity: 0; }
.player__btn { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); border-radius: 6px; }
.player__btn svg { font-size: 19px; }
.player__time { font-size: 12px; font-variant-numeric: tabular-nums; min-width: 34px; color: var(--white); }
.player__seek { flex: 1; -webkit-appearance: none; appearance: none; height: 20px; background: transparent; cursor: pointer; --p: 0%; }
.player__seek::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(var(--gold-light), var(--gold-light)) 0 / var(--p) 100% no-repeat, rgba(255,255,255,.3); }
.player__seek::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); }
.player__seek::-moz-range-progress { height: 3px; background: var(--gold-light); }
.player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--white); margin-top: -4.5px; }
.player__seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 0; }
.player__fallback { position: absolute; inset: 0; display: grid; place-content: center; padding: 24px; background: var(--graphite); color: var(--text-inv-2); text-align: center; line-height: 1.5; }

.features { display: grid; gap: 14px; margin: 26px 0 30px; }
.features li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.features__icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 6px; background: #FBF6EC; color: var(--gold-text); }
.features__icon svg { font-size: 22px; }
.features strong { display: block; font-size: 16px; font-weight: 700; color: var(--charcoal); }
.features p { font-size: 14.5px; color: var(--text-2); margin-top: 2px; }

/* ---------- Avaliações ---------- */
.rating-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; margin-bottom: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.rating-band__score { display: flex; align-items: center; gap: 18px; }
.rating-band__num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--charcoal); }
.rating-band__title { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--charcoal); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.review blockquote { flex: 1; }
.review blockquote p { font-size: 17px; line-height: 1.55; color: var(--charcoal); }
.review__author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.review__author strong { display: block; font-size: 15px; font-weight: 700; color: var(--charcoal); line-height: 1.3; }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--charcoal); color: var(--white); font-size: 16px; font-weight: 700; }

/* ---------- Localização ---------- */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.info-list { display: grid; gap: 18px; margin-top: 26px; }
.info-list li { display: flex; gap: 14px; }
.info-list li > svg { font-size: 22px; color: var(--gold-text); margin-top: 2px; }
.info-list strong { display: block; font-size: 15px; font-weight: 700; color: var(--charcoal); }
.info-list address, .info-list p { color: var(--text-2); font-size: 15px; }
.info-list a:hover { color: var(--gold-text); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); color: var(--text-inv-2); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer__brand img { width: 120px; height: auto; object-fit: contain; mix-blend-mode: lighten; margin: -12px 0 6px -10px; }
.footer__brand p { font-size: 14.5px; max-width: 40ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; border: 1px solid #2A2A2F; color: var(--white); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.social svg { font-size: 19px; }
.footer__h { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; font-size: 14.5px; }
.footer__col address { font-size: 14.5px; }
.footer__col a:hover { color: var(--gold-light); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px 88px; border-top: 1px solid #222226; font-size: 13.5px; }

/* ---------- WhatsApp flutuante ---------- */
/* Verde oficial do WhatsApp com o logo da marca */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #FFFFFF; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: background-color .2s, transform .2s; }
.wa-float svg { font-size: 30px; }
.wa-float:hover { background: #1EBE5A; transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 64px 16px 28px; background: rgba(8,8,10,.92); opacity: 0; transition: opacity .25s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox__img { width: auto; height: auto; max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; background: var(--graphite); }
.lightbox__cap { font-size: 14px; color: #D6D4CF; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.1); color: var(--white); }
.lightbox__close svg { font-size: 22px; }
.lightbox__close:hover { background: rgba(255,255,255,.2); }

/* ---------- Revelação leve ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header__contact { margin-left: auto; border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
  .header__contact { display: none; }
  .menu-toggle { display: inline-flex; }
  .quickbar { grid-template-columns: 1fr 1fr; gap: 0; }
  .quickbar__field:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); grid-column: 1 / -1; }
  .quickbar__btn { grid-column: 1 / -1; margin-top: 8px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video, .location { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .brand__logo { height: 44px; }
  .brand__text { font-size: 15.5px; }
  .hero__content { padding-block: 48px 40px; }
  .quickbar { grid-template-columns: 1fr; padding: 8px; }
  .quickbar__field { padding: 10px 12px; }
  .quickbar__field + .quickbar__field { border-left: 0; border-top: 1px solid var(--border); }
  .quickbar__field:nth-child(3) { grid-column: auto; }
  .btn { white-space: normal; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .stone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stone__name { font-size: 15px; }
  .rating-band { padding: 22px; }
  .rating-band__num { font-size: 46px; }
  .rating-band .btn { width: 100%; }
  .location__actions .btn { flex: 1 1 100%; }
  .tech > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
