/* =========================================================
   AVIX — sistema visual v3 (direção aprovada "3b, cenas imersivas", Rodada 4)
   Referência: docs/design/ESPECIFICACAO_V3.md
   ========================================================= */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #181715;
  --paper: #fffbfa;
  --blue: #508ca4;          /* acento: camada sobre fotos, quadrado do botão, hover */
  --blue-text: #3e7189;     /* rótulos pequenos sobre claro (5,3:1) e hover de blocos escuros */
  --text-2: #3a3732;        /* corpo secundário sobre claro (11:1) */
  --muted-2: #5f5a53;       /* texto auxiliar sobre claro (6,4:1) */
  --rule: rgba(24, 23, 21, .16);
  --glass: rgba(255, 251, 250, .12);
  --glass-line: rgba(255, 251, 250, .25);
  --glass-dark: rgba(24, 23, 21, .32);
  --pad: clamp(16px, 2.2vw, 30px);
  --hdr: 72px;
  --sec-y: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
@media (max-width: 1023px) { :root { --hdr: 60px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .75; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
main:focus-visible { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--pad); top: -100px; z-index: 200; padding: 12px 18px; background: var(--paper); color: var(--ink); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }
.env-banner { position: fixed; left: 10px; bottom: 10px; z-index: 150; max-width: calc(100% - 20px); padding: 6px 10px; background: rgba(24, 23, 21, .82); color: var(--paper); font-size: 12px; font-weight: 400; line-height: 1.3; pointer-events: none; }

/* ---------- Tipografia ---------- */
.edge { font-size: clamp(28px, 4.2vw, 62px); font-weight: 200; line-height: 1.06; letter-spacing: .01em; text-transform: uppercase; }
.t-sec { font-size: clamp(30px, 4.2vw, 62px); font-weight: 200; line-height: 1.04; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
.lead-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.35; font-weight: 300; }
.lead-line::before { content: ""; align-self: center; width: 9px; height: 9px; flex: none; background: var(--blue); }
.lead-line b { font-weight: 600; letter-spacing: .01em; }
.lead-line a { text-decoration: none; }
.label { font-size: 13px; font-weight: 500; color: var(--blue-text); }
.statement { font-size: clamp(20px, 2vw, 30px); line-height: 1.22; font-weight: 400; text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.5; font-weight: 300; max-width: 38rem; text-wrap: pretty; }
.credit { font-size: 11px; color: rgba(255, 251, 250, .7); }

/* ---------- Botões e links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 0; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: gap .3s, background-color .3s, color .3s; }
.btn::after { content: ""; width: 7px; height: 7px; flex: none; background: var(--blue); transition: background-color .3s; }
.btn:hover { opacity: 1; gap: 22px; background: var(--blue); color: var(--ink); }
.btn:hover::after { background: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--blue-text); color: var(--paper); }
.btn--dark:hover::after { background: var(--paper); }
.btn--sm { min-height: 48px; padding: 0 24px; font-size: 15px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.glassbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding: 6px 6px 6px clamp(16px, 2vw, 28px); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.glassbar > span { font-size: 15px; font-weight: 300; }
@media (max-width: 599px) {
  .glassbar { padding: 14px; }
  .glassbar .btn { width: 100%; }
}

/* =========================================================
   Cabeçalho
   ========================================================= */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad);
  color: var(--paper); background: rgba(24, 23, 21, .2); border-bottom: 1px solid rgba(255, 251, 250, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 15px; font-weight: 400;
  transition: background-color .5s, color .5s, border-color .5s;
}
.hdr.is-light, [data-header="light"] .hdr { color: var(--ink); background: rgba(255, 251, 250, .86); border-bottom-color: rgba(24, 23, 21, .12); }
.hdr__brand { grid-column: 2; display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.hdr__brand:hover { opacity: 1; }
.hdr__brand .avix-logo { width: auto; height: 36px; }
.hdr__nav { display: none; }
.hdr__menu-btn { grid-column: 3; justify-self: end; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.hdr__menu-btn span { width: 20px; height: 1px; background: currentColor; }
@media (max-width: 1023px) { .hdr__brand .avix-logo { height: 26px; } }
@media (min-width: 1200px) {
  .hdr__menu-btn { display: none; }
  .hdr__nav { display: flex; align-items: center; gap: clamp(20px, 2vw, 36px); white-space: nowrap; }
  .hdr__nav--left { grid-column: 1; grid-row: 1; }
  .hdr__nav--right { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .hdr__nav a { text-decoration: none; }
  .hdr__nav a[aria-current="page"], .hdr__cta { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
}
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.dd__btn::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
.dd__btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.dd__panel { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 300px; padding: 8px; background: rgba(24, 23, 21, .92); color: var(--paper); border: 1px solid rgba(255, 251, 250, .18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hdr__nav--right .dd__panel { left: auto; right: -18px; }
.dd__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 300; }
.dd__panel a:hover { opacity: 1; background: rgba(80, 140, 164, .45); }
.dd__panel a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.dd__panel small { margin-left: 8px; font-size: 12px; color: rgba(255, 251, 250, .7); }

/* Menu de tela cheia (fora do cabeçalho: o desfoque do cabeçalho prenderia um elemento fixo) */
.mnav { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; padding: 0 16px 24px; overflow-y: auto; background: var(--ink); color: var(--paper); }
.mnav[hidden] { display: none; }
.mnav__top { flex: none; height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 251, 250, .18); }
.mnav__top .avix-symbol { width: 32px; height: 32px; }
.mnav__close { width: 44px; height: 44px; background: transparent; border: 0; font-size: 28px; font-weight: 200; line-height: 1; cursor: pointer; }
.mnav__list { display: flex; flex-direction: column; padding: 24px 0; font-size: clamp(28px, 8.5vw, 34px); font-weight: 200; text-transform: uppercase; line-height: 1.1; }
.mnav__list > li > a { display: block; padding: 10px 0; text-decoration: none; }
.mnav__sub { display: flex; flex-direction: column; padding: 0 0 10px; font-size: 16px; font-weight: 300; text-transform: none; line-height: 1.3; }
.mnav__sub a { display: flex; align-items: center; min-height: 44px; padding-left: 16px; border-left: 1px solid rgba(255, 251, 250, .25); text-decoration: none; }
.mnav__cta { margin-top: auto; width: 100%; min-height: 54px; }
body.menu-open { overflow: hidden; }

/* =========================================================
   Fotografia e camadas de tratamento
   ========================================================= */
.ph { position: absolute; inset: 0; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.03); }
.ph--parallax { top: -10%; bottom: -10%; will-change: transform; }
.fx { position: absolute; pointer-events: none; }
.fx--tint { inset: 0; background: var(--blue); mix-blend-mode: soft-light; opacity: .35; }
.fx--top { left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(180deg, rgba(24, 23, 21, .55), rgba(24, 23, 21, 0)); }
.fx--bottom { left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(0deg, rgba(24, 23, 21, .86) 0%, rgba(24, 23, 21, .62) 40%, rgba(24, 23, 21, 0) 100%); }
.fx--side { inset: 0; background: radial-gradient(60% 50% at 100% 50%, rgba(24, 23, 21, .55), rgba(24, 23, 21, 0)); opacity: 0; transition: opacity .9s var(--ease); }
.fx--glow-a { left: -18vw; bottom: -30vh; width: 70vw; height: 80vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(80, 140, 164, .75), rgba(80, 140, 164, 0)); mix-blend-mode: screen; opacity: .18; animation: drift-a 18s ease-in-out infinite; }
.fx--glow-b { right: -20vw; top: -25vh; width: 60vw; height: 70vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 251, 250, .35), rgba(255, 251, 250, 0)); mix-blend-mode: screen; opacity: .14; animation: drift-b 22s ease-in-out infinite; }
.fx--grain { inset: 0; opacity: .035; mix-blend-mode: overlay; background-size: 160px 160px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
@keyframes drift-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, -4vh, 0) scale(1.15); } }
@keyframes drift-b { 0%, 100% { transform: translate3d(0, 0, 0) scale(1.1); } 50% { transform: translate3d(-5vw, 5vh, 0) scale(.95); } }

