/* =========================================================
   ARX Growth — site público
   Visual de assessoria: branco neve, azul-marinho e azul premium.
   Fotos em destaque, botões de vidro discretos.
   ========================================================= */

/* As fontes ficam em assets/fonts/fonts.css. Cores, fontes e opacidade dos botões vêm do painel (Aparência)
   e são aplicadas nas variáveis abaixo; estes valores são o padrão. */

:root {
  /* tema (sobrescrito pelo painel) */
  --accent: #1f4fd8; --accent-rgb: 31, 79, 216; --accent-2: #173ea8; --accent-3: #3563ea;
  --accent-hi: #8fb0ff; --accent-hi-rgb: 143, 176, 255;
  --btn-rgb: 31, 79, 216; --btn-text: #ffffff; --btn-o: 1;
  --dark: #0b1633; --dark-rgb: 11, 22, 51; --dark-2: #13224a; --dark-3: #1b3170; --dark-deep-rgb: 5, 10, 23;
  --bg: #f7f9fc; --bg-rgb: 247, 249, 252; --bg-2: #eef2f8;
  --font-title: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-header: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-footer: 'Inter', system-ui, sans-serif;

  --surface: #ffffff;
  --navy: var(--dark);
  --navy-2: var(--dark-2);
  --text: var(--dark);
  --muted: #4a5875;
  --dim: #7c89a3;
  --line: rgba(var(--dark-rgb), 0.1);
  --line-2: rgba(var(--dark-rgb), 0.18);
  --accent-soft: rgba(var(--accent-rgb), 0.08);
  --ok: #1f9d63;
  --bad: #d64545;
  --shadow-sm: 0 1px 2px rgba(var(--dark-rgb), 0.05), 0 10px 30px -14px rgba(var(--dark-rgb), 0.16);
  --shadow: 0 2px 4px rgba(var(--dark-rgb), 0.04), 0 30px 60px -28px rgba(var(--dark-rgb), 0.28);
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --display: var(--font-title);
  --sans: var(--font-body);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --header-h: 72px;
  color-scheme: light;
}
/* Áreas escuras (slides, faixas azul-marinho, rodapé) */
.dark, .bg-dark, .hero, .site-footer, #loader, dialog.lightbox {
  --text: #f7f9fc;
  --muted: #b3c0d8;
  --dim: #7f8fae;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --accent: var(--accent-hi);
  --accent-soft: rgba(var(--accent-hi-rgb), 0.14);
  color: var(--text);
}

/* Tipografia fluida: do celular à TV 4K */
html {
  font-size: clamp(15px, 0.3vw + 12.6px, 23px);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 400; line-height: 1.65; overflow-x: hidden; font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* efeitos de fundo do visual antigo: desligados no visual de assessoria */
.ambient, .grain { display: none; }

/* Barra de progresso de leitura */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }

/* Transição suave entre páginas (navegadores compatíveis) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 0.3s var(--ease) both vt-out; }
  ::view-transition-new(root) { animation: 0.45s var(--ease) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* =========================================================
   Tipografia
   ========================================================= */
.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75em;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 2em; height: 2px; border-radius: 2px; background: currentColor; }
.display, h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.08; letter-spacing: -0.03em; margin: 0; text-wrap: balance; color: var(--text); }
.display { font-size: clamp(2.3rem, 5vw, 4.8rem); }
h1.page-title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.45rem); letter-spacing: -0.02em; }
em, .display em, h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); font-weight: inherit; }
.lead { font-size: clamp(1rem, 1.2vw, 1.18rem); color: var(--muted); max-width: 52ch; }
p { margin: 0 0 1em; }

/* =========================================================
   Botões de vidro (discretos)
   ========================================================= */
.gbtn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.9em 1.6em; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, calc(0.95 * var(--btn-o))), rgba(255, 255, 255, calc(0.72 * var(--btn-o))));
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(var(--dark-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 22px -12px rgba(var(--dark-rgb), 0.3);
  transition: transform 0.45s var(--spring), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
}
/* aro de luz nas bordas */
.gbtn::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0.6;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* brilho que segue o mouse */
.gbtn::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; opacity: 0;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), 0.12), transparent 60%);
  transition: opacity 0.3s var(--ease);
}
.gbtn:hover::before, .gbtn:focus-visible::before { opacity: 1; }
.gbtn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(var(--dark-rgb), 0.2), inset 0 1px 0 #fff, 0 14px 30px -14px rgba(var(--dark-rgb), 0.4); }
.gbtn:active, .gbtn.is-pressed { transform: scale(0.96); transition-duration: 0.12s; }
.gbtn .ico { width: 1.1em; height: 1.1em; flex: none; }
.gbtn--accent {
  color: var(--btn-text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.07)), rgba(var(--btn-rgb), var(--btn-o));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 12px 28px -12px rgba(var(--btn-rgb), calc(0.65 * var(--btn-o)));
}
.gbtn--accent::before { background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.3), transparent 60%); }
.gbtn--accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 18px 34px -12px rgba(var(--btn-rgb), calc(0.75 * var(--btn-o))); }
/* em áreas escuras o botão comum vira vidro claro */
.dark .gbtn:not(.gbtn--accent), .theme-dark-bg .gbtn:not(.gbtn--accent), .bg-dark .gbtn:not(.gbtn--accent), .hero .gbtn:not(.gbtn--accent), .site-footer .gbtn:not(.gbtn--accent), dialog.lightbox .gbtn {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, calc(0.2 * var(--btn-o))), rgba(255, 255, 255, calc(0.07 * var(--btn-o))));
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 26px -14px rgba(0, 0, 0, 0.6);
}
.gbtn--lg { font-size: 1rem; padding: 1.05em 2em; min-height: 56px; }
.gbtn--sm { font-size: 0.8rem; padding: 0.6em 1.1em; min-height: 38px; }
.gbtn--icon { width: 50px; height: 50px; min-height: 0; padding: 0; }
.gbtn--icon svg { width: 20px; height: 20px; }
.gbtn[disabled] { opacity: 0.55; pointer-events: none; }

