/* EXPLODE — Vitrine 3D Premium Gold Edition */

:root {
  --bg-deep: #020617;
  --bg-surface: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(30, 41, 59, 0.4);
  --stroke: rgba(212, 175, 55, 0.05); /* Very subtle gold */
  --stroke-bright: rgba(212, 175, 55, 0.15);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #D4AF37; /* Metallic Gold */
  --accent-light: #FFDF00;
  --accent-glow: rgba(212, 175, 55, 0.4);
  --accent-dim: #B8860B;
  --radius-xl: 24px; /* Reduced from 32px */
  --radius-lg: 16px; /* Reduced from 24px */
  --radius-md: 10px; /* Discrete rounding */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-sans); color: var(--text-main);
  background: var(--bg-deep); line-height: 1.6; overflow-x: hidden;
}

.bg-visuals { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-mesh {
  position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

/* Brilho que varre a grelha — só no hero (index) */
.hero-grid-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid-shine::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 42%,
    rgba(212, 175, 55, 0.14) 49.2%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(212, 175, 55, 0.12) 50.8%,
    transparent 58%,
    transparent 100%
  );
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: hero-grid-shine-sweep 18s ease-in-out infinite;
}
@keyframes hero-grid-shine-sweep {
  0% {
    transform: translate(-12%, 8%) rotate(-8deg);
  }
  50% {
    transform: translate(10%, -6%) rotate(-8deg);
  }
  100% {
    transform: translate(-12%, 8%) rotate(-8deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid-shine::before {
    animation: none;
    opacity: 0.2;
  }
}

/* Animations and Premium Touches */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #020617;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px -5px var(--accent-glow);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 30px -5px var(--accent-glow);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(20px); background: rgba(2, 6, 23, 0.85); border-bottom: 1px solid var(--stroke); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }

.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px;
}
.logo-img { height: 40px; width: auto; filter: drop-shadow(0 0 15px var(--accent-glow)); }

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

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: 0.2s; }
.nav-link:hover { color: var(--accent); }

.btn-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.16));
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
}
.btn-connect:hover {
  border-color: rgba(255, 223, 0, 0.65);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.24);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(15, 23, 42, 0.66);
  color: #f8fafc;
  cursor: pointer;
}
.menu-toggle__icon {
  display: block;
  margin: auto;
}

.mobile-menu {
  display: none;
}
.mobile-menu[hidden] {
  display: none !important;
}

/* Hero — vídeo de fundo + conteúdo estável (sem scroll horizontal) */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 9vh, 96px) 0 clamp(40px, 6vh, 64px);
  overflow: hidden;
  scroll-margin-top: 72px;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Base do vídeo derrete no fundo da página (untar com o bloco de baixo) */
.hero-bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(2, 6, 23, 0.18) 62%,
    rgba(2, 6, 23, 0.55) 78%,
    rgba(2, 6, 23, 0.88) 90%,
    var(--bg-deep) 100%
  );
}
.hero-bg-video__media {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.08);
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.05) contrast(1.04);
}
.hero-bg-video__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.45) 0%, rgba(2, 6, 23, 0.25) 38%, rgba(2, 6, 23, 0.62) 100%),
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(2, 6, 23, 0.15) 0%, transparent 55%);
}
.hero-bg-video--empty .hero-bg-video__media {
  opacity: 0;
}

/* Hero — grelha / perspectiva (efeito moderno sobre o vídeo) */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: 0 0;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 120% 70% at 50% -5%, black 0%, rgba(0, 0, 0, 0.55) 42%, transparent 72%);
  animation: hero-fx-grid 24s linear infinite;
}
.hero-fx::after {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  top: 18%;
  bottom: -55%;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0;
  transform: perspective(520px) rotateX(68deg);
  transform-origin: 50% 0%;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.35) 48%, transparent 68%);
  animation: hero-fx-floor 32s linear infinite;
}
@keyframes hero-fx-grid {
  to {
    background-position: 44px 44px;
  }
}
@keyframes hero-fx-floor {
  to {
    background-position: 72px 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fx::before,
  .hero-fx::after {
    animation: none;
  }
}

.hero-logo-watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  height: min(120%, 720px);
  max-height: 100%;
  width: auto;
  opacity: 0.05;
  pointer-events: none;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero h1 { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 6rem); line-height: 0.9; margin-bottom: 24px; }
