/* ==========================================================================
   Account Service — «Cinema»
   Sistema visual do site institucional (redesenho de 12/11/2026).

   Ideia: o símbolo da marca — doze barras arredondadas que se entrelaçam
   num círculo cobalto — é o motivo vivo do site. Monta-se na abertura,
   reage ao ponteiro, desfaz-se com o scroll e volta a montar-se no fecho.
   As páginas alternam cenas escuras (tinta) e claras (papel), como cortes
   de montagem, com tipografia editorial em grande escala.

   Regras da casa:
   - Só uma folha de estilos para todo o site (header.php carrega-a).
   - Nada fica escondido sem JavaScript: as classes .js / .acs-ready são
     postas pelo próprio site, e há uma rede de segurança se o script falhar.
   - Movimento reduzido: sem transformações, sem cortina, sem cursor.
   ========================================================================== */

/* ------------------------------------------------------------- 1. Tokens */
:root {
    --ink: #050a1f;
    --ink-2: #0a1230;
    --ink-3: #131d4a;
    --navy: #021570;
    --cobalt: #0429e0;
    --cobalt-2: #2b4dff;
    --sky: #8aa8ff;
    --ice: #dfe7ff;
    --paper: #f4f6fb;
    --paper-2: #e8edf7;
    --white: #ffffff;

    --text: #0b1233;
    --text-2: #474f70;
    --text-3: #7a819c;
    --on-dark: #eef2ff;
    --on-dark-2: #aab4d8;
    --on-dark-3: #6f7aa3;
    --line-l: rgba(11, 18, 51, .12);
    --line-d: rgba(223, 231, 255, .13);

    --ok: #17915f;
    --err: #d23f3f;

    --f-display: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fw-display: 600;
    --f-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --f-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
    --ease-back: cubic-bezier(.34, 1.4, .64, 1);

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

    --hdr-h: 84px;
    --gut: clamp(20px, 4vw, 56px);
    --wrap: 1320px;

    --shadow-l: 0 30px 80px -30px rgba(5, 10, 31, .35);
    --shadow-d: 0 40px 100px -40px rgba(0, 0, 0, .8);

    color-scheme: light;
}

/* ------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--hdr-h) + 20px);
}

body {
    margin: 0;
    font-family: var(--f-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
::selection { background: var(--cobalt); color: #fff; }

:focus-visible {
    outline: 2px solid var(--cobalt-2);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed;
    top: 12px; left: 12px;
    z-index: 10001;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--cobalt);
    color: #fff;
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.acs-wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gut) * 2);
    margin-inline: auto;
    padding-inline: var(--gut);
}

.acs-main { display: block; }

/* ---------------------------------------------------------- 3. Cenas */
.scene {
    position: relative;
    padding-block: clamp(96px, 11vw, 170px);
    isolation: isolate;
}
.scene--tight { padding-block: clamp(70px, 8vw, 120px); }
.scene--light { background: var(--white); color: var(--text); }
.scene--paper { background: var(--paper); color: var(--text); }
.scene--dark {
    background: var(--ink);
    color: var(--on-dark);
}
.scene--deep { background: var(--ink-2); color: var(--on-dark); }

/* Grão de película nas cenas escuras: estático, para não pesar. */
.scene--dark::before,
.scene--deep::before,
.phero::before,
.hero::before,
.ftr::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .07;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}

/* ------------------------------------------------------- 4. Tipografia */
/* Títulos em Plus Jakarta Sans seminegrito; o destaque (<em>) é só cor. */
.display,
.t-hero, .t-xl, .t-l, .t-m {
    font-family: var(--f-display);
    font-weight: var(--fw-display);
    letter-spacing: -.035em;
    line-height: 1.04;
    text-wrap: balance;
}
.t-hero { font-size: clamp(2.6rem, 5.4vw, 6.1rem); line-height: 1; letter-spacing: -.045em; }
.t-xl { font-size: clamp(2.15rem, 3.9vw, 4.1rem); }
.t-l { font-size: clamp(1.8rem, 2.8vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; }
.t-m { font-size: clamp(1.35rem, 1.7vw, 1.7rem); line-height: 1.18; letter-spacing: -.02em; }

.display strong, .t-hero strong, .t-xl strong, .t-l strong, .t-m strong { font-weight: inherit; }
.display em, .t-hero em, .t-xl em, .t-l em, .t-m em,
.accent { font-style: normal; color: var(--cobalt); }

/* Os títulos pequenos usam a mesma letra, em seminegrito e com espaço justo. */
.prose h2, .prose h3, .prose h4, .curtain__word, .mega__title, .mega__preview figcaption,
.mnav__list > li > a, .mnav__list > li > button, .stat__value, .svc-card__title,
.points h3, .points h4, .card__title, .step__title, .other__title, .svc-row__title,
.panel__title, .formcard__title, .news-card__title, .ftr__news h2, .dialog__title {
    font-weight: var(--fw-display);
    letter-spacing: -.025em;
}
.scene--dark .t-hero em, .scene--dark .t-xl em, .scene--dark .t-l em, .scene--dark .t-m em,
.scene--deep .t-xl em, .scene--deep .t-l em,
.phero em, .hero em, .ftr em,
.scene--dark .accent, .phero .accent, .hero .accent { color: var(--sky); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cobalt);
}
.eyebrow::before {
    content: '';
    width: 26px; height: 5px;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 auto;
}
.scene--dark .eyebrow, .scene--deep .eyebrow, .phero .eyebrow, .hero .eyebrow, .ftr .eyebrow,
.mega .eyebrow, .mnav .eyebrow { color: var(--sky); }

.lead {
    font-size: clamp(1.06rem, 1.25vw, 1.24rem);
    line-height: 1.7;
    color: var(--text-2);
    max-width: 62ch;
}
.scene--dark .lead, .scene--deep .lead, .phero .lead, .hero .lead { color: var(--on-dark-2); }

.mono { font-family: var(--f-mono); letter-spacing: .04em; }

/* Texto rico vindo do backoffice */
.prose { color: var(--text-2); font-size: 1.05rem; line-height: 1.8; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.1em; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.prose ul li::before {
    content: '';
    position: absolute;
    left: 0; top: .72em;
    width: 14px; height: 4px;
    border-radius: 999px;
    background: var(--cobalt);
}
.prose ol { counter-reset: p; }
.prose ol li::before {
    counter-increment: p;
    content: counter(p, decimal-leading-zero);
    position: absolute; left: 0; top: .1em;
    font-family: var(--f-mono); font-size: .78em; color: var(--cobalt);
}
.prose h2, .prose h3, .prose h4 {
    font-family: var(--f-display);
    color: var(--text);
    line-height: 1.1;
    margin: 1.6em 0 .55em;
}
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; }
.prose img { border-radius: var(--r-m); margin: 1.4em 0; }
.prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--cobalt);
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.015em;
    color: var(--text);
}
.scene--dark .prose, .scene--deep .prose, .phero .prose { color: var(--on-dark-2); }
.scene--dark .prose strong, .scene--deep .prose strong { color: var(--on-dark); }

/* ---------------------------------------------------------- 5. Botões */
.btn-acs {
    --bg: var(--cobalt);
    --fg: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 12px 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--f-sans);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .35s;
    box-shadow: 0 18px 40px -16px rgba(4, 41, 224, .65);
    will-change: transform;
}
.btn-acs::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .28), transparent 70%);
    opacity: 0;
    transition: opacity .35s;
}
.btn-acs:hover::before { opacity: 1; }
.btn-acs:hover { box-shadow: 0 24px 56px -18px rgba(4, 41, 224, .85); }
.btn-acs__arrow {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    flex: 0 0 auto;
    overflow: hidden;
}
.btn-acs__arrow svg { width: 15px; height: 15px; transition: transform .55s var(--ease); }
.btn-acs:hover .btn-acs__arrow svg { animation: acsArrow .65s var(--ease); }
@keyframes acsArrow {
    0% { transform: translateX(0); }
    45% { transform: translateX(160%); }
    46% { transform: translateX(-160%); }
    100% { transform: translateX(0); }
}
.btn-acs--light { --bg: #fff; --fg: var(--ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.btn-acs--light .btn-acs__arrow { background: var(--cobalt); color: #fff; }
.btn-acs--ghost {
    --bg: transparent;
    --fg: currentColor;
    box-shadow: inset 0 0 0 1px var(--line-l);
}
.scene--dark .btn-acs--ghost, .hero .btn-acs--ghost, .phero .btn-acs--ghost { box-shadow: inset 0 0 0 1px rgba(223, 231, 255, .3); color: var(--on-dark); }
.btn-acs--ghost:hover { box-shadow: inset 0 0 0 1px var(--cobalt-2); }
.btn-acs--ghost .btn-acs__arrow { background: var(--paper-2); }
.scene--dark .btn-acs--ghost .btn-acs__arrow, .hero .btn-acs--ghost .btn-acs__arrow { background: rgba(223, 231, 255, .12); }
.btn-acs--sm { min-height: 46px; padding: 0 8px 0 20px; font-size: 14.5px; gap: 10px; }
.btn-acs--sm .btn-acs__arrow { width: 30px; height: 30px; }
.btn-acs--block { width: 100%; }
.btn-acs[disabled] { opacity: .7; cursor: progress; }

.btn-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--cobalt);
    padding-bottom: 4px;
}
.btn-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transform: scaleX(.35);
    transition: transform .6s var(--ease);
}
.btn-link:hover::after { transform-origin: left; transform: scaleX(1); }
.btn-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }
.scene--dark .btn-link, .mega .btn-link, .phero .btn-link { color: var(--sky); }

