/* Fontes do site servidas daqui mesmo (antes vinham do Google Fonts e travavam a primeira pintura) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext-7f25d9.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-d196e8.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext-b42080.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-a7544c.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: 'Sora';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/sora-latin-ext-b9a092.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/sora-latin-d59187.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: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sora-latin-ext-b9a092.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sora-latin-d59187.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: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/sora-latin-ext-b9a092.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/sora-latin-d59187.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: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-latin-ext-b9a092.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-latin-d59187.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: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/unbounded-latin-ext-80da0c.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/unbounded-latin-06f2e4.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: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/unbounded-latin-ext-80da0c.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/unbounded-latin-06f2e4.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: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/unbounded-latin-ext-80da0c.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/unbounded-latin-06f2e4.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: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/unbounded-latin-ext-80da0c.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/unbounded-latin-06f2e4.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;
}

/* FISCO-E – estilos compartilhados por todas as páginas */
:root {
  --bg: #04060C;
  --bg-2: #080D18;
  --panel: rgba(255, 255, 255, .035);
  --panel-line: rgba(255, 255, 255, .09);
  --text: #EAF0F7;
  --text-2: #A3B0C2;
  --muted: #74839A;
  --gold: #F2C14E;
  --gold-2: #FFDF8A;
  --blue: #3AA8FF;
  --wa: #25D366;
  --display: "Unbounded", "Sora", system-ui, sans-serif;
  --body: "Sora", system-ui, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --pad: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1rem; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.grad { background: linear-gradient(100deg, #FFE9A8 0%, var(--gold) 45%, #E39A2E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botões ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px; font: 600 .95rem/1.1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .3s, background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1A1200; box-shadow: 0 0 0 1px rgba(255, 223, 138, .4), 0 10px 40px -8px rgba(242, 193, 78, .55); }
.btn-gold:hover { box-shadow: 0 0 0 1px rgba(255, 223, 138, .7), 0 14px 60px -6px rgba(242, 193, 78, .8); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .2); color: var(--text); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .07); }

/* ---------- Cabeçalho ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); }
/* Ao rolar o cabeçalho ganha fundo sólido: nenhum texto aparece por baixo dele */
.site-head.solid { background: var(--bg); border-bottom-color: var(--panel-line); }
.head { display: flex; align-items: center; gap: 2rem; height: 76px; }
.head .logo img { height: 52px; width: auto; filter: brightness(1.25) drop-shadow(0 0 18px rgba(242, 193, 78, .25)); }
.head nav { display: flex; gap: 1.8rem; margin-left: auto; }
.head nav a { text-decoration: none; font-size: .88rem; color: var(--text-2); transition: color .2s; }
.head nav a:hover { color: #fff; }
.head .btn { min-height: 42px; padding: .55rem 1.1rem; font-size: .85rem; }
.btn-cliente { gap: .5rem; }
.btn-cliente svg { width: 17px; height: 17px; flex-shrink: 0; }
@media (max-width: 960px) {
  /* Celular: em cima só a logo, o tema e a Área do cliente; as páginas ficam na barra de baixo */
  .head nav { display: none; }
  .head .btn { padding: .6rem 1rem; font-size: .8rem; }
}

/* ---------- Abertura com partículas ---------- */
/* A abertura começa abaixo do cabeçalho: o desenho nunca fica escondido atrás dele */
:root { --head-h: calc(76px + env(safe-area-inset-top, 0px)); }
.intro { position: relative; height: 330vh; padding-top: var(--head-h); }
.stage { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 60% at 70% 45%, rgba(58, 168, 255, .12), transparent 60%), radial-gradient(50% 50% at 75% 60%, rgba(242, 193, 78, .08), transparent 60%), var(--bg); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(4,6,12,.85) 0%, rgba(4,6,12,.35) 45%, transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 18%); }
.panels { position: absolute; inset: 0; z-index: 3; }
.panel { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.panel .inner { max-width: 640px; }
.panel h1, .panel h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); letter-spacing: -.035em; }
.panel h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.panel p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-2); max-width: 32em; margin: 1.4rem 0 2rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(242, 193, 78, .35); background: rgba(242, 193, 78, .07); color: var(--gold-2); font-size: .78rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 1.5rem; }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.panel .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.chips span { padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--panel-line); background: rgba(255,255,255,.03); font-size: .82rem; color: var(--text-2); backdrop-filter: blur(6px); }
.stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stats b { display: block; font: 600 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); color: #fff; }
.stats span { font-size: .85rem; color: var(--text-2); }
.js .panel { opacity: 0; visibility: hidden; }
.js .panel.p0 { opacity: 1; visibility: visible; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.progress-rail { position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.progress-rail span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .3s, box-shadow .3s, transform .3s; }
.progress-rail span.on { background: var(--gold); box-shadow: 0 0 12px var(--gold); transform: scale(1.4); }

/* ---------- Seções ---------- */
.sec { position: relative; padding: clamp(5rem, 11vw, 9rem) 0; }
.sec-title { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.label { display: inline-block; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.sec-title h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.sec-title p { margin: 1.2rem 0 0; color: var(--text-2); font-size: 1.05rem; max-width: 40em; }
.glow-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(58,168,255,.5), rgba(242,193,78,.6), transparent); }

/* Cartões de vidro com luz que segue o mouse */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { --mx: 50%; --my: 0%; position: relative; border-radius: 22px; background: var(--panel); border: 1px solid var(--panel-line); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 193, 78, .14), transparent 45%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 223, 138, .8), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); }
.card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.7) contrast(1.1); transition: transform .8s var(--ease), filter .5s; }
.card:hover .media img { transform: scale(1.05); filter: saturate(.9) brightness(.85) contrast(1.1); }
.card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,168,255,.12), rgba(4,6,12,.1) 40%, rgba(8,13,24,1) 100%); }
.card .num { position: absolute; z-index: 1; left: 1.4rem; bottom: .9rem; font: 600 .78rem/1 var(--display); color: var(--gold); letter-spacing: .1em; }
.card .body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .8rem; }
.card p { color: var(--text-2); font-size: .94rem; }
.card ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.card li { display: flex; align-items: center; gap: .6rem; color: var(--text); font-size: .93rem; }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.card .more { margin-top: auto; color: var(--gold); text-decoration: none; font-weight: 500; font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; }
.card .more span { transition: transform .3s var(--ease); }
.card .more:hover span { transform: translateX(4px); }