/* Superfície (cartões) */
.glass {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.dark .glass { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }

/* =========================================================
   Tela de carregamento
   ========================================================= */
#loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, var(--dark-2) 0%, var(--dark) 70%);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#loader.done { opacity: 0; visibility: hidden; }
#loader .ld-inner { display: grid; justify-items: center; gap: 2rem; transition: transform 0.8s var(--ease), filter 0.8s; }
#loader.done .ld-inner { transform: scale(1.08); filter: blur(6px); }
.ld-mark { position: relative; width: clamp(110px, 16vw, 180px); aspect-ratio: 502 / 432; }
.ld-mark img { width: 100%; height: 100%; object-fit: contain; }
.ld-mark .ld-draw {
  -webkit-mask-image: linear-gradient(115deg, #000 40%, transparent 60%); mask-image: linear-gradient(115deg, #000 40%, transparent 60%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: ld-reveal 1.3s var(--ease) 0.1s forwards;
}
@keyframes ld-reveal { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.ld-mark .ld-shine {
  position: absolute; inset: 0;
  -webkit-mask: url('../img/logo-mark.png') center / contain no-repeat; mask: url('../img/logo-mark.png') center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  animation: ld-shine 2.6s var(--ease) 1.2s infinite; mix-blend-mode: screen;
}
@keyframes ld-shine { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }
.ld-text { display: flex; gap: 0.55em; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; color: var(--text); }
.ld-text span { display: inline-block; opacity: 0.2; animation: ld-letter 1.8s var(--ease) infinite; }
@keyframes ld-letter { 0%, 100% { opacity: 0.2; } 30% { opacity: 1; } 60% { opacity: 0.5; } }
.ld-bar { width: min(200px, 50vw); height: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; border-radius: 2px; }
.ld-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: #fff; transition: transform 0.4s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .ld-mark .ld-draw { animation: none; -webkit-mask: none; mask: none; }
  .ld-mark .ld-shine, .ld-text span { animation: none; opacity: 1; }
}

/* =========================================================
   Cabeçalho
   ========================================================= */
.site-header {
  position: fixed; z-index: 100; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(100% - 24px, 1320px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 8px 8px 16px; border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(var(--dark-rgb), 0.08), 0 12px 34px -18px rgba(var(--dark-rgb), 0.35);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 4px 6px; border-radius: 14px; }
.brand img.mark { height: 32px; width: auto; }
.brand img.word { height: 12px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 0.65em 1em; border-radius: 999px; font-family: var(--font-header); font-size: 0.84rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav a:hover { color: var(--text); background: rgba(var(--dark-rgb), 0.05); }
.nav a[aria-current='page'] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.menu-btn { display: none; }
.menu-btn .bars { position: relative; width: 18px; height: 12px; }
.menu-btn .bars i { position: absolute; left: 0; width: 100%; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform 0.45s var(--spring), top 0.3s, opacity 0.2s; }
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 5.25px; }
.menu-btn .bars i:nth-child(3) { top: 10.5px; }
.menu-open .menu-btn .bars i:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-open .menu-btn .bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars i:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; display: grid; align-content: safe center; gap: 0.2rem; padding: 104px 28px 40px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(var(--bg-rgb), 0.97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-header); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(1.5rem, 6.2vw, 2.4rem); line-height: 1.25; color: var(--text);
  transform: translateY(16px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.3s;
}
.mobile-menu a[aria-current='page'] { color: var(--accent); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.16s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.2s; }
.menu-open .mobile-menu a:nth-child(7) { transition-delay: 0.24s; }
.menu-open .mobile-menu a:nth-child(8) { transition-delay: 0.28s; }
.mobile-menu .mm-foot { margin-top: 2rem; display: flex; gap: 10px; flex-wrap: wrap; opacity: 0; transition: opacity 0.5s 0.2s; }
.mobile-menu a.gbtn {
  font-family: var(--sans); font-size: 0.95rem; line-height: 1.2; font-weight: 600; letter-spacing: 0.01em;
  justify-self: stretch; width: 100%; max-width: 420px; min-height: 54px; margin-top: 1.4rem; padding: 0.95em 1.4em;
  justify-content: center; white-space: normal; text-align: center; color: #fff;
}
.mobile-menu a.gbtn .ico { flex: none; }
.menu-open .mobile-menu .mm-foot { opacity: 1; }
.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; width: 46px; height: 46px; }
  .brand img.mark { height: 28px; }
  .brand img.word { height: 11px; }
}
@media (min-width: 1181px) { .mobile-menu { display: none; } }
@media (min-width: 1181px) and (max-width: 1400px) { .nav a { padding: 0.65em 0.8em; font-size: 0.8rem; } }
/* ARX Soluções no menu: ponto azul ("novidade") */
.nav-sol { display: inline-flex; align-items: center; gap: 0.5em; }
.nav-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); animation: navpulse 2.4s var(--ease) infinite; }
.mobile-menu .nav-dot { width: 9px; height: 9px; }
@keyframes navpulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); } }
@media (prefers-reduced-motion: reduce) { .nav-dot { animation: none; } }