.spin {
    display: inline-block;
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: acsSpin .7s linear infinite;
    vertical-align: -3px;
}
@keyframes acsSpin { to { transform: rotate(360deg); } }

/* ------------------------------------------------- 6. Revelações (scroll) */
.js:not(.acs-ready) [data-reveal],
.js:not(.acs-ready) [data-reveal^="clip"] > *,
.js:not(.acs-ready) [data-split] .sw > span {
    /* Rede de segurança: se o script não arrancar, mostra tudo aos 2,5 s. */
    animation: acsFailsafe .6s 2.5s forwards;
}
@keyframes acsFailsafe { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 44px, 0);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease), clip-path 1.3s var(--ease-io);
    transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-50px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(50px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.94); }
/* A cortina recorta o FILHO, nunca o elemento observado: com o próprio
   elemento recortado a 100%, o Chrome dá-lhe área visível zero e o
   IntersectionObserver nunca o revelava (as fotografias ficavam invisíveis). */
.js [data-reveal^="clip"] {
    opacity: 1;
    transform: none;
}
.js [data-reveal^="clip"] > * {
    transition: clip-path 1.3s var(--ease-io);
    transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal="clip"] > * { clip-path: inset(100% 0 0 0 round var(--r-l)); }
.js [data-reveal="clip-x"] > * { clip-path: inset(0 100% 0 0 round var(--r-l)); }
.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}
.js [data-reveal^="clip"].is-in > * { clip-path: inset(0 0 0 0 round var(--r-l)); }

/* Texto dividido por palavras (JS): cada palavra sobe de dentro de uma máscara. */
[data-split] .sw {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .1em;
    margin-bottom: -.1em;
}
[data-split] .sw > span {
    display: inline-block;
    will-change: transform;
}
.js [data-split] .sw > span {
    transform: translate3d(0, 110%, 0) rotate(2deg);
    transition: transform 1.15s var(--ease);
    transition-delay: calc(var(--wi, 0) * 42ms + var(--d, 0) * 1ms);
}
.js [data-split].is-in .sw > span { transform: none; }

/* -------------------------------------------------- 7. Símbolo (weave) */
.weave { overflow: visible; }
.weave line {
    fill: none;
    stroke-linecap: round;
    stroke-width: 22;
}
.weave__disc { transition: transform 1.4s var(--ease), opacity 1s; transform-origin: 0 0; transform-box: view-box; }
.weave__q { transition: transform 1.3s var(--ease); }
.weave__q line { transition: transform 1.2s var(--ease), opacity .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--q, 0) * 90ms); }

.weave--solid .weave__disc { fill: var(--cobalt); }
.weave--solid line { stroke: #fff; }

.weave--line .weave__disc { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .45; }
.weave--line line { stroke: currentColor; stroke-width: 18; opacity: .9; }

.weave--glow .weave__disc { fill: url(#acsWeaveDisc); stroke: rgba(138, 168, 255, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.weave--glow line { stroke: url(#acsWeaveBar); }

/* Montagem: as barras chegam de fora, cada quadrante pela sua direção. */
.weave[data-build]:not(.is-built) .weave__q1 line { transform: translate(0, -220px); opacity: 0; }
.weave[data-build]:not(.is-built) .weave__q2 line { transform: translate(220px, 0); opacity: 0; }
.weave[data-build]:not(.is-built) .weave__q3 line { transform: translate(0, 220px); opacity: 0; }
.weave[data-build]:not(.is-built) .weave__q4 line { transform: translate(-220px, 0); opacity: 0; }
.weave[data-build]:not(.is-built) .weave__disc { transform: scale(.6); opacity: 0; }

/* Afastamento comandado pelo scroll (--sp de 0 a 1) e pelo ponteiro (--px, --py). */
.weave--live .weave__q1 { transform: translate(calc(var(--px, 0) * -10px), calc(var(--sp, 0) * -150px + var(--py, 0) * -14px)); }
.weave--live .weave__q2 { transform: translate(calc(var(--sp, 0) * 150px + var(--px, 0) * 14px), calc(var(--py, 0) * -10px)); }
.weave--live .weave__q3 { transform: translate(calc(var(--px, 0) * 10px), calc(var(--sp, 0) * 150px + var(--py, 0) * 14px)); }
.weave--live .weave__q4 { transform: translate(calc(var(--sp, 0) * -150px + var(--px, 0) * -14px), calc(var(--py, 0) * 10px)); }
.weave--live .weave__disc { transform: scale(calc(1 + var(--sp, 0) * .2)); opacity: calc(1 - var(--sp, 0) * .85); }
.weave--live .weave__q, .weave--live .weave__disc { transition-duration: .35s; transition-timing-function: linear; }

/* ------------------------------------------- 8. Cortina (abertura e cortes) */
.curtain {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--on-dark);
    transform: translateY(-101%);
    pointer-events: none;
}
.curtain__inner { display: grid; justify-items: center; gap: 26px; }
.curtain .weave { width: 112px; height: 112px; }
.curtain__word {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -.01em;
    opacity: 0;
    transform: translateY(14px);
}
.curtain__bar {
    width: 160px; height: 2px;
    border-radius: 2px;
    background: rgba(223, 231, 255, .15);
    overflow: hidden;
    opacity: 0;
}
.curtain__bar::after {
    content: '';
    display: block;
    height: 100%;
    background: var(--sky);
    transform-origin: left;
    transform: scaleX(0);
}

/* Abertura: primeira página da sessão. */
.is-intro .curtain { transform: none; animation: acsCurtainUp 1s var(--ease-io) 1.55s forwards; }
.is-intro .curtain__word { animation: acsRise .9s var(--ease) .55s forwards; }
.is-intro .curtain__bar { animation: acsFade .3s .45s forwards; }
.is-intro .curtain__bar::after { animation: acsBar 1.1s var(--ease-io) .45s forwards; }
/* Corte entre páginas: chega coberta e destapa. */
.is-entering .curtain { transform: none; animation: acsCurtainUp .75s var(--ease-io) .08s forwards; }
.is-entering .curtain__inner { opacity: 0; }
/* Ao sair: tapa de baixo para cima. */
.is-leaving .curtain { animation: acsCurtainIn .55s var(--ease-io) forwards; pointer-events: auto; }
.is-leaving .curtain__inner { opacity: 0; }

/* O símbolo monta-se no centro da cortina, uma barra de cada vez. */
.is-intro .curtain .weave line { animation: acsBarIn .85s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + var(--q, 0) * 80ms + 80ms); }
.is-intro .curtain .weave__q1 line { --from: translate(0, -200px); }
.is-intro .curtain .weave__q2 line { --from: translate(200px, 0); }
.is-intro .curtain .weave__q3 line { --from: translate(0, 200px); }
.is-intro .curtain .weave__q4 line { --from: translate(-200px, 0); }
.is-intro .curtain .weave__disc { animation: acsDiscIn .8s var(--ease) both; }
@keyframes acsBarIn { from { transform: var(--from); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes acsDiscIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

@keyframes acsCurtainUp { from { transform: none; } to { transform: translateY(-101%); } }
@keyframes acsCurtainIn { from { transform: translateY(101%); } to { transform: none; } }
@keyframes acsRise { to { opacity: 1; transform: none; } }
@keyframes acsFade { to { opacity: 1; } }
@keyframes acsBar { to { transform: scaleX(1); } }

/* ------------------------------------------------ 9. Barra de progresso */
.progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 7600;
    height: 2px;
    pointer-events: none;
}
.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--cobalt), var(--sky));
    transform-origin: left;
    transform: scaleX(var(--p, 0));
}

/* ---------------------------------------------------------- 10. Cabeçalho */
.hdr {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 7500;
    height: var(--hdr-h);
    color: var(--on-dark);
    transition: transform .6s var(--ease), color .4s, background-color .4s, box-shadow .4s;
}
.hdr::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(5, 10, 31, .72);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--line-d);
    opacity: 0;
    transition: opacity .45s, background-color .4s, border-color .4s;
}
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-light { color: var(--text); }
.hdr.is-light::before { background: rgba(255, 255, 255, .8); border-bottom-color: var(--line-l); }
.hdr.has-open::before { opacity: 1; background: rgba(10, 18, 48, .96); border-bottom-color: var(--line-d); }
.hdr.has-open { color: var(--on-dark); transform: none; }

