/* Hydre — essais de l'IA regroupés (trycar.js) : carrousel des outils, panneaux d'essai, bouton qui déplie les outils au survol. */
.htc{--htc-fg:var(--fg,#EEF1FA);--htc-mut:var(--muted,#A9B1CC);--htc-line:var(--line,#1C2440);--htc-surf:var(--surface,#0A1020);--htc-bg:var(--bg,#070B16);position:relative}
.htc-ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* carrousel : une carte au centre, les voisines en retrait ; défilement par glisser, flèches, points, clavier */
.htc-car{position:relative}
.htc-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:14px max(16px,calc((100% - min(820px,88%)) / 2)) 22px;outline:none;perspective:1400px;overscroll-behavior-x:contain}
.htc-track::-webkit-scrollbar{display:none}
.htc-track:focus-visible{outline:2px solid #A5B4FF;outline-offset:-2px;border-radius:24px}
.htc-slide{flex:0 0 min(820px,88%);scroll-snap-align:center;transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .5s;transform:scale(.9);opacity:.45;cursor:pointer}
.htc-slide.on{transform:none;opacity:1;cursor:default}
.htc-card{--a:#6E6CF6;--b:#22D3EE;--mx:50%;--my:30%;position:relative;display:grid;grid-template-columns:1.05fr 1fr;min-height:330px;border-radius:26px;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--a) 34%,var(--htc-line));background:var(--htc-surf);box-shadow:0 30px 70px -40px color-mix(in srgb,var(--a) 70%,transparent);transition:transform .25s ease,box-shadow .3s;transform-style:preserve-3d;will-change:transform}
.htc-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(420px circle at var(--mx) var(--my),color-mix(in srgb,#fff 9%,transparent),transparent 60%);opacity:0;transition:opacity .3s}
.htc-slide.on:hover .htc-card::after{opacity:1}
.t-mm .htc-card,.htc-panel.t-mm,.htc-opt.t-mm{--a:#10B981;--b:#22D3EE}
.t-dg .htc-card,.htc-panel.t-dg,.htc-opt.t-dg{--a:#EC4899;--b:#F59E0B}
.htc-ill{position:relative;display:grid;place-items:center;padding:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--a) 85%,#000 0%),color-mix(in srgb,var(--b) 80%,#000 0%));overflow:hidden}
.htc-ill::before{content:"";position:absolute;inset:0;background:linear-gradient(color-mix(in srgb,#fff 10%,transparent) 1px,transparent 1px) 0 0/28px 28px,linear-gradient(90deg,color-mix(in srgb,#fff 10%,transparent) 1px,transparent 1px) 0 0/28px 28px;-webkit-mask-image:radial-gradient(circle at 50% 50%,#000,transparent 75%);mask-image:radial-gradient(circle at 50% 50%,#000,transparent 75%)}
.htc-glow{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.45),transparent);filter:blur(10px);animation:htcFloat 7s ease-in-out infinite}
.htc-ill svg{position:relative;width:100%;max-width:340px;height:auto;filter:drop-shadow(0 18px 26px rgba(0,0,0,.28))}
.htc-txt{display:flex;flex-direction:column;gap:12px;padding:30px 30px 26px}
.htc-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;padding:5px 11px 5px 8px;border-radius:999px;font:600 12.5px 'Geist','Inter',sans-serif;letter-spacing:.02em;color:color-mix(in srgb,var(--a) 70%,var(--htc-fg));background:color-mix(in srgb,var(--a) 16%,transparent);border:1px solid color-mix(in srgb,var(--a) 40%,transparent)}
.htc-tag .htc-ic{width:15px;height:15px}
.htc-txt h3{margin:0;font:600 clamp(24px,2.6vw,32px)/1.12 'Geist','Inter',sans-serif;letter-spacing:-.03em;color:var(--htc-fg)}
.htc-txt p{margin:0;color:var(--htc-mut)}
.htc-pts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.htc-pts li{font-size:13px;padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--htc-fg) 6%,transparent);color:var(--htc-fg)}
.htc-row{margin-top:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:6px}
.htc-row small{color:var(--htc-mut);font-size:13px}
.htc-go{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;border:0;border-radius:14px;cursor:pointer;color:#fff;font:600 15.5px 'Geist','Inter',sans-serif;
  background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 14px 30px -12px color-mix(in srgb,var(--a) 80%,transparent),inset 0 1px 0 rgba(255,255,255,.25);overflow:hidden;transition:transform .15s,filter .15s}
.htc-go::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);animation:htcShine 3.6s ease-in-out infinite}
.htc-go span{transition:transform .2s}
.htc-go:hover{filter:brightness(1.08);transform:translateY(-1px)}.htc-go:hover span{transform:translateX(4px)}
.htc-go:focus-visible,.htc-arr:focus-visible,.htc-dot:focus-visible,.htc-ptabs button:focus-visible,.htc-x:focus-visible,.htc-opt:focus-visible{outline:2px solid #A5B4FF;outline-offset:2px}
.htc-arr{position:absolute;top:50%;z-index:2;width:46px;height:46px;margin-top:-30px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--htc-line);cursor:pointer;color:var(--htc-fg);
  background:color-mix(in srgb,var(--htc-surf) 82%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 30px -12px rgba(0,0,0,.6);transition:transform .15s,background-color .15s}
.htc-arr:hover{transform:scale(1.07);background:var(--htc-surf)}
.htc-arr.prev{left:max(4px,calc((100% - min(820px,88%)) / 2 - 64px))}.htc-arr.next{right:max(4px,calc((100% - min(820px,88%)) / 2 - 64px))}
.htc-car.one .htc-arr{display:none}.htc-car.one .htc-slide{flex-basis:min(820px,100%)}
.htc-dots{display:flex;justify-content:center;gap:8px;margin-top:2px}
.htc-dot{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 14px;border-radius:999px;border:1px solid var(--htc-line);background:transparent;color:var(--htc-mut);font:600 13.5px 'Geist','Inter',sans-serif;cursor:pointer;transition:all .2s}
.htc-dot i{width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.5;transition:all .3s}
.htc-dot.on{color:var(--htc-fg);border-color:color-mix(in srgb,#A5B4FF 50%,var(--htc-line));background:color-mix(in srgb,#6E6CF6 14%,transparent)}
.htc-dot.on i{width:22px;border-radius:4px;opacity:1;background:linear-gradient(90deg,#6E6CF6,#22D3EE)}

/* panneau de l'essai ouvert */
.htc-panels{position:relative}
.htc-panel{--a:#6E6CF6;--b:#22D3EE;margin-top:22px;padding:16px;border-radius:24px;border:1px solid color-mix(in srgb,var(--a) 30%,var(--htc-line));background:color-mix(in srgb,var(--a) 4%,var(--htc-bg));scroll-margin-top:84px}
.htc-panel.in{animation:htcIn .45s cubic-bezier(.2,.8,.2,1)}
.htc-ph{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.htc-ptabs{display:flex;gap:5px;padding:5px;border-radius:14px;border:1px solid var(--htc-line);background:var(--htc-bg);flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.htc-ptabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--htc-mut);font:600 14px 'Geist','Inter',sans-serif;cursor:pointer;white-space:nowrap}
.htc-ptabs button.on{color:#fff;background:linear-gradient(135deg,var(--a),var(--b))}
.htc-x{flex:none;width:46px;height:46px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--htc-line);background:transparent;color:var(--htc-mut);cursor:pointer}
.htc-x:hover{color:var(--htc-fg)}

/* bouton qui déplie les outils */
.htc-pick{position:relative;display:inline-flex}
.htc-pop{position:absolute;top:calc(100% + 10px);left:50%;z-index:40;width:min(340px,calc(100vw - 32px));display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:18px;
  border:1px solid color-mix(in srgb,#A5B4FF 30%,var(--line,#1C2440));background:color-mix(in srgb,var(--surface,#0A1020) 94%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.65);opacity:0;visibility:hidden;transform:translate(-50%,-6px) scale(.97);transform-origin:top center;transition:opacity .18s,transform .22s cubic-bezier(.2,.8,.2,1),visibility .18s}
.htc-pop::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.htc-pick.up .htc-pop{top:auto;bottom:calc(100% + 10px);left:0;transform:translate(0,6px) scale(.97);transform-origin:bottom left}
.htc-pick.up .htc-pop::before{top:auto;bottom:-12px}
.htc-pick.show .htc-pop{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1)}
.htc-pick.up.show .htc-pop{transform:none}
.htc-opt{--a:#6E6CF6;--b:#22D3EE;display:flex;align-items:center;gap:12px;min-height:58px;padding:9px 12px;border:0;border-radius:13px;background:transparent;color:var(--fg,#EEF1FA);text-align:left;cursor:pointer;
  opacity:0;transform:translateY(6px);transition:background-color .15s,opacity .25s var(--d,0ms),transform .3s cubic-bezier(.2,.8,.2,1) var(--d,0ms)}
.htc-pick.show .htc-opt{opacity:1;transform:none}
.htc-opt:hover,.htc-opt:focus-visible{background:color-mix(in srgb,var(--a) 16%,transparent)}
.htc-opt b{display:block;font:600 14.5px 'Geist','Inter',sans-serif}.htc-opt small{display:block;color:var(--muted,#A9B1CC);font-size:12.5px}
.htc-oi{flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#fff;background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 8px 18px -8px var(--a);transition:transform .25s}
.htc-opt:hover .htc-oi{transform:rotate(-8deg) scale(1.08)}
.htc-sparkle{display:inline-block;animation:htcTw 2.4s ease-in-out infinite}
.htc-fab{position:fixed;left:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:30;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .3s,transform .35s cubic-bezier(.2,.8,.2,1)}
.htc-fab.vis{opacity:1;transform:none;pointer-events:auto}
.htc-fab .hln-btn{height:50px;padding:0 20px;border-radius:999px;box-shadow:0 18px 40px -14px rgba(110,108,246,.9)}

/* illustrations */
.htc-ill svg *{transform-box:fill-box}
.a-pg{fill:#fff}.a-hd{fill:#EEF0FF}.t-dg .a-pg{fill:#FFF8F1}
.a-av{fill:#6E6CF6}.a-ln{fill:#CBD2E6}.a-t{fill:#1E2238}.a-s{fill:#8D95B5}.a-bar{fill:#6E6CF6}
.a-badge rect{fill:#10B981}.a-badge path{stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.a-badge text,.a-seal text{fill:#fff;font:700 11px 'Geist','Inter',sans-serif;text-anchor:middle}
.a-badge text{text-anchor:start}
.a-star{fill:#fff}
.a-br{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-dasharray:240;stroke-dashoffset:0;opacity:.85}
.a-ctr rect{fill:#fff}.a-ctr .a-tx{fill:#10B981}.a-nd rect{fill:#ECFDF5;stroke:#fff;stroke-width:2}.a-nd .a-tx{fill:#0F766E;stroke:none}
.a-sun{fill:#F59E0B}.a-band{fill:#1E1B2E}.t-dg .a-t{fill:#1E1B2E}.t-dg .a-s{fill:#9D174D}
.a-seal path{fill:#EC4899}.a-sw circle:nth-child(1){fill:#EC4899}.a-sw circle:nth-child(2){fill:#F59E0B}.a-sw circle:nth-child(3){fill:#1E1B2E}.a-sw circle{stroke:#fff;stroke-width:3}
.a-cur{fill:#fff;stroke:#1E1B2E;stroke-width:1.5;stroke-linejoin:round}
.htc-slide.on .a-ln{transform-origin:left center;animation:htcGrow .6s cubic-bezier(.2,.8,.2,1) both}
.htc-slide.on .a-l0{animation-delay:.25s}.htc-slide.on .a-l1{animation-delay:.35s}.htc-slide.on .a-l2{animation-delay:.45s}.htc-slide.on .a-l3{animation-delay:.6s}.htc-slide.on .a-l4{animation-delay:.7s}.htc-slide.on .a-l5{animation-delay:.8s}.htc-slide.on .a-l6{animation-delay:.9s}
.htc-slide.on .a-av,.htc-slide.on .a-badge,.htc-slide.on .a-seal,.htc-slide.on .a-nd,.htc-slide.on .a-ctr{transform-origin:center;animation:htcPop .55s cubic-bezier(.3,1.6,.5,1) both}
.htc-slide.on .a-badge{animation-delay:1.1s}.htc-slide.on .a-seal{animation:htcPop .55s cubic-bezier(.3,1.6,.5,1) .9s both,htcSpin 12s linear 1.5s infinite}
.htc-slide.on .a-star{transform-origin:center;animation:htcTw 2.2s ease-in-out infinite}.htc-slide.on .a-st2{animation-delay:1.1s}
.htc-slide.on .a-br{animation:htcDraw 1s cubic-bezier(.2,.8,.2,1) both}
.htc-slide.on .a-b1{animation-delay:.12s}.htc-slide.on .a-b2{animation-delay:.24s}.htc-slide.on .a-b3{animation-delay:.36s}.htc-slide.on .a-b4{animation-delay:.48s}
.htc-slide.on .a-n0{animation-delay:.6s}.htc-slide.on .a-n1{animation-delay:.7s}.htc-slide.on .a-n2{animation-delay:.8s}.htc-slide.on .a-n3{animation-delay:.9s}.htc-slide.on .a-n4{animation-delay:1s}
.htc-slide.on .a-ctr{animation:htcPop .5s cubic-bezier(.3,1.6,.5,1) both,htcBeat 2.6s ease-in-out 1.4s infinite}
.htc-slide.on .a-sun{transform-origin:center;animation:htcSun .9s cubic-bezier(.3,1.4,.5,1) both}
.htc-slide.on .a-band{transform-origin:left center;animation:htcGrow .6s cubic-bezier(.2,.8,.2,1) .3s both}
.htc-slide.on .a-sw circle{transform-origin:center;animation:htcPop .4s cubic-bezier(.3,1.6,.5,1) both}.htc-slide.on .a-sw circle:nth-child(2){animation-delay:.1s}.htc-slide.on .a-sw circle:nth-child(3){animation-delay:.2s}
.htc-slide.on .a-cur{animation:htcCur 3.4s ease-in-out .6s infinite}
@keyframes htcGrow{from{transform:scaleX(0)}to{transform:none}}
@keyframes htcPop{from{transform:scale(0);opacity:0}to{transform:none;opacity:1}}
@keyframes htcDraw{from{stroke-dashoffset:240}to{stroke-dashoffset:0}}
@keyframes htcTw{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.55) rotate(25deg);opacity:.55}}
@keyframes htcSpin{to{transform:rotate(360deg)}}
@keyframes htcBeat{0%,100%{transform:none}50%{transform:scale(1.06)}}
@keyframes htcSun{from{transform:translateY(-60px) scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes htcCur{0%,100%{transform:translate(0,0)}35%{transform:translate(-70px,-60px)}60%{transform:translate(-40px,-110px)}}
@keyframes htcFloat{0%,100%{transform:translate(-8%,-6%)}50%{transform:translate(8%,6%)}}
@keyframes htcShine{0%,55%{transform:translateX(-120%)}80%,100%{transform:translateX(120%)}}
@keyframes htcIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

@media (max-width:760px){
  .htc-card{grid-template-columns:1fr;min-height:0}
  .htc-ill{padding:14px 18px 8px;max-height:210px}.htc-ill svg{max-width:250px}
  .htc-txt{padding:20px 18px 20px;gap:10px}
  .htc-track{gap:12px;padding:10px 6% 18px}.htc-slide{flex-basis:88%}
  .htc-arr{display:none}
  .htc-ptabs button{padding:0 8px}
  .htc-panel{padding:10px;border-radius:20px}
  .htc-pop{left:0;transform:translate(0,-6px) scale(.97);transform-origin:top left}.htc-pick.show .htc-pop{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .htc *,.htc-pop,.htc-opt,.htc-fab{animation:none!important;transition:none!important}
  .htc-slide{transform:none}
}
/* mode clair : l'illustration garde ses couleurs, les surfaces suivent le thème de la page */
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]) .htc-card{box-shadow:0 24px 50px -34px color-mix(in srgb,var(--a) 60%,transparent)}}
.hln-trys{display:flex;flex-wrap:wrap;gap:6px}.hln-trys .hln-btn{margin-top:0}
.hp-aitry{margin-top:22px;text-align:left}