/* =========================================================
   Slides da página inicial (folheado)
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--navy); isolation: isolate; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.slide.is-active, .slide.is-under { opacity: 1; visibility: visible; }
.slide.is-active { z-index: 2; }
.slide.is-under { z-index: 1; }
.slide .media { position: absolute; inset: 0; overflow: hidden; }
.slide .media img, .slide .media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); }
.slide.is-active .media img, .slide.is-active .media video { animation: kenburns 10s linear forwards; }
@keyframes kenburns { from { transform: scale(1.01); } to { transform: scale(1.06); } }
.slide .shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--dark-deep-rgb), 0.45) 0%, rgba(var(--dark-deep-rgb), 0) 26%),
    linear-gradient(0deg, rgba(var(--dark-deep-rgb), 0.8) 0%, rgba(var(--dark-deep-rgb), 0.2) 45%, rgba(var(--dark-deep-rgb), 0) 70%),
    linear-gradient(90deg, rgba(var(--dark-deep-rgb), 0.5) 0%, rgba(var(--dark-deep-rgb), 0) 60%);
}
.slide .cap {
  position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 180px);
  width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; z-index: 3;
}
.slide .cap > * { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.slide.show-cap .cap > * { opacity: 1; transform: none; }
.slide.show-cap .cap > :nth-child(2) { transition-delay: 0.08s; }
.slide.show-cap .cap > :nth-child(3) { transition-delay: 0.16s; }
.slide.show-cap .cap > :nth-child(4) { transition-delay: 0.24s; }
.slide .cap .display { max-width: 14ch; margin: 0.35em 0 0.3em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
.slide .cap p { color: rgba(255, 255, 255, 0.86); font-size: clamp(1rem, 1.25vw, 1.2rem); max-width: 42ch; margin-bottom: 1.6em; }
.hero .eyebrow { color: #fff; }

/* página que vira */
.flip { position: absolute; inset: 0; z-index: 5; perspective: 1800px; perspective-origin: 50% 50%; pointer-events: none; }
.flip .strip { position: absolute; top: 0; height: 100%; transform-style: preserve-3d; transform-origin: 0 50%; will-change: transform; }
.flip .face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .face img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; }
@media (max-width: 760px) and (orientation: portrait) { .slide .media img, .flip .face img { object-position: 70% 50%; } }
.flip .face::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, var(--s0, 0)), rgba(0, 0, 0, var(--s1, 0))); }
.flip .face.back { transform: rotateY(180deg); background: var(--bg-2); }
.flip .face.back img { opacity: 0.1; filter: grayscale(1) contrast(0.8); transform: scaleX(-1); }
.flip .face.back::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(255, 255, 255, 0.2) 40%, rgba(0, 0, 0, 0.08)); z-index: 1; }
.flip .face.front .gloss { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, var(--g0, 0)), rgba(255, 255, 255, var(--g1, 0))); pointer-events: none; }
.flip-shadow { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15)); opacity: 0; }

.hero-ui {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: max(28px, env(safe-area-inset-bottom));
  width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.dots { display: flex; gap: 8px; align-items: center; flex: 1; max-width: 480px; }
.dots button { position: relative; flex: 1; height: 26px; padding: 0; border: 0; background: none; }
.dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); }
.dots button i { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: #fff; }
.dots button.done i { transform: scaleX(1); }
.dots button.run i { animation: dot-run linear forwards; animation-duration: var(--dur, 3s); }
.hero.paused .dots button.run i { animation-play-state: paused; }
@keyframes dot-run { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; align-items: center; }
.counter { font-family: var(--display); font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); min-width: 4.5ch; text-align: right; }
.counter b { color: #fff; font-weight: 600; font-size: 1.4rem; }
.scroll-hint { display: none; }
@media (max-width: 640px) {
  .hero-arrows .gbtn--icon { width: 44px; height: 44px; }
  .counter { display: none; }
  .slide .cap { bottom: 104px; }
  .slide .cap .gbtn { font-size: 0.86rem; }
}

/* =========================================================
   Seções
   ========================================================= */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.tight { padding-top: clamp(36px, 5vw, 70px); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin: 0.5em 0 0.4em; }
.sec-head p { color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.12rem); margin: 0; }
.sec-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head.row > div { max-width: 700px; }

.page-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(36px, 5vw, 64px); position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 100%; z-index: -1; background: radial-gradient(60% 80% at 85% 0%, rgba(var(--accent-rgb), 0.08), transparent 70%); }
.page-hero .lead { margin-top: 1.2rem; }
.page-hero h1 { margin-top: 0.4em; }