.hdr__bar {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 100%;
}
.hdr__brand {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: min(var(--logo-w, 220px), 240px);
    transition: width .5s var(--ease);
}
.hdr.is-scrolled .hdr__brand { width: min(var(--logo-w-s, 190px), 210px); }
.hdr__logo { width: 100%; height: auto; transition: opacity .4s; }
.hdr__logo--dark { position: absolute; inset: 0; opacity: 0; }
.hdr.is-light:not(.has-open) .hdr__logo--light { opacity: 0; }
.hdr.is-light:not(.has-open) .hdr__logo--dark { opacity: 1; }

.hdr__nav { margin-left: auto; }
.hdr__nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.hdr__nav > ul > li { position: static; }
.hdr__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 13px;
    border: 0;
    background: none;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: .005em;
    white-space: nowrap;
    opacity: .86;
    transition: opacity .3s;
}
.hdr__link::after {
    content: '';
    position: absolute;
    left: 13px; right: 13px; bottom: 7px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease);
}
.hdr__link:hover, .hdr__link[aria-expanded="true"], .hdr__link[aria-current="page"] { opacity: 1; }
.hdr__link:hover::after, .hdr__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr__link .chev { width: 10px; height: 10px; transition: transform .35s var(--ease); }
.hdr__link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.hdr__tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.hdr__icon {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid currentColor;
    border-color: rgba(127, 140, 190, .35);
    background: none;
    transition: border-color .3s, background-color .3s;
}
.hdr__icon:hover { border-color: currentColor; }
.hdr__icon svg { width: 17px; height: 17px; }
.hdr__icon .lni { font-size: 17px; }

/* Seletor de idioma */
.acs-lang { position: relative; }
.acs-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(127, 140, 190, .35);
    background: none;
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .08em;
    transition: border-color .3s;
}
.acs-lang-current:hover { border-color: currentColor; }
.acs-lang-caret { font-size: 10px; transition: transform .3s var(--ease); }
.acs-lang.is-open .acs-lang-caret { transform: rotate(180deg); }
.acs-lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    min-width: 210px;
    padding: 8px;
    list-style: none;
    border-radius: var(--r-m);
    background: var(--ink-2);
    border: 1px solid var(--line-d);
    box-shadow: var(--shadow-d);
    color: var(--on-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.acs-lang.is-open .acs-lang-menu { opacity: 1; visibility: visible; transform: none; }
.acs-lang-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    color: var(--on-dark-2);
    transition: background-color .25s, color .25s;
}
.acs-lang-menu a:hover { background: rgba(223, 231, 255, .07); color: var(--on-dark); }
.acs-lang-menu a.is-active { color: #fff; }
.acs-lang-code {
    min-width: 30px;
    padding: 3px 0;
    border-radius: 6px;
    background: rgba(223, 231, 255, .08);
    font-family: var(--f-mono);
    font-size: 11px;
    text-align: center;
    letter-spacing: .06em;
}
.acs-lang-menu a.is-active .acs-lang-code { background: var(--cobalt); color: #fff; }

.hdr__client {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(127, 140, 190, .35);
    font-size: 14px;
    font-weight: 500;
    transition: border-color .3s;
}
.hdr__client:hover { border-color: currentColor; }
.hdr__client .lni { font-size: 15px; }

.hdr__burger {
    display: none;
    position: relative;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(127, 140, 190, .35);
    background: none;
}
.hdr__burger span {
    position: absolute;
    left: 14px; right: 14px;
    height: 1.6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .5s var(--ease), top .5s var(--ease);
}
.hdr__burger span:nth-child(1) { top: 19px; }
.hdr__burger span:nth-child(2) { top: 27px; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* Mega menus */
.mega {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    color: var(--on-dark);
    background: rgba(10, 18, 48, .97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-d);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .6s var(--ease-io), visibility 0s .6s;
}
.mega.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.mega__inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr) minmax(220px, 1.1fr);
    gap: clamp(28px, 4vw, 64px);
    padding-block: 44px 52px;
}
.mega--sm .mega__inner { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.6fr); }
.mega__title { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.12; margin: 0 0 14px; color: #fff; }
.mega__desc { color: var(--on-dark-2); font-size: 15px; margin-bottom: 22px; }
.mega__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
    align-content: start;
}
.mega__grid a {
    display: grid;
    grid-template-columns: 30px 34px 1fr;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    color: var(--on-dark-2);
    font-size: 15px;
    line-height: 1.3;
    transition: background-color .3s, color .3s;
}
.mega__grid a:hover, .mega__grid a:focus-visible, .mega__grid a.is-active { background: rgba(223, 231, 255, .06); color: #fff; }
.mega__num { font-family: var(--f-mono); font-size: 11px; color: var(--on-dark-3); letter-spacing: .06em; }
.mega__grid .lni {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(43, 77, 255, .16);
    color: var(--sky);
    font-size: 16px;
}
.mega__preview {
    position: relative;
    margin: 0;
    border-radius: var(--r-m);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 340px;
    background: var(--ink-3);
}
.mega__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform 1.2s var(--ease); }
.mega__preview img.is-swapping { opacity: 0; transform: scale(1.06); }
.mega__preview figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 50px 20px 18px;
    background: linear-gradient(to top, rgba(5, 10, 31, .9), transparent);
    font-family: var(--f-display);
    font-size: 1.1rem;
    line-height: 1.2;
    color: #fff;
}

/* Menu móvel (ecrã inteiro) */
.mnav {
    position: fixed;
    inset: 0;
    z-index: 7000;
    background: var(--ink);
    color: var(--on-dark);
    clip-path: circle(0 at calc(100% - 46px) 42px);
    visibility: hidden;
    transition: clip-path .85s var(--ease-io), visibility 0s .85s;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mnav.is-open { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mnav__inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: calc(var(--hdr-h) + 28px) var(--gut) 40px;
}
.mnav__list { list-style: none; counter-reset: m; }
.mnav__list > li { border-bottom: 1px solid var(--line-d); }
.mnav__list > li > a,
.mnav__list > li > button {
    display: flex;
    align-items: baseline;
    gap: 16px;
    width: 100%;
    padding: 14px 0;
    border: 0;
    background: none;
    text-align: left;
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 6.4vw, 2.4rem);
    line-height: 1.12;
    color: var(--on-dark);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
    transition-delay: calc(var(--i, 0) * 45ms + 250ms);
}
.mnav.is-open .mnav__list > li > a,
.mnav.is-open .mnav__list > li > button { opacity: 1; transform: none; }
.mnav__n { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-3); letter-spacing: .08em; min-width: 26px; }
.mnav__list > li > button .chev { margin-left: auto; width: 16px; height: 16px; align-self: center; transition: transform .4s var(--ease); }
.mnav__list > li > button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mnav__sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s var(--ease);
}
.mnav__sub > ul { overflow: hidden; list-style: none; }
.mnav__sub.is-open { grid-template-rows: 1fr; }
.mnav__sub a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 10px 42px;
    color: var(--on-dark-2);
    font-size: 16.5px;
}
.mnav__sub a:last-child { margin-bottom: 14px; }
.mnav__sub .lni { color: var(--sky); }
.mnav__foot { margin-top: auto; display: grid; gap: 18px; }
.mnav__langs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.mnav__langs a {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-d);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--on-dark-2);
}
.mnav__langs a.is-active { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.mnav__contact { display: grid; gap: 4px; color: var(--on-dark-2); font-size: 15px; }

/* Paleta de pesquisa (Ctrl+K) */
.palette { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: start center; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
.palette__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 31, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: acsFade .3s both;
    opacity: 0;
}
.palette__box {
    position: relative;
    width: min(640px, 100%);
    border-radius: var(--r-l);
    background: var(--ink-2);
    color: var(--on-dark);
    border: 1px solid var(--line-d);
    box-shadow: var(--shadow-d);
    overflow: hidden;
    animation: acsPop .45s var(--ease) both;
}
@keyframes acsPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.palette__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line-d); }
.palette__field svg { width: 18px; height: 18px; color: var(--on-dark-3); flex: 0 0 auto; }
.palette__field input {
    flex: 1;
    min-width: 0;
    height: 64px;
    border: 0;
    outline: 0;
    background: none;
    color: var(--on-dark);
    font-size: 17px;
}
.palette__field input::placeholder { color: var(--on-dark-3); }
kbd {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid var(--line-d);
    background: rgba(223, 231, 255, .05);
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--on-dark-2);
}
.palette__list { list-style: none; max-height: min(52vh, 440px); overflow-y: auto; padding: 8px; }
.palette__group { padding: 12px 12px 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.palette__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--on-dark-2);
}
.palette__item a .lni { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(43, 77, 255, .14); color: var(--sky); font-size: 14px; }
.palette__item a mark { background: none; color: #fff; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
.palette__item a .go { margin-left: auto; opacity: 0; font-size: 12px; color: var(--sky); transition: opacity .2s; }
.palette__item.is-active a { background: rgba(223, 231, 255, .07); color: #fff; }
.palette__item.is-active a .go { opacity: 1; }
.palette__empty { padding: 26px; margin: 0; text-align: center; color: var(--on-dark-3); }
.palette__hint { display: flex; gap: 18px; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line-d); font-size: 12px; color: var(--on-dark-3); }
.palette__hint span { display: inline-flex; gap: 6px; align-items: center; }

/* -------------------------------------------------- 11. Herói (início) */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(1200px 700px at 78% 40%, rgba(4, 41, 224, .28), transparent 60%), var(--ink);
    color: var(--on-dark);
    isolation: isolate;
}
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Mais discreto por trás do título, pleno do lado do símbolo. */
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .35) 42%, #000 72%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .35) 42%, #000 72%);
}
.hero__weave {
    position: absolute;
    top: 50%;
    right: max(-8vw, -140px);
    width: min(80vh, 60vw);
    height: min(80vh, 60vw);
    transform: translateY(-46%);
    z-index: -1;
    pointer-events: none;
}
.hero__weave .weave { width: 100%; height: 100%; filter: drop-shadow(0 0 60px rgba(43, 77, 255, .35)); }
.hero__weave .weave line { opacity: .92; }
.hero__inner {
    position: relative;
    width: 100%;
    padding-top: calc(var(--hdr-h) + 40px);
    padding-bottom: 140px;
}
.hero__content { max-width: min(960px, 72vw); }
.hero__title { margin: 0 0 30px; }
.hero__lead { margin-bottom: 42px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__foot {
    position: absolute;
    left: 0; right: 0; bottom: 34px;
}
.hero__foot .acs-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.hero__meta b { color: var(--on-dark); font-weight: 500; }
.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}
.scroll-cue i {
    position: relative;
    width: 1px; height: 54px;
    background: rgba(223, 231, 255, .2);
    overflow: hidden;
}
.scroll-cue i::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 40%;
    background: var(--sky);
    animation: acsCue 2.2s var(--ease-io) 3;
}
@keyframes acsCue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* --------------------------------------------- 12. Números (contadores) */
.stats {
    display: grid;
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    border-top: 1px solid var(--line-l);
}
.stat {
    position: relative;
    padding: 38px 28px 6px 0;
}
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-l); }
.stat__value {
    display: block;
    font-family: var(--f-display);
    font-size: clamp(3rem, 5.4vw, 5.2rem);
    line-height: .95;
    color: var(--text);
}
.stat__value .u { color: var(--cobalt); }
.stat__label { display: block; margin-top: 14px; font-size: 15px; color: var(--text-2); max-width: 26ch; }

