/* ==========================================================================
   CONSÓRCIO CURITIBA — ULTRA-REFINED PRIVATE WEALTH DESIGN SYSTEM (v2)
   Obsidian Midnight · Burnished Champagne Gold · Warm Alabaster Marble
   Engineered for High-Net-Worth Prestige, Senior Accessibility (WCAG AAA),
   Mobile Ergonomics & Square-Screen Responsiveness.
   ========================================================================== */

:root {
  /* Core Private Banking Palette */
  --lux-obsidian: #070d11;
  --lux-obsidian-2: #0e181f;
  --lux-obsidian-3: #15232d;
  --lux-obsidian-glass: rgba(9, 17, 22, 0.88);

  --lux-ivory: #f9f6ef;
  --lux-paper: #ffffff;
  --lux-stone: #efe9dc;
  --lux-stone-deep: #e2d9c8;

  --lux-ink: #0f171c;
  --lux-ink-muted: #35424b;
  --lux-ink-soft: #4e5d67;

  --lux-gold: #c69f4b;
  --lux-gold-bright: #e5c67b;
  --lux-gold-pale: #f5e7c2;
  --lux-gold-deep: #8c6a22;
  --lux-bronze-text: #6e4e0e; /* >= 7.1:1 AAA contrast on light surfaces */
  --lux-bronze-hover: #4d3506;

  --lux-line: #d9d0be;
  --lux-line-strong: #bfb299;
  --lux-gold-line: rgba(229, 198, 123, 0.34);
  --lux-gold-line-soft: rgba(229, 198, 123, 0.18);
  --lux-focus: #e09f24;

  --lux-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --lux-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --lux-r-sm: 6px;
  --lux-r-md: 10px;
  --lux-r-lg: 14px;
  --lux-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lux-scale: 1;
}

/* Senior Reading Comfort Modes */
html[data-lux-font="lg"] { --lux-scale: 1.14; }
html[data-lux-font="xl"] { --lux-scale: 1.28; }

html[data-lux-contrast="high"] {
  --lux-ivory: #ffffff;
  --lux-paper: #ffffff;
  --lux-stone: #f3f3f0;
  --lux-ink: #000000;
  --lux-ink-muted: #111111;
  --lux-ink-soft: #1f1f1f;
  --lux-bronze-text: #452d00;
  --lux-line: #4f4f4f;
  --lux-line-strong: #1a1a1a;
  --lux-obsidian: #030608;
  --lux-obsidian-2: #080f13;
  --lux-gold-bright: #ffe38f;
}

/* Base */
html {
  font-size: calc(18px * var(--lux-scale));
  scroll-behavior: smooth;
  background: var(--lux-obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--lux-ivory);
  color: var(--lux-ink);
  font-family: var(--lux-sans);
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: 0.004em;
  overflow-x: clip;
  transition: opacity 0.22s ease;
}

body.lux-leaving { opacity: 0.28; }
body.lux-menu-open { overflow: hidden; }

.wrap {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

:where(a, button, select, input, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--lux-focus) !important;
  outline-offset: 4px !important;
  border-radius: 4px;
}

.skip {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  padding: 14px 22px;
  background: var(--lux-obsidian);
  color: var(--lux-gold-bright);
  border: 2px solid var(--lux-gold-bright);
  border-radius: var(--lux-r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--lux-ease);
}
.skip:focus { top: 14px; }

/* Luxury Editorial Typography */
h1, h2, h3, h4 {
  font-family: var(--lux-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: inherit;
}

h1 {
  font-size: clamp(2.55rem, 5.1vw, 4.55rem);
  line-height: 1.03;
  margin-bottom: 0.36em;
}

h2 {
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 0.42em;
}

h3 {
  font-size: clamp(1.42rem, 2.2vw, 1.82rem);
  line-height: 1.2;
  margin-bottom: 0.4em;
}

p {
  max-width: 65ch;
  color: var(--lux-ink-muted);
  margin: 0 0 1.05rem;
}

.lead {
  font-size: clamp(1.06rem, 1.48vw, 1.24rem);
  line-height: 1.66;
  max-width: 54ch;
}

.eyebrow,
.pc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--lux-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lux-bronze-text);
  margin-bottom: 0.9rem;
}

.eyebrow::before,
.pc-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--lux-gold), var(--lux-gold-bright));
  border-radius: 0 !important;
  flex: none;
}

/* Tabular Figures */
.ct-credito,
.ct-card dd,
.cv-process strong,
.group-card strong,
[data-pc-count],
#cv-valor,
.lux-live-preview {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   READING PROGRESS GOLD BAR WITH LUMINOUS TIP
   ========================================================================== */
.lux-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 220;
  pointer-events: none;
  background: rgba(229, 198, 123, 0.08);
}

.lux-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--lux-gold-deep), var(--lux-gold), var(--lux-gold-pale));
  box-shadow: 0 0 12px rgba(229, 198, 123, 0.7);
  will-change: transform;
}

/* ==========================================================================
   OBSIDIAN PRIVATE BANKING HEADER — 3-ZONE + SLIDING GOLD NAV INDICATOR
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 160;
  background: rgba(7, 13, 17, 0.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--lux-gold-line) !important;
  color: var(--lux-ivory) !important;
  transition: background-color 0.25s var(--lux-ease), box-shadow 0.25s var(--lux-ease), border-color 0.25s var(--lux-ease);
}

header.lux-scrolled {
  background: rgba(5, 10, 14, 0.98) !important;
  border-bottom-color: rgba(229, 198, 123, 0.52) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding-block: 12px;
  flex-wrap: nowrap;
}

.bar .brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--lux-ivory) !important;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 0;
  transition: transform 0.2s var(--lux-ease);
}

.bar .brand:hover {
  transform: translateY(-1px);
}

.bar .brand img {
  width: 42px;
  height: 42px;
  flex: none;
  padding: 3px;
  border-radius: 8px;
  background: rgba(229, 198, 123, 0.1);
  border: 1px solid rgba(229, 198, 123, 0.48);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.bar .brand span {
  font-family: var(--lux-serif);
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--lux-ivory) !important;
}

.bar .brand small {
  display: block;
  font-family: var(--lux-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lux-gold-bright) !important;
  margin-top: 3px;
}

/* Desktop Navigation with JS Sliding Gold Bar */
.bar .desktopnav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.lux-nav-slider {
  position: absolute;
  bottom: 4px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--lux-gold), var(--lux-gold-pale));
  box-shadow: 0 0 10px rgba(229, 198, 123, 0.65);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.28s var(--lux-ease), width 0.28s var(--lux-ease), opacity 0.2s ease;
  will-change: transform, width;
}

.bar .desktopnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 13px;
  font-family: var(--lux-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #e4dfd4 !important;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: var(--lux-r-sm);
  border-bottom: 0 !important;
  background: transparent !important;
  transition: color 0.18s var(--lux-ease), background-color 0.18s var(--lux-ease);
}