/* Chamada final: faixa azul-marinho */
.cta-band { text-align: center; }
.cta-band .inner {
  position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 36px); padding: clamp(48px, 8vw, 100px) clamp(22px, 5vw, 80px);
  background: radial-gradient(70% 120% at 50% 0%, var(--dark-3) 0%, var(--dark) 70%) !important; border: 0 !important;
  box-shadow: var(--shadow) !important;
  --text: #f7f9fc; --muted: #b3c0d8; --accent: var(--accent-hi); color: var(--text);
}
.cta-band h2 { max-width: 18ch; margin: 0.5em auto 0.4em; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; }
.cta-band .mark-bg { position: absolute; right: -4%; bottom: -18%; width: 32%; opacity: 0.06; pointer-events: none; }

/* Revelar ao rolar (sutil) */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Logos dos clientes
   ========================================================= */
.clients { padding: clamp(40px, 6vw, 72px) 0; background: var(--surface); border-bottom: 1px solid var(--line); position: relative; }
.clients .head { text-align: center; margin-bottom: clamp(22px, 3vw, 36px); }
.clients .head .eyebrow { color: var(--dim); }
.clients .head .eyebrow::before { display: none; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; gap: clamp(36px, 5vw, 64px); align-items: center; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .logo { flex: none; display: grid; place-items: center; height: clamp(46px, 5vw, 60px); padding: 8px 18px; border-radius: 14px; transition: transform 0.4s var(--spring); }
.marquee .logo:hover { transform: translateY(-2px); }
.marquee .logo img { height: clamp(26px, 2.6vw, 36px); width: auto; max-width: 190px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(36px, 5vw, 64px) / 2)); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation-duration: 160s; } }

/* =========================================================
   Página inicial: quem somos, números, método, serviços, portfólio, depoimentos, dúvidas
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.about-media .badge {
  position: absolute; left: -18px; bottom: 28px; padding: 16px 20px; border-radius: 18px; max-width: 250px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center; font-size: 0.86rem; font-weight: 600; color: var(--text); line-height: 1.35;
}
.about-media .badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent); color: #fff; }
.about-media .badge .ic svg { width: 22px; height: 22px; }
.about-text h2 { margin: 0.5em 0 0.6em; }
.about-text .body p { color: var(--muted); font-size: 1.04rem; }
.checks { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 0.8rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 500; }
.checks svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-top: 1px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 520px; } .about-media .badge { left: 12px; } }

.stats-band { background: var(--navy); padding: clamp(48px, 7vw, 90px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px clamp(14px, 2.4vw, 36px); border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 650; letter-spacing: -0.03em; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; color: var(--text); }
.stat span { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: step; position: relative; }
.m-step { position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.m-step .n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 1rem; color: #fff; background: var(--navy); margin-bottom: 1.2rem; }
.m-step:last-child .n { background: var(--accent); }
.m-step h3 { margin-bottom: 0.5rem; }
.m-step p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.m-step::after { content: ''; position: absolute; top: calc(clamp(22px, 2.4vw, 32px) + 23px); right: calc(-1 * clamp(14px, 2vw, 24px)); width: clamp(14px, 2vw, 24px); height: 2px; background: var(--line-2); }
.m-step:last-child::after { display: none; }
@media (max-width: 980px) { .method { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m-step::after { display: none; } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } }

.svc-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.svc-mini { display: flex; flex-direction: column; gap: 0.7rem; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.svc-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(var(--accent-rgb), 0.25); }
.svc-mini .svc-ico { width: 48px; height: 48px; border-radius: 14px; }
.svc-mini .svc-ico svg { width: 24px; height: 24px; }
.svc-mini h3 { font-size: 1.15rem; }
.svc-mini p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.svc-mini .go { margin-top: auto; padding-top: 0.4rem; font-size: 0.86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.4em; }
.svc-mini .go .ico { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.svc-mini:hover .go .ico { transform: translateX(4px); }
@media (max-width: 1000px) { .svc-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-mini-grid { grid-template-columns: 1fr; } }
.center-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }

.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.pf-grid a { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-2); }
.pf-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 58%; transition: transform 1s var(--ease); }
.pf-grid a:hover img { transform: scale(1.05); }
.pf-grid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(0deg, rgba(var(--dark-deep-rgb), 0.78), transparent); font-weight: 600; font-size: 0.95rem; display: flex; flex-direction: column; }
.pf-grid .cap small { font-weight: 500; font-size: 0.74rem; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 760px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.testi { display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testi .q { font-size: 1.05rem; line-height: 1.6; color: var(--text); margin: 0; }
.testi .q::before { content: '“'; display: block; font-family: var(--display); font-size: 3.2rem; line-height: 0.6; color: var(--accent); margin-bottom: 0.6rem; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; font-size: 0.95rem; }
.testi .who span { font-size: 0.82rem; color: var(--muted); }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .a { padding: 0 24px 22px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

/* =========================================================
   Cases
   ========================================================= */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.case-card {
  --text: #f7f9fc; --muted: #c3cde0; --accent: var(--accent-hi); color: var(--text);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 42vw, 540px);
  border-radius: var(--radius); overflow: hidden; isolation: isolate; text-align: left; border: 0; padding: 0; background: var(--navy);
  box-shadow: var(--shadow-sm); transform-style: preserve-3d; transition: transform 0.6s var(--ease), box-shadow 0.4s;
}
.case-card:hover { box-shadow: var(--shadow); }
.case-card .cover { position: absolute; inset: 0; z-index: -2; }
.case-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-card:hover .cover img { transform: scale(1.05); }
.case-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--dark-deep-rgb), 0.95) 0%, rgba(var(--dark-deep-rgb), 0.5) 48%, rgba(var(--dark-deep-rgb), 0.05) 78%); }
.case-card .body { padding: clamp(22px, 2.4vw, 32px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 0.4em 0.9em; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); background: var(--accent-soft); }
.case-card .chip, .hero .chip { color: #fff; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.case-card .client { margin: 1rem 0 0.2rem; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.03em; }
.case-card h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin-bottom: 1.1rem; }
.results { display: flex; gap: clamp(18px, 2.5vw, 34px); flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--line); }
.results div { min-width: 0; }
.results b { display: block; font-family: var(--display); font-weight: 650; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1; color: var(--accent); }
.results span { font-size: 0.8rem; color: var(--muted); }
.case-card .more { position: absolute; top: 18px; right: 18px; }