/* =========================================================
   Palco da home: três cenas sobre fotos fixas
   ========================================================= */
.stage { position: relative; height: 270vh; background: var(--ink); color: var(--paper); }
.stage__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage .ph { opacity: 0; transform: scale(1.1); transition: opacity 1.4s var(--ease), transform 2.2s var(--ease); }
.stage .ph.is-active { opacity: 1; transform: none; }
.stage[data-scene="1"] .fx--side { opacity: 1; }
.scene { position: absolute; inset: var(--hdr) 0 0 0; z-index: 5; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(24px, 5vh, 56px) var(--pad) clamp(16px, 3vh, 30px); opacity: 0; visibility: hidden; transition: opacity .7s, visibility 0s .7s; }
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .7s, visibility 0s; }
/* Cena 1 — abertura */
.scene__edges { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: clamp(8px, 7vh, 96px); }
.scene__edges p:last-child { text-align: right; }
.scene__low { display: flex; flex-direction: column; gap: clamp(16px, 2.4vh, 26px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: clamp(13px, 1.05vw, 15px); font-weight: 300; text-decoration: none; background: var(--glass); border: 1px solid rgba(255, 251, 250, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .3s; }
.chip-link:hover { opacity: 1; background: rgba(255, 251, 250, .22); }
.chip-link--minor { background: rgba(24, 23, 21, .25); }
.hairline { height: 1px; background: rgba(255, 251, 250, .22); }
.scene__msg { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.scene__text { flex: 1 1 520px; max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.scene__text .lead-line { margin-bottom: 6px; }
.hero-h1 { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.18; font-weight: 400; letter-spacing: -.015em; text-wrap: pretty; }
.hero-sub { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5; color: rgba(255, 251, 250, .86); max-width: 600px; text-wrap: pretty; }
/* Cena 2 — sinais */
.scene--signs { align-items: flex-end; }
.scene--signs .scene__title { text-align: right; font-size: clamp(26px, 3.6vw, 52px); max-width: 16em; }
.signs-wrap { width: min(660px, 100%); display: flex; flex-direction: column; gap: clamp(12px, 2vh, 22px); }
.signs-wrap > p { max-width: 380px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.45; }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(6px, 1vw, 12px); }
.sign { background: var(--paper); color: var(--ink); padding: clamp(12px, 1.4vw, 18px); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.sign__n, .sign__tag { font-size: 13px; font-weight: 500; color: var(--blue-text); }
.sign__tag { font-size: 12px; }
.sign__t { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.28; font-weight: 400; text-wrap: pretty; }
.sign__body { display: flex; flex-direction: column; gap: 6px; }
/* Cena 3 — soluções */
.scene--sols { align-items: center; gap: 16px; }
.scene--sols .scene__title { text-align: center; line-height: 1; }
.scene__sub { margin-top: 10px; text-align: center; font-size: clamp(14px, 1.1vw, 16px); color: rgba(255, 251, 250, .86); }
.sols { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(6px, 1vw, 14px); }
.gcard { display: flex; flex-direction: column; gap: 14px; padding: clamp(14px, 1.6vw, 24px); text-decoration: none; background: var(--glass-dark); border: 1px solid rgba(255, 251, 250, .2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color .35s; }
.gcard:hover { opacity: 1; background: rgba(80, 140, 164, .55); }
.gcard__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: rgba(255, 251, 250, .8); }
.gcard__t { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.gcard__d { font-size: 15px; line-height: 1.45; color: rgba(255, 251, 250, .86); text-wrap: pretty; }
.sols__minor { font-size: clamp(13px, 1vw, 14px); color: rgba(255, 251, 250, .86); }
.sols__minor a { color: var(--paper); }
/* Contador, pontos e crédito */
.stage__count { position: absolute; z-index: 15; left: var(--pad); top: calc(var(--hdr) + 14px); display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255, 251, 250, .8); }
.stage__bar { position: relative; width: 64px; height: 1px; background: rgba(255, 251, 250, .25); }
.stage__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--paper); transition: width .3s; }
.stage__dots { position: absolute; z-index: 15; right: clamp(10px, 1.2vw, 18px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.stage__dots button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; padding: 0; background: transparent; border: 0; cursor: pointer; }
.stage__dots button span { width: 6px; height: 6px; background: var(--paper); transition: height .4s; }
.stage__dots button[aria-current="true"] span { height: 22px; }
.stage__credit { position: absolute; z-index: 15; right: var(--pad); bottom: 8px; }
.stage__credit span { display: none; }
.stage__credit span.is-active { display: inline; }

/* Sem JavaScript: cenas empilhadas, todas visíveis */
.no-js .stage { height: auto; }
.no-js .stage__sticky { position: relative; height: auto; overflow: visible; }
.no-js .stage .ph:first-of-type { opacity: 1; transform: none; position: fixed; }
.no-js .scene { position: relative; inset: auto; min-height: 100vh; opacity: 1; visibility: visible; padding-top: calc(var(--hdr) + 40px); }
.no-js .stage__count, .no-js .stage__dots, .no-js .stage__credit { display: none; }

@media (max-width: 1023px) {
  .stage { height: 250vh; }
  .scene__edges { margin-top: 28px; }
  .scene__edges p:last-child, .scene--signs .scene__title { text-align: left; }
  .scene--signs { align-items: stretch; }
  .stage__dots { display: none; }
  .sign { min-height: 104px; }
  .gcard { gap: 6px; }
  .gcard__d { display: none; }
}
@media (max-width: 599px) {
  .scene { gap: 14px; }
  .scene__msg .actions { width: 100%; }
  .scene__msg .actions .btn { flex: 1 1 100%; }
  .signs { grid-template-columns: 1fr; }
  .sign { min-height: 0; }
  .signs-wrap > p { display: none; }
  .chips { gap: 6px; }
  .chip-link { min-height: 36px; padding: 0 12px; }
}
@media (max-height: 700px) and (min-width: 1024px) { .scene__edges { margin-top: 8px; } .sign { min-height: 120px; } }

/* =========================================================
   Abertura das páginas internas (foto)
   ========================================================= */
.phero { position: relative; min-height: max(100vh, 640px); min-height: max(100svh, 640px); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--hdr) + clamp(24px, 5vh, 56px)) var(--pad) clamp(16px, 3vh, 30px); background: var(--ink); color: var(--paper); }
.phero .fx--top { height: 42%; background: linear-gradient(180deg, rgba(24, 23, 21, .62), rgba(24, 23, 21, 0)); }
.phero .fx--bottom { height: 60%; background: linear-gradient(0deg, rgba(24, 23, 21, .88) 0%, rgba(24, 23, 21, .6) 45%, rgba(24, 23, 21, 0) 100%); }
.phero .fx--glow-a { opacity: .16; }
.phero__top, .phero__low { position: relative; display: flex; flex-direction: column; }
.phero__top { gap: 18px; }
.phero__low { gap: clamp(16px, 2.4vh, 24px); }
.phero .lead-line { font-size: 14px; gap: 8px 10px; }
.phero__titles { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; }
.phero__titles > :last-child:not(:first-child) { text-align: right; }
.phero__t { font-size: clamp(30px, 4.6vw, 68px); font-weight: 200; line-height: 1.04; text-transform: uppercase; }
.phero__msg { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.phero__msg .statement { flex: 1 1 480px; max-width: 700px; }
.phero__credit { position: absolute; right: var(--pad); top: calc(var(--hdr) + 14px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: 15px; font-weight: 300; text-decoration: none; background: var(--glass); border: 1px solid rgba(255, 251, 250, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .3s; }
a.tag:hover { opacity: 1; background: rgba(255, 251, 250, .22); }
@media (max-width: 1023px) {
  .phero__titles > :last-child { text-align: left; }
  .phero__credit { top: auto; bottom: 8px; }
}
@media (max-width: 599px) { .phero__msg .btn { width: 100%; } }

/* Abertura clara (privacidade, conteúdos, 404) */
.lhero { padding: calc(var(--hdr) + clamp(48px, 9vw, 120px)) var(--pad) clamp(40px, 6vw, 72px); }
.lhero .lead-line { margin-bottom: clamp(20px, 3vw, 32px); font-size: 14px; }
.lhero__row { display: flex; flex-wrap: wrap; gap: 24px clamp(24px, 4vw, 64px); align-items: flex-end; justify-content: space-between; }
.lhero__row .t-sec { flex: 1 1 520px; max-width: 18em; }
.lhero__row .body { flex: 0 1 380px; }

/* =========================================================
   Seções claras
   ========================================================= */
.sec { padding: var(--sec-y) var(--pad); background: var(--paper); color: var(--ink); }
.sec--tight-top { padding-top: 0; }
.sec--tight-bottom { padding-bottom: 0; }
.ruled { border-top: 1px solid var(--rule); padding-top: clamp(40px, 5vw, 64px); }
.split { display: flex; flex-wrap: wrap; gap: 32px clamp(24px, 4vw, 64px); }
.split__head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.split__body { flex: 2 1 560px; min-width: 0; }
.sec-head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .body { max-width: 380px; }

/* Etapas numeradas com fio */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px clamp(16px, 2vw, 28px); }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--ink); }
.steps__t { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.01em; }
.steps__d { font-size: 15px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* Faixa de foto */
.band { position: relative; margin: clamp(56px, 7vw, 96px) calc(-1 * var(--pad)) 0; height: clamp(360px, 56vh, 560px); overflow: hidden; background: var(--ink); color: var(--paper); }
.band .fx--left { inset: 0; background: linear-gradient(90deg, rgba(24, 23, 21, .78) 0%, rgba(24, 23, 21, .35) 45%, rgba(24, 23, 21, 0) 75%); }
.band__text { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(20px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.band__text .label { color: rgba(255, 251, 250, .85); }
.band__text p { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; font-weight: 300; text-wrap: pretty; }
.band .credit { position: absolute; right: var(--pad); top: 14px; }
@media (max-width: 599px) { .band .fx--left { background: linear-gradient(0deg, rgba(24, 23, 21, .82), rgba(24, 23, 21, .2) 70%); } }

/* Blocos escuros (necessidades, conteúdos, outras soluções) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(6px, 1vw, 12px); }
.tile { min-height: 170px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--ink); color: var(--paper); text-decoration: none; transition: background-color .35s; }
a.tile:hover { opacity: 1; background: var(--blue-text); }
.tile__top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; color: rgba(255, 251, 250, .75); }
.tile__t { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.22; font-weight: 400; text-wrap: pretty; }
.tile__t--caps { text-transform: uppercase; }
.tile__d { font-size: 14px; line-height: 1.45; color: rgba(255, 251, 250, .8); }
.tile--tall { min-height: 190px; }

/* Entregas por produto (páginas de solução) */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.product { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--hdr) + 24px); }
.product h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; font-weight: 400; text-wrap: pretty; }
.product p { font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.product__list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.product__list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
.product__list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .5em; background: var(--blue); }
.product__note { font-size: 14px; color: var(--muted-2); }
.product .btn { align-self: flex-start; margin-top: 6px; }
.scope-note { margin-top: clamp(28px, 4vw, 48px); font-size: 15px; color: var(--muted-2); max-width: 44rem; }
@media (max-width: 599px) { .product .btn { align-self: stretch; } }

/* Faixa escura com etapas em vidro */
.how { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad); }
.how .fx--dim { inset: 0; background: rgba(24, 23, 21, .42); }
.how__title { position: relative; margin-bottom: clamp(40px, 6vw, 80px); text-align: center; }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(6px, 1vw, 12px); }
.how__steps li { min-height: 220px; padding: clamp(16px, 1.6vw, 22px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: rgba(24, 23, 21, .3); border: 1px solid rgba(255, 251, 250, .2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.how__n { font-size: 13px; font-weight: 500; color: rgba(255, 251, 250, .8); }
.how__t { display: block; font-size: clamp(19px, 1.6vw, 22px); font-weight: 400; }
.how__d { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(255, 251, 250, .86); text-wrap: pretty; }
.how__extra { position: relative; margin-top: clamp(12px, 2vw, 20px); padding: clamp(16px, 2vw, 24px); display: flex; flex-wrap: wrap; gap: 8px 40px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.how__extra h3 { flex: 0 0 auto; font-size: 13px; font-weight: 500; color: rgba(255, 251, 250, .85); padding-top: 4px; }
.how__extra p { flex: 1 1 420px; font-size: 16px; line-height: 1.5; }
.how .credit { position: absolute; right: var(--pad); bottom: 10px; }

/* Perguntas */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; background: transparent; border: 0; text-align: left; cursor: pointer; font-size: clamp(17px, 1.4vw, 20px); font-weight: 400; line-height: 1.3; }
.faq__sign { position: relative; flex: none; width: 30px; height: 30px; background: rgba(24, 23, 21, .08); color: var(--ink); transition: background-color .3s, color .3s; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq__btn[aria-expanded="true"] .faq__sign { background: var(--ink); color: var(--paper); }
.faq__btn[aria-expanded="true"] .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__panel p { padding: 0 54px 22px 0; font-size: 16px; line-height: 1.55; max-width: 680px; text-wrap: pretty; }

/* Convite final sobre foto */
.invite { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 120px) var(--pad); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.invite .fx--dim { inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(24, 23, 21, .62), rgba(24, 23, 21, .28)); }
.invite h2 { position: relative; font-size: clamp(28px, 4vw, 58px); font-weight: 200; line-height: 1.06; text-transform: uppercase; max-width: 18em; text-wrap: balance; }
.invite .glassbar { position: relative; justify-content: center; }
.invite .credit { position: absolute; right: var(--pad); bottom: 10px; z-index: 2; }

/* =========================================================
   Contato (home e página de contato)
   ========================================================= */
.contact { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(88px, 12vh, 128px) var(--pad) clamp(20px, 4vh, 40px); background: var(--ink); color: var(--paper); }
.contact--page { padding-top: calc(var(--hdr) + clamp(32px, 6vh, 64px)); }
.contact .fx--tint { opacity: .3; }
.contact .fx--dim { inset: 0; background: linear-gradient(180deg, rgba(24, 23, 21, .5), rgba(24, 23, 21, .15) 35%, rgba(24, 23, 21, .55) 60%, rgba(24, 23, 21, .88)); }
.contact__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.contact__head .t-big { font-size: clamp(30px, 4.6vw, 68px); font-weight: 200; line-height: 1.04; text-transform: uppercase; }
.contact__head > :last-child { text-align: right; }
.contact__intro { position: relative; max-width: 560px; font-size: 16px; line-height: 1.5; }
.contact .credit { position: relative; align-self: flex-end; }
@media (max-width: 1023px) { .contact__head > :last-child { text-align: left; } }

.panel { position: relative; align-self: center; width: min(880px, 100%); display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 2.4vw, 32px); background: rgba(24, 23, 21, .42); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.panel__intro { font-size: 16px; }
.lead-form { display: flex; flex-direction: column; gap: 22px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field[hidden] { display: none; }
.field > label, .field > legend { font-size: 13px; font-weight: 500; padding: 0; }
.req { font-weight: 300; color: rgba(255, 251, 250, .75); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 251, 250, .5); border-radius: 0; padding: 8px 0; font-size: 17px; font-weight: 300; color: var(--paper); transition: border-color .25s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--paper); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 251, 250, .55); }
.help, .counter { font-size: 13px; color: rgba(255, 251, 250, .78); }
.field-error { font-size: 14px; font-weight: 500; color: #ffd9cf; }
.field-error::before { content: "Erro: "; }
.field--invalid input, .field--invalid textarea { border-bottom-color: #ffb3a3; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 251, 250, .3); font-size: 14px; font-weight: 300; cursor: pointer; transition: background-color .25s, color .25s; }
.choice span:hover { background: rgba(255, 251, 250, .14); }
.choice input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 400; }
.choice input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.field--invalid .choice span { border-color: #ffb3a3; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.form-privacy { font-size: 13px; line-height: 1.45; color: rgba(255, 251, 250, .82); max-width: 34rem; }
.form-status { padding: 14px 16px; border-left: 3px solid var(--paper); background: rgba(255, 251, 250, .1); font-size: 15px; line-height: 1.45; }
.form-status[hidden] { display: none; }
.form-status--success { border-left-color: var(--blue); background: rgba(80, 140, 164, .32); }
.form-status--error { border-left-color: #ffb3a3; background: rgba(160, 50, 30, .3); }
.form-status--note { border-left-color: rgba(255, 251, 250, .6); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 599px) { .form-foot .btn { width: 100%; } }

/* =========================================================
   Conteúdos (listagens e leitura)
   ========================================================= */
.pubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(6px, 1vw, 12px); }
.pubs .tile { min-height: 220px; }
.pub-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 500; color: var(--blue-text); }
.empty { font-size: 17px; color: var(--muted-2); }
.read { display: flex; flex-wrap: wrap; gap: 40px clamp(24px, 4vw, 64px); }
.read__aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--muted-2); }
.read__aside b { color: var(--ink); font-weight: 500; }
.prose { flex: 2 1 560px; min-width: 0; max-width: 46rem; font-size: 17px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.2; }
.prose h3 { margin-top: 1.6em; font-size: 20px; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--blue-text); text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--blue); font-size: 19px; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted-2); }
.prose .summary { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; font-weight: 400; }
.sources { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.sources li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15px; }