.hero h1 .gradient { 
  background: linear-gradient(135deg, #fff 30%, var(--accent) 70%, var(--accent-dim) 100%); 
  -webkit-background-clip: text; background-clip: text; color: transparent; 
}
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-muted); margin-bottom: 28px; max-width: 640px; }

.hero-copy { min-width: 0; max-width: min(640px, 100%); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 28px;
  margin-top: 4px;
  margin-bottom: 20px;
}

.btn-video-creative {
  display: inline-flex;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.btn-video-creative__inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: #f8fafc;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.btn-video-creative:hover .btn-video-creative__inner {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(56, 189, 248, 0.15);
}
.btn-video-creative:focus-visible .btn-video-creative__inner {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}
.btn-video-creative__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.92), var(--accent-dim));
  color: #020617;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.btn-video-creative__text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.section-viewer {
  padding: 48px 0 32px;
  overflow-x: clip;
}

/* Showroom — bloco editorial + palco imersivo */
.showroom-intro {
  margin: 0 0 28px;
  max-width: 520px;
}
.showroom-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.showroom-heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}
.showroom-heading__hl {
  font-weight: 800;
  background: linear-gradient(120deg, #fff 0%, var(--accent) 55%, var(--accent-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.showroom-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 420px;
}

.showroom-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2fr) minmax(180px, 0.9fr);
  align-items: center;
  gap: 20px;
  position: relative;
}

.showroom-side {
  position: relative;
  z-index: 3;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(6px);
}

.showroom-side--left {
  grid-column: 1;
  grid-row: 1;
}

.showroom-side--right {
  grid-column: 3;
  grid-row: 1;
}

.showroom-side__title {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.showroom-side__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Viewer */
.viewer-container { 
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  overflow: visible;
  box-shadow: none;
  margin-bottom: 0;
}

/* Palco: largura total no telemóvel; no desktop fica dentro do .wrap */
.showroom-shell {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 769px) {
  .showroom-shell {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Barra flutuante do showroom — vidro + dock segmentado */
.viewer-header {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  padding: 10px 12px 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    165deg,
    rgba(30, 41, 59, 0.55) 0%,
    rgba(15, 23, 42, 0.72) 45%,
    rgba(2, 6, 23, 0.82) 100%
  );
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 20px 50px -12px rgba(0, 0, 0, 0.55),
    0 0 40px -20px rgba(212, 175, 55, 0.12);
}
.showroom-bar__label {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  padding-left: 14px;
  white-space: nowrap;
}
.showroom-bar__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent-dim));
  box-shadow: 0 0 12px var(--accent-glow);
}

.viewer-toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Chips do showroom — mesmo DNA visual (segmented) */
.showroom-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.8125rem;
  font-family: inherit;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}
button.showroom-toolbar-btn {
  cursor: pointer;
}
.showroom-toolbar-btn:hover {
  border-color: rgba(212, 175, 55, 0.35);
  color: #f8fafc;
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-0.5px);
}
.showroom-toolbar-btn:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
.showroom-toolbar-btn--active {
  border-color: rgba(212, 175, 55, 0.45);
  color: #0f172a;
  font-weight: 700;
  background: linear-gradient(145deg, #f0d875 0%, var(--accent) 38%, var(--accent-dim) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 6px 20px rgba(212, 175, 55, 0.35);
  cursor: default;
  transform: none;
}
.showroom-toolbar-btn--active:hover {
  color: #0f172a;
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(145deg, #fff4c2 0%, var(--accent-light) 42%, var(--accent) 100%);
  transform: none;
}
.showroom-toolbar-btn--icon {
  padding-left: 14px;
  padding-right: 16px;
}
.showroom-toolbar-btn__icon {
  flex-shrink: 0;
  opacity: 0.92;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
}
.showroom-toolbar-btn__text {
  font-weight: inherit;
}
.showroom-toolbar-btn--icon:not(.showroom-toolbar-btn--active) .showroom-toolbar-btn__icon {
  color: var(--accent-light);
  opacity: 1;
}

/* Desktop: barra do showroom mais premium e estável */
@media (min-width: 1024px) {
  .viewer-header.showroom-bar {
    left: 0;
    right: 0;
    top: 20px;
    transform: none;
    width: auto;
    max-width: none;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 12px 14px 12px 18px;
    border-color: rgba(212, 175, 55, 0.22);
    background: linear-gradient(
      160deg,
      rgba(30, 41, 59, 0.5) 0%,
      rgba(15, 23, 42, 0.74) 48%,
      rgba(2, 6, 23, 0.86) 100%
    );
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.04) inset,
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 24px 60px -14px rgba(0, 0, 0, 0.6),
      0 0 44px -24px rgba(212, 175, 55, 0.32);
  }

  .viewer-header.showroom-bar::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 35%, transparent 65%, rgba(212, 175, 55, 0.08));
    opacity: 0.85;
    mix-blend-mode: screen;
  }

  .showroom-bar__label {
    font-size: 0.76rem;
    letter-spacing: 0.34em;
    padding-left: 16px;
  }

  .viewer-toolbar {
    gap: 6px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.36);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .showroom-toolbar-btn {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 0.84rem;
  }

  .showroom-toolbar-btn--icon {
    padding-left: 16px;
    padding-right: 18px;
  }
}

