/* Paraeng — design system global (tokens, base, header, footer, componentes). */

@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/geist.woff2') format('woff2');
}
/* Fallbacks com métricas ajustadas para não haver salto de layout na troca de fonte. */
@font-face { font-family: 'Geist Fallback'; src: local('Arial'); size-adjust: 104%; ascent-override: 94%; descent-override: 24%; }
@font-face { font-family: 'Archivo Fallback'; src: local('Arial Black'), local('Arial'); size-adjust: 92%; ascent-override: 100%; descent-override: 24%; }

:root {
  --c-bolt: #ffc72c;
  --c-bolt-hot: #ffe27a;
  --c-bolt-deep: #e0a800;
  --c-ink: #08090b;
  --c-ink-2: #0f1216;
  --c-ink-3: #161b22;
  --c-ink-4: #1f2630;
  --c-line: rgba(255, 255, 255, .08);
  --c-line-2: rgba(255, 255, 255, .14);
  --c-text: #eef1f5;
  --c-muted: #a3adbb;
  --c-paper: #f4f2ec;
  --c-paper-2: #ebe8df;
  --c-steel: #1d2733;
  --c-steel-muted: #56606d;
  --c-ok: #3ddc97;
  --c-danger: #ff6b5b;

  --f-display: 'Archivo', 'Archivo Fallback', system-ui, sans-serif;
  --f-body: 'Geist', 'Geist Fallback', system-ui, sans-serif;

  --ease-out: cubic-bezier(.32, .72, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 36px;

  --w-max: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(88px, 12vw, 168px);

  --glow: 0 0 0 1px rgba(255, 199, 44, .55), 0 0 40px rgba(255, 199, 44, .22);
  --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--c-ink);
  color: var(--c-text);
  font: 400 clamp(15px, .3vw + 14px, 17px)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-bolt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-bolt); color: var(--c-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--c-bolt); color: var(--c-ink); border-radius: 999px; font-weight: 600; transition: top .3s var(--ease-out); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); position: relative; }
.section--paper { background: var(--c-paper); color: var(--c-steel); color-scheme: light; }
.section--paper .muted { color: var(--c-steel-muted); }
.muted { color: var(--c-muted); }
.cv { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .92;
}
.h1 { font-size: clamp(2.6rem, 7.2vw, 6.4rem); }
.h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, .6vw + .9rem, 1.3rem); line-height: 1.55; color: var(--c-muted); max-width: 62ch; }
.section--paper .lead { color: var(--c-steel-muted); }
.hl { color: var(--c-bolt); }
.eyebrow {
  justify-self: start; width: max-content; max-width: 100%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-bolt); background: rgba(255, 199, 44, .08); border: 1px solid rgba(255, 199, 44, .22);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.section--paper .eyebrow { color: #8a6400; background: rgba(224, 168, 0, .1); border-color: rgba(224, 168, 0, .3); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }

/* ---------- Botões (pílula + ícone aninhado) ---------- */
.btn {
  --bg: var(--c-bolt); --fg: var(--c-ink);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 6px 6px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 40px -10px rgba(255, 199, 44, .6); }
.btn:active { transform: scale(.97); }
.btn__ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(8, 9, 11, .1); transition: transform .5s var(--ease-spring);
}
.btn:hover .btn__ico { transform: translate(3px, -1px) scale(1.06); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.btn--ghost .btn__ico { background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 199, 44, .5); }
.btn--dark { --bg: var(--c-ink); --fg: #fff; }
.btn--dark .btn__ico { background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 42px; padding: 4px 4px 4px 18px; font-size: 14px; }
.btn--sm .btn__ico { width: 34px; height: 34px; }
.btn--plain { padding: 0 22px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-bolt); }
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--paper .link-arrow { color: #7a5800; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cartão "double bezel" ---------- */
.bezel { padding: 6px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--c-line); }
.bezel__core { border-radius: calc(var(--r-xl) - 6px); background: linear-gradient(180deg, var(--c-ink-3), var(--c-ink-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); overflow: hidden; height: 100%; }
.section--paper .bezel { background: rgba(29, 39, 51, .04); box-shadow: inset 0 0 0 1px rgba(29, 39, 51, .08); }
.section--paper .bezel__core { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 20px 50px -30px rgba(29, 39, 51, .35); }

/* ---------- Alerta de golpe (boleto) ---------- */
.alertbar { background: var(--c-bolt); color: var(--c-ink); font-size: 13px; }
.alertbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-block: 8px; }
.alertbar p { flex: 1; line-height: 1.35; }
.alertbar strong { font-weight: 700; }
.alertbar__close { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; }
.alertbar__close:hover { background: rgba(0, 0, 0, .1); }
.alertbar[hidden] { display: none; }

