/* ═══════════════════════════════════════════════════════════════════
   ARTBOX ARCHITECTURE EXPERIENCE — Sistema de tema compartilhado
   Identidade preservada: paleta olive/graphite/sand + logo originais.
   Tipografia: sans-serif predominante (Manrope corpo, Syne display,
   DM Mono técnico, Cormorant Garamond apenas como acento itálico de
   display — nunca em texto funcional).
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --olive: #4f6f52;
  --olive-light: #6a9070;
  --olive-dark: #2d3f2e;
  --sand: #E6E2D3;
  --sand-dark: #c8c2ae;
  --graphite: #1a1a18;
  --graphite-mid: #2e2e2a;
  --graphite-soft: #3d3d38;
  --cream: #f0ece0;
  --white: #fafaf7;
  --accent: #8fbc8f;
  --gold: #d4af37;
  --gold-dark: #b8941f;
  /* Tipografia */
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Manrope', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Cascadia Mono', monospace;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  /* Escala tipográfica (desktop-first, fluida) */
  --text-xs: 0.75rem;      /* 12px — mínimo para legendas */
  --text-sm: 0.875rem;     /* 14px */
  --text-md: 1.0625rem;    /* 17px — corpo confortável */
  --text-lg: 1.25rem;      /* 20px — subtítulos/leads */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 5vw, 3.5rem);
  --text-4xl: clamp(3rem, 7vw, 5.5rem);
  /* Ritmo */
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem;
  --space-4: 2.5rem; --space-5: 4rem; --space-6: 6.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swift: cubic-bezier(0.77, 0, 0.18, 1);
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px;
  --shadow-card: 0 24px 60px rgba(0,0,0,.35);
  --shadow-hover: 0 32px 80px rgba(47,63,46,.45);
  --hairline: 1px solid rgba(230,226,211,.08);
}

/* ── Base tipográfica (sans-serif dominante) ───────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* Títulos de seção grandes e expressivos */
.section-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-display em,
.display-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--olive-light);
  letter-spacing: 0;
}

/* Leads e descrições maiores */
.lead-lg { font-size: var(--text-lg); line-height: 1.65; color: var(--sand-dark); font-weight: 400; }
.body-md { font-size: var(--text-md); line-height: 1.75; color: var(--sand-dark); }

/* Legendas nunca excessivamente pequenas */
.caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);           /* 12px mínimo */
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand-dark);
}

/* ── Botões maiores e com microinterações ──────────────────────────── */
.btn-ax {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 56px;
  padding: 0 44px;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s;
  will-change: transform;
}
.btn-ax > span { position: relative; z-index: 1; }
.btn-ax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--olive-light), var(--accent));
  transform: translateX(-101%);
  transition: transform .45s var(--ease-swift);
}
.btn-ax:hover::before { transform: translateX(0); }
.btn-ax:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,63,46,.4); }
.btn-ax:active { transform: translateY(0) scale(.99); }
.btn-ax--solid { background: var(--olive); color: var(--white); }
.btn-ax--outline {
  background: transparent;
  color: var(--sand);
  border: 1px solid rgba(230,226,211,.35);
}
.btn-ax--outline::before { background: var(--sand); }
.btn-ax--outline:hover { color: var(--olive-dark); }
.btn-ax--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--graphite);
  border-radius: 999px;
}
.btn-ax--gold::before { background: linear-gradient(135deg, #e8c547, var(--gold)); }
.btn-ax:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Cards com personalidade e profundidade ─────────────────────────── */
.ax-card {
  position: relative;
  background: linear-gradient(150deg, rgba(79,111,82,.10), rgba(26,26,24,.35) 65%);
  border: 1px solid rgba(106,144,112,.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s;
  transform-style: preserve-3d;
}
.ax-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px 300px at var(--mx, 50%) var(--my, 0%), rgba(143,188,143,.10), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.ax-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(143,188,143,.45); }
.ax-card:hover::after { opacity: 1; }

.ax-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--graphite-mid);
}
.ax-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s;
  will-change: transform;
}
.ax-card:hover .ax-card-media img { transform: scale(1.06); }

/* Selo/etiqueta sobre imagem */
.ax-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26,26,24,.55);
  border: 1px solid rgba(230,226,211,.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Etiqueta de preço (gold, maior e legível) */
.ax-price {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: .04em;
  color: var(--graphite);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border: 1.5px solid rgba(232,197,71,.65);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 26px rgba(212,175,55,.28), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.ax-price small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.ax-card:hover .ax-price { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(212,175,55,.4), inset 0 1px 0 rgba(255,255,255,.3); }

/* ── Navegação ─────────────────────────────────────────────────────── */
.ax-nav-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--olive), var(--olive-light), var(--accent));
  z-index: 1200;
  transition: width .12s linear;
  pointer-events: none;
}

