/* 3.77.9 — corrections ciblées, dans le design existant. */
body #s-matches #matches-menu .classic-profile-btn:not(.ial-primary-action){background:transparent;border:0;box-shadow:none;text-shadow:none;border-radius:0;color:#bcb6cc;font-size:13px;font-weight:500;min-height:44px;padding:10px 12px;transform:none}
body #s-matches #matches-menu .classic-profile-btn:not(.ial-primary-action):is(:hover,:active){background:transparent;box-shadow:none;border:0;color:#fff;transform:none}
body #s-matches #matches-menu .classic-profile-btn:not(.ial-primary-action)::before,body #s-matches #matches-menu .classic-profile-btn:not(.ial-primary-action)::after{display:none}
body #s-matches #matches-menu .classic-profile-btn:focus-visible{outline:2px solid #ee96cd;outline-offset:4px;border-radius:8px}
#s-matches #classic-empty>.btn,#s-matches #classic-empty .ial-empty-actions>.btn{display:flex;align-items:center;justify-content:center;width:min(360px,100%);min-width:0;min-height:50px;margin:12px auto 0;padding:12px 16px;font-size:13px;line-height:1.5;white-space:normal;text-align:center;box-sizing:border-box}
#s-matches #classic-empty .ial-empty-actions{display:grid;grid-template-columns:minmax(0,360px);justify-content:center;width:100%;gap:12px;margin:12px auto 0}
#s-matches #classic-empty .ial-empty-actions>.btn{width:100%;margin:0}
#s-matches #classic-empty [hidden]{display:none!important}
.ial-own-photo-state{font:400 12px/1.6 Sora,system-ui,sans-serif;color:#b8d7d3;margin:10px 0 0;overflow-wrap:anywhere}
.ial-own-photo-retry{font:600 12px/1.5 Sora,system-ui,sans-serif;color:#ecd3e7;background:transparent;border:1px solid #c8a1bf44;border-radius:10px;padding:9px 12px;cursor:pointer;margin-top:8px;min-height:44px}
#s-profil .photoslot{min-width:0}
#s-profil .photoprev img{width:100%;height:100%;object-fit:cover}
.ial-review-row.is-modified{border-color:#dc81b66b;background:#21192b}
.ial-review-draft-label{display:inline-block;margin-top:8px;font-size:11px;color:#f2b6d7;font-weight:600}
.ial-review-foot{position:sticky;bottom:0;z-index:3;padding:16px 0;background:#151525;box-shadow:0 -12px 24px #11132366;border-top:1px solid #ffffff15;align-items:center}
.ial-review-foot .ial-review-pending{flex:1;min-width:0;line-height:1.65;color:#c6c0d6}
.ial-review-foot-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:100%}
.ial-review-foot-actions>.btn{min-width:0;min-height:48px;white-space:normal;text-align:center}
.ial-review-foot-actions>.ial-review-profile{font-size:12px}
.ial-review-editor-actions .btn{min-height:48px}
body #mon-abonnement .ial-billing-plan{font-size:clamp(19px,3vw,24px);color:#f0dcec;line-height:1.4}
#mon-abonnement .ial-billing-benefits{padding:0;margin:14px 0 0;list-style:none;display:grid;gap:8px;color:#c5bed2;font-size:12px;line-height:1.6}
#mon-abonnement .ial-billing-benefits li{padding-left:19px;position:relative}
#mon-abonnement .ial-billing-benefits li::before{content:'✓';position:absolute;left:0;color:#88d4ce}
#mon-abonnement .ial-billing-upgrades{grid-column:1/-1;padding-top:23px;border-top:1px solid #ffffff14;min-width:0}
#mon-abonnement .ial-billing-upgrades[hidden]{display:none}
#mon-abonnement .ial-billing-upgrades>h3{font:400 clamp(23px,3vw,29px)/1.25 var(--d363-serif,Fraunces,serif);color:#efdaed;margin:0 0 10px}
#mon-abonnement .ial-billing-upgrades>p{margin:0 0 18px}
#mon-abonnement .ial-billing-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#mon-abonnement .ial-billing-offer-grid:has(>article:only-child){grid-template-columns:1fr}
#mon-abonnement .ial-billing-offer{border:1px solid #ce86b440;border-radius:18px;padding:22px;background:linear-gradient(135deg,#32223888,#171727);display:flex;flex-direction:column;align-items:stretch;min-width:0}
#mon-abonnement .ial-billing-offer h4{margin:0;font-size:17px;color:#f4deef}
body #mon-abonnement .ial-billing-offer-price{font:600 24px/1.5 Sora,system-ui,sans-serif;color:#f6eaf3;margin:10px 0 14px}
#mon-abonnement .ial-billing-offer strong{font-size:14px;color:#9eddcf}
#mon-abonnement .ial-billing-offer p{font-size:12px;margin:10px 0 20px}
#mon-abonnement .ial-billing-offer .btn{width:100%;min-width:0;min-height:50px;font-size:12px;line-height:1.5;white-space:normal;margin-top:auto;padding:12px 14px}
#mon-abonnement .ial-billing-offer small{font-size:10px;line-height:1.7;color:#b9b0c8;margin-top:12px;text-align:center}
body #mon-abonnement .ial-billing-availability{font-size:11px;line-height:1.65;margin:16px 0 0;color:#a9a0b8}
.ial-home-demonstration .v376-demo-bars b{transform-origin:left center}
.ial-home-demonstration.ial-demo-animate .v376-demo-bars b{animation:ial-demo-fill 1100ms cubic-bezier(.22,.7,.25,1) both;animation-delay:var(--ial-demo-delay,0ms)}
.ial-home-demonstration.ial-demo-animate .v376-score-orb{animation:ial-demo-orb 1500ms ease-out both}
.ial-home-demonstration.ial-demo-animate .v376-essentials-demo li{animation:ial-demo-check 700ms ease-out both;animation-delay:var(--ial-demo-delay,400ms)}
@keyframes ial-demo-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes ial-demo-orb{from{transform:scale(.96);box-shadow:0 0 0 #d868b300}to{transform:scale(1);box-shadow:0 0 30px #d868b31a}}
@keyframes ial-demo-check{from{opacity:.3}to{opacity:1}}
@media(max-width:680px){
 #s-matches #classic-empty>.btn,#s-matches #classic-empty .ial-empty-actions>.btn{width:100%;font-size:13px;min-height:50px}
 #s-matches #classic-empty .ial-empty-actions{grid-template-columns:minmax(0,1fr)}
 .ial-review-foot{margin:0 -15px -90px;padding:14px 15px calc(14px + env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:12px}
 .ial-review-foot-actions{display:grid;grid-template-columns:1fr;width:100%;gap:8px}
 .ial-review-foot-actions>.ial-review-commit{grid-row:1;font-size:12px;min-height:50px}
 .ial-review-foot-actions>.btn{width:100%;margin:0;min-width:0}
 #mon-abonnement .ial-billing-offer-grid{grid-template-columns:1fr}
 #mon-abonnement .ial-billing-offer{padding:18px}
}
@media(prefers-reduced-motion:reduce){
 .ial-home-demonstration.ial-demo-animate :is(.v376-demo-bars b,.v376-score-orb,.v376-essentials-demo li){animation:none!important;transform:none}
}

/* 3.77.29 — header sur une seule ligne ; menu compact dès que les liens
   ne tiennent plus. navigation.js mesure la largeur utile, y compris après
   chargement des polices, changement de session et changement du libellé Son.
   Les !important de géométrie neutralisent les anciens styles propres à chaque
   écran : la navigation a désormais les mêmes repères partout. */
body .ial-legacy-menu,body .ial-page-top{display:none!important}
body #s-reveal .ial-profile-tools{display:flex!important;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:24px}
body .screen>.ial-unified-header,body #s-matches .ial-unified-header,body .v319-header.ial-unified-header{display:flex;position:sticky;top:0;z-index:40;width:100%;min-height:82px;margin:0;box-sizing:border-box;background:#0b0c18f5;border-bottom:1px solid #d9cbed12;backdrop-filter:blur(16px);overflow:visible}
body .ial-unified-inner{position:relative;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:100%!important;max-width:none!important;min-width:0;min-height:82px!important;margin:0!important;padding:12px max(32px,calc((100% - 1256px)/2))!important;box-sizing:border-box}
body .ial-unified-header :is(.v319-logo,.classic-brand,.ial-home-logo){display:flex;align-items:center;flex:none;margin:0}
body .ial-unified-header img.ial-brand-image{width:auto!important;height:auto!important;max-width:170px!important;max-height:56px!important;object-fit:contain}
body .ial-unified-header .ial-unified-menu{display:flex;position:static;flex:0 0 auto;flex-flow:row nowrap;align-items:center;justify-content:flex-end;gap:5px;margin:0 0 0 auto;min-width:0;width:max-content;max-width:none;visibility:visible;opacity:1;pointer-events:auto}
body .ial-unified-menu .ial-nav-link{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:44px;padding:10px 7px;border:0;background:transparent;box-shadow:none;border-radius:10px;color:#bcb6cc;font:500 13px/1.4 Sora,system-ui,sans-serif;white-space:nowrap;cursor:pointer;letter-spacing:0;text-transform:none;transform:none}
body .ial-unified-menu .ial-nav-link:hover,body .ial-unified-menu .ial-nav-link[aria-current=page]{color:#f8e7f5;background:#df80b50c}
body .ial-unified-menu .ial-nav-link.ial-primary-action{background:linear-gradient(110deg,#c83a84,#a052b1);color:#fff;border:1px solid #eea0d060;padding-inline:16px;box-shadow:inset 0 1px 0 #ffffff25}
body .ial-unified-menu .ial-nav-link:focus-visible,body .ial-unified-toggle:focus-visible{outline:2px solid #ee96cd;outline-offset:3px}
body .ial-unified-menu [hidden]{display:none!important}
body .ial-unified-menu .ial-sound-toggle{order:-1;min-height:44px;font-size:12px;white-space:nowrap;flex:none}
body .ial-unified-toggle{display:none;flex:none;align-items:center;justify-content:center;gap:10px;margin:0 0 0 auto;padding:10px 14px;min-height:44px;border-radius:11px;background:#252032;border:1px solid #d5b0d92b;color:#e1c8e1;font:500 12px/1.4 Sora,system-ui,sans-serif;cursor:pointer}
.ial-unified-toggle .ial-burger-lines{display:flex;flex-direction:column;width:18px;gap:5px}
.ial-unified-toggle .ial-burger-lines i{display:block;width:18px;height:1px;background:currentColor}
body .screen>.ial-unified-header+.pad{padding-top:32px}
/* Ce mode sert aux mobiles/tablettes ET aux largeurs intermédiaires manquant
   réellement de place. Aucun bouton ne reste isolé sur une deuxième ligne. */
body .ial-unified-header.ial-nav-compact{min-height:70px!important}
body .ial-nav-compact .ial-unified-inner,body .ial-nav-compact.ial-unified-inner{min-height:70px!important;padding:10px 19px!important;gap:14px!important}
body :is(#s-intro,#s-engine,#s-matches,.screen) .ial-unified-header.ial-nav-compact img.ial-brand-image{max-width:143px!important;max-height:46px!important}
body .ial-nav-compact .ial-unified-toggle{display:inline-flex}
body .ial-unified-header.ial-nav-compact .ial-unified-menu{position:absolute;right:16px;top:calc(100% + 8px);width:min(340px,calc(100vw - 32px));max-width:calc(100% - 32px);padding:12px;gap:7px;box-sizing:border-box;border-radius:20px;border:1px solid #d7acd642;background:linear-gradient(145deg,#292034,#161526);box-shadow:0 22px 70px #0009;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;visibility:hidden;opacity:0;pointer-events:none}
body .ial-unified-header.ial-nav-compact.ial-unified-open .ial-unified-menu{visibility:visible;opacity:1;pointer-events:auto}
body .ial-nav-compact .ial-unified-menu .ial-nav-link,body .ial-nav-compact .ial-unified-menu .ial-sound-toggle{width:100%;flex-shrink:0;min-height:46px;justify-content:flex-start;white-space:normal;font-size:13px;padding:12px 15px;text-align:left;box-sizing:border-box}
body .ial-nav-compact .ial-unified-menu .ial-nav-link{border:0;box-shadow:none;background:transparent}
body .ial-nav-compact .ial-unified-menu .ial-nav-link.ial-primary-action{background:linear-gradient(110deg,#c83a84,#a052b1);color:#fff;border:1px solid #eea0d060;justify-content:center;text-align:center}
body .ial-nav-compact .ial-unified-menu .ial-sound-toggle{order:0}
body .ial-unified-open .ial-unified-toggle .ial-burger-lines i:first-child{transform:translateY(6px) rotate(45deg)}
body .ial-unified-open .ial-unified-toggle .ial-burger-lines i:nth-child(2){opacity:0}
body .ial-unified-open .ial-unified-toggle .ial-burger-lines i:last-child{transform:translateY(-6px) rotate(-45deg)}
body .ial-unified-header,body .ial-unified-inner{height:auto!important;overflow:visible!important}

/* Mouvement décoratif continu ; les pourcentages restent ceux de l'exemple. */
.ial-home-demonstration .v376-demo-bars b{animation:ial-demo-breathe 4.6s ease-in-out infinite alternate;animation-delay:var(--ial-demo-delay,0ms);animation-play-state:paused}
.ial-home-demonstration .v376-score-orb{animation:ial-demo-pulse 4s ease-in-out infinite;animation-play-state:paused}
.ial-home-demonstration .v376-essentials-demo li{animation:ial-demo-highlight 5s ease-in-out infinite;animation-delay:var(--ial-demo-delay,0ms);animation-play-state:paused}
.ial-home-demonstration.ial-demo-running :is(.v376-demo-bars b,.v376-score-orb,.v376-essentials-demo li){animation-play-state:running}
.ial-demo-pause{display:block;margin:18px auto 0;min-height:44px;padding:8px 12px;border:1px solid #c8a1bf44;border-radius:10px;background:transparent;color:#c8bfd4;font:500 11px/1.5 Sora,system-ui,sans-serif;cursor:pointer}
.ial-demo-pause:focus-visible{outline:2px solid #ee96cd;outline-offset:3px}
.ial-demo-pause[hidden]{display:none!important}
@keyframes ial-demo-breathe{0%,15%{transform:scaleX(.82);filter:brightness(.9)}85%,100%{transform:scaleX(1);filter:brightness(1.18)}}
@keyframes ial-demo-pulse{0%,100%{transform:scale(1);box-shadow:0 0 20px #d868b31a}50%{transform:scale(1.045);box-shadow:0 0 46px #d868b350}}
@keyframes ial-demo-highlight{0%,100%{border-color:#8ccfce30}50%{border-color:#8ccfce90;background-color:#75c6be14}}
@media(prefers-reduced-motion:reduce){.ial-home-demonstration :is(.v376-demo-bars b,.v376-score-orb,.v376-essentials-demo li){animation:none!important;transform:none!important;filter:none!important}}


/* V3.77.29 — ordinateurs portables à mise à l’échelle Windows : le panneau reste entièrement visible. */
body .ial-unified-header.ial-nav-compact .ial-unified-menu{
  top:calc(100% + 6px);
  max-height:min(560px,calc(100dvh - 92px));
  scrollbar-gutter:stable;
}
@media (max-height:760px){
  body .ial-unified-header.ial-nav-compact .ial-unified-menu{
    top:calc(100% + 4px);
    max-height:calc(100dvh - 86px);
    padding:9px;gap:4px;border-radius:16px
  }
  body .ial-nav-compact .ial-unified-menu .ial-nav-link,
  body .ial-nav-compact .ial-unified-menu .ial-sound-toggle{min-height:40px;padding:9px 13px}
}