/* ---------- Topbar ---------- */
.topbar { border-bottom: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.topbar a:hover { color: var(--c-bolt); }
.topbar .ico { width: 15px; height: 15px; }
.topbar__sp { margin-left: auto; display: flex; gap: 16px; }
@media (max-width: 860px) { .topbar__hide { display: none !important; } }

/* ---------- Header (ilha flutuante) ---------- */
.site-header { position: sticky; top: 12px; z-index: 40; padding-inline: var(--gutter); margin-top: 12px; pointer-events: none; }
.nav-island {
  pointer-events: auto;
  max-width: var(--w-max); margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  min-height: 68px; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(13, 16, 20, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: inset 0 0 0 1px var(--c-line-2), 0 20px 50px -24px rgba(0, 0, 0, .8);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.site-header.is-scrolled .nav-island { background: rgba(10, 12, 15, .88); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: #d6dbe3; white-space: nowrap; transition: color .3s, background-color .3s;
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"] { color: var(--c-bolt); }
.nav__link .ico { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #dfe4ea; transition: background-color .3s, color .3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.icon-btn .badge {
  position: absolute; top: 5px; right: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  display: grid; place-items: center; background: var(--c-bolt); color: var(--c-ink); font-size: 11px; font-weight: 700;
  transition: transform .4s var(--ease-spring);
}
.badge[data-count="0"] { transform: scale(0); }
.badge.is-bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.35); } }
.header-cta { margin-left: 6px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 0;
  width: min(880px, 92vw); padding: 10px; border-radius: 28px;
  background: rgba(13, 16, 20, .96); box-shadow: inset 0 0 0 1px var(--c-line-2), var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top center;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .35s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mega__col { padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .03); }
.mega__col h3 { font: 600 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--c-bolt); margin-bottom: 12px; }
.mega__col a { display: block; padding: 6px 0; font-size: 14px; color: #c9d0d9; transition: color .25s, transform .3s var(--ease-out); }
.mega__col a:hover { color: #fff; transform: translateX(3px); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 6px; font-size: 14px; color: var(--c-muted); }
.mega--cad .mega__grid { grid-template-columns: repeat(3, 1fr); }

/* Hambúrguer + painel mobile */
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mpanel {
  position: fixed; inset: 0; z-index: 35; padding: 110px var(--gutter) 40px; overflow-y: auto;
  background: rgba(8, 9, 11, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
.mpanel.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mpanel__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line); font: 800 italic clamp(1.6rem, 7vw, 2.4rem)/1.1 var(--f-display); text-transform: uppercase; transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s var(--ease-out); }
.mpanel.is-open .mpanel__links a { transform: none; opacity: 1; }
.mpanel.is-open .mpanel__links li:nth-child(2) a { transition-delay: .04s; }
.mpanel.is-open .mpanel__links li:nth-child(3) a { transition-delay: .08s; }
.mpanel.is-open .mpanel__links li:nth-child(4) a { transition-delay: .12s; }
.mpanel.is-open .mpanel__links li:nth-child(5) a { transition-delay: .16s; }
.mpanel.is-open .mpanel__links li:nth-child(6) a { transition-delay: .2s; }
.mpanel.is-open .mpanel__links li:nth-child(7) a { transition-delay: .24s; }
.mpanel.is-open .mpanel__links li:nth-child(8) a { transition-delay: .28s; }
.mpanel__contact { margin-top: 32px; display: grid; gap: 10px; color: var(--c-muted); }
.mpanel__contact a { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .brand img { width: 132px; }
  .nav-island { min-height: 60px; padding-left: 16px; gap: 6px; }
  .icon-btn { width: 42px; height: 42px; }
  .hide-xs { display: none !important; }
}

/* ---------- Busca (overlay) ---------- */
.search-dlg { position: fixed; inset: 0; z-index: 60; display: grid; align-items: start; justify-items: center; padding: 12vh var(--gutter) 0; background: rgba(5, 6, 8, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
.search-dlg.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-box { width: min(760px, 100%); border-radius: 28px; background: var(--c-ink-2); box-shadow: inset 0 0 0 1px var(--c-line-2), var(--shadow-soft); overflow: hidden; transform: translateY(14px); transition: transform .5s var(--ease-out); }
.search-dlg.is-open .search-box { transform: none; }
.search-box__field { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--c-line); }
.search-box__field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 18px; }
.search-box__res { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-box__res a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; }
.search-box__res a:hover, .search-box__res a.is-active { background: rgba(255, 255, 255, .06); }
.search-box__res img { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: #fff; }
.search-box__res small { display: block; color: var(--c-muted); font-size: 12px; }
.search-box__empty { padding: 26px; color: var(--c-muted); text-align: center; }
.search-box__hint { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 14px 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--c-line); color: #d3d9e1; transition: background-color .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.chip:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.chip[aria-pressed="true"], .chip.is-active { background: var(--c-bolt); color: var(--c-ink); box-shadow: none; font-weight: 600; }
.section--paper .chip { background: #fff; color: var(--c-steel); box-shadow: inset 0 0 0 1px rgba(29, 39, 51, .12); }
.section--paper .chip[aria-pressed="true"], .section--paper .chip.is-active { background: var(--c-steel); color: #fff; }

/* ---------- Breadcrumb / cabeçalho de página ---------- */
.page-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 0%, rgba(255, 199, 44, .14), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(80, 110, 160, .12), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--c-muted); }
.crumbs a:hover { color: var(--c-bolt); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .45; }
.grid-lines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%); opacity: .5; }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: #c8cfd8; }
.field label .req { color: var(--c-bolt); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--c-line-2);
  transition: box-shadow .3s var(--ease-out), background-color .3s; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--c-bolt); background: rgba(255, 255, 255, .07); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--c-danger); }