.bar .desktopnav a:hover {
  color: var(--lux-gold-pale) !important;
  background: rgba(229, 198, 123, 0.09) !important;
}

.bar .desktopnav a[aria-current="page"] {
  color: var(--lux-gold-bright) !important;
  font-weight: 700;
  background: rgba(229, 198, 123, 0.11) !important;
}

/* Shimmering Gold-Foil Header Primary CTA */
.bar .contact-header {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--lux-gold-bright) 0%, var(--lux-gold) 100%) !important;
  color: var(--lux-obsidian) !important;
  border: 1px solid var(--lux-gold-pale) !important;
  border-radius: var(--lux-r-sm) !important;
  font-family: var(--lux-sans);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(200, 159, 75, 0.28);
  transition: transform 0.2s var(--lux-ease), box-shadow 0.2s var(--lux-ease), filter 0.2s ease;
}

.bar .contact-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(229, 198, 123, 0.42);
  filter: brightness(1.06);
}

/* ==========================================================================
   ULTRA-REFINED FULL-HEIGHT MOBILE & SQUARE-SCREEN MENU DRAWER
   ========================================================================== */
.bar .mobilenav {
  display: none;
}

.lux-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(4, 9, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--lux-ease);
}

.lux-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1180px), (max-width: 1240px) and (min-aspect-ratio: 4/5) and (max-aspect-ratio: 6/5) {
  body.lux-menu-open header,
  header:has(.mobilenav[open]) {
    z-index: 200 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #070d11 !important;
  }

  .bar .desktopnav { display: none !important; }
  .bar .contact-header { display: none !important; }

  .bar .mobilenav {
    display: block !important;
    position: static !important;
    margin-left: auto;
    width: auto;
  }

  .bar .mobilenav summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    min-width: 122px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(229, 198, 123, 0.16), rgba(229, 198, 123, 0.06)) !important;
    color: var(--lux-gold-pale) !important;
    border: 1.5px solid var(--lux-gold) !important;
    border-radius: var(--lux-r-sm);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s var(--lux-ease), transform 0.2s var(--lux-ease);
  }

  .bar .mobilenav summary::-webkit-details-marker { display: none; }

  .bar .mobilenav summary::before {
    content: "☰";
    font-size: 1.15rem;
    color: var(--lux-gold-bright);
    line-height: 1;
  }

  .bar .mobilenav[open] summary {
    position: fixed !important;
    top: max(16px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    z-index: 220 !important;
    background: linear-gradient(135deg, var(--lux-gold-bright), var(--lux-gold)) !important;
    color: var(--lux-obsidian) !important;
    border-color: var(--lux-gold-pale) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }

  .bar .mobilenav[open] summary::before {
    content: "✕";
    color: var(--lux-obsidian);
  }

  .bar .mobilenav nav {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 205 !important;
    width: min(410px, 92vw) !important;
    height: 100dvh;
    margin: 0 !important;
    padding: 96px 24px 32px !important;
    background: linear-gradient(180deg, #0b141a 0%, #060b0f 100%) !important;
    border: 0 !important;
    border-left: 1.5px solid var(--lux-gold) !important;
    border-radius: 0 !important;
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.65) !important;
    display: flex !important;
    flex-direction: column;
    gap: 8px !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: luxDrawerSlide 0.34s var(--lux-ease);
  }

  .bar .mobilenav nav::before {
    content: "NAVEGAÇÃO";
    display: block;
    font-family: var(--lux-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--lux-gold-bright);
    padding: 0 14px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(229, 198, 123, 0.22);
  }

  .bar .mobilenav nav a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 60px !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: #f3efe6 !important;
    border: 1px solid rgba(229, 198, 123, 0.14) !important;
    border-left: 1px solid rgba(229, 198, 123, 0.14) !important;
    border-radius: var(--lux-r-sm) !important;
    font-family: var(--lux-sans);
    font-size: 1.06rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 0;
    transform: translateX(18px);
    animation: luxDrawerItem 0.36s var(--lux-ease) forwards;
    animation-delay: calc(var(--lux-i, 0) * 45ms + 80ms);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--lux-ease);
  }

  .bar .mobilenav nav a .lux-nav-num {
    font-family: var(--lux-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--lux-gold);
    margin-right: 10px;
    font-variant-numeric: tabular-nums;
  }

  .bar .mobilenav nav a .lux-nav-label {
    flex: 1;
  }

  .bar .mobilenav nav a::after {
    content: "→";
    color: var(--lux-gold-bright);
    font-size: 1.1rem;
    transition: transform 0.18s var(--lux-ease);
  }

  .bar .mobilenav nav a:hover {
    background: rgba(229, 198, 123, 0.12) !important;
    border-color: rgba(229, 198, 123, 0.5) !important;
    color: #ffffff !important;
  }

  .bar .mobilenav nav a:hover::after {
    transform: translateX(4px);
  }

  .bar .mobilenav nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(229, 198, 123, 0.22), rgba(198, 159, 75, 0.1)) !important;
    color: var(--lux-gold-pale) !important;
    border-color: var(--lux-gold-bright) !important;
    font-weight: 700 !important;
  }

  .lux-drawer-foot {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 198, 123, 0.22);
    display: grid;
    gap: 10px;
  }

  .lux-drawer-foot a {
    min-height: 54px !important;
    justify-content: center !important;
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .lux-drawer-foot a::after { display: none !important; }

  .lux-drawer-foot .lux-drawer-wa {
    background: linear-gradient(135deg, var(--lux-gold-bright), var(--lux-gold)) !important;
    color: var(--lux-obsidian) !important;
    border-color: var(--lux-gold-pale) !important;
    font-weight: 800 !important;
  }

  .lux-drawer-foot .lux-drawer-tel {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--lux-gold-pale) !important;
    border-color: rgba(229, 198, 123, 0.4) !important;
    font-weight: 700 !important;
  }
}