/* =========================================================
   Diálogos (case, formulário)
   ========================================================= */
dialog.sheet {
  width: min(100% - 24px, 960px); max-height: min(92vh, 980px); max-height: min(92dvh, 980px); padding: 0; border: 0; border-radius: 26px; color: var(--text);
  background: var(--surface); box-shadow: 0 50px 120px -30px rgba(var(--dark-rgb), 0.5);
  overflow: hidden auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(20px) scale(0.98);
  transition-property: opacity, transform, display, overlay; transition-duration: 0.4s; transition-timing-function: var(--ease); transition-behavior: allow-discrete;
}
dialog.sheet[open] { opacity: 1; transform: none; }
@starting-style { dialog.sheet[open] { opacity: 0; transform: translateY(20px) scale(0.98); } }
dialog.sheet::backdrop { background: rgba(var(--dark-rgb), 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete, background-color 0.4s, backdrop-filter 0.4s; }
dialog.sheet[open]::backdrop { background: rgba(var(--dark-rgb), 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@starting-style { dialog.sheet[open]::backdrop { background: rgba(var(--dark-rgb), 0); backdrop-filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { dialog.sheet { transform: none; transition-duration: 0.1s; } @starting-style { dialog.sheet[open] { transform: none; } } }
.sheet-close { position: sticky; top: 14px; float: right; margin: 14px 14px -64px 0; z-index: 5; }
.sheet-body { padding: clamp(24px, 4vw, 52px); clear: both; }
@media (max-width: 640px) { dialog.sheet { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; } }
.case-detail .cover { aspect-ratio: 16 / 8; border-radius: 18px; overflow: hidden; margin-top: 8px; }
.case-detail .cover img, .case-detail video { width: 100%; height: 100%; object-fit: cover; }
.case-detail video { border-radius: 18px; margin-top: 1rem; max-height: 70vh; background: #000; }
.case-detail .meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 1.6rem 0 0.8rem; }
.case-detail h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 1.4rem; }
.case-detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin: 1.4rem 0 2rem; }
.case-detail h4 { margin: 0 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.case-detail .cols p { color: var(--muted); }
.case-detail .results { margin-bottom: 2rem; }
@media (max-width: 720px) { .case-detail .cols { grid-template-columns: 1fr; } }

/* =========================================================
   Contato + formulário
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.contact-grid .bullets { list-style: none; margin: 1.8rem 0 2.4rem; padding: 0; display: grid; gap: 0.8rem; }
.contact-grid .bullets li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 500; }
.contact-grid .bullets svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-top: 1px; }
.steps { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 1.6rem; }
.steps .step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.steps .num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1rem; color: #fff; background: var(--navy); }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.92rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > label, .field > .label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--accent); }
.input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.9em 1.05em; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font-size: 1rem; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .field textarea::placeholder { color: var(--dim); }
.input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230b1633' stroke-width='1.6' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 1em center; }
.field.invalid .input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field .err { font-size: 0.78rem; color: var(--bad); min-height: 0; }
.field .hint { font-size: 0.76rem; color: var(--dim); }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label {
  position: relative; flex: 1; min-width: 110px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 1em;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 600; transition: all 0.25s var(--ease);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 0.8rem; color: var(--dim); }
.form-state { text-align: center; padding: clamp(20px, 5vw, 60px) 0; display: grid; justify-items: center; gap: 1rem; }
.form-state h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 18ch; }
.form-state p { color: var(--muted); max-width: 42ch; }
.state-ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.state-ico svg { width: 38px; height: 38px; }
.state-ico.ok { color: var(--ok); }
.state-ico.bad { color: var(--bad); }
.state-ico svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.9s var(--ease) 0.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(var(--dark-rgb), 0.15); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
.gbtn--accent .spinner { border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { padding: 14px 18px; border-radius: 14px; font-size: 0.9rem; }
.alert.error { background: #fdeeee; border: 1px solid #f3c4c4; color: #9b2c2c; }
.alert.info { background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), 0.25); color: var(--accent-2); }

/* =========================================================
   Portfólio
   ========================================================= */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.filters button { padding: 0.62em 1.2em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 0.84rem; font-weight: 500; color: var(--muted); transition: all 0.25s var(--ease); }
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button[aria-pressed='true'] { color: #fff; border-color: var(--navy); background: var(--navy); }
.masonry { columns: 3 300px; column-gap: clamp(12px, 1.6vw, 22px); }
.tile { position: relative; display: block; width: 100%; margin: 0 0 clamp(12px, 1.6vw, 22px); break-inside: avoid; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--bg-2); text-align: left; box-shadow: var(--shadow-sm); color: #fff; }
.tile img, .tile video { width: 100%; height: auto; transition: transform 1s var(--ease); }
.tile img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 58%; }
.tile:hover img, .tile:hover video { transform: scale(1.05); }
.tile .tcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(var(--dark-deep-rgb), 0.8), transparent); display: flex; justify-content: space-between; align-items: end; gap: 8px; opacity: 0; transform: translateY(10px); transition: all 0.45s var(--ease); }
.tile:hover .tcap, .tile:focus-visible .tcap { opacity: 1; transform: none; }
.tile .tcap b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.tile .tcap span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.78); }
.tile .play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; }
.tile.hide { display: none; }
@media (hover: none) { .tile .tcap { opacity: 1; transform: none; } }