.viewer-stage {
  position: relative;
  z-index: 1;
  height: min(820px, 82vh);
  min-height: 520px;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0;
  /* Transparente: vê-se o fundo global do site (.bg-visuals + body) */
  background: transparent;
}

model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  /* Host transparente — cor do site vem do .viewer-stage por baixo */
  background: transparent;
  background-color: transparent;
}

.assembled-box {
  position: absolute;
  z-index: 2;
  /* Folga extra no topo para translateY maior sem cortar o produto */
  inset: 88px 2px 26px 2px;
}
.assembled-box model-viewer {
  transform: translateY(22%);
}

@media (max-width: 920px) and (min-width: 769px) {
  .assembled-box {
    inset: 92px 2px 40px 2px;
  }
  .assembled-box model-viewer {
    transform: translateY(18%);
  }
}

.part-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.part-main {
  pointer-events: auto;
}

.hidden-viewer {
  display: none;
}

/* Progress Bar */
.progress-bar { width: 33%; height: 4px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.05); border-radius: 2px; }
.update-bar { background: linear-gradient(90deg, var(--accent), var(--accent-light)); width: 0%; height: 100%; border-radius: 2px; transition: width 0.3s; box-shadow: 0 0 15px var(--accent-glow); }

/* Modal vídeo retrato (feed / stories) */
.reels-modal[hidden] {
  display: none !important;
}
.reels-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.reels-modal:not([hidden]) .reels-modal__sheet {
  animation: reels-sheet-in 260ms cubic-bezier(0.22, 0.9, 0.2, 1);
}
@keyframes reels-sheet-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (min-width: 769px) {
  .reels-modal {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }
}
.reels-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(16px);
}
.reels-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: auto 0;
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  overflow: hidden;
}
@media (min-width: 520px) {
  .reels-modal__sheet {
    margin: auto;
    border-radius: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: min(96dvh, 900px);
  }
}
.reels-modal__grab {
  width: 48px;
  height: 5px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.45);
  margin: 10px auto 6px;
}
.reels-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.reels-modal__title {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.reels-modal__close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}
.reels-modal__close:hover {
  background: rgba(248, 113, 113, 0.25);
  color: #fecaca;
}
.reels-modal__body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px 16px;
}
.reels-modal__phone {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  max-height: min(72dvh, 640px);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 30px 60px rgba(0, 0, 0, 0.75);
}
.reels-modal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 769px) {
  .reels-modal.reels-modal--desktop-full {
    align-items: stretch;
    padding: 0;
    background: rgba(2, 6, 23, 0.92);
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__backdrop {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(8px);
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__sheet {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__grab {
    display: none;
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__top {
    position: absolute;
    z-index: 4;
    top: 12px;
    left: 14px;
    right: 14px;
    padding: 8px 10px;
    border: none;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.7) 0%, rgba(2, 6, 23, 0.25) 100%);
    pointer-events: none;
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__top .reels-modal__close {
    pointer-events: auto;
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__body {
    padding: 0;
    width: 100%;
    height: 100%;
    align-items: stretch;
    justify-content: center;
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__phone {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
    background: #000;
  }
  .reels-modal.reels-modal--desktop-full .reels-modal__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }

  .reels-modal__sheet {
    width: min(520px, calc(100vw - 52px));
    max-height: min(92dvh, 900px);
    border-radius: 26px;
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.62),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  .reels-modal__body {
    flex: 1;
    min-height: 0;
    padding: 14px 20px 22px;
  }
  .reels-modal__phone {
    margin-inline: auto;
    width: auto;
    max-width: min(460px, 100%);
    height: min(calc(92dvh - 188px), 720px);
    max-height: min(78dvh, 720px);
    aspect-ratio: 9 / 16;
    border-radius: 22px;
  }
  .reels-modal__video {
    object-fit: contain;
    background: #000;
  }

  /* Orientação configurável no desktop: troque data-desktop-orientation no HTML */
  .reels-modal.reels-modal--desktop-landscape .reels-modal__sheet {
    width: 100vw;
    max-height: 100dvh;
  }
  .reels-modal.reels-modal--desktop-landscape .reels-modal__phone {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
  }

  .reels-modal.reels-modal--desktop-portrait .reels-modal__sheet {
    width: 100vw;
  }
  .reels-modal.reels-modal--desktop-portrait .reels-modal__phone {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 9 / 16;
  }
}
@media (min-width: 769px) and (orientation: landscape) {
  .reels-modal__sheet {
    width: min(960px, calc(100vw - 32px));
    max-height: min(96dvh, 900px);
  }
  .reels-modal__phone {
    height: min(calc(96dvh - 180px), 90dvh);
    max-height: 90dvh;
    width: auto;
    max-width: min(100%, calc(90dvh * 9 / 16));
    aspect-ratio: 9 / 16;
  }
}

.reels-modal__footer {
  flex-shrink: 0;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.reels-modal__hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
  max-width: min(420px, 100%);
}
@media (min-width: 769px) {
  .reels-modal__hint {
    font-size: 0.78rem;
    max-width: min(520px, 92%);
  }
}
.reels-modal__pip {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.reels-modal__pip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
}

html.reels-open {
  overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
  .btn-video-creative:hover .btn-video-creative__inner {
    transform: none;
  }
}

/* Vídeo: tela cheia personalizada no telemóvel */
.reels-modal.reels-modal--mobile-fs {
  padding: 0;
  align-items: stretch;
  background: #020617;
}
.reels-modal.reels-modal--mobile-fs .reels-modal__backdrop {
  display: none;
}
.reels-modal.reels-modal--mobile-fs .reels-modal__sheet {
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  min-height: 100dvh;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, #020617 18%, #020617 100%);
}
.reels-modal.reels-modal--mobile-fs .reels-modal__grab {
  margin-top: max(10px, env(safe-area-inset-top));
}
.reels-modal.reels-modal--mobile-fs .reels-modal__body {
  flex: 1;
  min-height: 0;
  padding: 0 0 env(safe-area-inset-bottom);
}
.reels-modal.reels-modal--mobile-fs .reels-modal__phone {
  width: 100%;
  max-width: none;
  max-height: none;
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}
.reels-modal.reels-modal--mobile-fs .reels-modal__video {
  object-fit: contain;
  background: #000;
}
.reels-modal.reels-modal--mobile-fs .reels-modal__footer {
  flex-shrink: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* Telemóvel retrato: vídeo usa toda a área útil entre header e rodapé */
@media (max-width: 768px) and (orientation: portrait) {
  .reels-modal.reels-modal--mobile-fs .reels-modal__body {
    flex: 1;
    min-height: 0;
    align-items: stretch;
  }
  .reels-modal.reels-modal--mobile-fs .reels-modal__phone {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: auto;
  }
}

/* Telemóvel paisagem: ecrã completo, barra compacta, vídeo a preencher */
@media (max-width: 768px) and (orientation: landscape) {
  .reels-modal.reels-modal--mobile-fs .reels-modal__grab {
    display: none;
  }
  .reels-modal.reels-modal--mobile-fs .reels-modal__top {
    padding: 6px 14px;
    flex-shrink: 0;
  }
  .reels-modal.reels-modal--mobile-fs .reels-modal__sheet {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
  }
  .reels-modal.reels-modal--mobile-fs .reels-modal__body {
    flex: 1;
    min-height: 0;
    padding: 0 max(10px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    align-items: center;
  }
  .reels-modal.reels-modal--mobile-fs .reels-modal__phone {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    flex: 1;
    min-height: 0;
  }
}

/* Auth page */
body.auth-page .site-header {
  position: sticky;
}

.auth-main {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 28px 0 44px;
}

.auth-card {
  width: min(470px, calc(100% - 28px));
  padding: 30px 24px 24px;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2.05rem;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.01em;
}

.auth-sub {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 15px;
  justify-items: center;
}

.auth-field {
  display: grid;
  gap: 8px;
  width: min(280px, 100%);
}

.auth-label {
  font-size: 0.76rem;
  color: #d4deeb;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-left: 2px;
}

.auth-input {
  width: min(280px, 100%);
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.58));
  color: #fff;
  padding: 0 14px;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.auth-input:focus {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.64));
}

.auth-submit {
  margin-top: 10px;
  justify-self: center;
  width: min(280px, 100%);
  min-height: 50px;
  border: 1px solid rgba(212, 175, 55, 0.56);
  border-radius: 13px;
  background: linear-gradient(145deg, #d4af37 0%, #b8860b 100%);
  color: #0b1220;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  border-color: rgba(255, 223, 0, 0.72);
}

.auth-submit:focus-visible {
  outline: 2px solid rgba(255, 223, 0, 0.85);
  outline-offset: 2px;
}

.auth-feedback {
  margin: 12px 0 0;
  min-height: 1.25em;
  font-size: 0.9rem;
  color: #f8e68d;
  text-align: center;
}

/* Features */
.features { padding: 56px 0 120px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.features-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin-inline: auto;
  align-items: stretch;
}
.features-grid--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
  align-items: stretch;
}
@media (max-width: 960px) {
  .features-grid--trio {
    grid-template-columns: 1fr;
  }
}
.showroom-side__list--tight {
  gap: 6px;
}
.feature-card { padding: 48px; border-radius: var(--radius-lg); background: var(--bg-glass); border: 1px solid var(--stroke); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.feature-card:hover { transform: translateY(-12px); border-color: var(--accent); background: rgba(212, 175, 55, 0.05); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3); }
.feature-icon { font-size: 2.5rem; margin-bottom: 24px; display: block; filter: drop-shadow(0 0 10px var(--accent-glow)); }
.feature-icon--svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
  flex-shrink: 0;
}
.feature-icon--svg svg {
  width: 100%;
  height: 100%;
  max-width: 2.5rem;
  max-height: 2.5rem;
  opacity: 0.95;
}
.feature-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 16px; color: #fff; }

/* Footer */
.site-footer { padding: 100px 0 40px; border-top: 1px solid var(--stroke); text-align: center; background: rgba(0,0,0,0.1); }
.footer-logo { height: 56px; margin-bottom: 32px; filter: drop-shadow(0 0 10px var(--accent-glow)); }
.footer-links { display: flex; justify-content: center; gap: 40px; margin-top: 32px; }
.footer-link { color: var(--accent); text-decoration: none; font-weight: 700; transition: 0.2s; }
.footer-link:hover { color: var(--accent-light); text-shadow: 0 0 10px var(--accent-glow); }

.btn { 
  padding: 16px 32px; 
  border-radius: 12px; /* Discrete rounding */
  font-weight: 700; 
  text-decoration: none; 
  display: inline-flex; 
  align-items: center; 
  gap: 12px; 
  transition: 0.3s; 
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dim)); color: #020617; box-shadow: 0 8px 25px var(--accent-glow); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 15px 40px var(--accent-glow); filter: brightness(1.1); }
.btn-secondary { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--stroke-bright); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-connect { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(420px, calc(100% - 24px));
    margin: 0 auto 14px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(10px);
  }
  .mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.06);
  }
  .mobile-menu__link--connect {
    border-color: rgba(212, 175, 55, 0.38);
    background: rgba(212, 175, 55, 0.14);
    color: #fff;
  }
  .hero-logo-watermark { display: none; }
  .hero {
    min-height: min(100svh, 820px);
    padding-top: max(56px, env(safe-area-inset-top));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  .hero-bg-video__media {
    opacity: 0.22;
    transform: translate(-50%, -50%) scale(1.15);
  }
  .hero h1 { font-size: 3.5rem; }
  .hero-lead { margin-bottom: 24px; }
  .hero-actions {
    width: 100%;
    max-width: 100%;
    gap: 14px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 16px 14px;
    font-size: 0.95rem;
  }
  .btn-video-creative {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
  .btn-video-creative__inner {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 18px 12px 12px;
    gap: 14px;
  }
  .btn-video-creative__play {
    flex-shrink: 0;
  }
  .btn-video-creative__text {
    flex: 1;
    text-align: left;
  }
  .section-viewer {
    padding-top: 32px;
  }
  .showroom-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .showroom-side--left,
  .showroom-side--right,
  .viewer-container {
    grid-column: auto;
    grid-row: auto;
  }
  .showroom-side {
    padding: 14px 12px;
  }
  .showroom-side__title {
    font-size: 0.84rem;
    margin-bottom: 8px;
  }
  .showroom-side__list {
    font-size: 0.84rem;
    gap: 6px;
  }
  .showroom-intro {
    margin-bottom: 22px;
  }
  .viewer-header {
    top: 10px;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    padding: 12px 14px;
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .showroom-bar__label {
    letter-spacing: 0.2em;
    padding-left: 0;
    text-align: center;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .showroom-bar__label::before {
    position: static;
    transform: none;
    height: 3px;
    width: 28px;
    border-radius: 999px;
  }
  .viewer-toolbar {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 16px;
  }
  .viewer-stage {
    height: min(620px, 72vh);
    min-height: 420px;
    border-radius: 0;
  }
  .assembled-box {
    inset: 136px 3px 28px 3px;
  }
  .assembled-box model-viewer {
    transform: translateY(15%);
  }

  .features-grid--pair,
  .features-grid--trio {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .site-header--has-user .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header--has-user .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    width: min(340px, calc(100vw - 48px));
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
    backdrop-filter: blur(14px);
    box-shadow:
      0 22px 46px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    display: flex;
    flex-direction: column;
    gap: 9px;
    z-index: 150;
  }

  .site-header--has-user .mobile-menu .mobile-menu__link {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(148, 163, 184, 0.08);
    color: #e2e8f0;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
  }

  .site-header--has-user .mobile-menu .mobile-menu__link:hover {
    border-color: rgba(212, 175, 55, 0.32);
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
    text-decoration: none !important;
  }

  .site-header--has-user .mobile-menu .mobile-install-hint {
    margin-top: 2px;
    font-size: 0.75rem;
  }
}

/* User Profile Menu */
.user-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
}

.btn-user-profile:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #0b1220;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
}

.user-menu-container.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.dropdown-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 4px;
}