/* ----------------------------------------- 13. Serviços em scroll lateral */
.hs { position: relative; }
.hs__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 80px);
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 70px);
}
.hs__head .lead { margin: 0; }
.hs__track {
    display: flex;
    gap: 22px;
    /* Alinha o primeiro cartão com o título, também em ecrãs muito largos. */
    padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2));
    scroll-padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.hs__track::-webkit-scrollbar { display: none; }
.hs__meter { display: flex; align-items: center; gap: 18px; margin-top: 34px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-3); }
.hs__meter-bar { flex: 1; height: 1px; background: var(--line-d); position: relative; overflow: hidden; }
.hs__meter-bar span { position: absolute; inset: 0; background: var(--sky); transform-origin: left; transform: scaleX(var(--hp, 0)); }

/* Modo «preso» (desktop): a secção ganha altura e o trilho anda na horizontal. */
.hs.is-pinned .hs__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hs.is-pinned { padding-block: 0; }
.hs.is-pinned .hs__sticky { padding-top: calc(var(--hdr-h) * .6); }
.hs.is-pinned .hs__head { margin-bottom: clamp(28px, 4vh, 56px); }
.hs.is-pinned .hs__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.hs.is-pinned .svc-card { min-height: clamp(360px, 50vh, 500px); }

.svc-card {
    --mx: 50%; --my: 50%;
    position: relative;
    flex: 0 0 clamp(290px, 30vw, 420px);
    min-height: clamp(400px, 56vh, 520px);
    display: flex;
    flex-direction: column;
    padding: 34px 32px 32px;
    border-radius: var(--r-l);
    background: linear-gradient(160deg, rgba(223, 231, 255, .07), rgba(223, 231, 255, .015));
    border: 1px solid var(--line-d);
    color: var(--on-dark);
    scroll-snap-align: start;
    overflow: hidden;
    isolation: isolate;
    transition: transform .7s var(--ease), border-color .4s;
    transform-style: preserve-3d;
}
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(43, 77, 255, .28), transparent 65%);
    opacity: 0;
    transition: opacity .5s;
}
.svc-card:hover { border-color: rgba(138, 168, 255, .4); }
.svc-card:hover::before { opacity: 1; }
.svc-card__num {
    position: absolute;
    top: 18px; right: 26px;
    font-family: var(--f-display);
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: -.05em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(223, 231, 255, .22);
    transition: -webkit-text-stroke-color .5s, transform .8s var(--ease);
}
.svc-card:hover .svc-card__num { -webkit-text-stroke-color: rgba(138, 168, 255, .7); transform: translateY(-6px); }
.svc-card__icon {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    border-radius: 20px;
    background: var(--cobalt);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 18px 40px -14px rgba(4, 41, 224, .9);
    transition: transform .8s var(--ease-back);
}
.svc-card:hover .svc-card__icon { transform: rotate(-8deg) scale(1.06); }
.svc-card__title { margin: auto 0 14px; font-family: var(--f-display); font-size: clamp(1.4rem, 1.8vw, 1.75rem); line-height: 1.15; }
.svc-card__desc { color: var(--on-dark-2); font-size: 15.5px; line-height: 1.65; margin: 0; }
.svc-card--end {
    background: var(--cobalt);
    border-color: transparent;
    justify-content: space-between;
}
.svc-card--end::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .25), transparent 65%); }
.svc-card--end .t-m { color: #fff; }
.svc-card--end .weave { width: 120px; height: 120px; color: rgba(255, 255, 255, .9); }

/* ------------------------------------------------ 14. Cena «história» */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(36px, 6vw, 110px);
    align-items: center;
}
.split--rev > :first-child { order: 2; }
.frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-2);
    box-shadow: var(--shadow-l);
}
.frame--wide { aspect-ratio: 5 / 4; }
.frame img {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    transform: translate3d(0, var(--par, 0px), 0) scale(1.04);
    will-change: transform;
}
.frame__badge {
    position: absolute;
    left: 22px; bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 12px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 16px 40px -16px rgba(5, 10, 31, .5);
}
.frame__badge .weave { width: 38px; height: 38px; }

.points { list-style: none; margin-top: 36px; border-top: 1px solid var(--line-l); counter-reset: pt; }
.points li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 4px 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-l);
}
.points li::before {
    counter-increment: pt;
    content: counter(pt, decimal-leading-zero);
    grid-row: span 2;
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--cobalt);
    padding-top: 5px;
}
.points h3, .points h4 { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.25; color: var(--text); margin: 0; }
.points p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.scene--dark .points, .scene--dark .points li { border-color: var(--line-d); }
.scene--dark .points h3, .scene--dark .points h4 { color: var(--on-dark); }
.scene--dark .points p { color: var(--on-dark-2); }

/* ------------------------------------------------------ 15. Parceiros */
.partners { padding-block: clamp(70px, 8vw, 110px); background: var(--white); border-top: 1px solid var(--line-l); overflow: hidden; }
.partners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 40px; }
.partners__head .eyebrow { margin-bottom: 14px; }
.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 14px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
    --dur: 40s;
    display: flex;
    width: max-content;
    animation: acsMarquee var(--dur) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes acsMarquee { to { transform: translateX(-50%); } }
.partner {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 220px;
    height: 120px;
    margin: 0 12px;
    padding: 18px 26px;
    border-radius: var(--r-m);
    border: 1px solid var(--line-l);
    background: var(--white);
    transition: border-color .35s, transform .5s var(--ease), box-shadow .5s;
}
.partner:hover { border-color: var(--cobalt); transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(4, 41, 224, .45); }
.partner img { max-width: 160px; max-height: 74px; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter .35s; }
.partner:hover img { filter: none; }
.partner__name { font-weight: 600; font-size: 14px; text-align: center; color: var(--text-2); }
.partner__ext { position: absolute; top: 10px; right: 12px; width: 12px; height: 12px; color: var(--cobalt); opacity: 0; transition: opacity .25s; }
.partner:hover .partner__ext { opacity: 1; }

