/* EERAC — cor de cada ramo (29/11/2026). Carregar depois de marca.css.
   Base continua neutra; a cor entra só em detalhes.
   AI Engineer: degradê da animação da marca · Projetos: petróleo + marinho · Tecnologias: roxo */
:root{--pr:#0f7c86;--pr2:#12305c;--pr-claro:#3fb8c4;--tec:#7a1fa2;--tec-claro:#b56bd6;--ai-claro:#5fe3d0}

/* ===== HOME: três ramos ===== */
.branch.b-ai::before{background:var(--destaque)}
.branch.b-ai .tag i{background:#22d3ee}
.branch.b-ai .kick,.branch.b-ai .go,.branch.b-ai .num{color:var(--ai-claro)}
.branch.b-ai li::before{background:#22d3ee}
.branch.b-ai li:nth-child(2)::before{background:#6ee7a0}
.branch.b-ai li:nth-child(3)::before{background:#8b7cf6}
.branch.b-ai li:nth-child(4)::before{background:#e062e6}
.branch.b-pr::before{background:linear-gradient(90deg,var(--pr),var(--pr2))}
.branch.b-pr .tag i,.branch.b-pr li::before{background:var(--pr)}
.branch.b-pr .kick,.branch.b-pr .num{color:var(--pr)}
.branch.b-pr .go{color:var(--pr2)}
.branch.b-pr:hover{border-color:var(--pr)}
.branch.b-tec::before{background:var(--tec)}
.branch.b-tec .tag i,.branch.b-tec li::before{background:var(--tec)}
.branch.b-tec .kick,.branch.b-tec .num,.branch.b-tec .go{color:var(--tec)}
.branch.b-tec:hover{border-color:var(--tec)}

/* diagrama do topo */
.tech-hero .hub .lines path:nth-child(1){stroke:var(--pr-claro)}
.tech-hero .hub .lines path:nth-child(2){stroke:var(--tec-claro)}
.tech-hero .hub .lines path:nth-child(3){stroke:#6ee7a0}
.tech-hero .hub-node.n1{border-color:var(--pr-claro)}
.tech-hero .hub-node.n1 i{background:var(--pr-claro);box-shadow:0 0 10px var(--pr-claro)}
.tech-hero .hub-node.n2{border-color:var(--tec-claro)}
.tech-hero .hub-node.n2 i{background:var(--tec-claro);box-shadow:0 0 10px var(--tec-claro)}
.tech-hero .hub-node.n3{border-color:#5fe3d0}
.tech-hero .hub-node.n3 i{background:var(--destaque);box-shadow:0 0 10px #5fe3d0}
.tech-hero .hub-core{border-color:#22d3ee99;box-shadow:0 0 0 10px rgba(34,211,238,.07),0 0 0 22px rgba(139,124,246,.05),0 0 70px rgba(139,124,246,.35)}

/* conexões entre ramos */
.links3 .pair span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:var(--m,#999)}
.links3 article:nth-child(1) .pair span:nth-child(1),.links3 article:nth-child(2) .pair span:nth-child(1){--m:#22d3ee}
.links3 article:nth-child(1) .pair span:nth-child(2),.links3 article:nth-child(3) .pair span:nth-child(1){--m:var(--pr)}
.links3 article:nth-child(2) .pair span:nth-child(2),.links3 article:nth-child(3) .pair span:nth-child(2){--m:var(--tec)}

/* mapa do ecossistema: filtros e legenda */
.eco-btn[data-f="ai"]{border-color:#22d3ee}.eco-btn[data-f="pr"]{border-color:var(--pr-claro)}.eco-btn[data-f="tec"]{border-color:var(--tec-claro)}
.eco-btn.on[data-f="ai"]{background:var(--destaque);border-color:transparent;color:#05070a}
.eco-btn.on[data-f="pr"]{background:var(--pr);border-color:var(--pr);color:#fff}
.eco-btn.on[data-f="tec"]{background:var(--tec);border-color:var(--tec);color:#fff}
.eco [data-b="ai"]:not(.mc) .g,.eco-legend [data-b="ai"] .g{background:#22d3ee;box-shadow:0 0 8px #22d3ee}
.eco [data-b="pr"]:not(.mc) .g,.eco-legend [data-b="pr"] .g{background:var(--pr-claro);box-shadow:0 0 8px var(--pr-claro)}
.eco [data-b="tec"]:not(.mc) .g,.eco-legend [data-b="tec"] .g{background:var(--tec-claro);outline-color:var(--tec-claro);box-shadow:0 0 8px var(--tec-claro)}

/* atalhos dos menus */
.nav-links a[href="engenharia.html"]:not(.nav-eng)::before,.nav-links a[href="tecnologias.html"]::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px;background:var(--pr)}
.nav-links a[href="tecnologias.html"]::before{background:var(--tec)}

/* ===== TECNOLOGIAS: roxo ===== */
body.ramo-tec{--violet:#56136a;--violet-2:#7a2a96;--accent:#7a1fa2;--lilac:#efe3f6}
.ramo-tec h1 em,.ramo-tec h2 em,.ramo-tec h3 em,.ramo-tec .eyebrow,.ramo-tec .rot{color:var(--tec)}
.ramo-tec .price em{color:var(--muted)}.ramo-tec .price em.disc{color:var(--tec)}.ramo-tec .featured .price em{color:#cdb7d9}
.ramo-tec .btn-dark{background:var(--tec);border-color:var(--tec);color:#fff}
.ramo-tec .btn-dark:hover{background:#56136a}
.ramo-tec .nav-cta,.ramo-tec .nav-demo{background:var(--tec);color:#fff}
.ramo-tec .show em,.ramo-tec .show .eyebrow,.ramo-tec .dark em,.ramo-tec .dark .eyebrow,.ramo-tec .demo-card em,.ramo-tec .demo-card .eyebrow,.ramo-tec .cta-dark em,.ramo-tec .plan.featured h3{color:#c999dd}
.ramo-tec .show-tabs .pill,.ramo-tec .node .tag{background:var(--tec)}
.ramo-tec .w.glow{stroke:var(--tec-claro)}
.ramo-tec .plan.featured{box-shadow:0 30px 60px rgba(28,3,41,.3),0 0 0 2px var(--tec)}
/* o que leva à Engenharia mantém a cor da Engenharia */
.ramo-tec .nav-eng,.ramo-tec .eng-enter .btn{background:linear-gradient(135deg,var(--pr),var(--pr2));border-color:transparent;color:#fff}

/* ===== PLANOS (ramo Tecnologias): roxo ===== */
body[data-plan="essencial"],body[data-plan="site"],body[data-plan="atendimento"]{--acc:#7a1fa2;--acc2:#d9b8ea;--acc-ink:#fff;--em:#6a1b8e}
body[data-plan="starter"]{--acc:#6a1b8e;--acc2:#c99bdf;--acc-ink:#fff;--em:#56136a}
body[data-plan="growth"]{--acc:#c999dd;--acc2:#3b1654;--acc-ink:#1c0329;--em:#d9a6ef}
body[data-plan="enterprise"]{--acc:#56136a;--acc2:#a77bc0;--acc-ink:#fff;--em:#56136a}
body[data-plan] h1 em,body[data-plan] h2 em,body[data-plan] .eyebrow{color:var(--em)}
body[data-plan] .hd-cta,body[data-plan] .hd-plans a.on{background:var(--acc);color:var(--acc-ink)}