.dropdown-info {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.dropdown-device {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-device-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: 0.92;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(90%) sepia(10%) saturate(220%) hue-rotate(180deg) brightness(105%) contrast(96%);
}

.license-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
    font-weight: 700;
}

.pulse-active {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.dropdown-link.active-app {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    color: var(--accent);
}

.dropdown-link.logout {
    color: #ef4444;
}

.dropdown-link.logout i,
.dropdown-link.logout > span[aria-hidden="true"] {
  color: #ef4444;
  font-size: 1.1rem;
  margin-right: 8px;
  vertical-align: middle;
}

.dropdown-link.logout .logout-power-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  background-color: #ef4444;
  -webkit-mask: url('../images/power.svg') no-repeat center / contain;
  mask: url('../images/power.svg') no-repeat center / contain;
  transform: translateY(1px);
}

.dropdown-link.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.mobile-install-btn {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  background: linear-gradient(180deg, #f4c64d 0%, #d4af37 100%) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
  color: #1f2937 !important;
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.25);
}

.mobile-install-btn.is-installed {
  opacity: 0.7;
  cursor: default;
}

.mobile-install-hint {
  margin-top: -2px;
  margin-bottom: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.mobile-install-hint.is-highlight {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.14);
  color: #f8fafc;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.24) inset, 0 8px 20px rgba(212, 175, 55, 0.18);
}