/* =========================================================
   Rodapé
   ========================================================= */
.ftr { background: var(--ink); color: var(--paper); padding: 36px var(--pad) 28px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; border-top: 1px solid rgba(255, 251, 250, .12); }
.ftr__brand { display: flex; flex-direction: column; gap: 14px; }
.ftr__brand .avix-logo { width: auto; height: 34px; }
.ftr__sig { font-size: 14px; font-weight: 300; text-transform: uppercase; letter-spacing: .02em; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 14px; }
.ftr__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.ftr__nav span { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 251, 250, .62); }

/* =========================================================
   Movimento
   ========================================================= */
/* Entrada dos textos do palco e das aberturas: desfoque → nitidez com subida curta */
.js .in { opacity: 0; filter: blur(12px); transform: translateY(40px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .stage.is-ready .is-active .in, .js .phero.is-ready .in { opacity: 1; filter: none; transform: none; }
.js .in--chip { transform: translateY(24px); filter: none; }
/* Revelação por rolagem */
.js [data-reveal] { opacity: 0; filter: blur(10px); transform: translateY(36px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; filter: none; transform: none; }
/* Abertura das páginas internas: a foto entra ampliada */
.js .phero > .ph { animation: img-in 1.8s var(--ease) both; }
@keyframes img-in { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  /* Sem desfoque, deslocamento, zoom ou deriva: apenas esmaecimentos curtos */
  .fx--glow-a, .fx--glow-b { animation: none; }
  .stage .ph { transform: none; transition: opacity .4s; }
  .js .in, .js .in--chip, .js [data-reveal] { filter: none; transform: none; transition: opacity .3s; transition-delay: 0s; }
  .js .phero > .ph { animation: fade .3s both; }
  .ph--parallax { transform: none !important; }
  .scene, .scene.is-active { transition-duration: .3s; }
  .btn, .btn:hover { transition: none; gap: 14px; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media print {
  .hdr, .mnav, .stage__count, .stage__dots, .env-banner, .fx { display: none !important; }
  .stage { height: auto; }
  .stage__sticky { position: static; height: auto; }
  .scene { position: static; opacity: 1; visibility: visible; color: #000; }
}

/* Atrasos escalonados das entradas do palco */
.chips .in { --d: calc(.6s + var(--i, 0) * 80ms); }
.sign.in { --d: calc(.35s + var(--i, 0) * 80ms); }
.gcard.in { --d: calc(.3s + var(--i, 0) * 100ms); }
.gcards > li { display: flex; }
.gcard { flex: 1; }

/* Filtros de categoria (claro) e destaques no texto */
.choice-link { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(24, 23, 21, .3); font-size: 14px; text-decoration: none; }
.choice-link.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice-link:hover { opacity: 1; background: rgba(24, 23, 21, .08); }
.choice-link.is-on:hover { background: var(--blue-text); }
.prose .callout { padding: 18px; background: var(--ink); color: var(--paper); }
.prose .callout h3 { margin: 0 0 8px; }
.prose section h2 { margin-top: 2em; }

/* Ajustes da verificação (14/10/2026) */
.credit { font-size: 12px; }
@media (min-width: 1200px) { .hdr__nav a { display: inline-flex; align-items: center; min-height: 44px; } }
/* Celulares baixos: as frentes já estão no menu; prioridade para título, apoio e ação */
@media (max-width: 599px) and (max-height: 800px) {
  .scene--intro .chips, .scene--intro .hairline { display: none; }
  .scene__edges { margin-top: 12px; }
  .scene__edges .edge { font-size: 26px; }
}
@media (max-width: 599px) {
  .scene { padding-top: 40px; }
  .stage__count { top: calc(var(--hdr) + 10px); }
}
.lead-form[hidden], .panel [hidden] { display: none; }
body.menu-open .env-banner { display: none; }
.ftr__brand .avix-logo { align-self: flex-start; }

/* Tema em destaque (reforma tributária): bloco escuro com marcos e apoio */
.feature { position: relative; overflow: hidden; padding: var(--sec-y) var(--pad); background: var(--ink); color: var(--paper); scroll-margin-top: var(--hdr); }
.feature .split { position: relative; }
.feature .body { color: rgba(255, 251, 250, .86); }
.feature .label { color: rgba(255, 251, 250, .78); }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(6px, 1vw, 12px); }
.timeline li { min-height: 170px; padding: clamp(14px, 1.4vw, 20px); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; background: rgba(255, 251, 250, .06); border: 1px solid rgba(255, 251, 250, .18); }
.timeline__when { font-size: clamp(22px, 2vw, 30px); font-weight: 200; line-height: 1; text-transform: uppercase; }
.timeline__what { font-size: 15px; line-height: 1.45; color: rgba(255, 251, 250, .86); text-wrap: pretty; }
.feature__offer { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid rgba(255, 251, 250, .22); }
.feature__offer .statement { max-width: 36em; }
.feature__note { margin-top: 20px; font-size: 13px; color: rgba(255, 251, 250, .72); max-width: 44rem; }
.feature--slim { padding-block: clamp(56px, 7vw, 96px); }
.feature__slim-body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (max-width: 599px) { .feature .btn { width: 100%; } }

/* Linha do tempo (marcos da reforma): fio contínuo com marcadores, sem caixas */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; min-height: 0; padding: 30px clamp(12px, 2vw, 28px) 0 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; background: none; border: 0; border-top: 1px solid rgba(255, 251, 250, .32); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; background: var(--blue); }
.timeline li:first-child::before { background: var(--paper); }
.timeline__when { font-size: clamp(28px, 2.6vw, 42px); font-weight: 200; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.timeline__what { font-size: 15px; line-height: 1.5; color: rgba(255, 251, 250, .86); max-width: 22em; }
@media (max-width: 899px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 28px 26px; border-top: 0; border-left: 1px solid rgba(255, 251, 250, .32); }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { left: -5px; top: 8px; }
}
.feature .sec-head .body { max-width: 440px; }
.feature .timeline { margin-top: 8px; }
.feature .feature__note { margin-top: clamp(28px, 4vw, 44px); }
.timeline__when { font-size: clamp(26px, 2.4vw, 40px); }

/* Voltar (páginas internas) */
.back-link { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -10px 0 2px; font-size: 14px; font-weight: 400; text-decoration: none; }
.back-link span { transition: transform .3s var(--ease); }
.back-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.back-link:hover span { transform: translateX(-3px); }
.lhero .back-link { display: flex; width: max-content; margin-bottom: 6px; }

/* =========================================================
   Revisão de conversão (14/10/2026)
   ========================================================= */
/* Cartões de soluções: um único link, com rótulo curto */
.gcard__go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; }
.gcard__go span { display: inline-block; transition: transform .3s var(--ease); }
.gcard:hover .gcard__go span { transform: translateX(4px); }
.sols__minor { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.sols__minor span { color: rgba(255, 251, 250, .78); }
.sols__minor a { display: inline-flex; align-items: center; min-height: 32px; color: var(--paper); text-underline-offset: 4px; }
@media (max-width: 1023px) { .gcard__go { display: none; } }

/* Menu de soluções: prioritárias e complementares */
.dd__group { margin: 8px 12px 2px; padding-top: 8px; border-top: 1px solid rgba(255, 251, 250, .16); font-size: 12px; color: rgba(255, 251, 250, .7); }
.dd__list--minor a { font-size: 14px; }
.mnav__minor a { color: rgba(255, 251, 250, .78); font-size: 15px; }

/* Entregas: exemplos ilustrativos legíveis */
.demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.demo { display: flex; flex-direction: column; gap: 12px; }
.demo__tag { align-self: flex-start; padding: 5px 10px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 500; }
.demo__t { font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; line-height: 1.2; }
.demo__d { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.mock { min-height: 300px; padding: 18px; background: #fff; border: 1px solid rgba(24, 23, 21, .14); box-shadow: 0 18px 40px -28px rgba(24, 23, 21, .5); font-size: 13px; line-height: 1.4; color: var(--ink); }
.mock__kicker { font-size: 12px; color: var(--blue-text); font-weight: 500; }
.mock__title { margin: 4px 0 12px; font-size: 17px; font-weight: 500; }
.mock__sub { margin: 14px 0 6px; font-weight: 500; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th, .mock td { padding: 7px 6px 7px 0; border-bottom: 1px solid rgba(24, 23, 21, .1); text-align: left; font-weight: 400; vertical-align: middle; }
.mock thead th { font-size: 11px; color: var(--muted-2); font-weight: 500; }
.mock__bars tbody th { width: 40%; }
.mock__bars i { display: block; height: 8px; width: var(--w); background: rgba(24, 23, 21, .2); }
.mock__bars i.r { background: var(--blue); }
.mock__bars i.x { background: var(--ink); }
.mock__points { margin: 0; padding-left: 18px; }
.mock--intranet { padding: 0; overflow: hidden; }
.mock__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; background: var(--ink); color: var(--paper); font-size: 12px; }
.mock__search { padding: 3px 10px; border: 1px solid rgba(255, 251, 250, .35); color: rgba(255, 251, 250, .75); font-size: 11px; }
.mock__app { display: grid; grid-template-columns: 112px 1fr; min-height: 258px; }
.mock__side { list-style: none; margin: 0; padding: 12px 0; background: #f2efec; }
.mock__side li { padding: 7px 12px; font-size: 12px; }
.mock__side li.on { background: var(--blue); color: var(--ink); font-weight: 500; }
.mock__main { padding: 14px; }
.mock__docs { list-style: none; margin: 0; padding: 0; }
.mock__docs li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0 9px 22px; border-bottom: 1px solid rgba(24, 23, 21, .1); position: relative; }
.mock__docs li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 14px; border: 1px solid var(--blue-text); }
.mock__docs b { font-weight: 500; }
.mock__docs span { font-size: 12px; color: var(--muted-2); }
.mock__check { list-style: none; margin: 0; padding: 0; }
.mock__check li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(24, 23, 21, .1); }
.mock__check .box { width: 16px; height: 16px; border: 1px solid var(--ink); }
.mock__check li.done .box { background: var(--blue); border-color: var(--blue); }
.mock__check b { font-weight: 400; }
.mock__check em { font-style: normal; font-size: 12px; color: var(--muted-2); }
@media (max-width: 599px) { .mock__app { grid-template-columns: 1fr; } .mock__side { display: flex; flex-wrap: wrap; padding: 6px; } .mock__side li { padding: 5px 8px; } }

/* Home: apresentação curta de quem conduz */
.lead-team { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: clamp(40px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); }
.lead-team .statement { font-size: clamp(18px, 1.6vw, 24px); }

/* Convites finais: texto e botão, sem barra extra */
.invite__text { position: relative; max-width: 36rem; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: rgba(255, 251, 250, .9); }
.invite--home { min-height: min(80vh, 720px); justify-content: center; }
@media (max-width: 599px) { .invite .btn { width: 100%; } }

/* Sobre: quem conduz */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.partner { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ink); }
.partner__photo { aspect-ratio: 4 / 5; overflow: hidden; background: #e4e0db; margin-bottom: 8px; }
.partner__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner__name { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; }
.partner__bio { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* Páginas de serviço: outras soluções como navegação compacta */
.others__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.others ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.others a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: none; }
.others a:hover { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }
.others__minor a { color: var(--muted-2); font-size: 15px; }

/* Formulário: explicação junto ao botão */
.form-note { font-size: 14px; line-height: 1.45; color: rgba(255, 251, 250, .88); max-width: 30rem; }
/* Legibilidade da cena "Soluções" sobre o céu claro da foto aérea */
.fx--top { transition: height .9s var(--ease), background .9s var(--ease); }
.stage[data-scene="2"] .fx--top { height: 52%; background: linear-gradient(180deg, rgba(24, 23, 21, .78), rgba(24, 23, 21, .35) 60%, rgba(24, 23, 21, 0)); }
.scene--sols .scene__title, .scene--sols .scene__sub { text-shadow: 0 1px 14px rgba(24, 23, 21, .45); }
.scene--sols .scene__sub { color: var(--paper); }
/* Exemplos de entrega com a mesma altura */
.demos { align-items: stretch; }
.demo .mock { flex: 1; min-height: 330px; }

/* =========================================================
   Animações adicionais (14/10/2026). As anteriores continuam valendo.
   Todas dependem de .js; sem JavaScript tudo aparece pronto.
   ========================================================= */
/* Itens lado a lado entram em sequência */
.js [data-reveal] { transition-delay: calc(var(--ri, 0) * 90ms); }

/* Títulos de seção: as palavras sobem de uma máscara, uma após a outra */
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .95s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + 80ms); }
.js .split-words.is-in .w > span, .js .is-in .split-words .w > span { transform: none; }

/* Logotipo: as duas peças do símbolo se encaixam e as letras aparecem */
@keyframes logo-left { from { opacity: 0; transform: translate(-14px, 10px); } to { opacity: 1; transform: none; } }
@keyframes logo-right { from { opacity: 0; transform: translate(14px, -10px); } to { opacity: 1; transform: none; } }
@keyframes logo-text { from { opacity: 0; } to { opacity: 1; } }
.js .hdr__brand .avix-logo polygon:nth-of-type(1) { animation: logo-left 1.1s var(--ease) .2s both; }
.js .hdr__brand .avix-logo polygon:nth-of-type(2) { animation: logo-right 1.1s var(--ease) .32s both; }
.js .hdr__brand .avix-logo path { animation: logo-text .9s var(--ease) .45s both; }
.js .ftr__brand .avix-logo polygon, .js .ftr__brand .avix-logo path { opacity: 0; }
.js .ftr__brand.is-in .avix-logo polygon:nth-of-type(1) { animation: logo-left 1.1s var(--ease) both; }
.js .ftr__brand.is-in .avix-logo polygon:nth-of-type(2) { animation: logo-right 1.1s var(--ease) .12s both; }
.js .ftr__brand.is-in .avix-logo path { animation: logo-text .9s var(--ease) .25s both; }
.js .ftr__brand[data-reveal] { filter: none; transform: none; }

/* Fotos de abertura: aproximação lenta e contínua */
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.js .stage .ph.is-active img, .js .phero > .ph img { animation: slow-zoom 14s cubic-bezier(.25, .6, .3, 1) both; }

/* Fios das etapas e das entregas: o traço se desenha da esquerda para a direita */
.js .steps li[data-reveal], .js .product[data-reveal] { border-top-color: transparent; position: relative; }
.js .steps li[data-reveal]::before, .js .product[data-reveal]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: calc(var(--ri, 0) * 90ms + 150ms); }
.js .steps li.is-in::before, .js .product.is-in::before { transform: scaleX(1); }

/* Linha do tempo: o fio corre e os marcadores aparecem em sequência */
.js .timeline[data-reveal] li { border-top-color: transparent; }
.js .timeline[data-reveal] li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: rgba(255, 251, 250, .32); transform: scaleX(0); transform-origin: left; transition: transform .9s linear; }
.js .timeline[data-reveal] li:nth-child(2)::after { transition-delay: .9s; }
.js .timeline[data-reveal] li:nth-child(3)::after { transition-delay: 1.8s; }
.js .timeline[data-reveal] li:nth-child(4)::after { transition-delay: 2.7s; }
.js .timeline[data-reveal] li::before { transform: scale(0); transition: transform .5s var(--ease); }
.js .timeline[data-reveal] li:nth-child(2)::before { transition-delay: .9s; }
.js .timeline[data-reveal] li:nth-child(3)::before { transition-delay: 1.8s; }
.js .timeline[data-reveal] li:nth-child(4)::before { transition-delay: 2.7s; }
.js .timeline[data-reveal] li > span { opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s var(--ease); }
.js .timeline[data-reveal] li:nth-child(2) > span { transition-delay: 1s; }
.js .timeline[data-reveal] li:nth-child(3) > span { transition-delay: 1.9s; }
.js .timeline[data-reveal] li:nth-child(4) > span { transition-delay: 2.8s; }
.js .timeline.is-in li::after { transform: scaleX(1); }
.js .timeline.is-in li::before { transform: none; }
.js .timeline.is-in li > span { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .js .timeline[data-reveal] li { border-left-color: rgba(255, 251, 250, .32); }
  .js .timeline[data-reveal] li::after { display: none; }
}