.field__err { font-size: 12.5px; color: var(--c-danger); min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--c-muted); line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-bolt); flex: none; }
.check a { color: var(--c-bolt); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.section--paper .field label { color: var(--c-steel); }
.section--paper .field input, .section--paper .field select, .section--paper .field textarea { background: #fff; box-shadow: inset 0 0 0 1px rgba(29, 39, 51, .15); }
.form-msg { padding: 14px 16px; border-radius: 14px; font-size: 14px; }
.form-msg--ok { background: rgba(61, 220, 151, .1); color: var(--c-ok); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .3); }
.form-msg--err { background: rgba(255, 107, 91, .1); color: var(--c-danger); box-shadow: inset 0 0 0 1px rgba(255, 107, 91, .3); }

/* ---------- Modal (gate de lead, genérico) ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 8, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 30px; padding: 6px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--c-line-2), var(--shadow-soft); transform: translateY(18px) scale(.98); transition: transform .55s var(--ease-out); }
.modal.is-open .modal__card { transform: none; }
.modal__core { border-radius: 25px; padding: clamp(22px, 4vw, 34px); background: linear-gradient(180deg, #151a21, #0e1116); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.modal__close:hover { background: rgba(255, 255, 255, .12); }
.modal h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 14px 0 8px; }
.modal form { display: grid; gap: 14px; margin-top: 20px; }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .modal .row2 { grid-template-columns: minmax(0, 1fr); } }
.gate-file { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--c-line); }
.gate-file img { width: 84px; height: 52px; object-fit: cover; border-radius: 8px; background: #fff; }
.gate-file strong { display: block; font-size: 14px; }
.gate-file span { font-size: 12.5px; color: var(--c-muted); }

/* ---------- Drawer de orçamento ---------- */
.drawer { position: fixed; inset: 0; z-index: 65; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(5, 6, 8, .6); opacity: 0; transition: opacity .4s var(--ease-out); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px)); display: flex; flex-direction: column; border-radius: 28px; background: var(--c-ink-2); box-shadow: inset 0 0 0 1px var(--c-line-2), var(--shadow-soft); transform: translateX(calc(100% + 20px)); transition: transform .6s var(--ease-out); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--c-line); }
.drawer__head h2 { font-size: 20px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.qline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; }
.qline:hover { background: rgba(255, 255, 255, .03); }
.qline img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; }
.qline__name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.qline__sku { font-size: 12px; color: var(--c-muted); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line-2); margin-top: 6px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: rgba(255, 255, 255, .08); }
.qty input { width: 38px; text-align: center; background: none; border: 0; font-size: 14px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qline__rm { color: var(--c-muted); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.qline__rm:hover { color: var(--c-danger); background: rgba(255, 107, 91, .1); }
.drawer__empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 60px 20px; color: var(--c-muted); }

/* Partícula "voando para o orçamento" */
.fly-dot { position: fixed; z-index: 80; width: 14px; height: 14px; border-radius: 50%; background: var(--c-bolt); box-shadow: 0 0 20px var(--c-bolt); pointer-events: none; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #06301a; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .55); transition: transform .5s var(--ease-spring); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgba(37, 211, 102, .7); animation: wa-pulse 2.6s cubic-bezier(.2, .7, .3, 1) infinite; pointer-events: none; }
.wa-float::after { animation-delay: 1.3s; }
.wa-float svg { animation: wa-beat 2.6s ease-in-out infinite; }
.wa-float[aria-expanded="true"]::before, .wa-float[aria-expanded="true"]::after, .wa-float[aria-expanded="true"] svg { animation: none; opacity: 0; }
.wa-float[aria-expanded="true"] svg { opacity: 1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes wa-beat { 0%, 30%, 100% { transform: scale(1); } 10% { transform: scale(1.14); } 20% { transform: scale(.96); } }
.wa-pop { position: fixed; right: 18px; bottom: 92px; z-index: 31; width: min(340px, calc(100vw - 36px)); max-height: calc(100dvh - 120px); overflow: auto; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, #151a21, #0e1116); box-shadow: 0 0 0 1px rgba(37, 211, 102, .28), 0 30px 60px -18px rgba(0, 0, 0, .8); transform-origin: calc(100% - 30px) calc(100% + 44px); will-change: transform, clip-path; }
.wa-pop[hidden] { display: none; }
.wa-pop::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 14px; height: 14px; background: #0e1116; transform: rotate(45deg); box-shadow: 1px 1px 0 rgba(37, 211, 102, .28); }
.wa-pop__close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--c-text); background: rgba(255, 255, 255, .06); }
.wa-pop__close:hover { background: rgba(255, 255, 255, .12); }
.wa-pop__close svg { width: 16px; height: 16px; }
.wa-pop__head { display: flex; gap: 12px; align-items: center; margin: 0 34px 14px 0; }
.wa-pop__head h2 { font-size: 17px; line-height: 1.2; margin: 0; }
.wa-pop__head p { margin: 2px 0 0; font-size: 13px; color: var(--c-muted, #9aa3ad); }
.wa-pop__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #25d366; color: #06301a; }
.wa-pop__avatar svg { width: 22px; height: 22px; }
.wa-pop form { display: grid; gap: 10px; }
.wa-pop .field { gap: 5px; }
.wa-pop__send { --bg: #25d366; --fg: #06301a; width: 100%; justify-content: center; gap: 10px; margin-top: 4px; }
.wa-pop__send svg { width: 20px; height: 20px; }
.wa-pop__lgpd { margin: 0; font-size: 11.5px; color: var(--c-muted, #9aa3ad); text-align: center; }
.wa-pop__lgpd a { color: inherit; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .wa-float::before, .wa-float::after, .wa-float svg { animation: none; } }

/* ---------- Revelação no scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv, .reduce-motion .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--c-line); padding-top: clamp(72px, 10vw, 120px); background: radial-gradient(70% 60% at 50% 120%, rgba(255, 199, 44, .14), transparent 70%), var(--c-ink); }
.foot-cta { display: grid; gap: 26px; justify-items: start; padding-bottom: clamp(60px, 8vw, 96px); border-bottom: 1px solid var(--c-line); }
.foot-cta .display { font-size: clamp(2.4rem, 7vw, 6rem); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 56px; }
.foot-grid h2 { font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--c-bolt); margin-bottom: 18px; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: #c6cdd6; font-size: 14.5px; transition: color .3s; }
.foot-grid a:hover { color: #fff; }
.foot-nap { display: grid; gap: 10px; font-size: 14.5px; color: #c6cdd6; font-style: normal; }
.foot-nap a, .foot-nap span { display: inline-flex; gap: 10px; align-items: flex-start; }
.foot-nap .ico { margin-top: 3px; color: var(--c-bolt); }
.foot-social { display: flex; gap: 8px; margin-top: 18px; }
.foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-line-2); }
.foot-social a:hover { background: var(--c-bolt); color: var(--c-ink); box-shadow: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 24px 34px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-bottom a:hover { color: #fff; }
.foot-word { font: 900 italic clamp(4rem, 19vw, 17rem)/.8 var(--f-display); letter-spacing: -.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 199, 44, .2); text-align: center; user-select: none; margin-bottom: -.12em; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: min(420px, calc(100vw - 32px)); padding: 20px; border-radius: 22px; background: rgba(15, 18, 22, .96); box-shadow: inset 0 0 0 1px var(--c-line-2), var(--shadow-soft); font-size: 13.5px; color: var(--c-muted); display: grid; gap: 14px; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--c-bolt); text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Utilidades ---------- */
.stack { display: grid; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; background: rgba(255, 199, 44, .12); color: var(--c-bolt); }
.section--paper .tag { background: rgba(29, 39, 51, .07); color: var(--c-steel); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; color: inherit; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--c-bolt); text-decoration: underline; text-underline-offset: 3px; }
.section--paper .prose a { color: #7a5800; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; translate: -50% 0; padding: 12px 18px; border-radius: 999px; background: var(--c-bolt); color: var(--c-ink); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-soft); animation: toast 3.2s var(--ease-out) forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(16px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
[id] { scroll-margin-top: 110px; }
[hidden] { display: none !important; }
.section--paper .crumbs { color: var(--c-steel-muted); }
.fly-img { position: fixed; z-index: 80; object-fit: contain; background: #fff; border-radius: 18px; padding: 6px; pointer-events: none; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55), 0 0 0 2px var(--c-bolt); will-change: transform; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.foot-credit { display: inline-flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--c-line-2); }
.foot-credit a { display: inline-flex; align-items: center; gap: 7px; color: #c6cdd6; font-weight: 500; }
.foot-credit img { width: 18px; height: 18px; opacity: .9; transition: transform .5s var(--ease-spring); }
.foot-credit a:hover img { transform: rotate(-12deg) scale(1.1); }
@media (max-width: 640px) { .foot-credit { padding-left: 0; border-left: 0; } }

/* ---------- Vídeos curtos (lazy, loop silencioso) e faixas de imagem ---------- */
.vid { margin: 0; display: grid; gap: 10px; }
.vid__frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #0a0d12; box-shadow: inset 0 0 0 1px var(--c-line); }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__toggle { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(8, 9, 11, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.vid__toggle svg { width: 18px; height: 18px; fill: currentColor; }
.vid__play, .vid.is-paused .vid__pause { display: none; }
.vid.is-paused .vid__play { display: inline; }
.vid figcaption, .media-band figcaption { font-size: 13.5px; color: var(--c-muted); }
.media-band { margin: 0; display: grid; gap: 10px; }
.media-band img { width: 100%; height: auto; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--c-line); }
.media-band--wide img { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .media-band--wide img { aspect-ratio: 4 / 3; } .vid__frame, .media-band img { border-radius: 18px; } }
.vid--cinema .vid__frame { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .vid--cinema .vid__frame { aspect-ratio: 16 / 10; } }