/* ── Revelação no scroll (com fallback sem motion) ─────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

/* Parallax helpers */
[data-parallax] { will-change: transform; }

/* ── Movimento do mouse (desktop) ──────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .ax-tilt { transition: transform .3s var(--ease-out); }
}

/* ── Respeito a prefers-reduced-motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .ax-nav-progress { transition: none; }
}

/* ── Responsividade tipográfica mobile ─────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-3xl: clamp(2rem, 8vw, 2.75rem);
    --text-4xl: clamp(2.5rem, 11vw, 4rem);
  }
  body { line-height: 1.65; }
  .btn-ax { min-height: 52px; padding: 0 30px; width: auto; }
  .ax-card-media { aspect-ratio: 4 / 3; }
}

/* ═══════════════════════════════════════════════════════════════════
   ARTBOX 2.1 — ENGINEERING EXPERIENCE + RESIDÊNCIAS & EMPREENDIMENTOS
   ═══════════════════════════════════════════════════════════════════ */

.ax-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--olive-light);
}
.ax-kicker::before { content: ''; width: 26px; height: 1px; background: var(--olive-light); }

/* ── Engineering Experience (index) ─────────────────────────────── */
.ax-engineer-head { max-width: 1400px; margin: 0 auto; padding: 14vh 6vw 8vh; }
.ax-engineer-lead {
  max-width: 640px;
  margin-top: 4vh;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.8;
  color: var(--sand-dark);
}
.ax-tour {
  max-width: 1500px;
  margin: 0 auto 10vh;
  padding: 0 4vw;
  display: grid;
  gap: 3.2vw;
  align-items: end;
}
.ax-tour--hero .ax-tour-frame { grid-column: 1 / -1; }
.ax-tour--hero .ax-tour-meta {
  display: flex;
  align-items: flex-end;
  gap: 3vw;
  flex-wrap: wrap;
}
.ax-tour--alt {
  grid-template-columns: .9fr 1.35fr;
}
.ax-tour--alt .ax-tour-meta { order: 0; }
.ax-tour--alt .ax-tour-frame { order: 1; }

.ax-tour-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--graphite-mid);
  border: 1px solid rgba(106,144,112,.28);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.ax-tour--alt .ax-tour-frame { aspect-ratio: 16 / 10; }
.ax-tour-frame::before,
.ax-tour-frame::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: 26px; height: 26px;
  border: 2px solid rgba(143,188,143,.85);
  pointer-events: none;
}
.ax-tour-frame::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.ax-tour-frame::after  { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.ax-tour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 1s ease .1s;
}
.ax-tour-frame.is-ready iframe { opacity: 1; }
.ax-tour-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity .8s, visibility .8s;
}
.ax-tour-frame.is-ready .ax-tour-loader { opacity: 0; visibility: hidden; }
.ax-tour-loader .ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(106,144,112,.25);
  border-top-color: var(--olive-light);
  animation: axSpin 1s linear infinite;
}
@keyframes axSpin { to { transform: rotate(360deg); } }
.ax-tour-loader span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.ax-tour-meta { display: flex; flex-direction: column; gap: 16px; }
.ax-tour-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(143,188,143,.5);
}
.ax-tour-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--olive-light);
}
.ax-tour-meta h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -.02em;
  color: var(--white);
  margin: 0;
}
.ax-tour-meta p {
  max-width: 460px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sand-dark);
  margin: 0;
}
.ax-tour-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: .85;
}
.ax-tour-hint::before { content: ''; width: 30px; height: 1px; background: var(--olive-light); }