.mobile-menu__link--logout {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  color: #fecaca !important;
  font-weight: 700;
  border-color: rgba(239, 68, 68, 0.36) !important;
  background: rgba(239, 68, 68, 0.08) !important;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
}

.mobile-menu__link--logout .logout-power-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  background-color: #ef4444;
  -webkit-mask: url('../images/power.svg') no-repeat center / contain;
  mask: url('../images/power.svg') no-repeat center / contain;
  transform: translateY(1px);
}

.mobile-menu__link--logout:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.18) !important;
  color: #fee2e2 !important;
}

.logout-confirm-modal[hidden] { display: none !important; }
.logout-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.logout-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(8px);
}
.logout-confirm-modal__sheet {
  position: relative;
  width: min(450px, calc(100vw - 28px));
  border-radius: 24px;
  border: 1px solid rgba(248, 113, 113, 0.26);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(248, 113, 113, 0.08) inset;
  padding: 22px;
}
.logout-confirm-modal__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.logout-confirm-modal__hero {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 2px;
}
.logout-confirm-modal__hero .logout-power-icon {
  width: 20px;
  height: 20px;
  margin-right: 0;
}
.logout-confirm-modal__sheet h3 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: #fff;
}
.logout-confirm-modal__lead {
  margin: 0;
  color: #f1f5f9;
  font-size: 0.95rem;
}
.logout-confirm-modal__muted {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.5;
}
.logout-confirm-modal__actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
}
.logout-confirm-modal__btn {
  flex: 1;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.logout-confirm-modal__btn--ghost {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}
.logout-confirm-modal__btn--danger {
  background: linear-gradient(180deg, #ef4444, #dc2626);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fff;
}
body.logout-confirm-modal-open {
  overflow: hidden;
}

.ios-install-modal[hidden] { display: none !important; }
.ios-install-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ios-install-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.ios-install-modal__sheet {
  position: relative;
  width: min(390px, calc(100vw - 32px));
  border-radius: 22px;
  border: none;
  background: #ececf1;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
  padding: 48px 18px 20px;
  color: #111;
  z-index: 1;
}

.ios-install-modal__card {
  background: #fff;
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ios-install-modal__hero {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #0a57ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-install-modal__hero ion-icon {
  color: #fff;
  font-size: 40px;
}

.ios-install-modal__sheet h3 {
  margin: 0 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
  color: #111;
}

.ios-install-modal__lead {
  margin: 0 0 18px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #3c3c43;
}

.ios-install-modal__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ios-install-modal__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e5e5ea;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #111;
}

.ios-install-modal__step:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ios-install-modal__step-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10, 87, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-install-modal__step-icon ion-icon {
  font-size: 24px;
  color: #0a57ff;
}

.ios-install-modal__step-text strong {
  font-weight: 600;
  color: #111;
}

.ios-install-modal__muted {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: #8e8e93;
  font-weight: 400;
}

.ios-install-modal__tip {
  margin-top: 16px;
  border-radius: 14px;
  background: #f2f2f7;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #3c3c43;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ios-install-modal__tip-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: #0a57ff;
  margin-top: 1px;
}

.ios-install-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: #0a57ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.ios-install-modal__close ion-icon {
  font-size: 26px;
}

.ios-install-modal__close:hover {
  background: #fff;
}

body.ios-install-modal-open {
  overflow: hidden;
}

/* --- Página Ajuda (raiz) --- */
.page-ajuda .site-header {
  position: relative;
  z-index: 20;
}

.ajuda-main {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 4rem;
}

.ajuda-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.ajuda-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
  margin: 0 0 0.75rem;
}