@keyframes luxDrawerSlide {
  from { transform: translateX(100%); opacity: 0.4; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes luxDrawerItem {
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   LUXURY GOLD-SHEEN BUTTON SYSTEM
   ========================================================================== */
.btn,
button,
.cv-primary,
.picker button,
.campaign-button,
.ct-card .ct-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 28px;
  font-family: var(--lux-sans);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  border-radius: var(--lux-r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--lux-ease), background-color 0.2s var(--lux-ease), color 0.2s var(--lux-ease), border-color 0.2s var(--lux-ease), box-shadow 0.2s var(--lux-ease);
}

/* Diagonal Metallic Sheen Sweep on Primary Buttons */
.hero .cta-main::before,
.cv-consulta .cv-primary::before,
.cv-band .cv-primary::before,
.campaign-button::before,
.ct-card .ct-cta::before,
.picker button::before,
.bar .contact-header::before,
.footer .footlinks .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.65s var(--lux-ease);
  pointer-events: none;
}

.hero .cta-main:hover::before,
.cv-consulta .cv-primary:hover::before,
.cv-band .cv-primary:hover::before,
.campaign-button:hover::before,
.ct-card .ct-cta:hover::before,
.picker button:hover::before,
.bar .contact-header:hover::before,
.footer .footlinks .btn:hover::before {
  left: 145%;
}

/* Champagne Gold Foil Primary CTA (on Dark Surfaces) */
.hero .cta-main,
.hero .cv-primary,
.cv-band .cv-primary,
.campaign-button,
.footer .footlinks .btn {
  background: linear-gradient(135deg, var(--lux-gold-bright) 0%, var(--lux-gold) 100%) !important;
  color: var(--lux-obsidian) !important;
  border-color: var(--lux-gold-pale) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.hero .cta-main:hover,
.hero .cv-primary:hover,
.cv-band .cv-primary:hover,
.campaign-button:hover,
.footer .footlinks .btn:hover {
  background: var(--lux-gold-pale) !important;
  color: var(--lux-obsidian) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(229, 198, 123, 0.35);
}

/* Obsidian & Gold Trim Primary CTA (on Light Surfaces) */
.cv-consulta .cv-primary,
.picker button,
.ct-card .ct-cta {
  background: linear-gradient(135deg, #101d25 0%, var(--lux-obsidian) 100%) !important;
  color: var(--lux-gold-pale) !important;
  border: 1.5px solid var(--lux-gold) !important;
  border-radius: var(--lux-r-sm) !important;
  box-shadow: 0 10px 26px rgba(7, 13, 17, 0.18);
}

.cv-consulta .cv-primary:hover,
.picker button:hover,
.ct-card .ct-cta:hover {
  background: linear-gradient(135deg, var(--lux-gold-bright) 0%, var(--lux-gold) 100%) !important;
  color: var(--lux-obsidian) !important;
  border-color: var(--lux-gold-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(198, 159, 75, 0.34);
}

/* Secondary Outline CTA */
.btn.alt,
.cv-copy .btn.alt,
.hero .btn.alt,
.hero-photo .btn.alt,
.hero-simples .btn.alt {
  background: rgba(7, 13, 17, 0.52) !important;
  color: var(--lux-ivory) !important;
  border: 1.5px solid rgba(229, 198, 123, 0.72) !important;
  border-radius: var(--lux-r-sm) !important;
  backdrop-filter: blur(8px);
}

.btn.alt:hover,
.cv-copy .btn.alt:hover,
.hero .btn.alt:hover,
.hero-photo .btn.alt:hover,
.hero-simples .btn.alt:hover {
  background: rgba(229, 198, 123, 0.16) !important;
  border-color: var(--lux-gold-pale) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTIONS — CINEMATIC PRIVATE CLIENT PRESTIGE
   ========================================================================== */
.cv-hero,
.hero,
.hero.hero-simples,
.hero.hero-photo,
.s1root {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(229, 198, 123, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(25, 52, 66, 0.42) 0%, transparent 55%),
    linear-gradient(145deg, #0b161d 0%, var(--lux-obsidian) 65%, #050a0d 100%) !important;
  color: var(--lux-ivory) !important;
  border: 0 !important;
  overflow: hidden;
}

.lux-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.68;
}

.cv-hero picture {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.cv-hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 54%;
  filter: saturate(0.84) contrast(1.08);
  transform: scale(1.045);
  transition: transform 10s var(--lux-ease);
}

.cv-hero.lux-ready picture img {
  transform: scale(1);
}

.cv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(96deg, rgba(6, 11, 15, 0.95) 0%, rgba(6, 11, 15, 0.84) 38%, rgba(6, 11, 15, 0.48) 64%, rgba(6, 11, 15, 0.88) 100%),
    linear-gradient(180deg, rgba(6, 11, 15, 0.38) 0%, rgba(6, 11, 15, 0.14) 44%, rgba(6, 11, 15, 0.97) 100%);
}

.cv-hero::before,
.hero.hero-simples::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--lux-gold-deep) 25%, var(--lux-gold-bright) 50%, var(--lux-gold-deep) 75%, transparent 95%);
  z-index: 2;
  pointer-events: none;
}

.cv-hero .wrap {
  min-height: 690px;
  padding-block: clamp(50px, 6.2vw, 84px) clamp(48px, 5.2vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 445px);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
}

.cv-copy { max-width: 660px; }

.cv-copy .eyebrow,
.hero .eyebrow,
.hero-photo .eyebrow,
.hero-simples .eyebrow,
.s1-media .eyebrow {
  color: var(--lux-gold-bright) !important;
}

.cv-copy h1,
.hero h1,
.hero-photo h1,
.hero-simples h1 {
  color: var(--lux-ivory) !important;
  font-family: var(--lux-serif);
  font-weight: 600;
  font-size: clamp(2.65rem, 5.1vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 15ch;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.55);
}

.cv-copy .lead,
.hero .lead,
.hero-photo .lead,
.hero-simples .lead {
  color: #e8e3d8 !important;
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  line-height: 1.68;
  max-width: 44ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.7rem;
}

.hero.hero-simples .wrap {
  display: block;
  padding-block: clamp(56px, 7.2vw, 94px);
}

.hero-simples h1 { max-width: 22ch; }

.hero-simples .bread {
  color: var(--lux-gold-pale);
  margin: 0 0 1.2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 198, 123, 0.45);
}

/* Gilded Obsidian-Glass Consultation Card inside Home Hero */
.cv-consulta {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #faf6ec 100%);
  color: var(--lux-ink);
  padding: clamp(26px, 3vw, 38px);
  border: 1.5px solid var(--lux-gold);
  border-radius: var(--lux-r-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  scroll-margin-top: 112px;
}

.cv-consulta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--lux-r-lg) var(--lux-r-lg) 0 0;
  background: linear-gradient(90deg, var(--lux-gold-deep), var(--lux-gold-bright), var(--lux-gold-deep));
}

.cv-consulta h2 {
  font-family: var(--lux-serif);
  font-size: clamp(1.85rem, 2.7vw, 2.35rem);
  font-weight: 700;
  color: var(--lux-obsidian);
  margin-bottom: 0.2em;
}

.cv-consulta > p {
  font-size: 0.94rem;
  color: var(--lux-ink-muted);
  margin-bottom: 1.1rem;
}

.cv-consulta label,
.cv-consulta legend {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--lux-obsidian);
  margin-top: 0.95rem;
}

.cv-consulta select,
.cv-consulta input[type="number"] {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  padding: 12px 16px;
  font-family: var(--lux-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lux-obsidian);
  background: #ffffff;
  border: 1.5px solid var(--lux-line-strong);
  border-radius: var(--lux-r-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cv-consulta select:focus,
.cv-consulta input[type="number"]:focus {
  border-color: var(--lux-gold);
  box-shadow: 0 0 0 3px rgba(198, 159, 75, 0.25);
}

.cv-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
  padding: 5px;
  background: var(--lux-stone);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-r-sm);
}