.ax-techstrip {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 4vw 14vh;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(230,226,211,.1);
  border-bottom: 1px solid rgba(230,226,211,.1);
}
.ax-techstrip > div {
  padding: 26px 22px;
  border-left: 1px solid rgba(230,226,211,.08);
}
.ax-techstrip b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: 6px;
}
.ax-techstrip span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
@media (max-width: 900px) {
  .ax-tour--alt { grid-template-columns: 1fr; }
  .ax-tour--alt .ax-tour-meta { order: 1; }
  .ax-tour--alt .ax-tour-frame { order: 0; }
  .ax-techstrip { grid-template-columns: 1fr 1fr; }
  .ax-techstrip > div { border-top: 1px solid rgba(230,226,211,.08); }
}
@media (max-width: 768px) {
  /* Tour v2.2: iframe precisa de altura real para o portal interno
     (brand no topo + conteúdo embaixo não podem sobrepor) */
  .ax-tour { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .ax-tour-frame,
  .ax-tour--alt .ax-tour-frame,
  .ax-tour--hero .ax-tour-frame {
    aspect-ratio: auto !important;
    height: min(76svh, 640px);
    min-height: 460px;
  }
  .ax-tour-meta { gap: 14px; }
  .ax-tour-meta p { font-size: 15px; }
  .ax-techstrip { grid-template-columns: 1fr; }
}

/* ── Residências & Empreendimentos (catálogos) ───────────────────── */
.ax-residencias { padding: 12vh 4vw 6vh; background: var(--graphite); }
.ax-res-head { max-width: 1400px; margin: 0 auto 8vh; }
.ax-res-head p {
  max-width: 620px;
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--sand-dark);
}
.ax-res-panel {
  max-width: 1400px;
  margin: 0 auto 10vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3.4vw;
  align-items: stretch;
}
.ax-res-panel--alt { grid-template-columns: .8fr 1.2fr; }
.ax-res-panel--alt .ax-res-media { order: 1; }
.ax-res-panel--alt .ax-res-info { order: 0; }
.ax-res-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(106,144,112,.25);
}
.ax-res-media > img.ax-res-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.16,1,.3,1);
}
.ax-res-media:hover > img.ax-res-main { transform: scale(1.04); }
.ax-res-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,26,24,.45));
  pointer-events: none;
}
.ax-res-thumbs {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.ax-res-thumbs button {
  width: 64px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(250,250,247,.35);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: rgba(26,26,24,.4);
  transition: border-color .3s, transform .3s;
}
.ax-res-thumbs button:hover { transform: translateY(-3px); }
.ax-res-thumbs button.is-active { border-color: var(--olive-light); box-shadow: 0 0 0 2px rgba(106,144,112,.45); }
.ax-res-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ax-res-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.ax-res-info h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--white);
  margin: 0;
}
.ax-res-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--sand-dark);
  margin: 0;
}
.ax-res-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(230,226,211,.1);
}
.ax-res-specs li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(230,226,211,.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ax-res-specs b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.ax-res-specs span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive-light);
}
.ax-res-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.ax-res-price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sand-dark);
  opacity: .8;
}
@media (max-width: 900px) {
  .ax-res-panel, .ax-res-panel--alt { grid-template-columns: 1fr; gap: 30px; margin-bottom: 12vh; }
  .ax-res-panel--alt .ax-res-media { order: 0; }
  .ax-res-panel--alt .ax-res-info { order: 1; }
  .ax-res-media { min-height: 0; aspect-ratio: 4 / 3; }
  .ax-res-thumbs { left: 12px; bottom: 12px; }
  .ax-res-thumbs button { width: 52px; height: 38px; }
}
/* ═══════════════════════════════════════════════════════════════════
   ARTBOX 2.1a — CORREÇÕES DE EMBEDS + CATÁLOGOS (auditoria embeds)
   ═══════════════════════════════════════════════════════════════════ */

/* Tipografia monumental compartilhada (antes só na home-v3) */
.ax-display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--white);
}
.ax-display-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--white);
}
.ax-display-xl em, .ax-display-lg em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--olive-light);
}

/* Seção Residências acima do overlay fixo do hero dos catálogos */
.ax-residencias { position: relative; z-index: 5; }

/* Badge "Consulte condições" (produtos sem preço comercial) */
.product-price--consulte::before { content: none !important; }
.product-price--consulte {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11.5px;
  background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(184,148,31,.08));
  color: var(--gold);
  border: 1.5px solid rgba(212,175,55,.55);
  box-shadow: none;
}

/* Ancoragem das tours com folga para o nav fixo */
.ax-tour, #expHorizon, #expSunset { scroll-margin-top: 96px; }

/* Cantos da moldura mais discretos (não disputam com a marca do tour) */
.ax-tour-frame::before, .ax-tour-frame::after {
  width: 18px; height: 18px;
  border-width: 1.5px;
  border-color: rgba(143,188,143,.45);
}