.ajuda-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #f8fafc;
}

.ajuda-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.82);
}

.ajuda-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto;
}

.ajuda-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.65);
}

.ajuda-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
}

.ajuda-card__text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.92);
}

.ajuda-card__body--split {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .ajuda-card__body--split {
    grid-template-columns: minmax(200px, 0.92fr) minmax(0, 1.08fr);
  }

  .ajuda-card__body--split-reverse .ajuda-figure--compact {
    order: 2;
  }

  .ajuda-card__body--split-reverse .ajuda-card__prose {
    order: 1;
  }
}

.ajuda-card__prose .ajuda-card__text:first-child {
  margin-top: 0;
}

.ajuda-card__prose .ajuda-note:last-child {
  margin-bottom: 0;
}

.ajuda-figure {
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke-bright);
  background: linear-gradient(165deg, rgba(106, 54, 207, 0.2) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(30, 41, 59, 0.4) 100%);
  box-shadow:
    0 16px 48px -24px rgba(106, 54, 207, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ajuda-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.ajuda-figure--compact img {
  max-height: 260px;
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 768px) {
  .ajuda-figure--compact img {
    max-height: 300px;
  }
}

.ajuda-figure--wide {
  margin: 0 0 1rem;
}

.ajuda-card--pinch .ajuda-figure--wide img {
  width: 100%;
  max-width: min(100%, 720px);
  margin: 0 auto;
  max-height: none;
}

.ajuda-figure__cap {
  margin: 0;
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(2, 6, 23, 0.4);
}

.ajuda-figure__cap strong {
  color: #f1f5f9;
}

.ajuda-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.ajuda-icon--accent { color: var(--accent-light); }
.ajuda-icon--orange { color: #fbbf24; }
.ajuda-icon--green { color: #4ade80; }
.ajuda-icon--purple { color: #c084fc; }

.ajuda-card__prose .ajuda-card__text,
.ajuda-card__prose .ajuda-list,
.ajuda-lead,
.ajuda-card--subtle .ajuda-card__text {
  text-align: justify;
  text-wrap: pretty;
}

.ajuda-card__text--compact-label {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
}

.ajuda-effect-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ajuda-effect-list li {
  margin: 0;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid rgba(212, 175, 55, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.4;
}

.ajuda-card--subtle {
  border-style: dashed;
  border-color: rgba(212, 175, 55, 0.22);
  background: rgba(15, 23, 42, 0.35);
}

.ajuda-note {
  margin: 0.85rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border-left: 3px solid var(--accent-dim);
  background: rgba(212, 175, 55, 0.08);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}

.ajuda-note strong {
  color: #f8fafc;
}

.ajuda-gesture-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.25rem;
}

.ajuda-gesture-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: rgba(30, 41, 59, 0.75);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  min-width: 5.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ajuda-gesture-emoji {
  font-size: 1.65rem;
  line-height: 1;
}

.ajuda-gesture-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
}

.ajuda-gesture-arrow {
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
}

.ajuda-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: rgba(203, 213, 225, 0.92);
  font-size: 0.92rem;
  line-height: 1.65;
}

.ajuda-list li {
  margin-bottom: 0.35rem;
}

/* FAQ — acordeão (tema ouro / vidro) */
.ajuda-accordion {
  margin: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ajuda-accordion__item {
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-bright);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.45) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.ajuda-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  margin: 0;
  border: none;
  background: transparent;
  color: #f1f5f9;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ajuda-accordion__trigger:hover {
  background: rgba(212, 175, 55, 0.08);
  color: #fff;
}

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

.ajuda-accordion__trigger::after {
  content: '';
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.9;
}

.ajuda-accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.ajuda-accordion__q {
  line-height: 1.45;
}

.ajuda-accordion__panel {
  border-top: 1px solid var(--stroke);
}

/* Garantir que [hidden] do painel não seja sobreposto por outras regras de display */
.ajuda-accordion__panel[hidden] {
  display: none !important;
}

.ajuda-accordion__panel:not([hidden]) {
  display: block;
}

.ajuda-accordion__answer {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.9);
}

