/* Trois temps 12 : l'éventail. Juste après le manifeste (crème), le grand disque noir monte et s'aplatit ; les cartes sont posées sur le noir jusqu'à la #1.
   Taille des cartes fluide (largeur et hauteur d'écran), textes proportionnels à la carte. */
.s-trois-temps-12{--w:clamp(240px,min(28vw,47vh),500px);position:relative;background:var(--creme);color:var(--creme);padding:clamp(190px,30vh,300px) var(--marge) clamp(110px,16vh,180px);overflow-x:clip}
.s-trois-temps-12 .t12-tete{position:relative;z-index:1;text-align:center;margin-bottom:clamp(36px,7vh,80px)}
.s-trois-temps-12 .t12-titre{margin:0 0 clamp(10px,1.4vh,20px);font-size:clamp(56px,min(7.4vw,14vh),150px)}
.s-trois-temps-12 .t12-titre i{font-style:normal;color:var(--rouge)}
.s-trois-temps-12 .t12-tete p{margin:0;font-size:clamp(14px,min(1.1vw,2vh),20px);font-weight:600;opacity:.8}
/* l'éventail (logique des cartes de Locabassin) */
.s-trois-temps-12 .t12-eventail{position:relative;z-index:1;height:calc(var(--w) * 1.6)}
.s-trois-temps-12 .t12-carte{position:absolute;left:50%;top:0;width:var(--w);margin-left:calc(var(--w) / -2);display:flex;flex-direction:column;background:var(--creme);color:var(--noir);border-radius:calc(var(--w) * .055);padding:calc(var(--w) * .024) calc(var(--w) * .024) calc(var(--w) * .055);box-shadow:0 30px 60px -24px rgba(0,0,0,.9);translate:0 0;transition:translate .45s var(--entree),box-shadow .45s}
.s-trois-temps-12 .c1{transform:translateX(-104%) rotate(-6deg);z-index:1}
.s-trois-temps-12 .c2{transform:translateY(-22px);z-index:3}
.s-trois-temps-12 .c3{transform:translateX(104%) rotate(6deg);z-index:2}
/* au survol : un léger soulèvement, rien d'autre */
.s-trois-temps-12 .t12-carte:hover{translate:0 -12px;box-shadow:0 40px 70px -26px rgba(0,0,0,.95)}
.s-trois-temps-12 .t12-photo{position:relative;aspect-ratio:4/3.3;overflow:hidden;border-radius:calc(var(--w) * .035);margin-bottom:calc(var(--w) * .045);background:var(--noir)}
.s-trois-temps-12 .t12-photo img{width:100%;height:100%;object-fit:cover}
.s-trois-temps-12 .t12-num{position:absolute;left:calc(var(--w) * .028);top:calc(var(--w) * .028);padding:.25em .7em;border-radius:99px;background:var(--creme);font-family:var(--mona);font-weight:900;font-size:max(11px,calc(var(--w) * .038))}
.s-trois-temps-12 .t12-nom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 calc(var(--w) * .03) calc(var(--w) * .02)}
.s-trois-temps-12 .t12-nom b{font-size:calc(var(--w) * .1);line-height:.92;white-space:nowrap}
.s-trois-temps-12 .t12-nom img{flex:none;height:calc(var(--w) * .095);width:calc(var(--w) * .095);object-fit:contain}
.s-trois-temps-12 .t12-faits{margin:0 calc(var(--w) * .03) calc(var(--w) * .05);font-weight:600;font-size:max(12px,calc(var(--w) * .041));line-height:1.35;opacity:.7}
.s-trois-temps-12 .t12-bas{margin:auto calc(var(--w) * .03) 0;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.s-trois-temps-12 .t12-cle{margin:0;font-family:var(--mona);font-weight:900;font-size:calc(var(--w) * .062);line-height:1;letter-spacing:-.02em;white-space:nowrap}
.s-trois-temps-12 .t12-cle small{display:block;margin-top:.3em;font-family:var(--texte);font-weight:600;font-size:max(11px,calc(var(--w) * .036));letter-spacing:0;opacity:.65}
.s-trois-temps-12 .t12-pastille{display:inline-flex;align-items:center;gap:.6em;padding:.7em 1.05em;border-radius:99px;background:var(--noir);color:var(--creme);font-weight:700;font-size:max(11px,calc(var(--w) * .036));white-space:nowrap}
.s-trois-temps-12 .t12-pastille i{width:.5em;height:.5em;border-radius:50%;background:var(--rouge)}
/* le passage, juste après le manifeste : un énorme disque noir dont on ne voit que le haut, très rond puis presque plat */
.s-trois-temps-12 .tp-disque{position:absolute;inset:0;z-index:0;pointer-events:none}
.s-trois-temps-12 .tp-c{position:absolute;inset:0;background:var(--noir)}
.s-trois-temps-12 .tp-c:nth-child(2){background:rgba(244,245,240,.38)}
/* tablette et téléphone : arc fixe, titre en grand, cartes en défilement horizontal au doigt (une carte et demie visible) */
@media (max-width:1023px){
  .s-trois-temps-12{--w:min(46vw,400px);padding:clamp(150px,22vw,200px) 0 96px}
  .s-trois-temps-12 .t12-tete{padding:0 var(--marge);margin-bottom:36px}
  .s-trois-temps-12 .t12-titre{font-size:clamp(52px,12vw,110px)}
  .s-trois-temps-12 .t12-eventail{height:auto;display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:var(--marge);padding:6px var(--marge) 24px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .s-trois-temps-12 .t12-eventail::-webkit-scrollbar{display:none}
  .s-trois-temps-12 .t12-eventail::after{content:"";flex:0 0 calc(var(--marge) - 14px)}
  .s-trois-temps-12 .t12-carte{position:relative;left:auto;top:auto;margin:0;flex:0 0 var(--w);scroll-snap-align:start;transform:none!important;translate:none!important;transition:none}
}
@media (max-width:767px){.s-trois-temps-12{--w:64vw}.s-trois-temps-12 .t12-nom b{font-size:calc(var(--w) * .105)}}
@media (prefers-reduced-motion:reduce){.s-trois-temps-12 *{transition:none!important}}
/* 19/11 (retour de Baptiste) : au premier swipe, la carte du milieu (« on s'ambiance ») s'arrête au centre ; la dernière contre le bord droit */
@media (max-width:1023px){
  .s-trois-temps-12 .t12-eventail{scroll-padding-right:var(--marge)}
  .s-trois-temps-12 .t12-carte:nth-child(2 of .t12-carte){scroll-snap-align:center}
  .s-trois-temps-12 .t12-carte:nth-last-child(1 of .t12-carte){scroll-snap-align:end}
}