/* ------------------------------------------------ 16. Fecho (finale) */
.finale {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-block: clamp(120px, 15vw, 220px);
}
.finale__weave {
    position: absolute;
    left: 50%; top: 50%;
    width: min(1100px, 130vw);
    height: min(1100px, 130vw);
    transform: translate(-50%, -50%);
    color: rgba(138, 168, 255, .08);
    z-index: -1;
    pointer-events: none;
}
.finale__weave .weave { width: 100%; height: 100%; }
.finale .t-xl { max-width: 20ch; margin-inline: auto; }
.finale .t-xl em { display: block; }
.finale__desc { margin: 30px auto 0; color: var(--on-dark-2); font-size: 1.15rem; max-width: 52ch; }
.finale__actions { margin-top: 56px; display: flex; justify-content: center; }
.orb {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(170px, 18vw, 220px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cobalt);
    color: #fff;
    text-align: center;
    padding: 30px;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.3;
    box-shadow: 0 30px 80px -20px rgba(4, 41, 224, .9);
    transition: transform .6s var(--ease), box-shadow .5s;
    isolation: isolate;
}
.orb::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(138, 168, 255, .35);
    transition: inset .6s var(--ease), opacity .6s;
}
.orb:hover::before { inset: -26px; opacity: .4; }
.orb svg { width: 18px; height: 18px; margin: 10px auto 0; transition: transform .5s var(--ease); }
.orb:hover svg { transform: translateX(5px); }
.finale--light { color: var(--text); }
.finale--light .finale__desc { color: var(--text-2); }
.finale--light .finale__weave { color: rgba(4, 41, 224, .06); }

/* ------------------------------------------ 17. Herói das páginas internas */
.phero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(520px, 78vh, 820px);
    padding: calc(var(--hdr-h) + 60px) 0 clamp(56px, 7vw, 96px);
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
    isolation: isolate;
}
.phero--md { min-height: clamp(420px, 60vh, 640px); }
.phero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}
.phero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(calc(1.08 + var(--sp, 0) * .12)) translate3d(0, calc(var(--sp, 0) * 60px), 0);
    filter: saturate(.85);
}
.phero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--ink) 4%, rgba(5, 10, 31, .55) 50%, rgba(5, 10, 31, .78)),
        radial-gradient(900px 600px at 85% 20%, rgba(4, 41, 224, .35), transparent 60%);
}
.phero__weave {
    position: absolute;
    right: max(-10vw, -160px);
    top: 50%;
    width: min(70vh, 54vw);
    height: min(70vh, 54vw);
    transform: translateY(-50%);
    z-index: -2;
    color: rgba(138, 168, 255, .16);
    pointer-events: none;
}
.phero__weave .weave { width: 100%; height: 100%; }
.phero__inner { position: relative; width: 100%; }
.phero__title { max-width: 17ch; }
.phero__lead { margin: 28px 0 0; max-width: 58ch; }
.phero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 46px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin-bottom: 30px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ''; width: 14px; height: 1px; background: currentColor; opacity: .6; }
.crumbs a { color: var(--on-dark-2); transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--sky); }

/* ------------------------------------------------- 18. Cartões e grelhas */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    --mx: 50%; --my: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 34px 30px 32px;
    border-radius: var(--r-l);
    background: var(--white);
    border: 1px solid var(--line-l);
    overflow: hidden;
    isolation: isolate;
    transition: transform .7s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(4, 41, 224, .09), transparent 65%);
    opacity: 0;
    transition: opacity .5s;
}
.card:hover { box-shadow: 0 34px 70px -34px rgba(5, 10, 31, .35); border-color: rgba(4, 41, 224, .25); }
.card:hover::before { opacity: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card__icon {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 18px;
    background: rgba(4, 41, 224, .08);
    color: var(--cobalt);
    font-size: 23px;
    transition: background-color .45s, color .45s, transform .7s var(--ease-back);
}
.card:hover .card__icon { background: var(--cobalt); color: #fff; transform: rotate(-8deg); }
.card__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-3); }
.card__title { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; color: var(--text); margin: 0; }
.card__text { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.scene--paper .card { background: var(--white); }
.scene--dark .card, .scene--deep .card { background: rgba(223, 231, 255, .04); border-color: var(--line-d); }
.scene--dark .card__title, .scene--deep .card__title { color: var(--on-dark); }
.scene--dark .card__text, .scene--deep .card__text { color: var(--on-dark-2); }
.scene--dark .card__icon, .scene--deep .card__icon { background: rgba(43, 77, 255, .16); color: var(--sky); }
.scene--dark .card::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(43, 77, 255, .22), transparent 65%); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 80px); align-items: end; margin-bottom: clamp(44px, 5vw, 76px); }
.section-head .lead { margin: 0; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* ------------------------------------------ 19. Página de serviço: passos */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 22px; }
.steps__line {
    position: absolute;
    left: 0; right: 0; top: 27px;
    height: 1px;
    background: var(--line-l);
}
.steps__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cobalt), var(--sky)); transform-origin: left; transform: scaleX(var(--lp, 0)); }
.step { position: relative; padding-top: 0; }
.step__dot {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line-l);
    color: var(--cobalt);
    font-size: 21px;
    margin-bottom: 26px;
    transition: background-color .5s, color .5s, border-color .5s, transform .7s var(--ease-back);
}
.step.is-lit .step__dot { background: var(--cobalt); border-color: var(--cobalt); color: #fff; transform: scale(1.06); }
.step__num { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px; }
.step__title { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.22; margin: 0 0 10px; color: var(--text); }
.step__text { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* Faixa de vantagens */
.adv {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 90px);
    align-items: end;
}
.adv__aside { display: grid; gap: 26px; justify-items: start; }
.adv__aside .prose { font-size: 1.12rem; }

/* Outros serviços (ligações internas) */
.others { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.other {
    position: relative;
    flex: 0 0 clamp(240px, 24vw, 300px);
    aspect-ratio: 3 / 4;
    border-radius: var(--r-l);
    overflow: hidden;
    color: #fff;
    scroll-snap-align: start;
    isolation: isolate;
}
.other img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.other::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 10, 31, .92), rgba(5, 10, 31, .15) 60%); transition: background-color .4s; }
.other:hover img { transform: scale(1.07); }
.other__body { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.other__num { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--sky); }
.other__title { display: block; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.18; margin-top: 8px; }

/* --------------------------------------- 20. Lista de serviços (editorial) */
.svc-list { list-style: none; border-top: 1px solid var(--line-l); counter-reset: s; }
.svc-row a {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 54px;
    align-items: center;
    gap: 24px;
    padding: 34px 6px;
    border-bottom: 1px solid var(--line-l);
    transition: padding .6s var(--ease), color .4s;
    isolation: isolate;
}
.svc-row a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--paper);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .6s var(--ease);
}
.svc-row a:hover::before, .svc-row a:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.svc-row a:hover { padding-inline: 26px; }
.svc-row__num { font-family: var(--f-mono); font-size: 13px; color: var(--cobalt); letter-spacing: .08em; }
.svc-row__title { font-family: var(--f-display); font-size: clamp(1.45rem, 2.4vw, 2.3rem); line-height: 1.1; color: var(--text); }
.svc-row__desc { color: var(--text-2); font-size: 15.5px; margin: 0; }
.svc-row__go {
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 1px solid var(--line-l);
    color: var(--cobalt);
    transition: background-color .4s, color .4s, transform .6s var(--ease);
}
.svc-row__go svg { width: 16px; height: 16px; }
.svc-row a:hover .svc-row__go { background: var(--cobalt); color: #fff; transform: rotate(-45deg); border-color: var(--cobalt); }
.svc-row__thumb { display: none; }

.hover-preview {
    position: fixed;
    top: 0; left: 0;
    z-index: 900;
    width: 300px;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-m);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(var(--hx, 0), var(--hy, 0), 0) translate(-50%, -50%) scale(.6) rotate(-6deg);
    transition: opacity .4s, transform .6s var(--ease);
    box-shadow: var(--shadow-l);
}
.hover-preview.is-on { opacity: 1; transform: translate3d(var(--hx, 0), var(--hy, 0), 0) translate(-50%, -50%) scale(1) rotate(var(--hr, 0deg)); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------- 21. Equipa: painéis */
.panels { display: flex; gap: 14px; min-height: 480px; }
.panel {
    --mx: 50%; --my: 50%;
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding: 32px 30px;
    border-radius: var(--r-l);
    background: rgba(223, 231, 255, .045);
    border: 1px solid var(--line-d);
    color: var(--on-dark);
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow .9s var(--ease), background-color .5s, border-color .5s;
    isolation: isolate;
    outline-offset: 4px;
}
.panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(500px circle at var(--mx) var(--my), rgba(43, 77, 255, .3), transparent 65%);
    opacity: 0;
    transition: opacity .5s;
}
.panel.is-active { flex-grow: 2.4; background: rgba(43, 77, 255, .14); border-color: rgba(138, 168, 255, .35); }
.panel.is-active::before { opacity: 1; }
.panel__icon {
    position: absolute;
    top: 30px; left: 30px;
    display: grid;
    place-items: center;
    width: 58px; height: 58px;
    border-radius: 18px;
    background: var(--cobalt);
    color: #fff;
    font-size: 24px;
}
.panel__num { position: absolute; top: 34px; right: 30px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-3); }
.panel__title { font-family: var(--f-display); font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.16; margin: 0; }
.panel__text {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .8s var(--ease), opacity .6s, margin .8s var(--ease);
    color: var(--on-dark-2);
    font-size: 15.5px;
    line-height: 1.7;
}
.panel__text > p { overflow: hidden; margin: 0; max-width: 52ch; }
.panel.is-active .panel__text { grid-template-rows: 1fr; opacity: 1; margin-top: 16px; }

