/* Technopole Madagascar — opportunities and ecosystem services, v1 */
.tp-ecosystem-services{background:#f3f7fc;border-top:1px solid #e2eaf3;border-bottom:1px solid #e2eaf3}
.tp-ecosystem-services .container.section{padding-block:clamp(64px,6vw,96px)}
.tp-services-heading{max-width:920px;margin-inline:auto}
.tp-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:clamp(28px,4vw,46px)}
.tp-services-card{min-width:0;background:#fff;border:1px solid #dae4f0;border-radius:18px;padding:clamp(20px,2.4vw,29px);box-shadow:0 3px 14px rgba(22,49,78,.035);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.tp-services-card h3{font-size:clamp(1.07rem,1.3vw,1.23rem);line-height:1.3;margin:15px 0 10px;color:#173455}
.tp-services-card p{font-size:.96rem;line-height:1.65;margin:0;color:#526479}
.tp-services-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#edf4fb;color:#255d88}
.tp-services-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.tp-services-card:hover{transform:translateY(-4px);border-color:#b9cee3;box-shadow:0 12px 28px rgba(22,49,78,.10)}}
@media(max-width:960px){.tp-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tp-services-grid{grid-template-columns:1fr;gap:12px}.tp-services-card{padding:20px}.tp-ecosystem-services .container.section{padding-block:58px}}
@media(prefers-reduced-motion:reduce){.tp-services-card{transition:none}}
/* Alternance après l'insertion du nouveau bloc : IA blanc / Services bleu / Rejoindre blanc / Campus bleu */
.tp-join-section{background:#fff!important}
.campus-section{background:#f3f7fc!important}

/* Animations ciblées — services et opportunités. Aucun effet bloquant sans JavaScript. */
.tp-ecosystem-services .tp-services-heading,
.tp-ecosystem-services .tp-services-card {
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1), box-shadow .24s ease, border-color .24s ease;
}
.tp-ecosystem-services.tp-services-motion-ready .tp-services-heading:not(.tp-services-visible),
.tp-ecosystem-services.tp-services-motion-ready .tp-services-card:not(.tp-services-visible) {
  opacity:0;transform:translate3d(0,18px,0);
}
.tp-ecosystem-services.tp-services-motion-ready .tp-services-visible {opacity:1;transform:translate3d(0,0,0)}
.tp-ecosystem-services .tp-services-icon svg {transition:transform .3s ease}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .tp-ecosystem-services .tp-services-card.tp-services-visible:hover {transform:translateY(-4px);box-shadow:0 13px 28px rgba(22,49,78,.10);border-color:#b9cee3}
  .tp-ecosystem-services .tp-services-card:hover .tp-services-icon svg {transform:scale(1.07)}
}
@media (prefers-reduced-motion:reduce){
  .tp-ecosystem-services .tp-services-heading, .tp-ecosystem-services .tp-services-card,
  .tp-ecosystem-services .tp-services-icon svg {opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
}
