/* Seção "Ecossistema M7" — diagrama nativo HTML/CSS/SVG, inspirado em referência visual, adaptado ao design system da M7. */
.ecosystem-intro{padding:56px 0 0}
.ecosystem-heading{display:grid;grid-template-columns:1fr auto;gap:48px;align-items:start;padding-bottom:26px}
.ecosystem-heading h2{margin:12px 0 14px;max-width:820px}
.ecosystem-heading>div>p:not(.eyebrow){color:var(--muted);font-size:17px;line-height:1.6;max-width:600px}
.ecosystem-note{border-left:1px solid var(--line);padding-left:22px;margin:4px 0 0;font-size:11px;font-weight:650;letter-spacing:1.4px;line-height:1.8;color:var(--muted);text-transform:uppercase;max-width:190px}
.ecosystem-band{background:#efefef;padding:44px 0 48px}
.ecosystem-band-inner{position:relative}
.ecosystem-tag{display:block;color:var(--red);font-size:11px;font-weight:650;letter-spacing:2px;text-transform:uppercase;margin-bottom:32px}
.ecosystem-side{position:absolute;top:50%;transform:translateY(-50%);font-size:11px;font-weight:650;letter-spacing:1.3px;line-height:1.8;color:var(--muted);text-transform:uppercase;max-width:130px}
.ecosystem-side::before{content:"";display:block;width:26px;height:2px;background:var(--red);margin-bottom:14px}
.ecosystem-side-left{left:0}
.ecosystem-side-right{right:0;text-align:right}
.ecosystem-side-right::before{margin-left:auto}
.ecosystem-side{transition:opacity .3s ease}
.ecosystem-band-inner.is-panel-open .ecosystem-side{opacity:0}
.ecosystem-stage{display:flex;align-items:center;justify-content:center;gap:40px;max-width:960px;margin:0 auto}
.ecosystem-stage .ecosystem-diagram{margin:0;flex:1 1 640px}
.ecosystem-card{flex:0 0 320px;max-width:340px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px;box-shadow:0 10px 26px rgba(0,0,0,.06);opacity:1;transform:translateY(0);transition:opacity .22s ease,transform .22s ease}
.ecosystem-card h3{font-size:21px;letter-spacing:-.3px;font-weight:650;margin-bottom:10px}
.ecosystem-card-text{color:var(--muted);font-size:14.5px;line-height:1.6;margin-bottom:18px}
.ecosystem-card-list{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-wrap:wrap;gap:8px 10px}
.ecosystem-card-list li{font-size:12px;font-weight:600;letter-spacing:.2px;color:var(--black);background:#f3f3f1;border:1px solid var(--line);border-radius:20px;padding:6px 12px}
.ecosystem-card-cta{display:inline-flex;align-items:center;gap:8px;color:var(--red);font-weight:650;font-size:14px;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease,gap .2s ease}
.ecosystem-card-cta:hover{border-color:var(--red);gap:11px}
.ecosystem-diagram{position:relative;height:clamp(440px,40vw,600px);max-width:900px;margin:0 auto}
.ecosystem-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ecosystem-lines line{stroke:var(--muted);stroke-width:.18;stroke-opacity:.8;transition:stroke .2s ease,stroke-opacity .2s ease,stroke-width .2s ease}
.ecosystem-lines line.is-active{stroke:var(--red);stroke-width:.32;stroke-opacity:1}
.ecosystem-hub{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:88px;height:88px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#2c2c2c,var(--black) 72%);display:grid;place-items:center;box-shadow:0 14px 32px rgba(0,0,0,.22),0 0 0 7px #efefef,0 0 0 8px var(--line);z-index:2;transition:box-shadow .2s ease}
.ecosystem-hub.is-active{box-shadow:0 14px 32px rgba(0,0,0,.22),0 0 0 7px #efefef,0 0 0 8px var(--red)}
.ecosystem-hub-btn{all:unset;display:grid;place-items:center;width:100%;height:100%;border-radius:50%;cursor:pointer}
.ecosystem-hub-btn:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.ecosystem-hub img{width:42px;height:42px;object-fit:contain;border-radius:8px}
.ecosystem-nodes{list-style:none;margin:0;padding:0}
.ecosystem-node{position:absolute;transform:translate(-50%,-50%);width:184px;z-index:1}
.ecosystem-node-btn{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;background:none;border:0;margin:0;padding:6px;font:inherit;color:inherit;border-radius:14px;cursor:pointer;transition:opacity .25s ease}
.ecosystem-node-btn:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.ecosystem-node-badge{width:58px;height:58px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:#242424;box-shadow:0 8px 18px rgba(0,0,0,.07);margin-bottom:12px;transition:box-shadow .2s ease,border-color .2s ease,color .2s ease}
.ecosystem-node-badge svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ecosystem-node-btn:hover .ecosystem-node-badge{border-color:#b3b3b3;box-shadow:0 10px 20px rgba(0,0,0,.1)}
.ecosystem-node-btn[aria-pressed="true"] .ecosystem-node-badge{border-color:var(--red);color:var(--red);box-shadow:0 0 0 5px rgba(241,9,27,.12),0 10px 22px rgba(241,9,27,.2)}
.ecosystem-node-btn h3{font-size:16px;letter-spacing:-.2px;font-weight:650;margin-bottom:4px;color:#242424}
.ecosystem-node-btn p{font-size:12.5px;line-height:1.4;color:#595959;margin:0}
.pos-top{top:8%;left:50%}
.pos-upper-right{top:29%;left:88%}
.pos-lower-right{top:71%;left:88%}
.pos-bottom{top:92%;left:50%}
.pos-lower-left{top:71%;left:12%}
.pos-upper-left{top:29%;left:12%}
@media(max-width:1050px){
.ecosystem-heading{grid-template-columns:1fr;gap:22px}
.ecosystem-note{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:16px;max-width:340px}
.ecosystem-band{padding:36px 0 40px}
.ecosystem-side{display:none}
.ecosystem-stage{flex-direction:column;gap:32px}
.ecosystem-stage .ecosystem-diagram{flex:none;margin:0 auto}
.ecosystem-diagram{max-width:560px;height:auto;margin:0 auto}
.ecosystem-lines{display:none}
.ecosystem-hub{position:static;transform:none;margin:0 auto 32px}
.ecosystem-nodes{display:grid;grid-template-columns:repeat(2,1fr);gap:28px 18px}
.ecosystem-node{position:static;transform:none;width:auto}
.ecosystem-card{flex:none;width:100%;max-width:520px;margin:0 auto}
}
@media(max-width:560px){
.ecosystem-nodes{grid-template-columns:1fr;gap:26px}
.ecosystem-node-badge{width:52px;height:52px}
.ecosystem-card{padding:24px 22px}
}