/* Fallback robusto das tours (timeout / file:// / falha de rede) */
.ax-tour-fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(rgba(26,26,24,.28), rgba(26,26,24,.72)),
    url('../1.png') center 30% / cover no-repeat;
}
.ax-tour-fallback.is-hidden { display: none; }
.ax-tour-fallback b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--white);
  letter-spacing: .02em;
}
.ax-tour-fallback span {
  max-width: 420px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand-dark);
  line-height: 1.8;
}
.ax-tour-fallback .btn-ax { min-height: 50px; padding: 0 34px; }

/* Composição premium do bloco Instagram (fallback oficial) */
.ig-fallback {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4vw;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  text-align: left;
}
.ig-fallback-copy h2 { margin: 22px 0 18px; }
.ig-fallback-copy p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--sand-dark);
  margin: 0 0 30px;
  max-width: 520px;
}
.ig-fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ig-fallback-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
  border: 1px solid rgba(106,144,112,.25);
}
.ig-fallback-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.ig-fallback-grid figure:hover img { transform: scale(1.08); }
.ig-fallback-grid figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(26,26,24,.5));
}
@media (max-width: 900px) {
  .ig-fallback { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .ig-fallback-copy p { margin-inline: auto; }
  .ig-fallback-grid { grid-template-columns: repeat(3, 1fr); }
}
/* ═══════════════════════════════════════════════════════════════════
   ARTBOX 2.1b — REVISÃO VISUAL: selos de preço + enquadramento + 3D
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. SELOS DE PREÇO: padrão único, canto inferior direito, DENTRO da foto ── */
.product-card { position: relative; }
.product-card .product-price {
  position: absolute;
  top: calc(300px - 14px);          /* borda inferior da área da imagem (desktop 300px) */
  right: 14px;
  transform: translateY(-100%);
  max-width: calc(100% - 28px);
  text-align: right;
  white-space: normal;
  line-height: 1.25;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
}
.product-card .product-price::before { margin-bottom: 2px; }
@media (max-width: 768px) {
  .product-card .product-price {
    top: calc(220px - 12px);        /* imagem mobile = 220px */
    right: 12px;
  }
}
/* cards cuja imagem fica dentro de .product-image-brand (mesma área de 300px) */
.product-card .product-image-brand { position: relative; }
/* nenhum selo cortado: card não deixa vazar */
.product-card { overflow: hidden; }

/* ── 2. ENQUADRAMENTO INDIVIDUALIZADO (respeitar a arquitetura de cada produto) ── */
.product-card[data-product="sunset"] .product-image { object-position: center 14%; }   /* pico do A-frame + vidros */
.product-card[data-product="sunrise"] .product-image { object-position: center 10%; }  /* pico A-frame branco */
.product-card[data-product="loft"] .product-image {
  object-fit: contain;              /* fileira completa do Loft, sem cortes */
  background: linear-gradient(160deg, var(--graphite-mid), var(--graphite));
  padding: 14px;
}
.product-card[data-product="tiny"] .product-image { object-position: center 26%; }
.product-card[data-product="tower"] .product-image { object-position: center 30%; }
.product-card[data-product="horizon130"] .product-image { object-position: center 35%; }

/* detalhes individuais (páginas internas do catálogo) */
.product-detail .detail-image { object-position: center 30%; }
.product-detail.sunset .detail-image { object-position: center 12%; }
.product-detail.sunrise .detail-image { object-position: center 10%; }

/* ── 3. FALLBACK DOS TOURS: apresentação comercial (nunca mensagem técnica) ── */
.ax-tour-fallback {
  background-size: cover;
  background-position: center 30%;
  justify-items: center;
  align-content: center;
  gap: 14px;
}
.ax-tour-fallback .ax-tf-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26,26,24,.45);
  border: 1px solid rgba(250,250,247,.25);
  border-radius: 999px;
  padding: 7px 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ax-tour-fallback b {
  font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
  letter-spacing: -.02em;
  text-shadow: 0 6px 30px rgba(0,0,0,.55);
}
.ax-tour-fallback span {
  font-family: var(--font-body) !important;
  font-size: 1.02rem !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: var(--sand) !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.6);
}

/* ── 4. Maquete de corte interno (figura editorial nas Residências) ── */
.ax-maquete-fig {
  max-width: 1000px;
  margin: 0 auto 9vh;
  padding: 0 4vw;
  text-align: center;
}
.ax-maquete-fig img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(106,144,112,.3);
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  background: #efece2;
}
.ax-maquete-fig figcaption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
/* ═══════════════════════════════════════════════════════════════════
   ARTBOX 2.1g — MENU GLOBAL: ícones sociais + botão ADMIN discreto
   ═══════════════════════════════════════════════════════════════════ */