.cv-switch label {
  margin: 0;
  min-height: 48px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--lux-ink-muted);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background-color 0.2s var(--lux-ease), color 0.2s var(--lux-ease), border-color 0.2s var(--lux-ease);
}

.cv-switch label:has(input:checked) {
  background: var(--lux-obsidian);
  border-color: var(--lux-gold);
  color: var(--lux-gold-pale);
  box-shadow: 0 4px 12px rgba(7, 13, 17, 0.2);
}

.cv-switch input {
  accent-color: var(--lux-gold);
  width: 18px;
  height: 18px;
}

.lux-live-preview {
  margin-top: 8px;
  min-height: 1.4em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lux-bronze-text);
}

.cv-consulta .cv-primary {
  width: 100%;
  margin-top: 1.15rem;
  min-height: 58px;
  font-size: 1rem;
}

.cv-consulta .cv-small {
  display: block;
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--lux-ink-soft);
  text-align: center;
}

.cv-caption {
  background: var(--lux-obsidian);
  color: #cdc5b5;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--lux-gold-line-soft);
}
.cv-caption a { color: var(--lux-gold-bright); }

/* Vehicles Split Hero */
.hero-photo .wrap {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(50px, 6vw, 90px);
  align-items: center;
}

.s1-media .foto-carro {
  border: 1.5px solid var(--lux-gold-line) !important;
  border-radius: var(--lux-r-md) !important;
  background: var(--lux-obsidian-2) !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.52) !important;
  overflow: hidden;
}
.s1-media .foto-carro::after { display: none; }
.s1-media .foto-carro figcaption {
  background: var(--lux-obsidian-2) !important;
  color: #dcd6c9 !important;
  border-top: 1px solid var(--lux-gold-line-soft) !important;
  padding: 12px 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
nav.bread {
  padding-block: 16px;
  margin-top: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--lux-ink-muted);
  border-bottom: 1px solid var(--lux-line);
  display: flex;
  align-items: center;
  gap: 10px;
}

nav.bread a {
  color: var(--lux-bronze-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   HERO FEATURED CAROUSEL (.pc-carousel)
   ========================================================================== */
.pc-carousel {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, rgba(14, 24, 31, 0.94), rgba(7, 13, 17, 0.96));
  backdrop-filter: blur(14px);
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
  color: var(--lux-ivory);
}

.pc-carousel h2 {
  font-family: var(--lux-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--lux-gold-pale);
  margin: 0 0 18px;
}

.pc-slide {
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  animation: luxSlideReveal 0.4s var(--lux-ease);
}

@keyframes luxSlideReveal {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.pc-slide .pc-media {
  background: #050a0d;
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-r-md);
  height: 215px;
  transition: transform 0.25s var(--lux-ease), border-color 0.25s ease;
}

.pc-slide .pc-media:hover {
  transform: scale(1.025);
  border-color: var(--lux-gold-bright);
}

.pc-slide h3 { color: var(--lux-ivory); font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
.pc-slide p { color: #dcd6ca; font-size: 1rem; }
.pc-carousel .pc-kicker { color: var(--lux-gold-bright); }
.pc-carousel .pc-more { color: var(--lux-gold-bright); font-weight: 700; min-height: 48px; }

.pc-controls { margin-top: 18px; gap: 10px; }
.pc-controls button {
  min-height: 48px;
  min-width: 48px;
  padding: 8px 16px;
  background: var(--lux-obsidian-3);
  color: var(--lux-ivory);
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-r-sm);
}
.pc-controls button:hover {
  background: var(--lux-gold-bright);
  color: var(--lux-obsidian);
  border-color: var(--lux-gold-pale);
}

.pc-carousel .pc-notice {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--lux-gold-line-soft);
  color: #ccc4b4;
  font-size: 0.86rem;
}

/* ==========================================================================
   ARCHITECTURAL SECTIONS WITH ORNAMENTAL GOLD HAIRLINES & SENIOR CLARITY
   ========================================================================== */
.section,
.cv-section,
.pc-library,
.ct-lista,
.campaign-section,
.steps {
  position: relative;
  padding-block: clamp(64px, 7.8vw, 108px);
  scroll-margin-top: 98px;
}

.section,
.cv-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(198, 159, 75, 0.05) 0%, transparent 55%),
    var(--lux-ivory);
  color: var(--lux-ink);
  border-bottom: 1px solid var(--lux-line);
}

.section.tint,
.cv-section.cv-mist,
.pc-library,
.ct-lista,
.steps {
  background:
    radial-gradient(ellipse at 10% 10%, rgba(198, 159, 75, 0.065) 0%, transparent 48%),
    var(--lux-stone);
  color: var(--lux-ink);
  border-bottom: 1px solid var(--lux-line);
}

/* Animated Gold Divider Line on Section Headers */
.cv-intro {
  position: relative;
  text-align: center;
  margin: 0 auto clamp(38px, 4.8vw, 58px);
  max-width: 68ch;
  padding-bottom: 24px;
}

.cv-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92px;
  height: 2px;
  transform: translateX(-50%) scaleX(0.35);
  background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
  transition: transform 0.75s var(--lux-ease);
}

.cv-intro.lux-in-view::after {
  transform: translateX(-50%) scaleX(1);
}

.cv-intro h2,
.section h2,
.pc-library h2,
.ct-intro h2 {
  color: var(--lux-obsidian);
}

.cv-intro p {
  margin-inline: auto;
  color: var(--lux-ink-muted);
  font-size: 1.06rem;
}

.section a:not(.btn),
.cv-section a:not(.btn),
.ct-lista a:not(.btn),
.pc-library a:not(.btn) {
  color: var(--lux-bronze-text);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

/* ==========================================================================
   SCULPTURAL PRIVATE-WEALTH CARDS (3D TILT + RADIAL GOLD SPOTLIGHT + CORNER BRACKETS)
   ========================================================================== */
.cv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.cv-card,
.cv-guide,
.cv-process li,
.ct-card,
.card {
  position: relative;
  background: var(--lux-paper);
  color: var(--lux-ink);
  border: 1px solid var(--lux-line) !important;
  border-radius: var(--lux-r-md) !important;
  box-shadow: 0 8px 28px rgba(7, 13, 17, 0.05) !important;
  transition: transform 0.26s var(--lux-ease), border-color 0.26s var(--lux-ease), box-shadow 0.26s var(--lux-ease);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Subtle Architectural Gold Corner Accent on Top-Right of Cards */
.cv-guide::after,
.cv-process li::after,
.ct-card::after,
.group-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid var(--lux-gold);
  border-right: 1.5px solid var(--lux-gold);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--lux-ease);
}

.cv-guide:hover::after,
.cv-process li:hover::after,
.ct-card:hover::after,
.group-card:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Radial Gold Spotlight Following Pointer */
.cv-card::before,
.cv-guide::before,
.cv-process li::before,
.ct-card::before,
.group-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(229, 198, 123, 0.19), transparent 68%);
  transition: opacity 0.28s ease;
  z-index: 1;
}