/* --------------------------------------------------- 22. Citação (CEO) */
.quote {
    position: relative;
    margin: 30px 0 0;
    padding: 34px 34px 30px;
    border-radius: var(--r-l);
    background: var(--paper);
    border: 1px solid var(--line-l);
}
.quote::before {
    content: '“';
    position: absolute;
    top: -38px; left: 22px;
    font-family: var(--f-display);
    font-size: 8rem;
    line-height: 1;
    color: var(--cobalt);
}
.quote .prose { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: var(--text); }
.quote .prose em { font-style: normal; }
.quote .prose strong { font-weight: 700; color: var(--cobalt); }

.ticks { list-style: none; display: grid; gap: 4px; margin: 34px 0 0; }
.ticks li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-d);
    color: var(--on-dark-2);
    font-size: 1.05rem;
    line-height: 1.6;
}
.ticks li strong { color: var(--on-dark); font-weight: 600; }
.ticks svg { width: 34px; height: 34px; }
.ticks svg circle { fill: none; stroke: rgba(138, 168, 255, .35); stroke-width: 1.5; }
.ticks svg path { fill: none; stroke: var(--sky); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .8s var(--ease) calc(var(--d, 0) * 1ms + 300ms); }
.ticks li.is-in svg path, .no-js .ticks svg path { stroke-dashoffset: 0; }
.scene--light .ticks li, .scene--paper .ticks li { border-color: var(--line-l); color: var(--text-2); }
.scene--light .ticks li strong, .scene--paper .ticks li strong { color: var(--text); }
.scene--light .ticks svg path, .scene--paper .ticks svg path { stroke: var(--cobalt); }
.scene--light .ticks svg circle, .scene--paper .ticks svg circle { stroke: rgba(4, 41, 224, .25); }

/* ---------------------------------------------------- 23. Formulários */
.formcard {
    position: relative;
    padding: clamp(28px, 3.4vw, 46px);
    border-radius: var(--r-xl);
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--line-l);
    box-shadow: var(--shadow-l);
}
.formcard--sticky { position: sticky; top: calc(var(--hdr-h) + 24px); }
.formcard__title { font-family: var(--f-display); font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.12; margin: 0 0 10px; color: var(--text); }
.formcard__sub { color: var(--text-2); font-size: 15.5px; margin: 0 0 28px; }
.formcard__note { margin: 18px 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; line-height: 1.55; }

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }

.field { position: relative; display: block; }
.field input,
.field textarea {
    width: 100%;
    padding: 26px 18px 10px;
    border-radius: 14px;
    border: 1px solid var(--line-l);
    background: var(--paper);
    color: var(--text);
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    transition: border-color .3s, background-color .3s, box-shadow .3s;
    -webkit-appearance: none;
    appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label {
    position: absolute;
    left: 19px; top: 18px;
    font-size: 15px;
    color: var(--text-3);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .35s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--cobalt); background: var(--white); box-shadow: 0 0 0 4px rgba(4, 41, 224, .1); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
    transform: translateY(-10px) scale(.78);
    color: var(--cobalt);
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:not(:placeholder-shown):invalid { border-color: rgba(210, 63, 63, .55); }

.check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 4px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.check input {
    flex: 0 0 auto;
    width: 20px; height: 20px;
    margin: 1px 0 0;
    accent-color: var(--cobalt);
    cursor: pointer;
}
.check label { cursor: pointer; }
.check a { color: var(--cobalt) !important; }

.form-actions { margin-top: 22px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Contacto */
.infocards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.info {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 24px 22px 22px;
    border-radius: var(--r-m);
    border: 1px solid var(--line-l);
    background: var(--white);
    transition: border-color .35s, transform .5s var(--ease);
}
.info:hover { border-color: rgba(4, 41, 224, .3); }
.info .lni { font-size: 20px; color: var(--cobalt); margin-bottom: 8px; }
.info h3 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0; font-weight: 500; }
.info p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.info a { color: var(--text); }
.copy {
    position: absolute;
    top: 16px; right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid var(--line-l);
    background: var(--white);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    opacity: 0;
    transition: opacity .3s, border-color .3s, color .3s;
}
.info:hover .copy, .copy:focus-visible, .copy.is-done { opacity: 1; }
.copy.is-done { color: var(--ok); border-color: var(--ok); }
@media (hover: none) { .copy { opacity: 1; } }

.embed {
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line-l);
    box-shadow: var(--shadow-l);
    min-height: 700px;
}
.embed .calendly-inline-widget { min-width: 300px; height: 700px; }

.map {
    position: relative;
    height: clamp(380px, 52vh, 560px);
    overflow: hidden;
    background: var(--paper-2);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); transition: filter .8s var(--ease); }
.map:hover iframe { filter: none; }
.map__pin {
    position: absolute;
    left: var(--gut);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-dark);
    font-size: 14.5px;
    box-shadow: var(--shadow-d);
    pointer-events: none;
}
.map__pin .weave { width: 34px; height: 34px; }

/* ---------------------------------------------------------- 24. Notícias */
.news-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.search {
    position: relative;
    flex: 1 1 320px;
    max-width: 460px;
}
.search input {
    width: 100%;
    height: 56px;
    padding: 0 20px 0 50px;
    border-radius: 999px;
    border: 1px solid var(--line-l);
    background: var(--white);
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.search input:focus { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(4, 41, 224, .1); }
.search svg { position: absolute; left: 19px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-3); }
.news-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--white); border: 1px solid var(--line-l); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.news-card:hover { box-shadow: 0 34px 70px -34px rgba(5, 10, 31, .35); transform: translateY(-4px); }
.news-card[hidden] { display: none; }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; gap: 12px; }
.news-card__date { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.news-card__title { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.22; color: var(--text); margin: 0; }
.news-card__excerpt { color: var(--text-2); font-size: 15px; margin: 0; }
.news-card .btn-link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.news-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.news-card--feature .news-card__media { aspect-ratio: auto; min-height: 380px; }
.news-card--feature .news-card__body { padding: clamp(28px, 4vw, 54px); justify-content: center; }
.news-card--feature .news-card__title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.empty {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 70px 20px;
    text-align: center;
    color: var(--text-2);
    border: 1px dashed var(--line-l);
    border-radius: var(--r-l);
}
.empty .weave { width: 72px; height: 72px; color: var(--cobalt); opacity: .5; }

/* Artigo */
.article { max-width: 780px; margin-inline: auto; }
.article__media { margin: 0 0 54px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-l); }
.article__media img { width: 100%; }
.article .prose { font-size: 1.14rem; line-height: 1.85; }
.article .prose > p:first-of-type::first-letter {
    float: left;
    font-family: var(--f-display);
    font-size: 3.6em;
    font-weight: 700;
    line-height: .86;
    padding: 6px 12px 0 0;
    color: var(--cobalt);
}
.video { position: relative; aspect-ratio: 16 / 9; margin-top: 46px; border-radius: var(--r-l); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-l); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line-l); }
.share__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-right: 8px; }
.share .btn-link { margin-left: auto; }
.share a:not(.btn-link), .share button {
    display: inline-grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-l);
    background: var(--white);
    color: var(--text);
    font-size: 17px;
    transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.share a:not(.btn-link):hover, .share button:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; transform: translateY(-3px); }
.share button.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }

/* ------------------------------------------------------------ 25. eBook */
.book {
    --rx: 0deg; --ry: -18deg;
    perspective: 1400px;
    display: grid;
    place-items: center;
    padding: 20px 0 40px;
}
.book__body {
    position: relative;
    width: min(340px, 72vw);
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform .8s var(--ease);
}
.book__body img { position: relative; z-index: 1; width: 100%; border-radius: 4px 12px 12px 4px; box-shadow: 30px 40px 70px -20px rgba(5, 10, 31, .55); }
.book__body::before {
    content: '';
    position: absolute;
    top: 6px; bottom: 6px; right: -16px;
    width: 18px;
    border-radius: 0 6px 6px 0;
    background: repeating-linear-gradient(to bottom, #f1f2f6 0 2px, #d9dce6 2px 3px);
    transform: rotateY(90deg) translateZ(-1px);
    transform-origin: left;
}
.book__shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 4px 12px 12px 4px;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .28) 48%, rgba(255, 255, 255, 0) 62%);
    background-size: 220% 100%;
    background-position: var(--shine, 80%) 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
}
.testimonial {
    margin: 34px 0 0;
    padding: 28px 30px;
    border-radius: var(--r-l);
    background: var(--white);
    border: 1px solid var(--line-l);
}
.testimonial blockquote { margin: 0 0 16px; font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: var(--text); }
.testimonial figcaption { font-size: 14px; color: var(--text-2); }
.testimonial figcaption b { color: var(--text); display: block; }

/* ------------------------------------------------- 26. Área de cliente */
.vault {
    position: relative;
    max-width: 640px;
    margin-inline: auto;
    padding: clamp(40px, 6vw, 70px);
    border-radius: var(--r-xl);
    text-align: center;
    background: linear-gradient(160deg, rgba(223, 231, 255, .08), rgba(223, 231, 255, .02));
    border: 1px solid var(--line-d);
    color: var(--on-dark);
}
.vault .weave { width: 104px; height: 104px; margin: 0 auto 30px; }
.vault .prose { color: var(--on-dark-2); margin: 20px 0 34px; }

/* ----------------------------------------------- 27. Páginas legais */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 28px); }
.toc__title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.toc ol { list-style: none; border-left: 1px solid var(--line-l); }
.toc a {
    position: relative;
    display: block;
    padding: 8px 0 8px 18px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-2);
    transition: color .3s;
}
.toc a::before {
    content: '';
    position: absolute;
    left: -1px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--cobalt);
    transform: scaleY(0);
    transition: transform .4s var(--ease);
}
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--cobalt); }
.toc a.is-active::before { transform: none; }
.toc__progress { height: 2px; margin-top: 22px; background: var(--line-l); border-radius: 2px; overflow: hidden; }
.toc__progress span { display: block; height: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(var(--lp, 0)); }

/* O texto legal traz estilos em linha (é também a chave das traduções, por
   isso não se toca no texto): aqui sobrepõe-se a tipografia do site. */
.legal-body { font-family: var(--f-sans) !important; color: var(--text-2); }
.legal-body h2 { font-family: var(--f-display) !important; font-weight: 600 !important; font-size: clamp(1.9rem, 2.8vw, 2.5rem) !important; line-height: 1.1 !important; color: var(--text) !important; margin: 0 0 26px !important; letter-spacing: -.015em; }
.legal-body h3 { font-family: var(--f-display) !important; font-weight: 600 !important; font-size: 1.35rem !important; line-height: 1.25 !important; letter-spacing: -.02em; color: var(--text) !important; margin: 56px 0 16px !important; padding-top: 30px; border-top: 1px solid var(--line-l); }
/* Na Política de Cookies as secções são h2: só o primeiro é o título. */
.legal-body h2 ~ h2 { font-size: 1.35rem !important; line-height: 1.25 !important; margin: 56px 0 16px !important; padding-top: 30px; border-top: 1px solid var(--line-l); }
.legal-body h4 { font-weight: 600 !important; color: var(--text) !important; }
.legal-body p, .legal-body li { color: var(--text-2) !important; font-size: 1.02rem !important; line-height: 1.85 !important; }
.legal-body strong { color: var(--text) !important; }
.legal-body a { color: var(--cobalt) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.legal-body div[style] { background: var(--paper) !important; border-left: 3px solid var(--cobalt) !important; border-radius: 14px !important; padding: 22px 24px !important; }
.legal-body ul { margin-bottom: 26px !important; }
.legal-translation-notice { background: var(--paper) !important; border-left: 3px solid var(--cobalt) !important; border-radius: 14px !important; color: var(--text-2) !important; font-family: var(--f-sans) !important; }

/* ------------------------------------------------------------ 28. Rodapé */
.ftr {
    position: relative;
    background: var(--ink);
    color: var(--on-dark-2);
    padding-top: clamp(80px, 9vw, 130px);
    overflow: hidden;
    isolation: isolate;
}
.ftr a { transition: color .3s; }
.ftr a:hover { color: #fff; }
.ftr__top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 100px);
    padding-bottom: clamp(50px, 6vw, 80px);
    border-bottom: 1px solid var(--line-d);
}
.ftr__logo { width: 210px; margin-bottom: 26px; }
.ftr__about { max-width: 46ch; font-size: 16px; }
.ftr__social { display: flex; gap: 10px; list-style: none; margin-top: 26px; align-items: center; }
.ftr__social-title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 6px 0 0; font-weight: 500; }
.ftr__social a {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-d);
    color: var(--on-dark);
    font-size: 17px;
    transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.ftr__social a:hover { background: var(--cobalt); border-color: var(--cobalt); transform: translateY(-3px); }
.ftr__news h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--on-dark); margin: 0 0 14px; }
.ftr__news p { font-size: 15.5px; max-width: 48ch; }
.nl {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line-d);
    background: rgba(223, 231, 255, .04);
    transition: border-color .3s, box-shadow .3s;
}
.nl:focus-within { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(43, 77, 255, .18); }
.nl input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: none;
    color: var(--on-dark);
    font-size: 15.5px;
}
.nl input::placeholder { color: var(--on-dark-3); }
.nl .btn-acs { min-height: 48px; box-shadow: none; }
.nl-msg { margin: 12px 0 0; font-size: 14px; min-height: 1.4em; }
.nl-msg.is-ok { color: #6ee7b7; }
.nl-msg.is-err { color: #fca5a5; }

.ftr__cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding-block: clamp(46px, 5vw, 70px);
}
.ftr__cols h3 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 20px; font-weight: 500; }
.ftr__cols ul { list-style: none; display: grid; gap: 10px; }
.ftr__cols li { font-size: 15px; line-height: 1.5; }
/* Os logótipos dos apoios (logos.svg) são brancos, desenhados para fundo escuro. */
.ftr__partners {
    display: flex;
    justify-content: center;
    padding: 6px 0 40px;
    opacity: .82;
}
.ftr__partners img { width: min(830px, 100%); height: auto; }
.ftr__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-block: 26px;
    border-top: 1px solid var(--line-d);
    font-size: 13.5px;
    color: var(--on-dark-3);
}
.ftr__bottom p { margin: 0; }
.ftr__powered { display: inline-flex; align-items: center; gap: 10px; }
.ftr__powered img { height: 22px; width: auto; }
/* A assinatura do rodapé: o logótipo completo da Account Service em grande.
   O desenho vem do SVG vetorial (nítido a qualquer tamanho), usado como
   máscara sobre o cobalto da marca, com uma faixa de luz que corre com o
   scroll (--wp) e um brilho que segue o ponteiro (--fx, --fy). As barras do
   símbolo estão recortadas no SVG, por isso deixam ver o fundo.
   Sem suporte de máscaras, mostra-se o logótipo branco tal como está. */
.ftr__mark {
    padding: clamp(36px, 5vw, 72px) var(--gut) clamp(40px, 5vw, 72px);
    pointer-events: none;
    user-select: none;
}
.ftr__mark-art {
    display: block;
    width: min(1180px, 100%);
    aspect-ratio: 130 / 32;
    margin-inline: auto;
    background: url("../images/logo/white-logo.svg") center / contain no-repeat;
    opacity: .9;
}
@supports ((-webkit-mask-image: url("x.svg")) or (mask-image: url("x.svg"))) {
    .ftr__mark-art {
        opacity: 1;
        background-image:
            radial-gradient(560px circle at var(--fx, 50%) var(--fy, -120%), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%),
            linear-gradient(100deg, #1f3dff 0%, #2b4dff 28%, #8aa8ff 44%, #e6ecff 51%, #8aa8ff 58%, #2b4dff 74%, #1f3dff 100%);
        background-size: 100% 100%, 260% 100%;
        background-position: 0 0, calc(var(--wp, .5) * 100%) 0;
        background-repeat: no-repeat;
        -webkit-mask: url("../images/logo/white-logo.svg") center / contain no-repeat;
        mask: url("../images/logo/white-logo.svg") center / contain no-repeat;
    }
}

/* ------------------------------------------- 29. Elementos flutuantes */
.totop {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 600;
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-d);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .4s, transform .5s var(--ease), visibility .4s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop svg.ring circle { fill: none; stroke: var(--sky); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: calc(157 - var(--p, 0) * 157); }
.totop .arr { width: 16px; height: 16px; }

.book-dock {
    position: fixed;
    right: 24px; bottom: 92px;
    z-index: 600;
    width: 168px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) rotate(3deg);
    transition: opacity .5s, transform .7s var(--ease), visibility .5s;
}
.book-dock.is-on { opacity: 1; visibility: visible; transform: none; }
.book-dock__link { position: relative; display: block; filter: drop-shadow(0 18px 26px rgba(5, 10, 31, .3)); transition: transform .6s var(--ease); }
.book-dock__link:hover { transform: translateY(-6px) rotate(-2deg); }
.book-dock__link img { width: 100%; transition: opacity .35s; }
.book-dock__link .book-img-hover { position: absolute; inset: 0; opacity: 0; }
.book-dock__link:hover .book-img-default { opacity: 0; }
.book-dock__link:hover .book-img-hover { opacity: 1; }
.book-dock__close {
    position: absolute;
    top: -10px; left: -10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5);
}