.navicons { display: flex; gap: 12px; align-items: center; }
.navicons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--sand-dark);
  transition: color .3s, transform .3s;
}
.navicons a:hover { color: var(--olive-light); transform: translateY(-2px); }
.navicons svg { width: 18px; height: 18px; fill: currentColor; }
.admin-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .12em;
  color: #FFFFFF !important;
  background: #4f6f52 !important;
  border: none;
  border-radius: 6px;
  padding: 7px 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .2s;
}
.admin-btn:hover { background: #6a9070 !important; color: #FFFFFF !important; transform: translateY(-1px); }
.admin-btn:active { background: #2d3f2e !important; transform: translateY(0); }
.admin-btn:focus-visible { outline: 2px solid #8fbc8f; outline-offset: 3px; }
@media (max-width: 640px) {
  .navicons { gap: 6px; }
  .navicons a { width: 30px; height: 30px; }
  .admin-btn { padding: 6px 10px; font-size: 9.5px; }
}
/* ═══ ARTBOX 2.1h — WhatsApp visível + ADMIN compacto (harmonização) ═══ */
.nav-links .navicons-item a.wa-btn {
  width: auto;
  height: 36px;
  padding: 0 14px;
  gap: 8px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .10);
  border: 1px solid rgba(37, 211, 102, .35);
  color: #2fd573;
}
.nav-links .navicons-item a.wa-btn svg { width: 20px; height: 20px; }
.nav-links .navicons-item a.wa-btn:hover { background: rgba(37, 211, 102, .18); color: #3ee585; transform: translateY(-2px); }
.admin-btn {
  padding: 5px 11px !important;
  font-size: 9.5px !important;
  letter-spacing: .08em !important;
  border-radius: 5px !important;
  align-self: center;
}
@media (max-width: 640px) {
  .nav-links .navicons-item a.wa-btn { height: 32px; padding: 0 10px; }
  .nav-links .navicons-item a.wa-btn svg { width: 18px; height: 18px; }
  .admin-btn { padding: 4px 9px !important; font-size: 9px !important; }
}
/* ═══════════════════════════════════════════════════════════════════════
   ARTBOX MOBILE FOUNDATIONS — v2.2 (auditoria mobile 2026-11-12)
   Base compartilhada home + catálogos. Desktop inalterado (media queries).
   Diagnóstico: itens de grid/flex com min-width:auto estouravam tracks;
   máscaras .hl (inline-block) sem reflow; clamps com mínimo alto demais.
   ═══════════════════════════════════════════════════════════════════════ */

/* Áreas seguras (notch / barra de gesto iOS) */
@supports (padding: max(0px, env(safe-area-inset-left))) {
  body { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}

@media (max-width: 900px) {
  /* Títulos display: escala real para o menor texto do layout caber */
  .ax-display-xl { font-size: clamp(2rem, 8.5vw, 7.5rem); }
  .ax-display-lg { font-size: clamp(1.85rem, 8vw, 6.5rem); }

  /* Máscaras de linha (.hl) podem requebrar no mobile */
  .hl { white-space: normal; }

  /* Cabeças de seção compartilhadas */
  .ax-engineer-head { padding: 10vh 5vw 7vh; }
}

@media (max-width: 768px) {
  /* Etiquetas mono: letter-spacing .4em estoura em textos longos */
  .section-label { font-size: 10px; letter-spacing: .22em; }

  /* Contêineres com rolagem horizontal controlada (carrosséis) */
  .ax-scrollx {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ax-scrollx::-webkit-scrollbar { display: none; }
  .ax-scrollx > * { scroll-snap-align: start; flex: 0 0 auto; }

  /* Botões/links com área de toque mínima real */
  .ax-tap { min-height: 44px; min-width: 44px; }
}

@media (max-width: 600px) {
  .section-label { font-size: 9.5px; letter-spacing: .18em; gap: 8px; }
  .section-label::before { width: 18px; }
}

/* ═══ ARTBOX 3D VIEWER (v2.3) — frame da maquete Horizon 130 ═══ */
.ax-tour-frame--3dviewer {
  aspect-ratio: auto;
  height: min(84vh, 860px);
}
@media (max-width: 900px) {
  .ax-tour-frame--3dviewer { height: min(76svh, 640px); min-height: 440px; }
}