@media (hover: hover) {
  .cv-card:hover,
  .cv-guide:hover,
  .cv-process li:hover,
  .ct-card:hover,
  .group-card:hover {
    border-color: var(--lux-gold) !important;
    box-shadow: 0 22px 52px rgba(7, 13, 17, 0.13) !important;
  }
  .cv-card:hover::before,
  .cv-guide:hover::before,
  .cv-process li:hover::before,
  .ct-card:hover::before,
  .group-card:hover::before {
    opacity: 1;
  }
}

.cv-card img,
.cv-card-art {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s var(--lux-ease);
}
.cv-card:hover img { transform: scale(1.04); }

.cv-card-art {
  background: radial-gradient(ellipse at 50% 42%, #192e39 0%, var(--lux-obsidian) 82%);
  color: var(--lux-gold-bright);
}

.cv-card-body { padding: 28px; position: relative; z-index: 2; }
.cv-card h3, .cv-guide h3 { font-size: 1.62rem; color: var(--lux-obsidian); margin-bottom: 0.45rem; }

.cv-card a,
.cv-guide a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 8px;
  color: var(--lux-bronze-text);
  font-weight: 700;
}

.cv-card a::after,
.cv-guide a::after {
  content: "→";
  transition: transform 0.2s var(--lux-ease);
}
.cv-card a:hover::after,
.cv-guide a:hover::after { transform: translateX(5px); }

.cv-guide { padding: 30px; display: flex; flex-direction: column; }

/* Process Steps with Animated Gold Progress Track */
.cv-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-process li {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}

.cv-process strong {
  display: inline-flex;
  align-items: center;
  font-family: var(--lux-serif);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--lux-bronze-text);
  margin-bottom: 14px;
}

.cv-process h3 { font-size: 1.42rem; color: var(--lux-obsidian); }

/* Dark Obsidian Private Band (#materiais & .campaign-section) */
.cv-band,
.campaign-section {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(229, 198, 123, 0.11) 0%, transparent 48%),
    linear-gradient(155deg, #0c171e 0%, var(--lux-obsidian) 70%) !important;
  color: var(--lux-ivory) !important;
  border-block: 1px solid var(--lux-gold-line) !important;
}

.cv-band h2, .campaign-section h2, .campaign-section h3 { color: var(--lux-ivory) !important; }
.cv-band .cv-intro .eyebrow, .campaign-section .eyebrow { color: var(--lux-gold-bright) !important; }
.cv-band .cv-intro p, .campaign-section p { color: #dcd6ca !important; }
.campaign-section a:not(.btn) { color: var(--lux-gold-bright); }

.cv-band .cv-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.cv-band .cv-guide {
  background: linear-gradient(160deg, var(--lux-obsidian-2), #091116);
  border-color: var(--lux-gold-line) !important;
  color: var(--lux-ivory);
}
.cv-band .cv-guide h3 { color: var(--lux-ivory); }
.cv-band .cv-guide p { color: #d5cfc3; }
.cv-band .cv-guide a { color: var(--lux-gold-bright); }

/* ==========================================================================
   GALLERY, CARTAS & TABELAS
   ========================================================================== */
.pc-library .pc-notice,
.ct-aviso,
.campaign-note {
  border: 1px solid var(--lux-line-strong) !important;
  border-left: 1px solid var(--lux-line-strong) !important;
  border-radius: var(--lux-r-md) !important;
  background: var(--lux-paper) !important;
  color: var(--lux-ink) !important;
  padding: 22px 26px !important;
  margin-block: 22px 32px;
  max-width: 82ch;
}

.campaign-note {
  background: var(--lux-obsidian-2) !important;
  border-color: var(--lux-gold-line) !important;
  color: #e8e2d6 !important;
}
.campaign-note strong { color: var(--lux-gold-bright); }

.pc-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pc-tiles a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 24px;
  background: var(--lux-paper);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-r-md);
  text-decoration: none;
  transition: transform 0.22s var(--lux-ease), border-color 0.22s ease, box-shadow 0.22s ease;
}

.pc-tiles a:hover {
  transform: translateY(-4px);
  border-color: var(--lux-gold);
  box-shadow: 0 18px 36px rgba(7, 13, 17, 0.1);
}

.pc-tiles strong {
  font-family: var(--lux-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--lux-obsidian);
  padding: 0;
  margin-bottom: 8px;
}

.pc-tiles span {
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lux-bronze-text);
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pc-grid .pc-zoom {
  background: var(--lux-paper);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-r-md);
  color: var(--lux-ink);
  transition: transform 0.22s var(--lux-ease), border-color 0.22s ease, box-shadow 0.22s ease;
}

.pc-grid .pc-zoom:hover {
  transform: translateY(-4px);
  border-color: var(--lux-gold);
  box-shadow: 0 18px 36px rgba(7, 13, 17, 0.14);
}
.pc-grid img { background: var(--lux-obsidian); }
.pc-grid span { padding: 14px 16px; font-size: 0.94rem; line-height: 1.4; color: var(--lux-ink); }

.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 48px;
}

.ct-card { padding: 30px 26px !important; display: flex; flex-direction: column; }
.ct-card .eyebrow { font-size: 0.74rem; margin-bottom: 0.45rem; }
.ct-card .eyebrow::before { width: 18px; }
.ct-card h4 { font-family: var(--lux-serif); font-size: 1.48rem; color: var(--lux-obsidian); margin: 0 0 0.25rem; }
.ct-card .ct-credito {
  font-family: var(--lux-serif);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 700;
  color: var(--lux-obsidian);
  margin-bottom: 14px;
}
.ct-card dl { margin: 0 0 18px; font-size: 0.96rem; }
.ct-card dl div { border-top: 1px solid var(--lux-stone-deep); padding: 0.7rem 0; display: flex; flex-direction: column; gap: 2px; }
.ct-card dt { font-size: 0.86rem; color: var(--lux-ink-soft); }
.ct-card dd { font-size: 1.04rem; font-weight: 700; color: var(--lux-obsidian); }
.ct-card .ct-cta { width: 100%; margin-top: auto; min-height: 54px; }

