/* Ajustes sueltos de la portada (se cargan después del CSS principal) */
@media (max-width:860px){
  /* datos que entran al portátil: empiezan dentro de la pantalla, más espaciados y sin amontonarse */
  .flow{overflow:visible}
  .chip{offset-path:path('M 30 -44 C 120 -60, 170 40, 180 140');animation:flowm 8s linear infinite both;will-change:offset-distance,transform,opacity}
  .flow .chip:nth-of-type(1){animation-delay:0s}
  .flow .chip:nth-of-type(2){animation-delay:-2s}
  .flow .chip:nth-of-type(3){animation-delay:-4s}
  .flow .chip:nth-of-type(4){animation-delay:-6s}
  .flow .chip:nth-of-type(n+5){display:none}
}
@keyframes flowm{0%{offset-distance:0%;opacity:0;transform:scale(.9)}4%{opacity:1;transform:scale(1)}19%{opacity:1;transform:scale(.7)}24%{offset-distance:100%;opacity:0;transform:scale(.3)}100%{offset-distance:100%;opacity:0}}
/* móvil: franja de palabras más grande y en diagonal (escalera) */
@media (max-width:560px){
  .words{height:320px}
  .wg .g{flex-direction:column;align-items:stretch;gap:4px;padding:0 20px;transform:translateY(-50%) rotate(-6deg)}
  .wg .g>.w{display:block;width:100%;text-align:left;white-space:normal;font-size:clamp(34px,10.5vw,46px);line-height:1.02}
  .wg .g>.s{display:none!important}
  .wg .g>.w:nth-child(3){padding-left:11%}
  .wg .g>.w:nth-child(5){padding-left:22%}
  .wg .g>.w:nth-child(7){padding-left:33%}
}
/* tarjetas de sectores: sin número de apps y sin hueco vacío */
.card .n{display:none!important}
.card{min-height:0}
/* tarjetas: de azul oscuro a azul claro y la última en blanco */
.cards .card{border:1px solid transparent}
.cards .card svg{stroke:currentColor}
.cards .card:nth-child(1){background:#13233d;color:#8ebcf2}
.cards .card:nth-child(1) h3{color:#fff}.cards .card:nth-child(1) p{color:#b9c4d6}
.cards .card:nth-child(2){background:#1f4f96;color:#b9d6f7}
.cards .card:nth-child(2) h3{color:#fff}.cards .card:nth-child(2) p{color:#d5e4f7}
.cards .card:nth-child(3){background:#8ebcf2;color:#0b1528}
.cards .card:nth-child(3) h3{color:#0b1528}.cards .card:nth-child(3) p{color:#13233d}
.cards .card:nth-child(4){background:#f6efe3;border-color:#e9dfcc;color:#2a74c9}
.cards .card:nth-child(4) h3{color:#13233d}.cards .card:nth-child(4) p{color:#4a5366}
/* carrusel de demos: flechas a los lados y se puede arrastrar */
.car .viewport{cursor:grab;user-select:none}
.car .viewport:active{cursor:grabbing}
@media (min-width:700px){
  #prev,#next{position:absolute;top:249px;transform:translateY(-50%);z-index:5;box-shadow:0 8px 20px rgba(0,0,0,.3)}
  #prev{left:0;background:var(--navy)}
  #next{right:0}
}
/* "De l'idée à l'outil": título repartido en líneas equilibradas */
.method .l{flex-basis:400px}
.method .l h2{text-wrap:balance;font-size:clamp(28px,3.2vw,40px);line-height:1.1}
/* pasos 01-02-03: los textos empiezan todos a la misma altura */
.method li em{flex:0 0 104px;text-align:left}
@media (max-width:560px){.method li em{flex-basis:84px;font-size:36px}}