.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; display: none; mix-blend-mode: normal; }
.has-cursor .cursor { display: block; }
.cursor__ring {
    position: absolute;
    top: 0; left: 0;
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border-radius: 50%;
    border: 1px solid rgba(43, 77, 255, .55);
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(var(--cs, 1));
    transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s, border-color .4s;
}
.cursor__dot {
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--cobalt-2);
    transform: translate3d(var(--dx, -100px), var(--dy, -100px), 0);
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(43, 77, 255, .1); border-color: rgba(43, 77, 255, .3); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--cobalt); border-color: var(--cobalt); }
.cursor__label { font-size: 12px; font-weight: 600; color: #fff; opacity: 0; transition: opacity .25s; letter-spacing: .02em; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { --cs: .85; }

/* Indicador de capítulos (só no início) */
.chapters {
    position: fixed;
    right: 26px; top: 50%;
    z-index: 500;
    transform: translateY(-50%);
    display: grid;
    gap: 14px;
    list-style: none;
    opacity: 0;
    transition: opacity .5s;
}
.chapters.is-on { opacity: 1; }
.chapters a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 18px; }
.chapters a i {
    display: block;
    width: 16px; height: 3px;
    border-radius: 999px;
    background: currentColor;
    opacity: .35;
    transition: width .5s var(--ease), opacity .4s, background-color .4s;
}
.chapters a.is-active i { width: 34px; opacity: 1; background: var(--cobalt-2); }
.chapters a span {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .3s, transform .4s var(--ease);
}
.chapters a:hover span, .chapters a:focus-visible span { opacity: 1; transform: none; }
.chapters.on-dark { color: var(--on-dark); }
.chapters.on-light { color: var(--text); }

/* Janela de mensagens (substitui o SweetAlert) */
.dialog { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 20px; }
.dialog[hidden] { display: none; }
.dialog__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 31, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: acsFade .3s both; opacity: 0; }
.dialog__box {
    position: relative;
    width: min(460px, 100%);
    padding: 40px 34px 30px;
    border-radius: var(--r-xl);
    background: var(--white);
    color: var(--text);
    text-align: center;
    box-shadow: var(--shadow-d);
    animation: acsPop .5s var(--ease) both;
}
.dialog__icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; }
.dialog__icon svg { width: 34px; height: 34px; }
.dialog__icon svg path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: acsDraw .7s var(--ease) .25s forwards; }
@keyframes acsDraw { to { stroke-dashoffset: 0; } }
.dialog--success .dialog__icon { background: rgba(23, 145, 95, .12); color: var(--ok); }
.dialog--error .dialog__icon { background: rgba(210, 63, 63, .12); color: var(--err); }
.dialog__title { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; margin: 0 0 10px; }
.dialog__text { color: var(--text-2); margin: 0 0 28px; }

/* Banner de cookies: mesma tipografia do site, botões com o mesmo peso. */
html .acs-cc { font-family: var(--f-sans); border-radius: var(--r-l); border: 1px solid var(--line-l); box-shadow: var(--shadow-d); }
html .acs-cc h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
html .acs-cc a { color: var(--cobalt); }
html .acs-cc-btn { font-family: var(--f-sans); }
html .acs-cc-btn--accept { background: var(--cobalt); }
html .acs-cc-btn--reject { background: var(--ink); }
html .acs-cc-link { color: var(--cobalt); }

/* ------------------------------------------------------- 30. Responsivo */
@media (max-width: 1520px) {
    .hdr__bar { gap: 16px; }
    .hdr__brand { width: min(var(--logo-w, 220px), 200px); }
    .hdr.is-scrolled .hdr__brand { width: min(var(--logo-w-s, 190px), 180px); }
    .hdr__link { padding: 0 9px; font-size: 14px; }
    .hdr__link::after { left: 9px; right: 9px; }
    .hdr__client { width: 44px; padding: 0; justify-content: center; }
    .hdr__client span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .hdr__cta { padding-right: 20px; }
    .hdr__cta .btn-acs__arrow { display: none; }
}

@media (max-width: 1319px) {
    .hdr__nav, .hdr__client, .hdr__cta, .hdr__tools .acs-lang { display: none; }
    .hdr__burger { display: inline-block; }
    .chapters { display: none; }
}

@media (max-width: 1100px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
    .steps__line { display: none; }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal { grid-template-columns: 1fr; }
    .toc { position: static; padding: 22px 24px; border-radius: var(--r-m); background: var(--paper); }
    .toc ol { columns: 2; column-gap: 24px; }
    .toc a { break-inside: avoid; }
}

@media (max-width: 991px) {
    :root { --hdr-h: 74px; }
    .split, .adv, .hs__head, .section-head, .ftr__top { grid-template-columns: 1fr; }
    .split--rev > :first-child { order: 0; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-card--feature { grid-template-columns: 1fr; }
    .news-card--feature .news-card__media { min-height: 260px; aspect-ratio: 16 / 10; }
    .svc-row a { grid-template-columns: 50px minmax(0, 1fr) 46px; padding: 26px 0; }
    .svc-row a:hover { padding-inline: 0; }
    .svc-row__desc { display: none; }
    .svc-row__go { width: 46px; height: 46px; }
    .panels { flex-direction: column; min-height: 0; }
    .panel { min-height: 0; padding-top: 112px; cursor: default; }
    .panel__text { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
    .formcard--sticky { position: relative; top: 0; }
    .hero__content { max-width: 100%; }
    .hero__weave { right: -32vw; width: 92vw; height: 92vw; opacity: .45; }
    .phero__weave { opacity: .6; right: -30vw; width: 80vw; height: 80vw; }
    .stats { grid-template-columns: 1fr; }
    .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-l); }
    .stat { padding: 30px 0 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 22px; }
    .stat__label { margin: 0 0 6px; }
    .embed { min-height: 0; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .grid--2, .grid--3, .grid--4, .news-grid, .infocards, .fgrid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .ftr__cols { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .hero__foot .hero__meta { display: none; }
    .hero__inner { padding-bottom: 120px; }
    .hero__weave { opacity: .26; top: 58%; right: -46vw; width: 110vw; height: 110vw; }
    .svc-row a { align-items: start; }
    .svc-row__num { padding-top: 10px; }
    .svc-row__title { font-size: 1.65rem; }
    .svc-row a { grid-template-columns: 38px minmax(0, 1fr) 42px; gap: 14px; }
    .svc-row__thumb { display: block; grid-column: 2 / 3; margin-top: 4px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
    .card { padding: 28px 24px; }
    .nl { flex-direction: column; border-radius: var(--r-m); }
    .nl .btn-acs { width: 100%; }
    .book-dock { width: 120px; bottom: 88px; right: 16px; }
    .totop { right: 16px; bottom: 18px; width: 50px; height: 50px; }
    .toc ol { columns: 1; }
    .map__pin { left: 16px; right: 16px; }
    .partner { width: 170px; height: 100px; }
    .frame__badge { left: 14px; bottom: 14px; }
}

/* ---------------------------------------------- 31. Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-reveal], .js [data-reveal^="clip"] > *, .js [data-split] .sw > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .curtain { display: none !important; }
    .marquee__track { animation: none !important; }
    .weave[data-build]:not(.is-built) line, .weave[data-build]:not(.is-built) .weave__disc { transform: none !important; opacity: 1 !important; }
    .frame img, .phero__bg img { transform: none !important; }
    .cursor { display: none !important; }
}

@media print {
    .hdr, .curtain, .progress, .totop, .book-dock, .cursor, .chapters, .acs-cc, .mnav, .palette, .ftr__mark { display: none !important; }
    .phero, .hero, .scene--dark { background: #fff !important; color: #000 !important; }
    .js [data-reveal], .js [data-reveal^="clip"] > *, .js [data-split] .sw > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