.group-nav { margin-top: 24px; gap: 14px; }
.group-nav .btn {
  background: var(--lux-obsidian-2);
  color: var(--lux-ivory);
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-r-sm);
}
.group-nav .btn:hover { background: var(--lux-gold-bright); color: var(--lux-obsidian); }

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.group-card {
  position: relative;
  background: linear-gradient(160deg, var(--lux-obsidian-2), #091116) !important;
  border: 1px solid var(--lux-gold-line) !important;
  border-radius: var(--lux-r-md) !important;
  padding: 30px 26px !important;
  overflow: hidden;
  transition: transform 0.24s var(--lux-ease), border-color 0.24s ease, box-shadow 0.24s ease;
}
.group-card h3 { font-family: var(--lux-serif); font-size: 1.8rem; color: var(--lux-ivory); margin-bottom: 8px; }
.group-card p { color: #dcd6ca; font-size: 1rem; margin-bottom: 22px; }
.group-card strong { color: var(--lux-gold-bright); }
.group-card .group-pdf {
  width: 100%;
  min-height: 54px;
  background: transparent;
  color: var(--lux-gold-bright) !important;
  border: 1.5px solid var(--lux-gold);
  border-radius: var(--lux-r-sm);
}
.group-card .group-pdf:hover {
  background: var(--lux-gold-bright);
  color: var(--lux-obsidian) !important;
}

/* ==========================================================================
   STEP DECK, FAQS & CONTACT
   ========================================================================== */
.stepdeck {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

.stepvisual {
  padding: 28px;
  background: linear-gradient(160deg, #0f1b23, var(--lux-obsidian)) !important;
  border: 1.5px solid var(--lux-gold-line);
  border-radius: var(--lux-r-lg);
  color: var(--lux-ivory);
  box-shadow: 0 24px 56px rgba(7, 13, 17, 0.22);
}

.stepmarks { display: flex; gap: 10px; margin-bottom: 18px; }
.stepmarks span {
  width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--lux-r-sm);
  background: var(--lux-obsidian-3) !important;
  border: 1px solid var(--lux-gold-line) !important;
  color: var(--lux-ivory) !important;
  font-family: var(--lux-serif);
  font-size: 1.4rem;
  font-weight: 700;
  transition: background-color 0.22s var(--lux-ease), color 0.22s var(--lux-ease), transform 0.22s var(--lux-ease);
}
.stepmarks span.is-current {
  background: linear-gradient(135deg, var(--lux-gold-bright), var(--lux-gold)) !important;
  border-color: var(--lux-gold-pale) !important;
  color: var(--lux-obsidian) !important;
  transform: scale(1.07);
}
#stepcaption { font-size: 0.96rem; font-weight: 700; color: var(--lux-gold-pale); }

.stepcontrols { display: grid; gap: 10px; margin-top: 16px; }
.stepcontrols button {
  min-height: 58px;
  padding: 14px 20px;
  justify-content: flex-start;
  text-align: left;
  background: var(--lux-paper);
  color: var(--lux-obsidian);
  border: 1.5px solid var(--lux-line);
  border-radius: var(--lux-r-sm);
  font-size: 1rem;
  font-weight: 700;
}
.stepcontrols button:hover { border-color: var(--lux-gold); }
.stepcontrols button[aria-pressed="true"] {
  background: var(--lux-obsidian) !important;
  color: var(--lux-gold-bright) !important;
  border-color: var(--lux-gold) !important;
}

.stepdetail {
  padding: 34px !important;
  border-left: 1px solid var(--lux-line) !important;
  border-top: 3px solid var(--lux-gold) !important;
  background: var(--lux-paper) !important;
}
.stepdetail h3 { font-size: 1.85rem; color: var(--lux-obsidian); }

#perguntas details,
.cv-section details {
  background: var(--lux-paper);
  border: 1px solid var(--lux-line);
  border-radius: var(--lux-r-md);
  margin-top: 14px;
  padding: 0 26px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s var(--lux-ease);
}

#perguntas details[open],
.cv-section details[open] {
  border-color: var(--lux-gold);
  box-shadow: 0 14px 36px rgba(7, 13, 17, 0.08);
}

#perguntas summary,
.cv-section summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 18px 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--lux-obsidian);
  cursor: pointer;
}
#perguntas summary::-webkit-details-marker,
.cv-section summary::-webkit-details-marker { display: none; }

#perguntas summary::after,
.cv-section summary::after {
  content: "+";
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lux-stone);
  border: 1px solid var(--lux-line-strong);
  color: var(--lux-bronze-text);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s var(--lux-ease), background-color 0.22s ease, color 0.22s ease;
}

#perguntas details[open] summary::after,
.cv-section details[open] summary::after {
  content: "−";
  background: var(--lux-obsidian);
  color: var(--lux-gold-bright);
  border-color: var(--lux-gold);
  transform: rotate(180deg);
}

#perguntas details p,
.cv-section details p {
  padding-bottom: 20px;
  color: var(--lux-ink-muted);
  font-size: 1.02rem;
  line-height: 1.74;
  animation: luxFadeIn 0.28s var(--lux-ease);
}

@keyframes luxFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

#contato {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(198, 159, 75, 0.08), transparent 50%),
    var(--lux-ivory) !important;
  color: var(--lux-ink) !important;
  border-top: 1px solid var(--lux-line);
}

.formbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

#contato p a[href^="tel:"],
#contato p a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--lux-obsidian);
  text-decoration: underline;
  text-decoration-color: var(--lux-gold);
  text-underline-offset: 5px;
}

.picker {
  padding: clamp(26px, 3.2vw, 40px) !important;
  background: var(--lux-paper) !important;
  border: 1.5px solid var(--lux-line-strong) !important;
  border-top: 3px solid var(--lux-gold) !important;
  border-radius: var(--lux-r-lg) !important;
  box-shadow: 0 22px 54px rgba(7, 13, 17, 0.09) !important;
  gap: 18px !important;
}

.picker h3 { font-size: 1.85rem; color: var(--lux-obsidian); }
.picker label { display: block; font-weight: 700; font-size: 0.98rem; color: var(--lux-obsidian); }
.picker select {
  margin-top: 8px;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--lux-ivory);
  border: 1.5px solid var(--lux-line-strong);
  border-radius: var(--lux-r-sm);
  color: var(--lux-obsidian);
  font-size: 1rem;
}
.picker button { min-height: 58px; width: 100%; font-size: 1.02rem; }

/* ==========================================================================
   INTERACTIVE EXPLANATORY SVG ILLUSTRATIONS
   ========================================================================== */