dialog.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(var(--dark-deep-rgb), 0.96); color: #fff; opacity: 0; transition: opacity 0.35s, display 0.35s allow-discrete, overlay 0.35s allow-discrete; }
dialog.lightbox[open] { opacity: 1; }
@starting-style { dialog.lightbox[open] { opacity: 0; } }
dialog.lightbox::backdrop { background: transparent; }
.lb-stage { position: absolute; inset: 70px 12px 90px; display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 100px -30px #000; }
.lb-top { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lb-top .t { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.lb-top .t small { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); margin-left: 10px; }
.lb-nav { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }

/* =========================================================
   Trabalhe conosco
   ========================================================= */
.status-banner { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; margin-bottom: 2rem; }
.status-banner .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--bad); box-shadow: 0 0 0 6px rgba(214, 69, 69, 0.12); }
.status-banner.open .dot { background: var(--ok); box-shadow: 0 0 0 6px rgba(31, 157, 99, 0.12); }
.status-banner strong { display: block; font-weight: 600; }
.status-banner span { color: var(--muted); font-size: 0.9rem; }
.card { border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); }
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--surface); cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.file-drop:hover, .file-drop.drag { border-color: var(--accent); background: var(--accent-soft); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.file-drop small { display: block; color: var(--dim); }

/* =========================================================
   Obrigado / privacidade / 404
   ========================================================= */
.center-page { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 60px; text-align: center; }
.center-page .card { max-width: 640px; margin-inline: auto; display: grid; justify-items: center; gap: 1.2rem; }
.center-page h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.center-page p { color: var(--muted); max-width: 44ch; }
.prose { max-width: 72ch; font-size: 1.02rem; color: var(--muted); }
.prose p { margin-bottom: 1.2em; }
.prose strong { color: var(--text); }

/* =========================================================
   Rodapé (azul-marinho)
   ========================================================= */
.site-footer { font-family: var(--font-footer); background: var(--navy); padding: clamp(56px, 7vw, 96px) 0 calc(30px + env(safe-area-inset-bottom)); margin-top: clamp(56px, 8vw, 110px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 70px); }
.foot-brand img { display: block; width: clamp(120px, 14vw, 180px); max-width: 100%; height: auto; margin: 0 0 1.2rem; }
.foot-brand p { color: var(--muted); max-width: 34ch; font-size: 0.92rem; }
.site-footer h4 { margin: 0 0 1rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer ul a { color: rgba(247, 249, 252, 0.78); font-size: 0.92rem; transition: color 0.3s; }
.site-footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.4rem; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: transform 0.4s var(--spring), background 0.3s; }
.socials a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.16); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: clamp(36px, 5vw, 60px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--dim); }
.foot-bottom a:hover { color: var(--text); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-brand img { width: 118px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .site-footer ul a { overflow-wrap: anywhere; } }
/* a chamada final encosta no rodapé */
main > .cta-band:last-child { padding-bottom: 0; }

/* =========================================================
   Aviso de cookies
   ========================================================= */
.cookie {
  position: fixed; z-index: 150; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translate(-50%, 140%);
  width: min(100% - 24px, 640px); display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 22px; border-radius: 20px;
  box-shadow: var(--shadow) !important; transition: transform 0.6s var(--spring);
}
.cookie.show { transform: translate(-50%, 0); }
.cookie p { margin: 0; font-size: 0.86rem; color: var(--muted); flex: 1; }
.cookie p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie .acts { display: flex; gap: 8px; flex: none; }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; text-align: left; padding: 18px; } .cookie .acts > * { flex: 1; } }

.preview-badge { position: fixed; z-index: 160; right: 12px; top: calc(max(12px, env(safe-area-inset-top)) + 74px); padding: 6px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; background: var(--accent); box-shadow: var(--shadow-sm); }

/* TVs e telas muito grandes */
@media (min-width: 2200px) {
  :root { --max: 1640px; }
  .site-header { width: min(100% - 48px, 1720px); padding: 12px 12px 12px 24px; }
  .brand img.mark { height: 42px; }
  .brand img.word { height: 16px; }
}