.ajuda-card code {
  font-size: 0.85em;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.12em 0.35em;
  border-radius: 6px;
}

.ajuda-footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.85);
  margin-top: 3rem;
}

/* Página Sobre — layout coluna + rodapé ao fundo */
body.page-sobre {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-sobre .sobre-shell {
  flex: 1 0 auto;
  width: 100%;
}

.page-sobre .sobre-site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.sobre-layout {
  padding: 2rem 0 3.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.sobre-hero {
  max-width: 100%;
  margin-bottom: 2rem;
  text-align: center;
}

.sobre-hero__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.sobre-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  margin: 0 0 0.85rem;
  color: #fff;
  line-height: 1.12;
  font-weight: 800;
}

.sobre-hero__accent {
  background: linear-gradient(120deg, #fde68a 0%, var(--accent) 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sobre-hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.95);
}

.sobre-content-card {
  border-radius: 20px;
  border: 1px solid var(--stroke-bright);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.55) 50%, rgba(15, 23, 42, 0.88) 100%);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 175, 55, 0.06) inset;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.25rem);
}

.sobre-prose {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.03rem;
  line-height: 1.78;
  color: rgba(226, 232, 240, 0.93);
}

.sobre-prose__lead {
  font-size: 1.08rem;
  line-height: 1.82;
  margin: 0 0 1.35rem;
}

.sobre-prose p {
  margin: 0 0 1.15rem;
  text-align: justify;
  text-wrap: pretty;
}

.sobre-prose p:last-child {
  margin-bottom: 0;
}

.sobre-prose strong,
.sobre-highlight {
  color: #f8fafc;
}

.sobre-highlight {
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 0.06em;
}

.sobre-em {
  color: #e2e8f0;
  font-weight: 600;
  font-style: italic;
  border-bottom: 1px dotted rgba(212, 175, 55, 0.5);
}

.sobre-callout {
  margin: 1.5rem 0 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border-left: 4px solid var(--accent);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.sobre-callout__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.45rem;
}

.sobre-callout__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.95);
}

.sobre-pullquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.sobre-closing {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--stroke);
}

.sobre-signoff {
  display: block;
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--accent-light);
}

.sobre-site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.92);
}

/* Legado: bloco antigo */
.page-sobre .sobre-main {
  padding: 2.5rem 0 4rem;
}

.inline-brand-link {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.inline-brand-link:hover {
  color: #fde68a;
  border-bottom-color: rgba(253, 230, 138, 0.85);
}

.inline-brand-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