.lux-explainer-wrap {
  margin-bottom: 36px;
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(155deg, #0d1820, var(--lux-obsidian));
  color: var(--lux-ivory);
  border: 1.5px solid var(--lux-gold-line);
  border-radius: var(--lux-r-lg);
  box-shadow: 0 26px 64px rgba(7, 13, 17, 0.22);
}

.lux-explainer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.lux-explainer-tabs { display: flex; flex-wrap: wrap; gap: 10px; }

.lux-explainer-tab {
  min-height: 48px;
  padding: 10px 18px;
  background: var(--lux-obsidian-3);
  color: #e4dfd4;
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.lux-explainer-tab:hover { border-color: var(--lux-gold-bright); color: #ffffff; }
.lux-explainer-tab[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--lux-gold-bright), var(--lux-gold));
  color: var(--lux-obsidian);
  border-color: var(--lux-gold-pale);
  font-weight: 700;
}

.lux-svg-stage {
  width: 100%;
  background: linear-gradient(180deg, rgba(21, 35, 45, 0.72), rgba(7, 13, 17, 0.94));
  border: 1px solid var(--lux-gold-line-soft);
  border-radius: var(--lux-r-md);
  padding: 18px;
  overflow: hidden;
}

.lux-svg-stage svg { display: block; width: 100%; height: auto; max-height: 245px; margin: 0 auto; }

.lux-card-illus {
  width: 66px;
  height: 66px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: var(--lux-r-sm);
  background: var(--lux-stone);
  border: 1px solid var(--lux-line);
  color: var(--lux-obsidian);
  transition: background-color 0.26s var(--lux-ease), border-color 0.26s ease, color 0.26s ease, transform 0.26s var(--lux-ease);
}

.cv-band .lux-card-illus,
.group-card .lux-card-illus {
  background: var(--lux-obsidian-3);
  border-color: var(--lux-gold-line);
  color: var(--lux-gold-bright);
}

.cv-guide:hover .lux-card-illus,
.cv-process li:hover .lux-card-illus,
.group-card:hover .lux-card-illus {
  background: var(--lux-obsidian);
  border-color: var(--lux-gold-bright);
  color: var(--lux-gold-bright);
  transform: scale(1.06);
}

.lux-card-illus svg { width: 36px; height: 36px; }

.lux-editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.lux-editorial-figure {
  background: linear-gradient(155deg, #0f1c25, var(--lux-obsidian));
  border: 1.5px solid var(--lux-gold-line);
  border-radius: var(--lux-r-lg);
  padding: 26px;
  color: var(--lux-ivory);
  box-shadow: 0 26px 60px rgba(7, 13, 17, 0.2);
}

.lux-editorial-figure svg { display: block; width: 100%; height: auto; }

.lux-draw {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  transition: stroke-dashoffset 1.25s var(--lux-ease);
}
.lux-in-view .lux-draw,
.lux-drawn .lux-draw { stroke-dashoffset: 0; }

.lux-pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: luxSoftPulse 3.6s ease-in-out infinite;
}

@keyframes luxSoftPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
}

.lux-step-svg-box {
  margin-bottom: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lux-gold-line-soft);
  border-radius: var(--lux-r-md);
}
.lux-step-svg-box svg { display: block; width: 100%; max-height: 195px; margin: 0 auto; }

/* ==========================================================================
   SCROLL REVEAL CHOREOGRAPHY
   ========================================================================== */
.lux-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--lux-ease), transform 0.65s var(--lux-ease);
  transition-delay: var(--lux-delay, 0ms);
  will-change: opacity, transform;
}

.lux-reveal.lux-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   OPULENT PRIVATE WEALTH FOOTER — SENIOR-OPTIMIZED + AMBIENT GOLD CANVAS
   ========================================================================== */
.footer,
footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(229, 198, 123, 0.11) 0%, transparent 48%),
    radial-gradient(ellipse at 86% 90%, rgba(26, 52, 66, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #091218 0%, #05090c 100%) !important;
  color: var(--lux-ivory) !important;
  border-top: 2px solid var(--lux-gold) !important;
  padding: clamp(68px, 8vw, 108px) 0 124px !important;
}

/* Gilded Architectural Top Crest inside Footer */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lux-gold-pale), transparent);
  box-shadow: 0 0 18px rgba(229, 198, 123, 0.6);
  pointer-events: none;
}

.footer .lux-footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
}

.footer .foot {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

/* Highlighted Private Concierge Contact Card in Footer Column 1 */
.footer .foot > section:first-child {
  padding: clamp(24px, 3vw, 32px);
  background: linear-gradient(160deg, rgba(229, 198, 123, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--lux-gold-line);
  border-radius: var(--lux-r-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.footer .foot > section:not(:first-child) {
  padding-top: 8px;
}

.footer h3 {
  font-family: var(--lux-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--lux-gold-bright) !important;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(229, 198, 123, 0.28);
  width: 100%;
}

.footer p { color: #e6e0d4; font-size: 1.02rem; }

.footlinks { display: grid; justify-items: start; gap: 4px; }

.footlinks a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 4px;
  font-size: 1.04rem;
  font-weight: 500;
  color: #f4f0e6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, transform 0.2s var(--lux-ease), border-color 0.2s ease;
}

.footlinks a:not(.btn):not(.call)::before {
  content: "›";
  color: var(--lux-gold);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s var(--lux-ease);
}

.footlinks a:not(.btn):hover {
  color: var(--lux-gold-bright);
  border-bottom-color: rgba(229, 198, 123, 0.55);
  transform: translateX(4px);
}

.footlinks a:not(.btn):not(.call):hover::before {
  transform: translateX(3px);
}

.footlinks a[aria-current="page"] {
  color: var(--lux-gold-bright);
  font-weight: 700;
}

.footlinks .btn {
  margin-block: 8px 14px;
  padding: 13px 26px;
  min-height: 56px;
  width: 100%;
}

.footlinks .call {
  font-family: var(--lux-sans);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--lux-gold-pale);
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
}

.footer .notice {
  margin-top: 46px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lux-gold-line-soft);
  border-radius: var(--lux-r-md);
  max-width: none;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #e0dad0 !important;
}

.credit {
  margin: 34px auto 0;
  padding: 10px 24px;
  border: 1px solid var(--lux-gold-line) !important;
  border-radius: var(--lux-r-sm) !important;
  background: rgba(255, 255, 255, 0.03);
  color: #e6e0d4;
  font-size: 0.92rem;
}

.credit a { color: var(--lux-gold-pale); }

/* ==========================================================================
   FLOATING CONTROLS & SENIOR COMFORT DOCK (<= 15% MOBILE STICKY CAP)
   ========================================================================== */
.floatleft {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floatleft .btn,
.floatleft #share,
.lux-comfort-btn {
  min-height: 48px;
  padding: 10px 16px;
  background: rgba(7, 13, 17, 0.94) !important;
  color: var(--lux-ivory) !important;
  border: 1px solid var(--lux-gold) !important;
  border-radius: var(--lux-r-sm) !important;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.floatleft .btn:hover,
.lux-comfort-btn:hover {
  background: var(--lux-obsidian-3) !important;
  color: var(--lux-gold-bright) !important;
  transform: translateY(-2px);
}

.float {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 120;
  min-height: 50px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--lux-gold-bright), var(--lux-gold)) !important;
  color: var(--lux-obsidian) !important;
  border: 1px solid var(--lux-gold-pale) !important;
  border-radius: var(--lux-r-sm) !important;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.float:hover { background: var(--lux-gold-pale) !important; transform: translateY(-2px); }

.float-top {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 60px);
  z-index: 120;
  min-height: 46px;
  padding: 8px 16px;
  background: var(--lux-paper) !important;
  color: var(--lux-obsidian) !important;
  border: 1.5px solid var(--lux-gold) !important;
  border-radius: var(--lux-r-sm) !important;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(7, 13, 17, 0.22);
}

.float-top:hover {
  background: var(--lux-obsidian) !important;
  color: var(--lux-gold-bright) !important;
}

/* Senior Reading Comfort Dialog */
dialog.lux-comfort-dialog {
  width: min(440px, calc(100vw - 28px));
  padding: 28px;
  background: var(--lux-paper);
  color: var(--lux-ink);
  border: 1.5px solid var(--lux-gold);
  border-radius: var(--lux-r-lg);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.5);
  margin: auto;
}
dialog.lux-comfort-dialog::backdrop { background: rgba(6, 11, 15, 0.78); backdrop-filter: blur(5px); }
.lux-comfort-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--lux-line); margin-bottom: 20px; }
.lux-comfort-head h2 { font-size: 1.65rem; margin: 0; color: var(--lux-obsidian); }
.lux-comfort-close { min-height: 44px; min-width: 44px; padding: 6px 14px; background: var(--lux-stone); color: var(--lux-obsidian); border: 1px solid var(--lux-line-strong); border-radius: var(--lux-r-sm); }
.lux-comfort-group { margin-bottom: 20px; }
.lux-comfort-group-title { display: block; font-weight: 700; font-size: 0.96rem; color: var(--lux-obsidian); margin-bottom: 10px; }
.lux-comfort-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lux-comfort-options.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lux-comfort-opt { min-height: 52px; padding: 10px 12px; background: var(--lux-ivory); color: var(--lux-obsidian); border: 1.5px solid var(--lux-line-strong); border-radius: var(--lux-r-sm); font-size: 0.92rem; font-weight: 700; }
.lux-comfort-opt[aria-pressed="true"] { background: var(--lux-obsidian); color: var(--lux-gold-bright); border-color: var(--lux-gold); }