/* =========================================================
   Nossos Serviços
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); padding-bottom: clamp(20px, 4vw, 60px); }
.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.svc-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), 0.06), transparent 70%); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(var(--accent-rgb), 0.25); }
.svc-card:hover::before { opacity: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--accent-3), var(--accent-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 24px -12px rgba(var(--accent-rgb), 0.7); }
.svc-ico svg { width: 26px; height: 26px; }
.svc-num { font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--dim); }
.svc-title { font-size: clamp(1.2rem, 1.5vw, 1.42rem); letter-spacing: -0.02em; line-height: 1.2; }
.svc-text { color: var(--muted); margin: 0; }
.svc-list { list-style: none; margin: 0.2rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.svc-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.svc-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.svc-link { margin-top: auto; padding-top: 0.8rem; display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 0.9rem; color: var(--accent); width: fit-content; }
.svc-link .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.svc-link:hover .ico { transform: translateX(4px); }
.svc-card.featured {
  --text: #f7f9fc; --muted: #b3c0d8; --dim: #8292b3; --accent: var(--accent-hi); color: var(--text);
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: clamp(20px, 3vw, 48px); align-items: start;
  background: radial-gradient(80% 140% at 0% 0%, var(--dark-3) 0%, var(--dark) 70%); border: 0; box-shadow: var(--shadow);
}
.svc-card.featured .svc-ico { background: #fff; color: var(--navy); }
.svc-card.featured .svc-top { grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; gap: 12px; }
.svc-card.featured .svc-ico { width: 72px; height: 72px; border-radius: 22px; }
.svc-card.featured .svc-ico svg { width: 34px; height: 34px; }
.svc-card.featured .svc-title { grid-column: 2; font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
.svc-card.featured .svc-text { grid-column: 2; font-size: 1.05rem; }
.svc-card.featured .svc-list { grid-column: 3; grid-row: 1 / span 2; }
.svc-card.featured .svc-link { grid-column: 3; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-card.featured { grid-template-columns: auto 1fr; } .svc-card.featured .svc-list, .svc-card.featured .svc-link { grid-column: 2; grid-row: auto; } }
@media (max-width: 680px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card.featured { display: flex; }
  .svc-card.featured .svc-top { flex-direction: row; align-items: center; }
}

/* =========================================================
   ARX Soluções — em construção (faixa azul-marinho)
   ========================================================= */