/* Laudo ICMS */
.icms { background: radial-gradient(60% 50% at 20% 0%, rgba(58,168,255,.08), transparent 70%), var(--bg-2); }
.icms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.icms-grid .text p { color: var(--text-2); }
.icms-grid .text strong { color: var(--gold-2); font-weight: 500; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 3.6rem; }
.timeline::before { content: ""; position: absolute; left: 1.15rem; top: .5rem; bottom: .5rem; width: 2px; background: rgba(255,255,255,.08); border-radius: 2px; }
.timeline .fill { position: absolute; left: 1.15rem; top: .5rem; width: 2px; height: calc((100% - 1rem) * var(--p, 0)); background: linear-gradient(var(--blue), var(--gold)); box-shadow: 0 0 14px var(--gold); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 2.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: attr(data-n); position: absolute; left: -3.6rem; top: -.15rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font: 600 .78rem/1 var(--display); background: var(--bg-2); border: 1px solid rgba(255,255,255,.18); color: var(--text-2); transition: all .4s; }
.timeline li.lit::before { border-color: var(--gold); color: #1A1200; background: var(--gold); box-shadow: 0 0 22px rgba(242,193,78,.7); }
.timeline b { display: block; font: 500 1.05rem/1.3 var(--display); margin-bottom: .3rem; }
.timeline span { color: var(--text-2); font-size: .94rem; }
.app-box { margin-top: 2.5rem; padding: 1.3rem 1.4rem; border-radius: 18px; border: 1px solid rgba(58,168,255,.3); background: linear-gradient(135deg, rgba(58,168,255,.1), rgba(58,168,255,.02)); display: flex; gap: 1rem; align-items: center; }
.app-box svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--blue); }
.app-box p { margin: 0; color: var(--text-2); font-size: .94rem; }
.app-box a { color: var(--blue); font-weight: 600; }

/* Sobre */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.portrait { position: relative; }
.portrait .frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.85) contrast(1.05); }
.portrait .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,6,12,.85)); }
.portrait::before { content: ""; position: absolute; inset: -1px; border-radius: 29px; padding: 1px; background: linear-gradient(140deg, var(--gold), transparent 40%, transparent 60%, var(--blue)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 1; pointer-events: none; }
.portrait .halo { position: absolute; inset: 10% 0 -6% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(242,193,78,.25), transparent); filter: blur(30px); }
.portrait figcaption { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 2; }
.portrait figcaption b { display: block; font: 600 1.25rem/1.2 var(--display); }
.portrait figcaption span { font-size: .86rem; color: var(--gold-2); }
.about .text p { color: var(--text-2); }
.about .text p.big { font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.45 var(--body); color: var(--text); margin-bottom: 1.6rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.2rem; border-radius: 18px; overflow: hidden; background: var(--panel-line); border: 1px solid var(--panel-line); }
.facts div { background: var(--bg); padding: 1.2rem 1.1rem; }
.facts b { display: block; font: 600 1.6rem/1.1 var(--display); }
.facts span { font-size: .82rem; color: var(--text-2); }

/* Clientes: faixa em movimento */
.clients { overflow: hidden; }
.marquee { position: relative; display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 1rem; }
/* Faixa só para ver: não reage a clique, toque ou mouse (nunca para) */
.marquee { pointer-events: none; -webkit-user-select: none; user-select: none; }
.track { display: flex; gap: 1rem; margin: 0; padding: 0 1rem 0 0; flex-shrink: 0; animation: slide var(--dur, 60s) linear infinite; }
.marquee.rev .track { animation-direction: reverse; }
.track li { list-style: none; width: 150px; height: 104px; border-radius: 16px; background: #F4F6F9; display: flex; align-items: center; justify-content: center; padding: 12px 20px; flex-shrink: 0; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.track li.txt span { color: #1E2A3A; font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center; letter-spacing: -.01em; }
.track img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; mix-blend-mode: multiply; }
@keyframes slide { to { transform: translateX(-100%); } }

