/* =====================================================================
   PÁGINA PORTAL DO CLIENTE (v2.9.5, exclusiva do Deal Find GPS)
   Carregado só nesta página (inc/portal.php).

   Ideia do desenho: a página é a "mesa" do próprio portal. O fundo usa a
   mesma cor do painel do portal (#f4f6f9) e os cartões usam a mesma receita
   de borda e sombra dos cartões dele. Tudo o que está em Inter é "o
   software" (as telas de demonstração); tudo em Plus Jakarta Sans é a voz
   do site.

   Regras do tema respeitadas (ver main.css v2.9.3/v2.9.4):
   - nada de backdrop-filter (no celular ele é desligado);
   - animações infinitas só em elementos pequenos, e todas param com
     prefers-reduced-motion; as de enfeite param também até 992px;
   - nenhum elemento fixed e nenhum overflow no body.
   ===================================================================== */

.rp-pc {
    --pc-canvas: #f4f6f9;
    --pc-ink: var(--rp-dark, #0A0E27);
    --pc-body: #475569;
    --pc-muted: #64748b;
    --pc-faint: #94a3b8;
    --pc-line: #e2e8f0;
    --pc-green: #10b981;
    --pc-night: #0c0d11;
    --pc-accent: var(--rp-primary, #d95c15);
    --pc-accent-rgb: var(--rp-primary-rgb, 217, 92, 21);
    --pc-glow-rgb: var(--rp-shadow-rgb, 0, 75, 173);
    --pc-ui: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --pc-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    --pc-card-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 5px 14px rgba(15, 23, 42, .09);
    background: var(--pc-canvas);
    color: var(--pc-body);
    overflow-x: clip;
}

.rp-pc .rp-pc-ic { display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Títulos ---------- */
.rp-pc-h1 {
    font-size: clamp(2.3rem, 4.1vw, 3.45rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--pc-ink);
    margin: 0 0 22px;
    text-wrap: balance;
}
.rp-pc-h1 span { color: var(--pc-accent); }
.rp-pc-h2 {
    font-size: clamp(1.9rem, 3.3vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--pc-ink);
    margin: 0;
    text-wrap: balance;
}
.rp-pc-h3 {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--pc-ink);
    margin: 0 0 20px;
    text-wrap: balance;
}

/* =====================================================================
   TOPO
   ===================================================================== */
.rp-pc-hero { position: relative; padding: clamp(44px, 6.5vw, 92px) 0 clamp(48px, 6vw, 88px); }
.rp-pc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.rp-pc-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pc-line);
    box-shadow: var(--pc-card-shadow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pc-ink);
    margin-bottom: 24px;
}
/* O ponto verde é o mesmo "serviço ativo" do portal. */
.rp-pc-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pc-green); flex: none; }
.rp-pc-live::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--pc-green);
    opacity: 0;
    animation: rp-pc-ping 2.4s ease-out infinite;
}

.rp-pc-hero-sub {
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.65;
    color: var(--pc-body);
    margin: 0 0 32px;
    max-width: 34em;
}
.rp-pc-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rp-pc-cta .rp-pc-ic { width: 18px; height: 18px; transition: transform .2s ease; }
.rp-pc-cta:hover .rp-pc-ic { transform: translateX(3px); }
.rp-pc-url {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--pc-mono);
    font-size: 13px;
    color: var(--pc-muted);
}
.rp-pc-url .rp-pc-ic { width: 14px; height: 14px; color: var(--pc-green); }

/* ---------- O aparelho ---------- */
.rp-pc-hero-visual { position: relative; padding: 10px 0 28px; }
/* Brilho laranja e azul atrás do ecrã (estático: não pesa no celular). */
.rp-pc-hero-visual::before {
    content: '';
    position: absolute;
    inset: -14% -10% -14% -8%;
    background:
        radial-gradient(42% 50% at 32% 38%, rgba(var(--pc-accent-rgb), .30), transparent 72%),
        radial-gradient(40% 46% at 70% 60%, rgba(var(--pc-glow-rgb), .30), transparent 72%);
    pointer-events: none;
    z-index: 0;
}
.rp-pc-device {
    position: relative;
    z-index: 1;
    background: #101218;
    border-radius: 20px 20px 10px 10px;
    padding: 12px 12px 16px;
    box-shadow:
        0 50px 90px -34px rgba(var(--pc-glow-rgb), .5),
        0 34px 70px -40px rgba(var(--pc-accent-rgb), .45),
        inset 0 0 0 1px rgba(255, 255, 255, .07);
}
/* câmara */
.rp-pc-device::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #2a2e38;
}
/* base do portátil */
.rp-pc-device::after {
    content: '';
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: -13px;
    height: 13px;
    border-radius: 2px 2px 16px 16px;
    background: linear-gradient(180deg, #eceef3 0%, #c6cad4 62%, #a9afbb 100%);
    box-shadow: 0 20px 30px -14px rgba(15, 23, 42, .4);
}
.rp-pc-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #e7e9ee;
    container-type: inline-size;
}

/* ---------- A tela do portal (tudo em em, escala com o ecrã) ---------- */
.rp-pc-app {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 13.6em minmax(0, 1fr);
    gap: .65em;
    padding: .65em;
    font-family: var(--pc-ui);
    font-size: 7px;   /* reserva para Safari < 16 (sem cqw): não estoura o ecrã */
    font-size: clamp(6px, 1.58cqw, 13px);
    line-height: 1.35;
    color: #0f172a;
    text-align: left;
}
.rp-pc-app p { margin: 0; }