/* Exemplos de entrega: barras crescem, procedimentos aparecem e o checklist se marca */
.js .demo[data-reveal] .mock__bars i { width: 0; transition: width 1.3s var(--ease); }
.js .demo[data-reveal] .mock__bars tr:nth-child(2) i { transition-delay: .12s; }
.js .demo[data-reveal] .mock__bars tr:nth-child(3) i { transition-delay: .24s; }
.js .demo[data-reveal] .mock__bars tr:nth-child(4) i { transition-delay: .36s; }
.js .demo.is-in .mock__bars i { width: var(--w); }
.js .demo[data-reveal] .mock__docs li { opacity: 0; transform: translateX(-8px); transition: opacity .6s, transform .6s var(--ease); }
.js .demo[data-reveal] .mock__docs li:nth-child(2) { transition-delay: .15s; }
.js .demo[data-reveal] .mock__docs li:nth-child(3) { transition-delay: .3s; }
.js .demo.is-in .mock__docs li { opacity: 1; transform: none; }
.js .demo[data-reveal] .mock__check li.done .box { background: transparent; border-color: var(--ink); transition: background-color .4s, border-color .4s; }
.js .demo[data-reveal] .mock__check li:nth-child(1) .box { transition-delay: .6s; }
.js .demo[data-reveal] .mock__check li:nth-child(2) .box { transition-delay: 1.1s; }
.js .demo.is-in .mock__check li.done .box { background: var(--blue); border-color: var(--blue); }