/* Contato */
.contact-box { position: relative; border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); overflow: hidden; border: 1px solid rgba(242,193,78,.25); background: radial-gradient(80% 120% at 100% 0%, rgba(242,193,78,.16), transparent 55%), radial-gradient(70% 100% at 0% 100%, rgba(58,168,255,.14), transparent 55%), var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-box h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.contact-box .lead { color: var(--text-2); font-size: 1.05rem; margin: 1.2rem 0 2rem; max-width: 30em; }
.contact-box .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.info { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.4rem 2rem; }
.info small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.info a, .info span { color: #fff; text-decoration: none; font-size: .95rem; overflow-wrap: break-word; }
.info a:hover { color: var(--gold); }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--panel-line); min-height: 320px; background: #111; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }

/* Rodapé */
footer { border-top: 1px solid var(--panel-line); color: var(--muted); font-size: .86rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: 2.2rem var(--pad); }
.foot img { height: 40px; width: auto; filter: brightness(1.2); }
.foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* Entrada das seções */
@media (prefers-reduced-motion: no-preference) {
  /* começa em 1% (invisível a olho) para o navegador já contar o conteúdo como desenhado */
  .js .reveal { opacity: .01; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.on { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; flex-wrap: wrap; }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee .track[aria-hidden] { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .icms-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .progress-rail { display: none; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .stage::after { background: linear-gradient(0deg, rgba(4,6,12,.96) 0%, rgba(4,6,12,.75) 42%, transparent 70%); }
  /* texto encostado logo acima da barra de baixo, sem vão depois dele */
  .panel { top: auto; bottom: calc(66px + 14px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .panel p { margin: 1rem 0 1.4rem; }
  .panel .inner > :last-child { margin-bottom: 0; }
  .panel .actions .btn { flex: 1 1 100%; }
  .chips { display: none; }
  .scroll-hint { display: none; }
  .stats { gap: 1.2rem; flex-wrap: nowrap; margin-top: 1.4rem; }
  .stats b { font-size: 1.3rem; }
  .stats span { font-size: .75rem; line-height: 1.35; display: block; margin-top: .3rem; }
  .facts { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .track li { width: 124px; height: 88px; }
  .head .logo img { height: 42px; }
}

/* ==========================================================================
   Páginas internas (Laudos, Inventário, Consultoria)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 clamp(5rem, 10vw, 8rem); min-height: 78vh; display: flex; align-items: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 80% 20%, rgba(58,168,255,.16), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(242,193,78,.12), transparent 60%); pointer-events: none; }
/* Chão quadriculado em perspectiva, andando para frente */
.floor { position: absolute; left: -60%; right: -60%; bottom: 0; height: 120%; transform: perspective(800px) rotateX(56deg); transform-origin: 50% 100%; pointer-events: none;
  background-image: linear-gradient(rgba(242,193,78,.55) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(58,168,255,.5) 1.5px, transparent 1.5px); background-size: 64px 64px;
  -webkit-mask: linear-gradient(transparent 5%, rgba(0,0,0,.9) 55%, #000); mask: linear-gradient(transparent 5%, rgba(0,0,0,.9) 55%, #000); opacity: 1; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .floor { animation: floor 3s linear infinite; } }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); letter-spacing: -.035em; max-width: 15ch; }
.page-hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 36em; margin: 1.5rem 0 2.2rem; }
.page-hero .actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Cartões de recurso com ícone */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.glow { --mx: 50%; --my: 0%; position: relative; border-radius: 20px; padding: 1.6rem 1.5rem 1.7rem; background: var(--panel); border: 1px solid var(--panel-line); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease); }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(242,193,78,.13), transparent 45%); }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,223,138,.8), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow:hover::before, .glow:hover::after { opacity: 1; }
.glow:hover { transform: translateY(-3px); }
.ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--gold); background: linear-gradient(145deg, rgba(242,193,78,.18), rgba(242,193,78,.03)); border: 1px solid rgba(242,193,78,.3); box-shadow: 0 0 30px -8px rgba(242,193,78,.5); }
.ic.blue { color: var(--blue); background: linear-gradient(145deg, rgba(58,168,255,.18), rgba(58,168,255,.03)); border-color: rgba(58,168,255,.3); box-shadow: 0 0 30px -8px rgba(58,168,255,.5); }
.ic svg { width: 26px; height: 26px; }
.glow h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: .6rem; }
.glow p { color: var(--text-2); font-size: .93rem; margin: 0; }

/* Lista "o que o laudo contém" */
.contents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--panel-line); border: 1px solid var(--panel-line); border-radius: 20px; overflow: hidden; counter-reset: c; }
.contents li { counter-increment: c; background: var(--bg); padding: 1.3rem 1.3rem 1.4rem; display: flex; gap: .9rem; transition: background .3s; }
.contents li:hover { background: var(--bg-2); }
.contents li::before { content: counter(c, decimal-leading-zero); font: 600 .78rem/1.6 var(--display); color: var(--gold); flex-shrink: 0; }
.contents b { display: block; font-weight: 600; font-size: .95rem; }
.contents span { font-size: .86rem; color: var(--text-2); }