.sol-page { overflow: hidden; }
.sol-hero {
  --text: #f7f9fc; --muted: #b3c0d8; --accent: var(--accent-hi); color: var(--text);
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 60px) 0 80px; text-align: center;
  background: radial-gradient(70% 70% at 50% 40%, var(--dark-3) 0%, var(--dark) 72%);
}
.sol-inner { position: relative; z-index: 1; display: grid; justify-items: center; max-width: 860px; }
.sol-inner .lead { margin: 0 auto 1.6rem; max-width: 52ch; }
.sol-orbits { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.sol-orbits i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(var(--accent-hi-rgb), 0.14); transform: translate(-50%, -50%); animation: solspin 50s linear infinite; }
.sol-orbits i::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 12px 3px rgba(var(--accent-hi-rgb), 0.5); }
.sol-orbits i:nth-child(1) { width: min(560px, 120vw); height: min(560px, 120vw); }
.sol-orbits i:nth-child(2) { width: min(820px, 170vw); height: min(820px, 170vw); animation-duration: 70s; animation-direction: reverse; }
.sol-orbits i:nth-child(3) { width: min(1100px, 220vw); height: min(1100px, 220vw); animation-duration: 100s; }
@keyframes solspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sol-badge { position: relative; overflow: hidden; display: inline-flex; align-items: center; padding: 0.7em 1.4em; border-radius: 999px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #fff; border: 1px solid rgba(var(--accent-hi-rgb), 0.4); background: rgba(var(--accent-rgb), 0.3); margin-bottom: 1.4rem; }
.sol-badge > span:last-child { position: relative; }
.sol-stripes { position: absolute; inset: 0; opacity: 0.18; background: repeating-linear-gradient(-45deg, #fff 0 8px, transparent 8px 18px); background-size: 200% 100%; animation: solstripes 8s linear infinite; }
@keyframes solstripes { to { background-position: -100% 0; } }
.sol-inner .page-title { font-size: clamp(2.8rem, 7.5vw, 6rem); }
.sol-sub { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(1.2rem, 2.3vw, 1.8rem); margin: 0.6rem 0 1rem; color: var(--accent-hi); }
.sol-chips { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sol-chips li { padding: 0.6em 1.1em; border-radius: 999px; font-size: 0.9rem; font-weight: 600; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.sol-build { display: grid; gap: 10px; justify-items: center; margin-bottom: 2rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.sol-bar { width: min(280px, 70vw); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.sol-bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--accent-hi), #fff); animation: solbar 2.6s var(--ease) infinite; }
@keyframes solbar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .sol-orbits i, .sol-stripes, .sol-bar i { animation: none; } }
/* na página de soluções o rodapé não precisa de espaço extra */
.sol-page + .site-footer { margin-top: 0; }

/* =========================================================
   Blocos montados no editor do painel
   ========================================================= */
.blk { position: relative; }
.bg-light { background: var(--bg); }
.bg-white { background: var(--surface); border-block: 1px solid var(--line); }
.bg-dark { background: var(--dark); }
.bg-dark .svc-mini, .bg-dark .m-step, .bg-dark .testi, .bg-dark .faq details, .bg-dark .glass, .bg-dark .svc-card:not(.featured) {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none;
}
.bg-dark .m-step .n { background: rgba(255, 255, 255, 0.14); }
.bg-dark .m-step:last-child .n { background: var(--accent); color: var(--dark); }
.bg-dark .filters button { background: transparent; }
.stats-band.bg-light, .stats-band.bg-white { padding: clamp(48px, 7vw, 90px) 0; }
.page-hero.center { text-align: center; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero.narrow .container { max-width: 920px; }
.about-grid.rev .about-media { order: 2; }
.about-grid.rev .about-media .badge { left: auto; right: -18px; }
@media (max-width: 900px) { .about-grid.rev .about-media { order: 0; } .about-grid.rev .about-media .badge { right: 12px; } }
.about-grid.no-media { grid-template-columns: 1fr; max-width: 820px; }

.text-blk { max-width: 820px; }
.text-blk.center { margin-inline: auto; text-align: center; }
.text-blk.center .eyebrow { justify-content: center; }
.text-blk h2 { margin: 0.5em 0 0.6em; }
.text-blk .body p { color: var(--muted); font-size: 1.05rem; }
.text-blk .gbtn { margin-top: 0.8rem; }

.gal-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.gal-grid figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.gal-grid img { width: 100%; aspect-ratio: var(--ratio, 4 / 5); object-fit: cover; transition: transform 1s var(--ease); }
.gal-grid figure:hover img { transform: scale(1.04); }
.gal-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 600; font-size: 0.92rem; background: linear-gradient(0deg, rgba(var(--dark-deep-rgb), 0.75), transparent); }
@media (max-width: 760px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.video-wrap { position: relative; border-radius: 24px; overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video-wrap.vertical { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.video-wrap video, .video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-blk .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }

.banner { position: relative; display: grid; align-items: end; min-height: clamp(420px, 62vh, 720px); color: #fff; overflow: hidden; isolation: isolate; }
.banner.tall { min-height: min(92vh, 900px); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--dark-deep-rgb), 0.85) 0%, rgba(var(--dark-deep-rgb), 0.25) 55%, rgba(var(--dark-deep-rgb), 0.1) 100%), linear-gradient(90deg, rgba(var(--dark-deep-rgb), 0.5), transparent 65%); }
.banner .container { padding: clamp(48px, 8vw, 110px) 0; }
.banner h2 { max-width: 16ch; margin: 0.4em 0 0.4em; font-size: clamp(2rem, 4.2vw, 3.8rem); }
.banner p { max-width: 46ch; color: rgba(255, 255, 255, 0.86); font-size: 1.08rem; }

/* =========================================================
   Modo de edição (pré-visualização dentro do painel)
   ========================================================= */
.edit-mode [data-block] { outline: 2px dashed transparent; outline-offset: -2px; transition: outline-color 0.2s; }
.edit-mode [data-block]:hover { outline-color: rgba(var(--accent-rgb), 0.55); }
.edit-mode [data-block].is-selected { outline: 2px solid var(--accent); }
.blk-tools { position: absolute; z-index: 60; top: 10px; right: 10px; display: none; gap: 4px; align-items: center; padding: 4px; border-radius: 12px; background: #0b1633; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); font-family: 'Inter', system-ui, sans-serif; }
.edit-mode [data-block]:hover > .blk-tools, .edit-mode [data-block].is-selected > .blk-tools { display: flex; }
.blk-tools span { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 8px 0 6px; }
.blk-tools button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #fff; }
.blk-tools button:hover { background: rgba(255, 255, 255, 0.14); }
.blk-tools button[disabled] { opacity: 0.3; pointer-events: none; }
.blk-tools svg { width: 16px; height: 16px; }
.edit-mode [data-edit] { cursor: text; border-radius: 4px; }
.edit-mode [data-edit]:hover { outline: 1px dashed rgba(var(--accent-rgb), 0.8); outline-offset: 3px; }
.edit-mode [data-edit][contenteditable='true'] { outline: 2px solid var(--accent); outline-offset: 3px; background: rgba(var(--accent-rgb), 0.06); }
.edit-mode .hero [data-edit][contenteditable='true'], .edit-mode .bg-dark [data-edit][contenteditable='true'] { background: rgba(255, 255, 255, 0.1); }
.edit-mode #loader { display: none !important; }
.edit-empty { padding: 60px 20px; text-align: center; color: var(--dim); border: 2px dashed var(--line-2); border-radius: 20px; margin: calc(var(--header-h) + 60px) auto 60px; width: min(100% - 32px, 720px); }
.nav-list { display: contents; }
.seo-fallback { padding: 110px 0 30px; }
/* Fundo escuro escolhido em "Aparência": logotipo do topo fica claro */
.theme-dark-bg .site-header .brand img { filter: brightness(0) invert(1); }
.theme-dark-bg .nav a:hover { background: rgba(255, 255, 255, 0.08); }