/* Cartões e blocos: resposta suave ao cursor */
.gcard { transition: background-color .35s, transform .45s var(--ease), border-color .35s; }
.gcard:hover { transform: translateY(-4px); border-color: rgba(255, 251, 250, .45); }
.demo .mock { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.demo:hover .mock { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(24, 23, 21, .6); }
.others a span { display: inline-block; transition: transform .3s var(--ease); }
.others a:hover span { transform: translateX(4px); }

/* Perguntas: a resposta entra com suavidade */
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.js .faq__panel:not([hidden]) p { animation: answer-in .45s var(--ease) both; }

/* Barra de leitura sob o cabeçalho */
.hdr__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  /* Movimento reduzido: sem deslocamentos, zoom ou sequências longas; tudo aparece pronto ou com esmaecimento curto */
  .js [data-reveal] { transition-delay: 0s; }
  .js .split-words .w > span { transform: none; transition: none; }
  .js .hdr__brand .avix-logo polygon, .js .hdr__brand .avix-logo path,
  .js .ftr__brand.is-in .avix-logo polygon, .js .ftr__brand.is-in .avix-logo path { animation: logo-text .3s both; }
  .js .stage .ph.is-active img, .js .phero > .ph img { animation: none; }
  .js .steps li[data-reveal]::before, .js .product[data-reveal]::before { transform: none; transition: none; }
  .js .timeline[data-reveal] li::after, .js .timeline[data-reveal] li::before, .js .timeline[data-reveal] li > span { transform: none; opacity: 1; transition: none; }
  .js .demo[data-reveal] .mock__bars i { width: var(--w); transition: none; }
  .js .demo[data-reveal] .mock__docs li { opacity: 1; transform: none; transition: none; }
  .js .demo[data-reveal] .mock__check li.done .box { background: var(--blue); border-color: var(--blue); transition: none; }
  .gcard:hover, .demo:hover .mock { transform: none; }
  .js .faq__panel:not([hidden]) p { animation: none; }
}