/* Bloco dividido: texto + aparelho */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split .text p { color: var(--text-2); }
.checks { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .9rem; }
/* bloco só com texto (sem celular ao lado): ocupa a largura toda, lista em duas colunas */
.split.solo { grid-template-columns: 1fr; }
.split.solo .checks { grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
@media (max-width: 700px) { .split.solo .checks { grid-template-columns: 1fr; } }
.checks li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(242,193,78,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C14E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid rgba(242,193,78,.35); }
.checks li span { color: var(--text-2); display: block; font-size: .92rem; }

/* Celular (moldura) */
.phone { position: relative; justify-self: center; width: min(100%, 320px); aspect-ratio: 9 / 19; border-radius: 14% / 6.6%; padding: 0; background: linear-gradient(160deg, #2A3242, #0D121C 40%, #1A2130); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(242,193,78,.35); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
/* cantos e moldura proporcionais à largura: o celular parece de verdade em qualquer tamanho */
.phone .scr { position: absolute; inset: 1.6% 3.4%; border-radius: 11.5% / 5.4%; overflow: hidden; background: #0B111C; color: #E8EEF6; font-size: 12px; line-height: 1.4; }
.phone-wrap { position: relative; display: grid; place-items: center; isolation: isolate; }
.phone-wrap::before { content: ""; position: absolute; width: 120%; max-width: 560px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(58,168,255,.18), transparent 70%); z-index: -1; }
.phone-wrap .orbit { position: absolute; width: min(112%, 520px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(242,193,78,.25); z-index: -1; }
@media (prefers-reduced-motion: no-preference) { .phone-wrap .orbit { animation: spin 40s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.tag-soon { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: linear-gradient(90deg, rgba(58,168,255,.2), rgba(242,193,78,.2)); border: 1px solid rgba(255,255,255,.18); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.tag-soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
@media (prefers-reduced-motion: no-preference) { .tag-soon i { animation: blink 1.6s ease-in-out infinite; } }
@keyframes blink { 50% { opacity: .25; } }

/* Tela do e-FISCOE */
.ef-top { padding: 54px 16px 18px; background: linear-gradient(180deg, #0A3349, #072536); }
.ef-top small { color: #FFD60A; font-size: 10px; letter-spacing: .08em; }
.ef-top b { display: block; font-size: 15px; margin-top: 4px; }
.ef-top .pill { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 99px; background: rgba(76,199,150,.18); color: #7BE0B6; font-size: 10px; font-weight: 600; }
.ef-body { padding: 12px; display: grid; gap: 8px; }
.ef-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); font-size: 12px; }
.ef-row i { width: 22px; height: 22px; border-radius: 7px; background: #13A26B; display: grid; place-items: center; flex-shrink: 0; }
.ef-row i svg { width: 12px; height: 12px; color: #fff; }
.ef-row small { margin-left: auto; color: #8FA3B5; font-size: 10.5px; }
.ef-row.hl { background: rgba(255,214,10,.1); border-color: rgba(255,214,10,.4); }
.ef-row.hl i { background: #FFD60A; }
.ef-row.hl i svg { color: #072536; }
.ef-btn { margin-top: 4px; padding: 13px; border-radius: 14px; text-align: center; font-weight: 700; font-size: 12.5px; background: #FFD60A; color: #072536; }

/* Tela do app de inventário: leitura da plaqueta (animação em ciclo) */
.inv-top { padding: 52px 16px 10px; }
.inv-top small { color: #8FA3B5; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.inv-top b { display: block; font-size: 14px; margin: 2px 0 10px; }
.inv-prog { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.inv-prog i { display: block; height: 100%; width: 81%; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.inv-count { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: #8FA3B5; }
.viewfinder { position: relative; margin: 10px 14px; height: 50%; border-radius: 20px; overflow: hidden; background: radial-gradient(80% 60% at 50% 40%, #1d2737, #0a0f18); }
.viewfinder .scene { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4)), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 40px); }
.machine { position: absolute; left: 14%; right: 14%; top: 22%; bottom: 14%; border-radius: 10px; background: linear-gradient(160deg, #3b4658, #222a38); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.machine::before { content: ""; position: absolute; left: 10%; top: 12%; width: 45%; height: 40%; border-radius: 6px; background: linear-gradient(160deg, #10161f, #1b2433); box-shadow: inset 0 0 0 1px rgba(58,168,255,.25); }
.plate { position: absolute; right: 10%; bottom: 16%; width: 46%; padding: 5px 6px 4px; border-radius: 4px; background: linear-gradient(180deg, #E9EEF3, #C8D1DA); color: #1a1a1a; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.plate .bars { height: 18px; background: repeating-linear-gradient(90deg, #111 0 1.5px, transparent 1.5px 3px, #111 3px 5px, transparent 5px 6px, #111 6px 6.8px, transparent 6.8px 8.5px); }
.plate span { display: block; font: 700 8px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .08em; margin-top: 2px; }
.reticle { position: absolute; inset: 16% 10%; border: 2px solid var(--gold); border-radius: 14px;
  -webkit-mask: linear-gradient(#000 0 0) top left / 24px 24px no-repeat, linear-gradient(#000 0 0) top right / 24px 24px no-repeat, linear-gradient(#000 0 0) bottom left / 24px 24px no-repeat, linear-gradient(#000 0 0) bottom right / 24px 24px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 24px 24px no-repeat, linear-gradient(#000 0 0) top right / 24px 24px no-repeat, linear-gradient(#000 0 0) bottom left / 24px 24px no-repeat, linear-gradient(#000 0 0) bottom right / 24px 24px no-repeat; }
.laser { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 14px 2px rgba(242,193,78,.7); }
.vf-hint { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 10.5px; color: #C9D3DE; }
.sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px; border-radius: 20px; background: rgba(20,27,40,.97); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 -10px 30px rgba(0,0,0,.5); }
.sheet .ok { display: flex; align-items: center; gap: 6px; color: #7BE0B6; font-size: 10.5px; font-weight: 600; margin-bottom: 8px; }
.sheet .ok svg { width: 13px; height: 13px; }
.sheet .item { display: flex; gap: 10px; align-items: center; }
.sheet .thumb { width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(160deg, #3b4658, #222a38); flex-shrink: 0; position: relative; }
.sheet .thumb::after { content: ""; position: absolute; inset: 10px 14px 12px 10px; border-radius: 4px; background: #10161f; box-shadow: inset 0 0 0 1px rgba(58,168,255,.3); }
.sheet b { display: block; font-size: 12.5px; }
.sheet small { color: #8FA3B5; font-size: 10.5px; }
.sheet .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0; }
.sheet .meta div { padding: 6px 8px; border-radius: 9px; background: rgba(255,255,255,.05); font-size: 10.5px; }
.sheet .meta div small { display: block; font-size: 9px; }
.sheet .go { padding: 10px; border-radius: 12px; text-align: center; font-weight: 700; font-size: 12px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1A1200; }
@media (prefers-reduced-motion: no-preference) {
  .laser { animation: laser 6s var(--ease) infinite; }
  .sheet { animation: sheet 6s var(--ease) infinite; }
  .reticle { animation: reticle 6s ease infinite; }
}
@keyframes laser { 0% { top: 18%; opacity: 1; } 22% { top: 82%; } 42% { top: 30%; opacity: 1; } 48%, 100% { opacity: 0; top: 50%; } }
@keyframes sheet { 0%, 46% { transform: translateY(120%); } 56%, 92% { transform: none; } 100% { transform: translateY(120%); } }
@keyframes reticle { 0%, 44% { border-color: var(--gold); } 50%, 94% { border-color: #4CC796; } 100% { border-color: var(--gold); } }

/* Chamada final */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(2.2rem, 5vw, 4rem); text-align: center; border: 1px solid rgba(242,193,78,.25); background: radial-gradient(70% 120% at 50% 0%, rgba(242,193,78,.18), transparent 60%), var(--bg-2); }
.cta-band h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: var(--text-2); margin: 1rem auto 2rem; max-width: 36em; }
.cta-band .actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.card .more { padding-top: .4rem; }

@media (max-width: 980px) {
  .features, .features.cols-3 { grid-template-columns: 1fr 1fr; }
  .contents { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .phone-wrap { order: -1; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 0; padding-top: calc(120px + env(safe-area-inset-top, 0px)); }
  .page-hero .actions .btn, .cta-band .actions .btn { flex: 1 1 100%; }
  .features, .features.cols-3, .contents { grid-template-columns: 1fr; }
  .phone { width: min(84%, 300px); }
}

/* ==========================================================================
   Página dos apps
   ========================================================================== */
.head nav a[aria-current="page"] { color: #fff; }
.app-switch em { margin-left: auto; font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 999px; color: #9CCBFF; background: rgba(58,168,255,.14); white-space: nowrap; }

/* Selo de situação do app */
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9CCBFF; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.status.live { color: #7BE0B6; }
.status.live i { background: #4CC796; box-shadow: 0 0 10px #4CC796; }
@media (prefers-reduced-motion: no-preference) { .status i { animation: blink 1.6s ease-in-out infinite; } }

/* Abertura da página dos apps: dois cartões grandes */
.apps-hero h1 { max-width: none; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 900px; }
.app-tile { display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem 1.4rem; text-decoration: none; background: rgba(10, 14, 24, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.app-tile img { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); }
.app-tile b { display: block; font: 600 1.2rem/1.2 var(--display); margin: .35rem 0 .25rem; }
.app-tile p { font-size: .88rem; }
.app-tile .arrow { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--panel-line); color: var(--gold); transition: transform .3s var(--ease), border-color .3s; }
.app-tile:hover .arrow { transform: translateY(3px); border-color: var(--gold); }

/* Seção de cada app */
.app-sec.alt { background: radial-gradient(60% 50% at 80% 0%, rgba(58,168,255,.1), transparent 70%), var(--bg-2); }
.app-id { display: flex; align-items: center; gap: 1rem; }
.app-id img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); }
.app-id b { display: block; font: 600 1.3rem/1.2 var(--display); margin-bottom: .3rem; }

/* Como funciona: 4 passos ligados por uma linha */
.how { margin-top: clamp(4rem, 8vw, 6rem); }
.how-title { font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: 2.4rem; }
.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.flow::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 27px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--accent, var(--blue)), transparent); opacity: .5; }
.flow li { position: relative; padding: 0 .4rem 0 0; }
.flow .n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 1.15rem/1 var(--display); color: #120C00; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(242,193,78,.55); margin-bottom: 1.3rem; }
.app-sec.alt .flow .n { box-shadow: 0 0 0 6px var(--bg-2), 0 0 30px rgba(242,193,78,.55); }
.flow b { display: block; font: 500 1.05rem/1.3 var(--display); margin-bottom: .45rem; }
.flow p { margin: 0; color: var(--text-2); font-size: .93rem; }

/* Bloco de download no fim da explicação */
.dl { margin-top: clamp(3.5rem, 7vw, 5rem); display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 1.6rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: 28px; border: 1px solid rgba(242,193,78,.3); background: radial-gradient(60% 140% at 0% 0%, rgba(242,193,78,.16), transparent 60%), radial-gradient(60% 140% at 100% 100%, rgba(58,168,255,.12), transparent 60%), rgba(255,255,255,.02); }
.dl.soon { border-color: rgba(58,168,255,.3); background: radial-gradient(60% 140% at 0% 0%, rgba(58,168,255,.16), transparent 60%), rgba(255,255,255,.02); }
.dl-icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); }
.dl-text b { display: block; font: 600 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--display); margin-bottom: .4rem; }
.dl-text p { margin: 0; color: var(--text-2); max-width: 42em; }
.dl-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-dl { min-height: 64px; padding: .8rem 1.5rem .8rem 1.2rem; border-radius: 18px; gap: .8rem; text-align: left; }
.btn-dl svg { width: 26px; height: 26px; }
.btn-dl span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-dl small { font-size: .74rem; font-weight: 500; opacity: .75; margin-top: .2rem; }
.btn-dl.is-off { cursor: not-allowed; border: 1px dashed rgba(255,255,255,.25); color: var(--muted); background: rgba(255,255,255,.02); }
.dl-help { grid-column: 1 / -1; border-top: 1px solid var(--panel-line); padding-top: 1rem; color: var(--text-2); font-size: .92rem; }
.dl-help summary { cursor: pointer; color: var(--text); font-weight: 500; list-style: none; display: flex; align-items: center; gap: .5rem; }
.dl-help summary::-webkit-details-marker { display: none; }
.dl-help summary::before { content: "+"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--panel-line); color: var(--gold); transition: transform .25s var(--ease); }
.dl-help[open] summary::before { transform: rotate(45deg); }
.dl-help div { padding-top: .8rem; }
.dl-help p { margin: 0 0 .5rem; }
.dl-help b { color: var(--text); }

@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .flow::before { display: none; }
}
@media (max-width: 640px) {
  .app-tiles { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 1.6rem; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; }
  .flow .n { grid-row: span 2; margin: 0; }
  .dl { grid-template-columns: 1fr; text-align: left; }
  .dl-icon { width: 64px; height: 64px; border-radius: 16px; }
  .btn-dl { flex: 1 1 100%; justify-content: flex-start; }
}

/* ==========================================================================
   Base dos temas por página: fundo fixo decorativo + ilustração do topo
   (cada página desenha os seus em assets/theme-*.css)
   ========================================================================== */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx i { position: absolute; display: block; }
.hero-deco { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); width: min(40%, 520px); pointer-events: none; z-index: 0; }
/* Telas largas: o desenho ocupa toda a metade direita, até a borda da tela */
@media (min-width: 981px) {
  .hero-deco { right: calc(-1 * max(0px, (100vw - var(--wrap)) / 2)); width: calc(44% + max(0px, (100vw - var(--wrap)) / 2)); max-width: 820px; }
  .page-hero:has(.hero-deco) { min-height: 88vh; }
}
/* Texto do topo fica na metade esquerda: a ilustração nunca passa por cima do título */
@media (min-width: 981px) {
  .page-hero .wrap:has(.hero-deco) > :not(.hero-deco) { max-width: 54%; }
  .page-hero .wrap:has(.hero-deco) h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
}
.hero-deco svg { display: block; width: 100%; height: auto; overflow: visible; }
.page-hero .wrap > :not(.hero-deco) { position: relative; z-index: 1; }
@media (max-width: 980px) {
  .hero-deco { position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: 520px; margin: 2.8rem auto 0; }
  /* Celular: título da página → desenho → texto curto e botões */
  .page-hero .wrap:has(.hero-deco) { display: flex; flex-direction: column; align-items: stretch; }
  .page-hero .wrap:has(.hero-deco) > * { order: 2; }
  .page-hero .wrap:has(.hero-deco) > h1 { order: 0; }
  .page-hero .wrap:has(.hero-deco) > .hero-deco { order: 1; margin: 1.8rem auto .4rem; }
  .page-hero .wrap:has(.hero-deco) > .back-all { align-self: flex-start; }
}

/* Cabeçalho idêntico em todas as páginas (não herda nada do tema da página) */
.site-head { font-family: "Sora", system-ui, sans-serif; }
.head nav a { font: 400 .88rem/1.2 "Sora", system-ui, sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.head nav a[aria-current="page"] { color: #fff; font-weight: 400; }
.site-head .btn { font: 600 .85rem/1.1 "Sora", system-ui, sans-serif; letter-spacing: 0; border-radius: 999px; }

/* Menos "cara de IA": sem degradê no texto, botões sóbrios, cartões sem brilho seguindo o mouse */
.grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--gold); -webkit-text-fill-color: currentColor; }
.btn { border-radius: 10px; }
.btn-gold { background: var(--gold); color: #17110A; box-shadow: none; }
.btn-gold:hover { background: #F6CD6A; box-shadow: none; transform: none; }
.btn-ghost { backdrop-filter: none; }
.card::before, .card::after, .glow::before, .glow::after { display: none; }
.card:hover, .glow:hover { transform: none; border-color: rgba(255,255,255,.2); }
.card .media::after { background: linear-gradient(180deg, transparent 55%, rgba(8,13,24,1) 100%); }
.ic { box-shadow: none; }
.tag-soon i, .status i { box-shadow: none; animation: none; }
.contact-box { background: var(--bg-2); border-color: var(--panel-line); }
.cta-band { background: var(--bg-2); border-color: var(--panel-line); }
.dl { background: var(--bg-2); border-color: var(--panel-line); }
.portrait::before, .portrait .halo { display: none; }
.flow .n, .app-sec.alt .flow .n { box-shadow: 0 0 0 6px var(--bg); }
.timeline li.lit::before { box-shadow: none; }
.timeline .fill { box-shadow: none; }

/* Seção "Sobre" da página inicial: cabe numa tela só */
/* Ao clicar em "Sobre" a tela mostra só esta seção: ela ocupa a altura toda abaixo do menu */
#sobre { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; align-items: center; padding: 2rem 0; }
#sobre > .wrap { width: 100%; }
.about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.about .portrait { max-width: 460px; }
/* Foto grande, mas sempre cabendo na tela junto com a frase de baixo */
.about .portrait .frame { aspect-ratio: 4 / 5; max-height: calc(100svh - 300px); min-height: 380px; }
.about .portrait .frame img { height: 100%; }
.about-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.about .text p.big { font-size: clamp(1rem, 1.35vw, 1.1rem); line-height: 1.6; color: var(--text-2); margin-bottom: 1.6rem; }
.pillars { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pillars li { color: var(--text-2); font-size: .9rem; line-height: 1.5; }
.pillars .ic { width: 40px; height: 40px; border-radius: 11px; margin: 0 0 .8rem; }
.pillars .ic svg { width: 20px; height: 20px; }
.pillars b { display: block; color: var(--text); font-weight: 600; margin-bottom: .25rem; }
/* Frase do Christian embaixo da foto, como citação dele */
.about .promise { position: relative; margin: 1.2rem 0 0; padding: 0 0 0 2.1rem; }
.about .promise::before { content: "“"; position: absolute; left: 0; top: -.35rem; font: 700 3rem/1 Georgia, "Times New Roman", serif; color: var(--gold); }
.about .promise p { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.6; font-style: italic; }
.about .promise p::after { content: "”"; color: var(--gold); }
.about .promise cite { display: block; margin-top: .55rem; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--gold-2); }
.about .promise cite::before { content: "— "; }
.about .pillars { margin-bottom: 0; }
@media (max-width: 980px) { .about { grid-template-columns: 1fr; } .about .portrait { max-width: 420px; } .about .portrait .frame { max-height: none; } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* Rodapé enxuto e informativo (igual em todas as páginas) */
.site-foot { position: relative; border-top: 1px solid var(--panel-line); background: rgba(4,6,12,.85); color: var(--text-2); font-size: .86rem; line-height: 1.55; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem 2.5rem; padding-top: 2rem; padding-bottom: 1.6rem; }
.foot-brand img { height: 30px; width: auto; filter: brightness(1.2); margin-bottom: .7rem; }
.foot-brand p { margin: 0; max-width: 30em; }
.foot-info { display: flex; flex-direction: column; gap: .35rem; }
.foot-info b { color: var(--text); font-weight: 600; font-size: .82rem; margin-bottom: .15rem; }
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: .9rem; padding-bottom: 1.1rem; border-top: 1px solid var(--panel-line); font-size: .78rem; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 1.4rem; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } .foot-bottom { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); } }

/* Página de política de privacidade do site */
.legal-page { padding: calc(130px + env(safe-area-inset-top, 0px)) 0 4rem; }
.legal-wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.legal-meta { color: var(--muted); font-size: .85rem; margin: .8rem 0 2rem; }
.legal-page .legal { font-size: .97rem; color: var(--text-2); line-height: 1.7; }
.legal-page .legal h2 { font-size: 1.2rem; color: var(--text); margin: 2rem 0 .6rem; }
.legal-page .legal h3 { font-size: 1rem; color: var(--text); margin: 1.4rem 0 .5rem; font-family: var(--body); letter-spacing: 0; }
.legal-page .legal a { color: var(--gold); }
.legal-page .legal b { color: var(--text); }
.legal-page .legal ul { padding-left: 1.2rem; }
.legal-page .legal li { margin-bottom: .4rem; }
.legal-note { padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--panel-line); background: rgba(8,13,24,.6); }

/* Seção de contato da página inicial */
.contact2 { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact2 h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.contact2 .lead { color: var(--text-2); font-size: 1.05rem; margin: 1rem 0 1.8rem; max-width: 30em; }
.channels { display: grid; gap: .8rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--panel-line); background: rgba(8,13,24,.7); color: var(--text); text-decoration: none; transition: border-color .2s, background .2s; }
.channel:hover { border-color: rgba(242,193,78,.5); background: rgba(242,193,78,.05); }
.ch-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255,255,255,.06); color: var(--text); }
.ch-ic svg { width: 24px; height: 24px; }
.channel.wa .ch-ic { background: #25D366; color: #fff; }
.ch-txt { display: flex; flex-direction: column; min-width: 0; }
.ch-txt small { color: var(--muted); font-size: .78rem; }
.ch-txt b { font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem); white-space: nowrap; }
/* Celular: o e-mail cabe numa linha só */
@media (max-width: 600px) {
  .channel { gap: .75rem; padding: 1rem; }
  .ch-ic { width: 42px; height: 42px; }
  .channel.mail b { font-size: min(1rem, 3.4vw); }
}
.ch-go { margin-left: auto; color: var(--gold); font-size: 1.2rem; transition: transform .2s; }
.channel:hover .ch-go { transform: translateX(3px); }
.prep { margin-top: 1.6rem; color: var(--text-2); font-size: .92rem; }
.prep b { display: block; color: var(--text); font-weight: 500; margin-bottom: .6rem; }
.prep ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.prep li { padding: .4rem .8rem; border-radius: 8px; border: 1px solid var(--panel-line); background: rgba(255,255,255,.03); }
.map2 { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--panel-line); background: #111; }
.map2 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }
.map-card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(6,10,20,.94); border: 1px solid var(--panel-line); }
.map-card div { display: flex; flex-direction: column; font-size: .86rem; color: var(--text-2); line-height: 1.5; }
.map-card b { color: var(--text); font-weight: 600; font-size: .95rem; }
.map-card .btn { min-height: 42px; padding: .5rem 1rem; font-size: .85rem; flex-shrink: 0; }
@media (max-width: 900px) { .contact2 { grid-template-columns: 1fr; } .map2 { min-height: 380px; } }
@media (max-width: 520px) { .map-card { flex-direction: column; align-items: stretch; } }

/* Topo das páginas internas sem "risco": o brilho some aos poucos e não há faixa escura no pé */
.page-hero { overflow: visible; }
.page-hero::after { display: none; }
.page-hero::before { -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.page-hero .floor { display: none; }

/* Botão de tema no cabeçalho */
.theme-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--panel-line); background: rgba(255,255,255,.04); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: border-color .2s, color .2s; }
.theme-btn:hover { border-color: var(--gold); color: var(--gold); }
.theme-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
@media (max-width: 960px) { .theme-btn { margin-left: auto; } }

/* Sem o cursor de texto ("I") sobre os textos: seta normal; mãozinha nos links e botões */
html { cursor: default; }
a, button, summary, label, [role="button"] { cursor: pointer; }

/* Nada passa da largura da tela (o clip não quebra o "sticky" da abertura) */
main { overflow-x: clip; }
@media (max-width: 960px) { .head { gap: .6rem; } }

/* Barra de navegação fixa no rodapé (só no celular) */
.tabbar { display: none; }
@media (max-width: 960px) {
  .tabbar { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: #070A12; border-top: 1px solid var(--panel-line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 0 3px; text-decoration: none; color: var(--muted);
    font: 500 10.5px/1.1 "Sora", system-ui, sans-serif; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--gold); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

/* Perguntas frequentes (laudos e inventário) */
.faq-list { max-width: 860px; border-top: 1px solid var(--panel-line); }
.faq-item { border-bottom: 1px solid var(--panel-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--panel-line); color: var(--gold); font-weight: 400; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1.4rem; max-width: 760px; color: var(--text-2); }
:root[data-theme="light"] .faq-item summary::after { color: var(--gold-ink); }

/* Aviso de cookies (só aparece quando o Google Analytics está ligado) */
.cookie-aviso { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: 1rem 1.2rem; border-radius: 18px;
  background: var(--bg-2); border: 1px solid var(--panel-line); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); font-size: .9rem; color: var(--text-2); }
.cookie-aviso p { margin: 0; flex: 1 1 260px; }
.cookie-aviso a { color: var(--text); }
.cookie-aviso div { display: flex; gap: .6rem; }
.cookie-aviso .btn { min-height: 40px; padding: .5rem 1.1rem; font-size: .88rem; }
@media (max-width: 960px) { .cookie-aviso { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); } }