.rp-pc-side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 1.15em;
    padding: .9em .7em;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.rp-pc-side-brand {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: .75em;
    padding: .55em .7em;
    margin-bottom: 1em;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .07);
}
.rp-pc-side-logo { display: block; height: 2.3em; width: auto; max-width: 100%; object-fit: contain; }
.rp-pc-side-nav { display: grid; gap: .2em; }
.rp-pc-side-nav span {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .62em .7em;
    border-radius: .6em;
    font-size: .92em;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
}
.rp-pc-side-nav .rp-pc-ic { width: 1.3em; height: 1.3em; }
.rp-pc-side-nav .is-active {
    background: #f4f6f9;
    color: var(--pc-accent);
    font-weight: 600;
    box-shadow: 3px 3px 7px rgba(148, 163, 184, .34), -3px -3px 7px rgba(255, 255, 255, .95);
}
.rp-pc-side-nav em {
    margin-left: auto;
    font-style: normal;
    font-size: .74em;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
    padding: .1em .55em;
}
.rp-pc-side-user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .7em .4em 0;
    border-top: 1px solid rgba(148, 163, 184, .25);
}
.rp-pc-side-user i {
    width: 2.3em;
    height: 2.3em;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 700;
    background: rgba(var(--pc-accent-rgb), .14);
    color: var(--pc-accent);
    flex: none;
}
.rp-pc-side-user span { display: grid; font-size: .92em; font-weight: 600; }
.rp-pc-side-user small { font-size: .8em; font-weight: 500; color: #64748b; }

.rp-pc-main {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f4f6f9;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 1.15em;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}
.rp-pc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 1.05em 1.6em .55em;
}
.rp-pc-top b { font-size: 1.32em; font-weight: 600; color: #0f172a; }
.rp-pc-top-hi { font-size: .95em; color: #64748b; }
.rp-pc-top-logo { display: none; }
.rp-pc-col {
    display: grid;
    gap: .85em;
    padding: .35em 1.6em 1.6em;
    width: 100%;
    max-width: 52em;
    margin: 0 auto;
}

.rp-pc-w {
    position: relative;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 1.1em;
    padding: 1.15em 1.3em;
    box-shadow: var(--pc-card-shadow);
}
.rp-pc-w-title { margin: 0 0 .75em !important; font-size: 1em; font-weight: 600; color: #0f172a; }

/* Serviço num relance */
.rp-pc-status { display: flex; align-items: center; gap: 1.25em; }
.rp-pc-ring {
    position: relative;
    flex: none;
    width: 6.4em;
    height: 6.4em;
    border-radius: 50%;
    background: var(--pc-green);
    color: #fff;
    display: grid;
    place-content: center;
    text-align: center;
}
.rp-pc-ring b { position: relative; font-size: 2.15em; font-weight: 800; line-height: 1; }
.rp-pc-ring small { position: relative; display: block; font-size: .64em; font-weight: 600; margin-top: .15em; }
.rp-pc-ring-halo {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--pc-green);
    opacity: .3;
    animation: rp-pc-halo 1.9s ease-out infinite;
}
.rp-pc-status-info { min-width: 0; flex: 1; }
.rp-pc-status-msg { margin: .5em 0 .35em !important; font-size: 1em; font-weight: 600; color: #0f172a; }
.rp-pc-status-meta { display: flex; flex-wrap: wrap; gap: .2em 1.1em; font-size: .82em; color: #64748b; }
.rp-pc-status-meta b { color: #0f172a; font-weight: 600; }
.rp-pc-wa {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .45em;
    background: #059669;
    color: #fff;
    border-radius: .6em;
    padding: .65em .9em;
    font-size: .8em;
    font-weight: 600;
    white-space: nowrap;
}
.rp-pc-wa svg { width: 1.25em; height: 1.25em; fill: currentColor; }

/* Estados (as mesmas pílulas do portal) */
.rp-pc-pill {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    padding: .28em .78em;
    border-radius: 999px;
    font-size: .78em;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.4;
}
.rp-pc-pill i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; flex: none; }
.rp-pc-pill-ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.rp-pc-pill-ok i { background: #10b981; }
.rp-pc-pill-warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.rp-pc-pill-warn i { background: #fbbf24; }
.rp-pc-pill-bad { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.rp-pc-pill-bad i { background: #ef4444; }
.rp-pc-pill-paid,
.rp-pc-pill-sched { background: #d1fae5; color: #047857; }
.rp-pc-pill.is-dim { opacity: .42; }

/* Dados bancários */
.rp-pc-bank { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4em; align-items: end; }
.rp-pc-bank small,
.rp-pc-ui-due small { display: block; font-size: .76em; color: #64748b; margin-bottom: .3em; }
.rp-pc-bank strong,
.rp-pc-ui-due strong {
    display: block;
    font-size: 1.55em;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rp-pc-iban { display: flex; align-items: center; gap: .5em; min-width: 0; }
.rp-pc-iban code {
    flex: 1;
    min-width: 0;
    font-family: var(--pc-mono);
    font-size: .84em;
    background: #f8fafc;
    border: 1px solid var(--pc-line);
    border-radius: .55em;
    padding: .5em .65em;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rp-pc-iban em {
    font-style: normal;
    font-size: .8em;
    font-weight: 600;
    color: #fff;
    background: #0f172a;
    border-radius: .55em;
    padding: .58em .85em;
    flex: none;
}

/* Fila de relatórios */
.rp-pc-report { display: flex; align-items: center; gap: .8em; }
.rp-pc-dot {
    width: .62em;
    height: .62em;
    border-radius: 50%;
    background: var(--pc-green);
    box-shadow: 0 0 0 .28em rgba(16, 185, 129, .16);
    flex: none;
}
.rp-pc-report-name { min-width: 0; flex: 1; display: grid; gap: .25em; }
.rp-pc-report-name b { font-size: .95em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-pc-report-name small { display: flex; align-items: center; gap: .55em; font-size: .78em; font-weight: 600; color: #059669; }
.rp-pc-chip {
    color: var(--pc-accent);
    background: rgba(var(--pc-accent-rgb), .1);
    border-radius: 999px;
    padding: .12em .65em;
    white-space: nowrap;
}
.rp-pc-report-act { display: flex; gap: .45em; flex: none; }
.rp-pc-mini {
    display: inline-flex;
    align-items: center;
    gap: .38em;
    font-size: .78em;
    font-weight: 600;
    border-radius: .55em;
    padding: .55em .75em;
    background: rgba(var(--pc-accent-rgb), .1);
    color: var(--pc-accent);
    white-space: nowrap;
}
.rp-pc-mini .rp-pc-ic { width: 1.2em; height: 1.2em; }
.rp-pc-mini-ai { background: #0f172a; color: #fff; }

/* Meus veículos: só aparece no telemóvel, onde a tela é alta */
.rp-pc-w-cars { display: none; }
.rp-pc-cars-sum { font-size: .82em; color: #64748b; }
.rp-pc-cars-sum b { font-size: 1.7em; font-weight: 700; color: #0f172a; margin-right: .15em; }
.rp-pc-cars-bar { display: block; height: .45em; margin: .55em 0 .7em; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.rp-pc-cars-bar i { display: block; width: 75%; height: 100%; border-radius: inherit; background: #10b981; }
.rp-pc-cars { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.rp-pc-cars li { display: flex; align-items: center; gap: .6em; font-size: .84em; }
.rp-pc-cars li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.rp-pc-cars li small { color: #94a3b8; font-size: .9em; white-space: nowrap; }
.rp-pc-cars i { width: .6em; height: .6em; border-radius: 50%; flex: none; }
.rp-pc-cars .is-on { background: #22c55e; }
.rp-pc-cars .is-idle { background: #f59e0b; }

/* ---------- Balões (hotspots) ---------- */
.rp-pc-spot { position: absolute; top: -13px; right: 22px; z-index: 5; }
.rp-pc-spot-1 { top: auto; bottom: -13px; }
/* no portátil, o canto direito do cartão fica colado na saudação do topo */
@media (min-width: 769px) {
    .rp-pc-spot-1 { right: auto; left: 44%; }
}
.rp-pc-hotspot {
    position: relative;
    display: block;
    width: 26px;
    height: 26px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pc-accent);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .96), 0 8px 18px rgba(var(--pc-accent-rgb), .5);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
/* área de toque de 44px sem mudar o desenho */
.rp-pc-hotspot::after {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
}
.rp-pc-hotspot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--pc-accent);
    animation: rp-pc-ping 2s ease-out infinite;
}
.rp-pc-hotspot:focus-visible { outline: 3px solid var(--pc-ink); outline-offset: 5px; }
/* miolo branco que vira "×" quando o balão está aberto */
.rp-pc-spot::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    transition: transform .2s ease, border-radius .2s ease;
}
.rp-pc-spot.is-open::after { border-radius: 1px; transform: rotate(45deg) scale(.9); }

.rp-pc-tip {
    position: absolute;
    right: -8px;
    top: calc(100% + 12px);
    width: max-content;
    max-width: 250px;
    max-width: min(250px, 64cqw);
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--pc-ink);
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
}
.rp-pc-tip::before {
    content: '';
    position: absolute;
    right: 15px;
    top: -5px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-radius: 2px;
    transform: rotate(45deg);
}
.rp-pc-spot-2 .rp-pc-tip { top: auto; bottom: calc(100% + 12px); transform: translateY(4px); }
.rp-pc-spot-2 .rp-pc-tip::before { top: auto; bottom: -5px; }
.rp-pc-spot.is-open .rp-pc-tip { opacity: 1; visibility: visible; transform: none; }
/* no desktop também abre ao passar o rato; o Esc cala (is-quiet) até o rato sair */
@media (hover: hover) {
    .rp-pc-spot:not(.is-quiet):hover .rp-pc-tip { opacity: 1; visibility: visible; transform: none; }
}

/* =====================================================================
   O QUE É O PORTAL
   ===================================================================== */
.rp-pc-about { padding: clamp(36px, 5vw, 72px) 0 clamp(16px, 3vw, 36px); }
.rp-pc-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(20px, 5vw, 72px);
    align-items: start;
}
.rp-pc-lead {
    margin: 0;
    padding-top: .3em;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.7;
    color: #334155;
}

/* =====================================================================
   RECURSOS
   ===================================================================== */
.rp-pc-features { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.rp-pc-sec-head { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.rp-pc-sec-sub { margin: 14px auto 0; font-size: 1.1rem; line-height: 1.6; color: var(--pc-body); }

/* Selo */
.rp-pc-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pc-accent);
    background: rgba(var(--pc-accent-rgb), .1);
    border-radius: 999px;
    padding: 6px 13px;
    margin-bottom: 16px;
}

/* Como funciona / Benefício */
.rp-pc-facts { margin: 0 0 28px; display: grid; gap: 18px; }
.rp-pc-fact dt {
    font-family: var(--pc-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pc-muted);
    margin: 0 0 6px;
}
.rp-pc-fact dd { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--pc-body); }
.rp-pc-fact-gain dd { display: flex; gap: 10px; align-items: flex-start; color: var(--pc-ink); font-weight: 600; }
.rp-pc-fact-gain .rp-pc-ic {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    padding: 3px;
    border-radius: 50%;
    color: #fff;
    background: var(--pc-green);
    stroke-width: 3.2;
}
.rp-pc-facts-dark .rp-pc-fact dt { color: rgba(232, 234, 237, .5); }
.rp-pc-facts-dark .rp-pc-fact dd { color: rgba(232, 234, 237, .8); }
.rp-pc-facts-dark .rp-pc-fact-gain dd { color: #fff; }

/* ---------- Relatórios 2 em 1 (o destaque da página) ---------- */
.rp-pc-pdf {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.65fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 52px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 34px 70px -44px rgba(var(--pc-glow-rgb), .45);
    margin-bottom: 28px;
}
.rp-pc-pdf-btn .rp-pc-ic { width: 18px; height: 18px; }

.rp-pc-merge {
    display: grid;
    grid-template-columns: minmax(0, .74fr) auto minmax(0, 1.3fr);
    align-items: end;
    gap: clamp(10px, 1.6vw, 22px);
}
.rp-pc-merge figure { margin: 0; min-width: 0; }
.rp-pc-merge figcaption { display: grid; gap: 3px; margin-top: 18px; text-align: center; }
.rp-pc-merge figcaption b { font-size: 14px; font-weight: 700; color: var(--pc-ink); }
.rp-pc-merge figcaption span { font-family: var(--pc-mono); font-size: 12px; color: var(--pc-muted); }
.rp-pc-before figcaption b { color: var(--pc-muted); }
.rp-pc-after figcaption b { color: var(--pc-accent); }
.rp-pc-merge-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pc-accent);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(var(--pc-accent-rgb), .6);
    margin-bottom: 40px;
    align-self: center;
}
.rp-pc-merge-arrow .rp-pc-ic { width: 20px; height: 20px; }

/* Antes: três ficheiros soltos, cada um num formato */
.rp-pc-pile { position: relative; aspect-ratio: 1 / 1.1; container-type: inline-size; }
.rp-pc-file {
    position: absolute;
    width: 70%;
    background: #fff;
    border: 1px solid #d7dce4;
    border-radius: 6px;
    border-radius: 3cqw;
    padding: 5px;
    padding: 2.4cqw;
    display: flex;
    flex-direction: column-reverse;
    box-shadow: 0 8px 18px -8px rgba(15, 23, 42, .3);
    filter: grayscale(.3);
}
.rp-pc-file-png { top: 1%; left: 0; transform: rotate(-8deg); }
.rp-pc-file-xls { top: 31%; right: 0; transform: rotate(6deg); }
.rp-pc-file-csv { bottom: 1%; left: 11%; transform: rotate(-3deg); }
.rp-pc-file-art { display: block; aspect-ratio: 3 / 2; border-radius: 3px; border-radius: 1.5cqw; overflow: hidden; background: #f1f5f9; }
.rp-pc-file-art svg { display: block; width: 100%; height: 100%; }
.rp-pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 1px; background: #d7dce4; }
.rp-pc-grid i { background: #fff; }
.rp-pc-grid i:nth-child(-n+3) { background: #107c41; }
.rp-pc-grid i:nth-child(3n+2):nth-child(n+4) { background: #f3f4f6; }
.rp-pc-csv {
    font-family: var(--pc-mono);
    font-size: 7.5px;
    font-size: 4.1cqw;
    line-height: 1.45;
    color: #64748b;
    padding: 4px 5px;
    padding: 2cqw 2.6cqw;
    white-space: nowrap;
    background: #fbfbfb;
}
.rp-pc-file-name {
    display: flex;
    align-items: center;
    gap: 4px;
    gap: 2cqw;
    margin: 0 0 5px;
    margin: 0 0 2.4cqw;
    font-family: var(--pc-mono);
    font-size: 8px;
    font-size: 4.4cqw;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
}
.rp-pc-file-name em {
    font-style: normal;
    font-weight: 700;
    font-size: .8em;
    color: #fff;
    background: #94a3b8;
    border-radius: 2px;
    border-radius: 1cqw;
    padding: .1em .45em;
}
.rp-pc-file-png .rp-pc-file-name em { background: #8b5cf6; }
.rp-pc-file-xls .rp-pc-file-name em { background: #107c41; }
.rp-pc-file-csv .rp-pc-file-name em { background: #64748b; }

/* Depois: um PDF, igual ao do portal (A4 deitado) */
.rp-pc-doc { position: relative; padding: 0 5% 6.5% 0; }
.rp-pc-sheet {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    container-type: inline-size;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 26px 46px -22px rgba(15, 23, 42, .38);
}
.rp-pc-sheet-1 {
    position: relative;
    z-index: 1;
    aspect-ratio: 297 / 210;
    border: 1px solid #e5e7eb;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s ease;
}
.rp-pc-sheet-2 {
    position: absolute;
    top: 6.5%;
    left: 5%;
    right: 0;
    bottom: 0;
    transform: rotate(2.2deg);
    border: 1px solid #e5e7eb;
}
.rp-pc-sheet-in {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 0 4.2% 2.6%;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 5px;
    font-size: 1.85cqw;
    line-height: 1.3;
    color: #0f172a;
    text-align: left;
}
.rp-pc-sheet-in p { margin: 0; }
.rp-pc-sheet-1 .rp-pc-sheet-in::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: .55em;
    background: var(--pc-accent);
}
.rp-pc-r-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin: 0 -4.4%;
    padding: 1.3em 4.4% .75em;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.rp-pc-r-logo-img { display: block; height: 2.7em; width: auto; }
.rp-pc-r-period { display: grid; text-align: right; }
.rp-pc-r-period small { font-size: .72em; color: #94a3b8; letter-spacing: .05em; }
.rp-pc-r-period b { font-size: .86em; color: #334155; }
.rp-pc-r-type { margin: .6em 0 .75em !important; font-size: .8em; font-weight: 700; color: var(--pc-accent); }
.rp-pc-r-veh { display: grid; border-left: .32em solid var(--pc-accent); padding-left: .7em; margin-bottom: .75em; }
.rp-pc-r-veh small { font-size: .64em; color: #94a3b8; letter-spacing: .06em; }
.rp-pc-r-veh b { font-size: 1.2em; }
.rp-pc-r-veh span { font-size: .72em; color: #475569; }
.rp-pc-r-hl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fafbfd;
    border: 1px solid #eef1f5;
    border-radius: .3em;
    padding: .55em .4em;
    margin-bottom: .75em;
}
.rp-pc-r-hl span { display: grid; text-align: center; }
.rp-pc-r-hl small { font-size: .6em; color: #94a3b8; letter-spacing: .05em; }
.rp-pc-r-hl b { font-size: 1.14em; color: var(--pc-accent); }
.rp-pc-r-row { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: .9em; }
.rp-pc-r-map,
.rp-pc-r-ind { display: flex; flex-direction: column; min-height: 0; border: 1px solid #e2e8f0; border-radius: .3em; overflow: hidden; }
.rp-pc-r-map small,
.rp-pc-r-ind small {
    display: block;
    background: #f1f5f9;
    font-size: .6em;
    font-weight: 700;
    letter-spacing: .06em;
    color: #64748b;
    padding: .38em .7em;
}
.rp-pc-map { display: block; width: 100%; flex: 1; min-height: 0; }
.rp-pc-r-ind ul { list-style: none; margin: 0; padding: 0; }
.rp-pc-r-ind li { display: flex; justify-content: space-between; gap: .5em; padding: .3em .7em; font-size: .68em; }
.rp-pc-r-ind li:nth-child(even) { background: #f8fafc; }
.rp-pc-r-ind li span { color: #64748b; }
.rp-pc-r-foot {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    margin: .55em 0 0 !important;
    padding-top: .35em;
    border-top: 1px solid #e2e8f0;
    font-size: .58em;
    color: #94a3b8;
}
/* Página 2: a tabela "Dirigindo e parado" */
.rp-pc-sheet-2 .rp-pc-sheet-in { padding-top: 4%; }
.rp-pc-t-title {
    align-self: flex-start;
    margin: 0 0 .6em !important;
    padding-bottom: .15em;
    font-size: 1em;
    font-weight: 700;
    border-bottom: .16em solid var(--pc-accent);
}
.rp-pc-t { display: grid; grid-template-columns: .9fr .7fr .8fr .7fr 2fr; font-size: .7em; }
.rp-pc-t span { padding: .5em .55em; border-bottom: 1px solid #e8ecf1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-pc-t .rp-pc-t-h { background: var(--pc-accent); color: #fff; font-weight: 700; }
.rp-pc-t span:nth-child(n+11):nth-child(-n+15),
.rp-pc-t span:nth-child(n+21):nth-child(-n+25) { background: #f8fafc; }
.rp-pc-t-link { color: #1d4ed8; }

/* Animação única: a folha sobe e a rota se desenha no mapa. Sem JS, tudo
   aparece pronto (as regras abaixo só valem com .is-armed, posto pelo JS). */
.rp-pc-route { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.45, .05, .3, 1) .45s; }
.rp-pc-pin { transform-box: fill-box; transform-origin: center; transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.rp-pc-merge.is-drawn .rp-pc-pin-b { transition-delay: 2.15s; }
.rp-pc-merge.is-armed:not(.is-drawn) .rp-pc-route { stroke-dashoffset: 1; }
.rp-pc-merge.is-armed:not(.is-drawn) .rp-pc-pin-b { opacity: 0; transform: scale(.3); }
.rp-pc-merge.is-armed:not(.is-drawn) .rp-pc-sheet-1 { transform: translateY(18px); opacity: 0; }

/* ---------- MEMO ---------- */
.rp-pc-memo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    padding: clamp(24px, 4vw, 52px);
    border-radius: 28px;
    border: 1.5px solid transparent;
    color: #e8eaed;
    background:
        radial-gradient(60% 80% at 0% 0%, rgba(var(--pc-accent-rgb), .22), transparent 62%) padding-box,
        radial-gradient(60% 80% at 100% 100%, rgba(var(--pc-glow-rgb), .32), transparent 62%) padding-box,
        linear-gradient(var(--pc-night), var(--pc-night)) padding-box,
        linear-gradient(135deg, rgba(var(--pc-accent-rgb), .95), rgba(255, 255, 255, .1) 48%, rgba(var(--pc-glow-rgb), .95)) border-box;
    box-shadow:
        0 30px 80px -38px rgba(var(--pc-accent-rgb), .65),
        0 30px 80px -38px rgba(var(--pc-glow-rgb), .75);
    margin-bottom: 28px;
}
.rp-pc-memo .rp-pc-h3 { color: #fff; }
.rp-pc-memo .rp-pc-facts { margin-bottom: 0; }

.rp-pc-chat {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #141517;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    font-family: var(--pc-ui);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .85);
}
.rp-pc-chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.rp-pc-bot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    color: var(--pc-accent);
    background: rgba(var(--pc-accent-rgb), .16);
    box-shadow: 0 0 0 1px rgba(var(--pc-accent-rgb), .4), 0 0 24px rgba(var(--pc-accent-rgb), .4);
}
.rp-pc-bot .rp-pc-ic { width: 22px; height: 22px; }
.rp-pc-chat-head b { display: block; font-size: 15px; color: #fff; }
.rp-pc-chat-head small { display: block; font-size: 12px; color: #9aa0a8; }
.rp-pc-chat-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 216px;
    padding: 20px 18px;
}
.rp-pc-msg { max-width: 86%; transition: opacity .35s ease, transform .35s ease; }
.rp-pc-msg p { margin: 0; font-size: 14px; line-height: 1.55; }
.rp-pc-msg-user {
    align-self: flex-end;
    padding: 10px 14px;
    border-radius: 16px 16px 4px 16px;
    color: #fff;
    background: var(--pc-accent);
    background: linear-gradient(135deg, rgba(var(--pc-accent-rgb), 1), rgba(var(--pc-accent-rgb), .8));
}
.rp-pc-msg-ai {
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    color: #e8eaed;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .06);
}
.rp-pc-msg-who { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--pc-accent); }
.rp-pc-typing {
    display: none;
    align-self: flex-start;
    gap: 4px;
    padding: 13px 14px;
    border-radius: 16px 16px 16px 4px;
    background: rgba(255, 255, 255, .07);
}
.rp-pc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa0a8; animation: rp-pc-dot 1.2s ease-in-out infinite; }
.rp-pc-typing i:nth-child(2) { animation-delay: .15s; }
.rp-pc-typing i:nth-child(3) { animation-delay: .3s; }
/* Com JS: as mensagens entram em sequência (is-step-1, 2, 3). */
.rp-pc-chat.is-ready .rp-pc-msg { opacity: 0; transform: translateY(10px); }
.rp-pc-chat.is-step-1 .rp-pc-msg-user,
.rp-pc-chat.is-step-3 .rp-pc-msg-ai { opacity: 1; transform: none; }
.rp-pc-chat.is-step-2 .rp-pc-typing { display: flex; }
.rp-pc-chat-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 14px 14px;
    padding: 9px 9px 9px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: #6b7280;
}
.rp-pc-chat-foot span { flex: 1; }
.rp-pc-chat-foot i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--pc-accent); color: #fff; }
.rp-pc-chat-foot .rp-pc-ic { width: 16px; height: 16px; transform: rotate(90deg); }
.rp-pc-replay {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: -4px auto 12px;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    font: 600 12.5px/1.2 var(--pc-ui);
    color: #9aa0a8;
    cursor: pointer;
    touch-action: manipulation;
}
.rp-pc-replay { position: relative; }
.rp-pc-replay::after { content: ''; position: absolute; inset: -9px -4px; }
.rp-pc-replay .rp-pc-ic { width: 15px; height: 15px; }
.rp-pc-replay:hover { color: #fff; }
.rp-pc-replay:focus-visible { outline: 2px solid var(--pc-accent); outline-offset: 2px; }
.rp-pc-chat.is-ready.is-step-3 .rp-pc-replay { display: inline-flex; }

/* ---------- Os 4 cartões do painel ---------- */
.rp-pc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rp-pc-card {
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 24px;
    padding: 24px 24px 28px;
    box-shadow: var(--pc-card-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
    .rp-pc-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 24px 46px -20px rgba(var(--pc-glow-rgb), .3);
    }
}
.rp-pc-card-title {
    margin: 22px 0 14px;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--pc-ink);
}
.rp-pc-card .rp-pc-facts { margin: 0; gap: 14px; }
.rp-pc-card .rp-pc-fact dd { font-size: .97rem; }

.rp-pc-ui {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 150px;
    padding: 18px;
    font-family: var(--pc-ui);
    font-size: 13px;
    line-height: 1.4;
    color: #0f172a;
    background: var(--pc-canvas);
    border: 1px solid var(--pc-line);
    border-radius: 16px;
}
.rp-pc-ui p { margin: 0; }
.rp-pc-ui .rp-pc-pill { font-size: 11.5px; }

.rp-pc-ui-glance { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
.rp-pc-ui-ring {
    flex: none;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    color: #fff;
    background: var(--pc-green);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, .15);
}
.rp-pc-ui-ring b { font-size: 28px; font-weight: 800; line-height: 1; }
.rp-pc-ui-ring small { display: block; font-size: 10px; font-weight: 600; margin-top: 2px; }
.rp-pc-ui-lights { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; min-width: 0; }
.rp-pc-ui-lights small { width: 100%; margin-top: 6px; font-size: 12px; color: #64748b; }
.rp-pc-ui-lights small b { color: #0f172a; font-weight: 600; }

.rp-pc-ui-pay .rp-pc-ui-due strong { font-size: 21px; }
.rp-pc-ui-pay .rp-pc-iban code { font-size: 12px; background: #fff; }
.rp-pc-ui-pay .rp-pc-iban em { font-size: 11.5px; }
.rp-pc-ui-inv {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--pc-line);
    font-size: 12px;
    color: #475569;
}
.rp-pc-ui-inv span:nth-child(2) { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-pc-type {
    font-size: 11px;
    font-weight: 600;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 2px 8px;
}

.rp-pc-ui-req-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #475569; }
.rp-pc-ui-req-head b { color: #0f172a; }
.rp-pc-ui-line {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 2px 0 0 6px;
    padding: 0 0 0 18px;
    border-left: 2px solid #d1d5db;
}
.rp-pc-ui-line li { position: relative; display: grid; gap: 2px; }
.rp-pc-ui-line li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    box-shadow: 0 0 0 4px var(--pc-canvas);
}
.rp-pc-ui-line li.is-now::before { background: var(--pc-green); box-shadow: 0 0 0 4px var(--pc-canvas), 0 0 0 7px rgba(16, 185, 129, .2); }
.rp-pc-ui-line b { font-size: 12.5px; font-weight: 600; }
.rp-pc-ui-line small { font-size: 11.5px; color: #64748b; }

.rp-pc-ui-msg { gap: 10px; }
.rp-pc-ui-who { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--pc-line); }
.rp-pc-ui-who i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 700;
    color: #fff;
    background: var(--pc-accent);
    flex: none;
}
.rp-pc-ui-who span { display: grid; }
.rp-pc-ui-who b { font-size: 13px; }
.rp-pc-ui-who small { font-size: 11px; color: #64748b; }
.rp-pc-ui-b { max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; }
.rp-pc-ui-b-in { align-self: flex-start; background: #fff; border: 1px solid var(--pc-line); border-bottom-left-radius: 4px; }
.rp-pc-ui-b-out { align-self: flex-end; background: var(--pc-accent); color: #fff; border-bottom-right-radius: 4px; }

/* =====================================================================
   COMO ACEDER
   ===================================================================== */
.rp-pc-access { background: #fff; border-top: 1px solid var(--pc-line); padding: clamp(64px, 8vw, 110px) 0; }
.rp-pc-access-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.rp-pc-steps { list-style: none; margin: 30px 0 34px; padding: 0; }
.rp-pc-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-bottom: 22px;
}
/* linha que liga um passo ao seguinte: a ordem importa */
.rp-pc-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 48px;
    bottom: 4px;
    width: 2px;
    background: var(--pc-line);
}
.rp-pc-step-n {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    color: var(--pc-accent);
    background: rgba(var(--pc-accent-rgb), .1);
    box-shadow: inset 0 0 0 1.5px rgba(var(--pc-accent-rgb), .3);
}
.rp-pc-steps p { margin: 0; padding-top: 9px; font-size: 1.08rem; line-height: 1.55; font-weight: 600; color: var(--pc-ink); }

/* A tela de entrada do portal (escura, como a real) */
.rp-pc-login {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 44px);
    background:
        radial-gradient(55% 60% at 12% 8%, rgba(var(--pc-accent-rgb), .45), transparent 66%),
        radial-gradient(50% 55% at 92% 96%, rgba(var(--pc-accent-rgb), .26), transparent 66%),
        #0a0b0d;
    box-shadow: 0 40px 80px -42px rgba(15, 23, 42, .65);
}
.rp-pc-login-card {
    display: flex;
    flex-direction: column;
    max-width: 330px;
    margin: 0 auto;
    padding: 26px 24px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    font-family: var(--pc-ui);
    color: #e8eaed;
    text-align: left;
}
.rp-pc-login-brand { align-self: flex-start; background: #fff; border-radius: 12px; padding: 7px 10px; margin-bottom: 18px; }
.rp-pc-login-logo { display: block; height: 26px; width: auto; }
.rp-pc-login-brand .rp-pc-logo-text { color: #0f172a; font-size: 14px; }
.rp-pc-login-h { font-size: 24px; font-weight: 700; color: #fff; }
.rp-pc-login-sub { margin: 4px 0 18px; font-size: 13px; color: #9aa0a8; }
.rp-pc-login-label { margin: 0 0 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa0a8; }
.rp-pc-field {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    margin-bottom: 14px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .11);
    font-size: 13.5px;
    color: #e8eaed;
}
.rp-pc-field .rp-pc-ic { width: 16px; height: 16px; color: #9aa0a8; }
.rp-pc-dots + .rp-pc-ic { margin-left: auto; }   /* só o olho da senha vai para a direita */
.rp-pc-dots { letter-spacing: .18em; }
.rp-pc-keep { display: flex; align-items: center; gap: 8px; margin: 2px 0 16px; font-size: 12.5px; color: #c4c9d0; }
.rp-pc-keep i { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; background: var(--pc-accent); flex: none; }
.rp-pc-keep .rp-pc-ic { width: 12px; height: 12px; color: #fff; stroke-width: 3; }
.rp-pc-login-btn {
    display: grid;
    place-items: center;
    height: 44px;
    border-radius: 13px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, rgba(var(--pc-accent-rgb), 1), rgba(var(--pc-accent-rgb), .78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px -6px rgba(var(--pc-accent-rgb), .6);
}
.rp-pc-login-note { margin-top: 14px; font-size: 11.5px; line-height: 1.45; color: #9aa0a8; text-align: center; }

.rp-pc-logo-text { font-family: var(--pc-ui); font-weight: 700; color: #0f172a; white-space: nowrap; }
.rp-pc-nobr { white-space: nowrap; }

/* =====================================================================
   ANIMAÇÕES
   ===================================================================== */
@keyframes rp-pc-ping {
    0% { transform: scale(1); opacity: .55; }
    80%, 100% { transform: scale(2.2); opacity: 0; }
}
@keyframes rp-pc-halo {
    0% { transform: scale(1); opacity: .32; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes rp-pc-dot {
    0%, 80%, 100% { transform: translateY(0); opacity: .45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1100px) {
    .rp-pc-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

@media (max-width: 960px) {
    .rp-pc-hero-grid,
    .rp-pc-about-grid,
    .rp-pc-pdf,
    .rp-pc-memo,
    .rp-pc-access-grid { grid-template-columns: minmax(0, 1fr); }
    .rp-pc-hero-copy { max-width: 640px; }
    .rp-pc-hero-visual { width: 100%; max-width: 720px; margin: 0 auto; }
    .rp-pc-pdf-copy,
    .rp-pc-memo-copy { max-width: 640px; }
}

/* Celular: o portátil vira telemóvel, com o layout de celular do portal. */
@media (max-width: 768px) {
    .rp-pc-hero-visual { max-width: 330px; padding: 6px 0 0; }
    .rp-pc-device { border-radius: 46px; padding: 10px; }
    .rp-pc-device::before {
        top: 20px;
        width: 70px;
        height: 20px;
        margin-left: -35px;
        border-radius: 12px;
        background: #050608;
        z-index: 2;
    }
    .rp-pc-device::after { display: none; }
    .rp-pc-screen { aspect-ratio: 9 / 18.6; border-radius: 36px; background: #fafafa; }
    .rp-pc-app {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 0;
        font-size: 10px;
        font-size: clamp(8px, 3.5cqw, 12px);
    }
    .rp-pc-side { display: none; }
    .rp-pc-main { border: 0; border-radius: 0; box-shadow: none; background: #fafafa; }
    .rp-pc-top { flex-wrap: wrap; row-gap: .5em; padding: 4.4em 1.3em .5em; }
    .rp-pc-top-logo { display: flex; align-items: center; }
    .rp-pc-top-logo-img { display: block; height: 2em; width: auto; }
    .rp-pc-top-hi { margin-left: auto; font-size: .9em; }
    .rp-pc-top b { order: 3; width: 100%; font-size: 1.5em; }
    .rp-pc-col { gap: .8em; padding: .4em 1em 1em; }
    .rp-pc-w { padding: 1.05em 1.1em; }
    .rp-pc-wa { display: none; }
    .rp-pc-bank { grid-template-columns: minmax(0, 1fr); gap: .8em; }
    .rp-pc-report { flex-wrap: wrap; }
    .rp-pc-report-act { width: 100%; }
    .rp-pc-report-act .rp-pc-mini { flex: 1; justify-content: center; }
    .rp-pc-w-cars { display: block; }
    .rp-pc-spot { right: 16px; }

    .rp-pc-hero-actions .rp-pc-cta { width: 100%; justify-content: center; }
    .rp-pc-hero-actions { justify-content: center; }
    .rp-pc-access-copy .rp-pc-cta { width: 100%; justify-content: center; }

    .rp-pc-merge { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; }
    .rp-pc-before { width: min(74%, 300px); }
    .rp-pc-after { width: 100%; }
    .rp-pc-merge-arrow { transform: rotate(90deg); margin: 4px 0 10px; }
    .rp-pc-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 480px) {
    .rp-pc-tag { font-size: 11px; letter-spacing: .1em; }
    .rp-pc-pdf,
    .rp-pc-memo { border-radius: 22px; padding: 22px 18px; }
    .rp-pc-card { padding: 18px 18px 22px; border-radius: 20px; }
    .rp-pc-ui { padding: 14px; }
    .rp-pc-ui-glance { gap: 14px; }
    .rp-pc-ui-ring { width: 78px; height: 78px; }
    .rp-pc-ui-ring b { font-size: 24px; }
    .rp-pc-ui-ring small { font-size: 9px; }
    .rp-pc-ui-inv { flex-wrap: wrap; }
    .rp-pc-ui-inv span:nth-child(2) { white-space: normal; }
    /* o texto do botão do exemplo cabe numa linha sem o ícone */
    .rp-pc-pdf-btn { width: 100%; justify-content: center; padding-left: 16px; padding-right: 16px; }
    .rp-pc-pdf-btn .rp-pc-ic { display: none; }
    .rp-pc-chat-body { padding: 16px 14px; }
    .rp-pc-login { border-radius: 22px; }
}

/* Desempenho no celular: os enfeites contínuos param (regra do tema desde a
   v2.9.3). Os pontos dos balões continuam, porque são o convite ao toque. */
@media (max-width: 992px) {
    .rp-pc-ring-halo,
    .rp-pc-live::after { animation: none; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rp-pc-hotspot::before,
    .rp-pc-ring-halo,
    .rp-pc-live::after,
    .rp-pc-typing i { animation: none; }
    .rp-pc-route,
    .rp-pc-pin,
    .rp-pc-sheet-1,
    .rp-pc-msg,
    .rp-pc-tip,
    .rp-pc-card,
    .rp-pc-cta .rp-pc-ic { transition: none; }
}

/* =====================================================================
   AJUSTES DA REVISÃO (v2.9.5)
   ===================================================================== */

/* Cartões 2x2: figura, título e texto alinhados entre as duas colunas,
   mesmo quando as telas de demonstração têm alturas diferentes. */
@media (min-width: 769px) {
    .rp-pc-ui { min-height: 196px; }
    @supports (grid-template-rows: subgrid) {
        .rp-pc-cards { grid-auto-rows: auto auto 1fr; }
        .rp-pc-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
        .rp-pc-ui { min-height: 150px; }
    }
}

/* Sem palavra sozinha no fim do parágrafo (quem não suporta ignora). */
.rp-pc-steps p,
.rp-pc-fact dd,
.rp-pc-lead,
.rp-pc-hero-sub { text-wrap: pretty; }

/* A faixa transparente da onda do rodapé mostrava a grade do fundo do site
   logo abaixo da seção branca. Este CSS só carrega nesta página. */
.rp-footer-wave { background: #fff; }

/* Até 1300px a base do portátil encostava na borda da tela. */
@media (max-width: 1300px) {
    .rp-pc-device::after { left: -3.5%; right: -3.5%; }
}
