/* Mapa do ecossistema: mesmas rotas no desktop e no celular, sem dependências. */
.t3a-ecosystem-nav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.t3a-ecosystem-nav summary::-webkit-details-marker { display: none; }
.t3a-ecosystem-nav summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 180ms ease; }
.t3a-ecosystem-nav[open] summary::after { transform: rotate(225deg); }
.main-menu .t3a-ecosystem-nav summary { color: #fff; padding: 20px 0; }
.t3a-ecosystem-panel { text-align: left; color: #dbeaf9; background: #071b35; border: 1px solid #294b70; border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px #000d2440; }
.main-menu .t3a-ecosystem-panel { position: fixed; z-index: 100; top: 72px; left: 50%; transform: translateX(-50%); width: min(960px, calc(100vw - 48px)); max-height: calc(100dvh - 96px); overflow-y: auto; }
.t3a-ecosystem-columns { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; }
.t3a-ecosystem-group > p { color: #70d6fa; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.t3a-ecosystem-panel a { display: block !important; color: #fff !important; padding: 10px 12px !important; margin: 0 !important; border-radius: 10px; font-size: 15px !important; line-height: 1.4; text-decoration: none; }
.t3a-ecosystem-panel a::before, .t3a-ecosystem-panel a::after { display: none !important; }
.t3a-ecosystem-panel a strong { display: block; font-size: 15px; }
.t3a-ecosystem-panel a span { display: block; color: #b7cbdf; font-size: 12px; font-weight: 400; margin-top: 4px; }
.t3a-ecosystem-panel a:hover, .t3a-ecosystem-panel a:focus-visible { background: #183a5d; }
.t3a-ecosystem-nav summary:focus-visible, .t3a-ecosystem-panel a:focus-visible { outline: 2px solid #70d6fa; outline-offset: 3px; }
.t3a-ecosystem-panel .t3a-ecosystem-proof { margin-top: 18px !important; border-top: 1px solid #294b70; border-radius: 0; padding-top: 18px !important; color: #70d6fa !important; }
.th-mobile-menu .t3a-ecosystem-nav summary { justify-content: center; color: #142f53; padding: 14px 0; }
.th-mobile-menu .t3a-ecosystem-panel { margin: 0 8px 12px; padding: 14px; border-radius: 14px; box-shadow: none; }
.th-mobile-menu .t3a-ecosystem-columns { grid-template-columns: 1fr; gap: 18px; }
.th-mobile-menu .t3a-ecosystem-panel a { text-align: left !important; }
@media (prefers-reduced-motion: no-preference) {
  .t3a-ecosystem-nav[open] .t3a-ecosystem-columns { animation: t3a-map-enter 220ms cubic-bezier(.22,1,.36,1); }
  .t3a-ecosystem-panel a { transition: background-color 160ms ease; }
  @keyframes t3a-map-enter { from { transform: translateY(6px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .t3a-ecosystem-nav summary::after { transition: none; } }

/* Agentes nomeados: leitura e caminho comercial antes da arquitetura de plataformas. */
.t3a-product-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.t3a-product-role { display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 28px 22px; border: 1px solid #d5e3ef; border-radius: 20px; background: linear-gradient(155deg, #fff, #f0f7fc); scroll-margin-top: 110px; }
.t3a-product-role::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #1e4b8f, #4bc4f2); }
.t3a-product-role .t3a-product-role__name { color: #1e4b8f; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.t3a-product-role h3 { color: #071b35; font-size: 23px; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 14px; }
.t3a-product-role > p:not(.t3a-product-role__name) { color: #526579; font-size: 14px; line-height: 1.7; }
.t3a-product-role a { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #1e4b8f; font-size: 13px; font-weight: 700; min-height: 44px; }
.t3a-product-role a:focus-visible { outline: 2px solid #1e4b8f; outline-offset: 4px; border-radius: 4px; }
[data-eco-anchor], #cases-sec { scroll-margin-top: 110px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .t3a-product-role { transition: transform 220ms cubic-bezier(.22,1,.36,1), border-color 220ms ease; }
  .t3a-product-role:hover, .t3a-product-role:focus-within { transform: translateY(-4px); border-color: #75bde0; }
  .t3a-product-role a span { transition: transform 180ms ease; }
  .t3a-product-role a:hover span { transform: translateX(3px); }
}
@media (max-width: 1100px) { .t3a-product-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
  .t3a-product-map { grid-template-columns: 1fr; gap: 12px; }
  .t3a-product-role { padding: 22px; }
  .t3a-product-role .t3a-product-role__name { margin-bottom: 10px; }
}

.main-menu > ul { display: flex; align-items: center; }
.th-mobile-menu .t3a-ecosystem-panel a span { display: none; }
.th-mobile-menu .t3a-ecosystem-panel a { padding: 10px 8px !important; text-transform: none; }
