/* AZZHY Suite — Visuels animés (v1.6.1) : pictogrammes, illustrations motion design, schéma de parcours. */

/* En-têtes de page avec illustration */
.az-phero--illu .az-phero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1rem 3rem; align-items: center; }
.az-phero--illu .az-phero__txt { min-width: 0; }
.az-phero--illu .az-phero__bands { opacity: .3; }
.az-phero__art { position: relative; z-index: 1; }
.az-illu { width: 100%; max-width: 30rem; margin-inline: auto; }
.az-illu svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 900px) {
	.az-phero--illu .az-phero__in { grid-template-columns: 1fr; }
	.az-phero__art { order: -1; }
	.az-phero--illu .az-illu { max-width: 17rem; margin: -.5rem 0 0; }
}

/* Animations (motion design) */
.az-illu .ai-float { animation: ai-float 6s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; }
.az-illu .ai-type { transform-box: fill-box; transform-origin: left center; animation: ai-type 4.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.az-illu .ai-bar { transform-box: fill-box; transform-origin: center bottom; animation: ai-grow 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.az-illu .ai-pulse { transform-box: fill-box; transform-origin: center; animation: ai-pulse 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.az-illu .ai-dash { stroke-dasharray: 6 8; animation: ai-dash 1.6s linear infinite; }
.az-illu .ai-ring { transform-box: fill-box; transform-origin: center; animation: ai-ring 3s ease-out infinite; animation-delay: var(--d, 0s); opacity: 0; }
.az-illu .ai-eq { transform-box: fill-box; transform-origin: center bottom; animation: ai-eq 1.2s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.az-illu .ai-blink { animation: ai-blink 1.6s ease-in-out infinite; }
.az-illu .ai-wave { stroke-dasharray: 160; animation: ai-draw-loop 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.az-illu .ai-draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: ai-draw 1.6s ease-out forwards; animation-delay: calc(.8s + var(--d, 0s)); }
.az-illu .ai-glow { animation: ai-glow 2.6s ease-in-out infinite; }
.az-illu .ai-pop { transform-box: fill-box; transform-origin: center; animation: ai-pop 4s ease-in-out infinite; animation-delay: var(--d, 1s); }
.az-illu .ai-spot { transform-box: view-box; animation: ai-sway 6s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.az-illu .ai-bob { transform-box: fill-box; animation: ai-bob 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.az-illu .ai-spin { transform-box: fill-box; transform-origin: center; animation: ai-spin 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.az-illu .ai-plane { animation: ai-plane 4s ease-in-out infinite; }
@keyframes ai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ai-type { 0% { transform: scaleX(0); } 25%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes ai-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ai-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .65; } }
@keyframes ai-dash { to { stroke-dashoffset: -28; } }
@keyframes ai-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ai-eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes ai-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes ai-draw-loop { 0% { stroke-dashoffset: 160; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }
@keyframes ai-draw { to { stroke-dashoffset: 0; } }
@keyframes ai-glow { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes ai-pop { 0%, 15% { transform: scale(0); } 25%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes ai-sway { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@keyframes ai-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ai-spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.2); } }
@keyframes ai-plane { 0% { transform: translate(-90px, 70px) scale(.6); opacity: 0; } 30% { opacity: 1; } 70% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(40px, -30px) scale(1); opacity: 0; } }

/* Pictogrammes */
.az-ico { flex: none; display: inline-block; vertical-align: middle; }
.az-tile { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 14px; background: #E6EEFC; color: var(--az-blue, #0040B8); transition: transform .3s; }
.az-tile--communication { background: #FDECEC; color: var(--az-red, #D7141A); }
.az-tile--business { background: #E3F5EC; color: var(--az-ok, #0E7A4B); }
.az-offer:hover .az-tile, .az-pole:hover .az-tile { transform: rotate(-6deg) scale(1.08); }
.az-offer__head { display: flex; align-items: center; gap: .75rem; }
.az-pole { display: flex; flex-direction: column; gap: .6rem; transition: transform .25s, box-shadow .25s; }
.az-pole:hover { transform: translateY(-4px); box-shadow: var(--az-shadow-hover, 0 18px 40px rgba(2,33,99,.14)); }
.az-branch { position: relative; overflow: hidden; }
.az-branch__ico { position: absolute; right: -.75rem; bottom: -.75rem; opacity: .16; transition: transform .5s, opacity .3s; }
.az-branch:hover .az-branch__ico { transform: rotate(-10deg) scale(1.1); opacity: .28; }
.az-branch > :not(.az-branch__ico) { position: relative; }

/* Schéma de parcours */
.az-flow { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; position: relative; counter-reset: none; }
.az-flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 1.75rem; height: 3px; background: repeating-linear-gradient(90deg, var(--az-blue, #0040B8) 0 10px, transparent 10px 18px); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.az-flow.is-in::before { transform: scaleX(1); animation: az-flow-run 1.2s linear infinite; }
.az-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * .25s); }
.az-flow.is-in li { opacity: 1; transform: none; }
.az-flow__ico { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; border: 2px solid var(--az-blue, #0040B8); color: var(--az-blue, #0040B8); box-shadow: 0 0 0 6px #fff; }
.az-flow li:last-child .az-flow__ico { background: var(--az-red, #D7141A); border-color: var(--az-red, #D7141A); color: #fff; }
.az-flow__ico b { position: absolute; top: -.35rem; right: -.35rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--az-navy, #022163); color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center; }
.az-flow strong { color: var(--az-navy, #022163); font-family: var(--az-display, Montserrat, sans-serif); }
.az-flow small { color: var(--az-muted, #55657E); }
@keyframes az-flow-run { to { background-position: 18px 0; } }
.az-section--alt .az-flow__ico { box-shadow: 0 0 0 6px var(--az-alt, #F3F6FB); }
@media (max-width: 700px) {
	.az-flow { grid-template-columns: 1fr; gap: 1.25rem; }
	.az-flow::before { left: 1.7rem; right: auto; top: 1rem; bottom: 1rem; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--az-blue, #0040B8) 0 10px, transparent 10px 18px); transform: scaleY(0); transform-origin: top; }
	.az-flow.is-in::before { transform: scaleY(1); animation: none; }
	.az-flow li { flex-direction: row; text-align: left; flex-wrap: wrap; column-gap: 1rem; }
	.az-flow li small { flex-basis: 100%; padding-left: 4.5rem; margin-top: -.6rem; }
}

/* Respect du réglage « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
	.az-illu *, .az-flow::before { animation: none !important; }
	.az-illu .ai-draw { stroke-dashoffset: 0; }
	.az-illu .ai-ring { opacity: 0; }
	.az-flow li, .az-flow::before { transition: none; opacity: 1; transform: none; }
}

/* Méthode et « Pourquoi AZZHY » : pictogrammes */
.az-step__ico, .az-why__ico { margin: .25rem 0 .5rem; }
.az-step:hover .az-step__ico, .az-why:hover .az-why__ico { transform: rotate(-6deg) scale(1.08); }

/* Partenaires : logos dans un rond, adaptés à la taille de l'écran (v1.7.0) */
.az-partners .az-logos { gap: clamp(1rem, 3vw, 2.25rem); align-items: flex-start; padding-block: .5rem 1rem; }
.az-partners .az-logos li.az-partner { width: clamp(7.5rem, 16vw, 10.5rem); height: auto; padding: 0; border: 0; background: none; border-radius: 0; display: block; white-space: normal; }
.az-partner a, .az-partner__in { display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; text-decoration: none; color: inherit; }
.az-partner__logo { width: clamp(5.25rem, 11vw, 7.5rem); aspect-ratio: 1; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 6px 22px rgba(2, 33, 99, .1), inset 0 0 0 1px rgba(2, 33, 99, .08); transition: transform .3s, box-shadow .3s; }
.az-partner__logo img { width: 80% !important; height: 80% !important; max-height: none !important; object-fit: contain; filter: none !important; opacity: 1 !important; }
.az-partner__logo--txt { background: linear-gradient(135deg, var(--az-navy, #022163), var(--az-blue, #0040B8)); color: #fff; }
.az-partner__sigle { font: 800 calc(clamp(1.1rem, 2.4vw, 1.6rem) * min(1, 4 / var(--l, 4))) / 1 var(--az-display, Montserrat, sans-serif); letter-spacing: .02em; padding: 0 .6rem; }
.az-partner:nth-child(3n+2) .az-partner__logo--txt { background: linear-gradient(135deg, #7A0E14, var(--az-red, #D7141A)); }
.az-partner:nth-child(3n) .az-partner__logo--txt { background: linear-gradient(135deg, var(--az-night, #07121F), #1F4C8F); }
.az-partner a:hover .az-partner__logo { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 34px rgba(2, 33, 99, .18), inset 0 0 0 2px var(--az-blue, #0040B8); }
.az-partner__name { font: 700 .9rem/1.25 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-partner__role { font-size: .78rem; line-height: 1.3; color: var(--az-muted, #55657E); }

/* ===== Partenaires & réalisations (v1.9.0) ===== */
.az-pround { flex: none; display: inline-flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(2, 33, 99, .1), inset 0 0 0 1px rgba(2, 33, 99, .08); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.az-pround img { width: 78% !important; height: 78% !important; object-fit: contain; max-width: none; }
.az-pround--xs { width: 1.75rem; box-shadow: inset 0 0 0 1px rgba(2, 33, 99, .12); }
.az-pround--sm { width: 3.75rem; }
.az-pround--md { width: 5.5rem; }
.az-pround--lg { width: clamp(6.5rem, 12vw, 8.5rem); }
.az-pround--xl { width: clamp(10rem, 22vw, 15rem); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.az-pround--txt { background: linear-gradient(135deg, var(--az-navy, #022163), var(--az-blue, #0040B8)); color: #fff; }
.az-pround--media { background: linear-gradient(135deg, #7A0E14, var(--az-red, #D7141A)); }
.az-pround--institution { background: linear-gradient(135deg, var(--az-night, #07121F), #1F4C8F); }
.az-pround--partenaire { background: linear-gradient(135deg, #0B5D3B, var(--az-ok, #0E7A4B)); }
.az-pround b { font: 800 1rem/1 var(--az-display, Montserrat, sans-serif); letter-spacing: .02em; padding: 0 12%; font-size: calc(var(--fs, 1.6rem) * min(1, 4 / var(--l, 4))); }
.az-pround--xs b { --fs: .6rem; } .az-pround--sm b { --fs: 1rem; } .az-pround--md b { --fs: 1.35rem; } .az-pround--lg b { --fs: 1.8rem; } .az-pround--xl b { --fs: 3rem; }
.az-partners .az-partner__logo.az-pround { width: clamp(5.25rem, 11vw, 7.5rem); }
.az-partners .az-pround b { --fs: clamp(1.1rem, 2.4vw, 1.6rem); }
.az-partners__all { text-align: center; margin-top: 1.5rem; }

/* Visuels des réalisations : logo entier, photo, visuel généré */
.az-pvis { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 12rem; overflow: hidden; }
.az-card__visual .az-pvis { position: absolute; inset: 0; }
.az-pvis--photo .az-pvis__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.az-pvis--logo { background: radial-gradient(circle at 50% 40%, #fff 0%, #F3F6FB 70%); }
.az-pvis--logo .az-pvis__img { width: auto !important; height: auto !important; max-width: 72%; max-height: 62%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 6px 14px rgba(2, 33, 99, .08)); }
.az-pcard:hover .az-pvis__img { transform: scale(1.06); }
.az-pvis--gen { color: #fff; background: linear-gradient(135deg, var(--az-navy, #022163), var(--az-blue, #0040B8)); flex-direction: column; gap: .5rem; }
.az-pvis--entreprises { background: linear-gradient(135deg, #0B5D3B, #16A06A); }
.az-pvis--medias { background: linear-gradient(135deg, #5B0A10, var(--az-red, #D7141A)); }
.az-pvis--institutions { background: linear-gradient(135deg, var(--az-night, #07121F), #1F4C8F); }
.az-pvis--gen b { position: relative; font: 800 2rem/1 var(--az-display, Montserrat, sans-serif); letter-spacing: .03em; }
.az-pvis__ico { position: relative; display: inline-flex; padding: .9rem; border-radius: 20px; background: rgba(255, 255, 255, .14); animation: ai-float 6s ease-in-out infinite; }
.az-pvis__grid { position: absolute; inset: -40%; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px); background-size: 18px 18px; animation: az-pvis-drift 18s linear infinite; }
@keyframes az-pvis-drift { to { transform: translate(18px, 18px); } }
.az-pcard .az-card__visual { position: relative; aspect-ratio: 16 / 10; }
.az-pcard__client { display: flex; align-items: center; gap: .5rem; }
.az-pcard__more { display: inline-block; margin-top: .5rem; font-size: .85rem; font-weight: 700; color: var(--az-blue, #0040B8); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.az-pcard:hover .az-pcard__more, .az-pcard:focus-within .az-pcard__more { opacity: 1; transform: none; }
.az-pvis-hero { margin: 0 0 2rem; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8; position: relative; box-shadow: var(--az-shadow, 0 8px 24px rgba(2,33,99,.08)); }
.az-pvis-hero .az-pvis { position: absolute; inset: 0; }
.az-pfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 2.5rem 0 1.5rem; }
.az-pfacts > div { background: var(--az-alt, #F3F6FB); border-radius: 14px; padding: 1rem 1.25rem; }
.az-pfacts span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--az-muted, #55657E); }
.az-pfacts strong { color: var(--az-navy, #022163); }
.az-pclient { display: flex; gap: 1.5rem; align-items: center; padding: 1.5rem; border: 1px solid var(--az-line, #DCE3EE); border-radius: 20px; margin-top: 1rem; }
.az-pclient h2 { margin: .25rem 0; font: 800 1.35rem/1.25 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-pclient p { margin: 0 0 .5rem; }
@media (max-width: 600px) { .az-pclient { flex-direction: column; text-align: center; } }

/* Page /partenaires/ */
.az-orbit { position: relative; width: min(100%, 26rem); aspect-ratio: 1; margin-inline: auto; }
.az-orbit__ring { position: absolute; inset: 14%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); animation: az-orbit-spin 40s linear infinite; }
.az-orbit__ring--2 { inset: 30%; border-style: solid; border-color: rgba(255, 255, 255, .12); animation-direction: reverse; animation-duration: 60s; }
.az-orbit__core { position: absolute; inset: 38%; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 20px 50px rgba(0, 0, 0, .35); animation: ai-pulse-soft 4s ease-in-out infinite; }
.az-orbit__core img { width: 58%; height: auto; }
.az-orbit__sat { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translate(clamp(7.5rem, 15vw, 10.5rem)) rotate(calc(-1 * var(--a))); margin: -1.875rem 0 0 -1.875rem; animation: az-orbit-pop .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.az-orbit__sat .az-pround { animation: ai-float 6s ease-in-out infinite; animation-delay: var(--d); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
@keyframes az-orbit-spin { to { transform: rotate(360deg); } }
@keyframes ai-pulse-soft { 0%, 100% { box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.35); } 50% { box-shadow: 0 0 0 22px rgba(255,255,255,.04), 0 20px 50px rgba(0,0,0,.35); } }
@keyframes az-orbit-pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
.az-pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.az-pstats > div { background: #fff; border: 1px solid var(--az-line, #DCE3EE); border-radius: 18px; padding: 1.25rem 1.5rem; }
.az-pstats strong { display: block; font: 800 2.4rem/1 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-pstats span { color: var(--az-muted, #55657E); }
.az-pgrid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); margin-top: 1.5rem; }
.az-pcardp { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--az-line, #DCE3EE); border-radius: 22px; overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.az-pcardp:hover { transform: translateY(-6px); box-shadow: var(--az-shadow-hover, 0 18px 40px rgba(2,33,99,.14)); border-color: var(--az-blue, #0040B8); }
.az-pcardp:hover .az-pround { transform: scale(1.06) rotate(-3deg); box-shadow: 0 16px 34px rgba(2, 33, 99, .18); }
.az-pcardp__main { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 1.75rem 1.25rem 1.25rem; text-decoration: none; color: inherit; background: linear-gradient(180deg, var(--az-alt, #F3F6FB) 0 4.5rem, #fff 4.5rem) no-repeat; background-size: 100% 100%; }
.az-pcardp__t { display: block; margin: .25rem 0 0; font: 800 1.05rem/1.3 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-pcardp__r { font-size: .875rem; color: var(--az-muted, #55657E); }
.az-pcardp__cat { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: #E6EEFC; color: var(--az-blue, #0040B8); margin-top: .35rem; }
.az-pcardp__cat--media { background: #FDECEC; color: var(--az-red, #D7141A); }
.az-pcardp__cat--partenaire { background: #E3F5EC; color: var(--az-ok, #0E7A4B); }
.az-pcardp__cat--institution { background: #E8EBF2; color: var(--az-navy, #022163); }
.az-pcardp__nb { font-size: .8rem; font-weight: 700; color: var(--az-navy, #022163); }
.az-pcardp__foot { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; border-top: 1px solid var(--az-line, #DCE3EE); margin: 0; }
.az-pcardp__foot a { font-size: .85rem; font-weight: 700; color: var(--az-blue, #0040B8); text-decoration: none; }

/* Page d'un partenaire */
.az-pfiche__logo { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; width: min(100%, 22rem); margin-inline: auto; }
.az-pfiche__logo .az-orbit__ring { inset: 2%; }
.az-pfiche__logo .az-orbit__ring--2 { inset: -6%; }
.az-pfiche__logo .az-pround { position: relative; z-index: 1; animation: ai-float 7s ease-in-out infinite; }
.az-pfiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .az-pfiche { grid-template-columns: 1fr; } }
.az-pothers { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1.25rem; }
.az-pothers a { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; text-decoration: none; font-weight: 700; font-size: .875rem; color: var(--az-navy, #022163); }
.az-pothers a:hover .az-pround { transform: translateY(-4px) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .az-orbit *, .az-pvis *, .az-pfiche__logo * { animation: none !important; } }
.az-pfiche .az-offer-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; background: var(--az-alt, #F3F6FB); border-radius: 16px; padding: 1.25rem 1.5rem; }
.az-pfiche .az-offer-facts dt { font-weight: 700; color: var(--az-navy, #022163); }
.az-pfiche .az-offer-facts dd { margin: 0; }
.az-pfiche .az-lead { font-size: 1.15rem; color: var(--az-ink, #17243A); }
.az-pcard .az-card__title, .az-pcard .az-pcard__presta { display: block; }
.az-pcard .az-card__title { margin: .35rem 0; }
.az-pcard .az-pcard__client { margin: 0; }
.az-pcard .az-card__visual, .az-pcard .az-card__body { display: block; }

/* Services de Wanallo présentés comme plateformes (v1.9.1) */
.azp-parent { margin: -.25rem 0 .5rem; font-size: .85rem; opacity: .85; }
.azp-parent strong { color: inherit; font-weight: 700; }
.az-eco__card .azp-parent { color: #C9D6EE; }

/* Espace client — aperçu administrateur (v1.9.1) */
.az-pk__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.az-pk__kpi { background: #fff; border: 1px solid var(--az-line, #DCE3EE); border-radius: 18px; padding: 1.1rem 1.35rem; }
.az-pk__kpi strong { display: block; font: 800 2rem/1.1 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-pk__kpi strong small { font-size: .9rem; }
.az-pk__kpi span { color: var(--az-muted, #55657E); font-size: .9rem; }
.az-pk__kpi--wait strong { color: #B26200; }
.az-pk__kpi--late strong { color: var(--az-red, #D7141A); }
.az-pk__bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.az-pk__search { position: relative; flex: 1 1 18rem; max-width: 28rem; display: flex; align-items: center; }
.az-pk__search svg { position: absolute; left: 1rem; color: var(--az-muted, #55657E); }
.az-pk__search input { width: 100%; min-height: 2.9rem; padding: 0 1rem 0 2.75rem; border: 1.5px solid var(--az-line, #DCE3EE); border-radius: 999px; font: inherit; background: #fff; }
.az-pk__search input:focus { outline: none; border-color: var(--az-blue, #0040B8); box-shadow: 0 0 0 4px rgba(0, 64, 184, .12); }
.az-pk__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.az-pk__card { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--az-line, #DCE3EE); border-radius: 20px; padding: 1.25rem; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; }
.az-pk__card:hover { transform: translateY(-4px); box-shadow: var(--az-shadow-hover, 0 18px 40px rgba(2,33,99,.14)); border-color: var(--az-blue, #0040B8); }
.az-pk__card[hidden] { display: none; }
.az-pk__head { display: flex; gap: .85rem; align-items: flex-start; }
.az-pk__av { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font: 800 1rem var(--az-display, Montserrat, sans-serif); background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); transition: transform .3s; }
.az-pk__card:hover .az-pk__av { transform: rotate(-8deg) scale(1.06); }
.az-pk__id { flex: 1; min-width: 0; }
.az-pk__id strong { display: block; font: 800 1rem/1.3 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-pk__id small { display: block; color: var(--az-muted, #55657E); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.az-pk__acc { flex: none; font-size: .72rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.az-pk__acc--on { background: #E3F5EC; color: var(--az-ok, #0E7A4B); }
.az-pk__acc--off { background: #F1F3F7; color: var(--az-muted, #55657E); }
.az-pk__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.az-pk__chip { font-size: .8rem; font-weight: 600; padding: .3rem .65rem; border-radius: 8px; background: var(--az-alt, #F3F6FB); color: var(--az-navy, #022163); }
.az-pk__chip--wait { background: #FFF4E5; color: #B26200; }
.az-pk__chip--late { background: #FDECEC; color: var(--az-red, #D7141A); }
.az-pk__chip--ok { background: #E3F5EC; color: var(--az-ok, #0E7A4B); }
.az-pk__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--az-line, #DCE3EE); }
.az-pk__btn { min-height: 2.6rem; padding: 0 1rem; font-size: .9rem; }
.az-pk__link { font-size: .875rem; font-weight: 700; color: var(--az-blue, #0040B8); text-decoration: none; }
.az-pk__link:hover { text-decoration: underline; }
.az-pk__empty { text-align: center; color: var(--az-muted, #55657E); padding: 2rem 0; }

/* ===== Connexion espace client, attente, comptes en attente (v1.9.2) ===== */
.az-login2 { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 100% 0%, #0A3FA8 0%, var(--az-navy, #022163) 55%); color: #fff; padding-block: clamp(2.5rem, 7vw, 5rem); }
.az-login2 .az-phero__bands { opacity: .35; }
.az-login2__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 27rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.az-login2__intro h1 { margin: .5rem 0 2rem; font: 800 clamp(1.9rem, 4.2vw, 3rem)/1.1 var(--az-display, Montserrat, sans-serif); color: #fff; max-width: 34rem; }
.az-login2__feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.az-login2__feat li { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); animation: az-rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
.az-login2__feat .az-tile { background: rgba(255, 255, 255, .12); color: #fff; width: 2.6rem; height: 2.6rem; flex: none; }
.az-login2__feat strong { display: block; color: #fff; font-size: .95rem; }
.az-login2__feat small { color: #B9C8E6; font-size: .82rem; line-height: 1.4; }
@keyframes az-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.az-login2__card { position: relative; background: #fff; color: var(--az-ink, #17243A); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); animation: az-rise .7s .1s cubic-bezier(.2,.8,.2,1) both; }
.az-login2__lock { position: absolute; top: -1.4rem; left: clamp(1.5rem, 4vw, 2.25rem); width: 2.8rem; height: 2.8rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--az-red, #D7141A); color: #fff; box-shadow: 0 10px 24px rgba(215, 20, 26, .4); }
.az-login2__card h2 { margin: .5rem 0 .2rem; font: 800 1.75rem/1.2 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-login2__sub { margin: 0 0 1.25rem; color: var(--az-muted, #55657E); }
.az-login2__card form p { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; }
.az-login2__card label { font-weight: 600; font-size: .9rem; color: var(--az-navy, #022163); }
.az-login2__card input[type="text"], .az-login2__card input[type="password"], .az-login2__card input[type="email"] { min-height: 3rem; padding: 0 .95rem; border: 1.5px solid var(--az-line, #DCE3EE); border-radius: 12px; font-size: 1rem; background: #F8FAFD; transition: border-color .2s, box-shadow .2s, background .2s; }
.az-login2__card input:focus { outline: none; border-color: var(--az-blue, #0040B8); background: #fff; box-shadow: 0 0 0 4px rgba(0, 64, 184, .12); }
.az-login2__card .login-remember label { flex-direction: row; display: flex; gap: .5rem; align-items: center; font-weight: 500; }
.az-login2__card input[type="submit"] { width: 100%; min-height: 3.1rem; border: 0; border-radius: 12px; background: var(--az-red, #D7141A); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.az-login2__card input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(215, 20, 26, .3); }
.az-login2__links { margin: .25rem 0 0; text-align: center; }
.az-login2__links a, .az-login2__help a { color: var(--az-blue, #0040B8); font-weight: 600; }
.az-login2__help { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--az-line, #DCE3EE); text-align: center; font-size: .9rem; color: var(--az-muted, #55657E); }
@media (max-width: 900px) { .az-login2__in { grid-template-columns: 1fr; } .az-login2__card { order: -1; margin-top: 1rem; } }
@media (max-width: 560px) { .az-login2__feat { grid-template-columns: 1fr; } }

.az-wait { display: flex; justify-content: center; }
.az-wait__card { position: relative; width: min(100%, 44rem); text-align: center; background: #fff; border: 1px solid var(--az-line, #DCE3EE); border-radius: 28px; padding: clamp(2rem, 5vw, 3rem); box-shadow: var(--az-shadow, 0 8px 24px rgba(2,33,99,.08)); animation: az-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.az-wait__av { display: inline-flex; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden; align-items: center; justify-content: center; background: linear-gradient(135deg, #0060F0, var(--az-navy, #022163)); color: #fff; font: 800 2rem var(--az-display, Montserrat, sans-serif); box-shadow: 0 0 0 6px #E6EEFC; margin-bottom: 1rem; }
.az-wait__av img { width: 100%; height: 100%; object-fit: cover; }
.az-wait__card h1 { margin: .25rem 0 .75rem; font: 800 clamp(1.7rem, 4vw, 2.4rem)/1.15 var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); }
.az-wait__lead { max-width: 34rem; margin: 0 auto 1.75rem; color: var(--az-muted, #55657E); }
.az-wait__steps { list-style: none; margin: 0 auto 1.75rem; padding: 0; max-width: 30rem; text-align: left; display: grid; gap: .25rem; }
.az-wait__steps li { position: relative; display: flex; gap: .9rem; padding: .7rem 0; }
.az-wait__steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.05rem; top: 2.9rem; bottom: -.4rem; width: 2px; background: var(--az-line, #DCE3EE); }
.az-wait__steps li > span { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: #F1F3F7; color: var(--az-muted, #55657E); }
.az-wait__steps li.is-done > span { background: var(--az-ok, #0E7A4B); color: #fff; }
.az-wait__steps li.is-now > span { background: var(--az-blue, #0040B8); color: #fff; box-shadow: 0 0 0 0 rgba(0, 64, 184, .5); animation: az-ping 2s infinite; }
@keyframes az-ping { 0% { box-shadow: 0 0 0 0 rgba(0,64,184,.45); } 70% { box-shadow: 0 0 0 12px rgba(0,64,184,0); } 100% { box-shadow: 0 0 0 0 rgba(0,64,184,0); } }
.az-wait__steps strong { display: block; color: var(--az-navy, #022163); }
.az-wait__steps small { color: var(--az-muted, #55657E); }
.az-wait__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0 0 1rem; }

.az-pk__wait { background: #F0F6FF; border: 1px solid #C9DCFB; border-radius: 20px; padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.az-pk__wait h2 { margin: 0 0 .25rem; font: 800 1.2rem var(--az-display, Montserrat, sans-serif); color: var(--az-navy, #022163); display: flex; align-items: center; gap: .5rem; }
.az-pk__wait h2 span { background: #0060F0; color: #fff; font-size: .8rem; padding: .1rem .55rem; border-radius: 999px; }
.az-pk__wait ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.az-pk__wait li { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; background: #fff; border-radius: 14px; padding: .75rem 1rem; }
.az-pk__wait .az-pk__av { overflow: hidden; }
.az-pk__wait .az-pk__av img { width: 100%; height: 100%; object-fit: cover; }
.az-pk__wait form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-left: auto; }
.az-pk__wait select { min-height: 2.6rem; border: 1.5px solid var(--az-line, #DCE3EE); border-radius: 10px; padding: 0 .6rem; max-width: 16rem; }
.az-pk__wait button.az-pk__link { background: none; border: 0; cursor: pointer; padding: .4rem; }
@media (prefers-reduced-motion: reduce) { .az-login2 *, .az-wait *, .az-wait__card { animation: none !important; } }