dialog#sharepanel {
  background: var(--lux-paper);
  color: var(--lux-ink);
  border: 1.5px solid var(--lux-gold);
  border-radius: var(--lux-r-lg);
  padding: 26px;
}
dialog#sharepanel #copy { background: var(--lux-obsidian); color: var(--lux-gold-pale); border-color: var(--lux-gold); }

.pc-dialog { background: var(--lux-obsidian) !important; border: 1.5px solid var(--lux-gold) !important; border-radius: var(--lux-r-lg) !important; }
.pc-dialog-head { background: var(--lux-obsidian) !important; border-bottom-color: var(--lux-gold-line-soft) !important; }
.pc-dialog button { background: var(--lux-gold-bright) !important; color: var(--lux-obsidian) !important; border-color: var(--lux-gold-pale) !important; }

/* ==========================================================================
   SQUARE SCREENS & TABLETS (700px–1180px & NEAR-SQUARE ASPECT RATIOS)
   Eliminates orphan columns, tight hero cramping, and unbalanced footers!
   ========================================================================== */
@media (max-width: 1120px) {
  .cv-hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
    gap: 30px;
  }
  .cv-process,
  .pc-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px), (max-width: 1080px) and (min-aspect-ratio: 4/5) and (max-aspect-ratio: 5/4) {
  .wrap { width: min(920px, calc(100% - 40px)); }
  .cv-hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 44px;
  }
  .cv-copy { max-width: 100%; }
  .cv-copy h1 { max-width: 18ch; }
  .cv-consulta { max-width: 580px; width: 100%; }

  .cv-cards,
  .ct-grid,
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Prevent awkward lonely 3rd card in 3-card grids on square screens */
  .cv-cards > :nth-child(3):last-child,
  .group-grid > :nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .lux-editorial-split,
  .stepdeck,
  .formbox,
  .hero-photo .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Square-screen symmetric footer: Concierge box spans full top row, 2 link columns below */
  .footer .foot {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer .foot > section:first-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   MOBILE VIEWPORTS (<= 680px) — SENIOR CLARITY & <= 15% STICKY HEIGHT CAP
   ========================================================================== */
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }

  /* Non-sticky header on compact mobile guarantees sticky chrome < 15% of viewport */
  header { position: relative; }
  .bar { min-height: 68px; gap: 10px; padding-block: 10px; }
  .bar .brand img { width: 36px; height: 36px; }
  .bar .brand span { font-size: 1.24rem; }
  .bar .brand small { font-size: 0.62rem; }
  .bar .mobilenav summary { min-height: 48px; min-width: 104px; padding: 8px 14px; font-size: 0.92rem; }

  .cv-cards,
  .cv-band .cv-cards,
  .ct-grid,
  .group-grid,
  .cv-process,
  .pc-tiles,
  .pc-grid,
  .footer .foot {
    grid-template-columns: minmax(0, 1fr);
  }

  .cv-cards > :nth-child(3):last-child,
  .group-grid > :nth-child(3):last-child,
  .footer .foot > section:first-child {
    grid-column: auto;
  }

  .cv-copy h1,
  .hero h1 {
    font-size: clamp(2.25rem, 9.2vw, 3.15rem);
  }

  .actions .btn { width: 100%; }

  .pc-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .floatleft #share span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .float,
  .floatleft .btn,
  .lux-comfort-btn {
    min-height: 44px;
    padding: 8px 13px;
    font-size: 0.85rem;
  }

  .float-top {
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 54px);
    min-height: 42px;
    padding: 6px 13px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   REDUCED MOTION COMPLIANCE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lux-reveal { opacity: 1 !important; transform: none !important; }
  .lux-draw { stroke-dashoffset: 0 !important; }
  .lux-ambient-canvas, .lux-footer-canvas { display: none !important; }
}

html[data-lux-motion="off"] *,
html[data-lux-motion="off"] *::before,
html[data-lux-motion="off"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
html[data-lux-motion="off"] .lux-reveal { opacity: 1 !important; transform: none !important; }
html[data-lux-motion="off"] .lux-draw { stroke-dashoffset: 0 !important; }
html[data-lux-motion="off"] .lux-ambient-canvas,
html[data-lux-motion="off"] .lux-footer-canvas { display: none !important; }

/* Keep the identity and menu within the viewport on very narrow screens. */
@media (max-width: 420px) {
  header .bar .brand { flex: 1 1 0%; min-width: 0; gap: 7px; }
  header .bar .brand img { flex: 0 0 31px; width: 31px; height: 31px; }
  header .bar .brand span { min-width: 0; white-space: normal; font-size: clamp(1rem, 4.3vw, 1.17rem); line-height: 1.05; }
  header .bar .brand small { white-space: normal; letter-spacing: .055em; line-height: 1.14; font-size: .65rem; }
  header .bar .mobilenav { flex: 0 0 auto; }
}

/* The drawer remains a single scrollable column, including on short screens. */
header .bar .mobilenav nav { flex-wrap: nowrap !important; overflow-x: hidden; }
header .bar .mobilenav nav > a { flex: 0 0 auto; min-width: 0; }
header .bar .mobilenav nav .lux-nav-label { min-width: 0; overflow-wrap: anywhere; }
