/* Reference page: restrained blue/red identity; original logo colors retained. */
.page-hero.references-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:clamp(560px,40vw,760px);padding:100px clamp(24px,5vw,96px) 76px;background:#313e50;color:#fff}
.page-hero.references-hero:after{display:none}
.references-hero-photo{position:absolute;inset:0;z-index:-1;pointer-events:none}
.references-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.references-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#313e5055,transparent 68%)}
.references-hero .breadcrumbs{position:absolute;top:25px;left:clamp(24px,5vw,96px);font-size:11px;color:#c6ced9}
.page-hero.references-hero .hero-copy{width:49%;max-width:760px}
.page-hero.references-hero .eyebrow{color:#ffc1b6;font-size:11px;letter-spacing:.18em;margin:0 0 28px}
.page-hero.references-hero .eyebrow:before{content:"";display:block;width:48px;height:3px;background:#e04130;margin-bottom:24px}
.page-hero.references-hero h1{font-family:var(--font-body);font-size:clamp(38px,3.7vw,70px);font-weight:500;line-height:1.14;letter-spacing:-.04em;text-wrap:balance;color:#fff;margin:0}
.page-hero.references-hero h1 em{display:block;font:inherit;color:#fff;margin-top:8px}
.page-hero.references-hero .hero-copy>p:not(.eyebrow){font-size:clamp(18px,1.4vw,25px);color:#c6ced9;line-height:1.6;margin:26px 0 0;max-width:32ch}
.references-hero .button{margin-top:30px;padding:17px 24px;min-height:48px;font-size:14px}
#references-clients{scroll-margin-top:24px}
.references-heading{display:grid;grid-template-columns:1.2fr 1fr;align-items:end;gap:40px;margin-bottom:44px}
.references-heading .eyebrow,.references-private .eyebrow{color:#b83226;font-size:11px;letter-spacing:.17em}
.references-heading h2,.references-private h2,.references-contact h2{font-family:var(--font-body);letter-spacing:-.035em;font-weight:500;line-height:1.18;margin:20px 0 0;font-size:clamp(32px,3vw,52px)}
.references-heading h2{color:#313e50}
.references-heading h2>span{color:#e04130}
.references-intro{max-width:42ch;margin:0;justify-self:end;color:#4b5f7a;font-size:17px;line-height:1.75}
.reference-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 32px}
.reference-universe{min-width:0}
.reference-universe--wide{grid-column:1 / -1}
.reference-universe--banks{grid-column:span 2}
.reference-universe--telecom{grid-column:span 1}
.client-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;list-style:none;padding:0;margin:0;background:transparent;border:0}
.client-logo-grid li{display:flex;align-items:center;justify-content:center;min-width:0;min-height:185px;padding:24px;background:#fff;border-bottom:1px solid #e7eaed;box-sizing:border-box}
.reference-universe h3{display:flex;align-items:center;gap:14px;margin:0 0 18px;font-family:var(--font-body);font-size:14px;font-weight:600;letter-spacing:.06em;color:#313e50}
.reference-universe h3:before{content:"";width:24px;height:2px;background:#e04130;flex-shrink:0}
.reference-universe h3:after{content:"";height:1px;background:#d9dde2;flex:1;margin-left:8px}
.client-logo-grid--pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.client-logo-grid.client-logo-grid--pair li:last-child:nth-child(3n + 1){grid-column:auto}
.client-logo-grid .client-logo-mnihla img{width:172px;max-height:100px}
.client-logo-grid--single{grid-template-columns:1fr}
.client-logo-grid .client-logo-ooredoo img{width:300px;max-height:110px}
.client-logo-grid img{display:block;width:auto;height:auto;max-width:100%;max-height:110px;object-fit:contain}
.client-logo-grid .client-logo-standard img{width:290px}
.client-logo-grid .client-logo-portrait img{max-height:155px}
.client-logo-grid .client-logo-seabel img{width:280px;height:110px;max-height:110px;object-fit:cover;object-position:center}
.client-logo-grid .client-logo-coficab img{width:310px;max-height:120px}
.client-logo-grid .client-logo-abc img{width:320px;max-height:120px}
.client-logo-grid .client-logo-movenpick img{width:300px;max-height:120px}
.client-logo-grid .client-logo-business img{width:160px;max-height:160px}
.client-logo-grid .client-logo-draexlmaier img{width:260px;max-height:110px}
.client-logo-grid .client-logo-tui img{width:150px;max-height:150px}
.client-logo-grid .client-logo-benghazi img{width:320px;max-height:120px}
.client-logo-grid .client-logo-culture img{height:160px;max-height:160px}
.client-logo-grid .client-logo-inm img{width:auto;height:160px;max-height:160px}
.client-logo-grid .client-logo-ftav img{width:150px;height:auto;max-height:150px}
.client-logo-grid .client-logo-haica img{width:260px;height:auto;max-height:160px}
.client-logo-grid li:last-child:nth-child(3n + 1){grid-column:1 / -1;min-height:185px}
.page-section.references-private{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(30px,6vw,100px);background:#eff1f4;border-top:1px solid #d9dde2}
.references-private h2{color:#313e50;margin-top:28px}
.references-private h2 span{color:#4b5f7a}
.references-private:before{content:"";position:absolute;top:0;left:clamp(24px,5vw,96px);width:64px;height:3px;background:#e04130}
.references-private-copy{align-self:center;border-left:3px solid #e04130;padding-left:clamp(20px,3vw,40px)}
.references-private-copy p{color:#4b5f7a;line-height:1.8;max-width:47ch;margin:0 0 18px;font-size:17px}
.references-text-link{display:inline-block;color:#313e50;font-size:14px;font-weight:600;padding:8px 0;border-bottom:1px solid #b83226;text-decoration:none}
.page-section.references-contact{background:#313e50;color:#fff;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center}
.references-contact .eyebrow{color:#ffc1b6;font-size:11px;letter-spacing:.17em}
.references-contact h2{color:#fff;font-size:clamp(30px,3.2vw,54px)}
.references-contact h2 span{color:#c6ced9}
.references-contact-actions{display:flex;flex-direction:column;align-items:flex-end;gap:22px}
.references-contact-actions .button{padding:18px 28px}
.references-contact-actions>a:not(.button){color:#c6ced9;font-size:14px;text-underline-offset:5px}
.references-text-link:focus-visible,.references-contact a:focus-visible{outline:2px solid #e04130;outline-offset:5px}
.references-motion [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .7s ease var(--reveal-delay,0ms),transform .7s cubic-bezier(.2,.65,.3,1) var(--reveal-delay,0ms)}
.references-motion [data-reveal].is-visible,.references-motion [data-reveal]:focus-within{opacity:1;transform:none}
@media(max-width:1000px) and (min-width:701px){.page-hero.references-hero .hero-copy{width:56%}.references-hero-photo:after{background:linear-gradient(90deg,#313e50bb,transparent 85%)}}
@media(max-width:800px){.references-heading{grid-template-columns:1fr;gap:18px}.references-intro{justify-self:start}.client-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-logo-grid li{padding:22px;min-height:185px}.client-logo-grid li:last-child:nth-child(3n + 1){grid-column:auto;min-height:185px}.client-logo-grid li:last-child:nth-child(odd){grid-column:1 / -1}}
@media(max-width:700px){.page-hero.references-hero{padding:0;min-height:0}.references-hero .breadcrumbs{position:static;order:0;margin:24px 24px 0}.page-hero.references-hero .hero-copy{order:1;width:100%;padding:34px 24px 40px;box-sizing:border-box}.page-hero.references-hero h1{font-size:clamp(34px,7.2vw,48px)}.references-hero-photo{order:2;position:relative;inset:auto;z-index:0;width:100%;height:290px;overflow:hidden}.references-hero-photo img{width:170%;max-width:none;position:absolute;right:0;object-position:right center}.references-hero-photo:after{display:none}.page-section.references-private,.page-section.references-contact{grid-template-columns:1fr;gap:32px}.references-private-copy p{font-size:16px}.references-contact-actions{align-items:flex-start}.references-heading{margin-bottom:30px}}
@media(max-width:440px){.client-logo-grid li{padding:16px;min-height:160px}.client-logo-grid li img{max-height:110px}.client-logo-grid .client-logo-portrait img{max-height:125px}.client-logo-grid .client-logo-business img{max-height:130px;width:130px}.client-logo-grid .client-logo-tui img{max-height:120px;width:120px}.client-logo-grid .client-logo-culture img{max-height:145px;height:145px}.client-logo-grid li:last-child{min-height:180px}}
@media(prefers-reduced-motion:reduce){.references-motion [data-reveal]{opacity:1;transform:none;transition:none}}
@media print{.references-motion [data-reveal]{opacity:1;transform:none}}
@media(max-width:700px){.references-hero-photo{height:clamp(180px,42vw,290px)}.references-hero-photo img{width:100%;object-position:center}}
@media(min-width:1200px){.reference-universe[aria-labelledby="references-industrie"] .client-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:801px){.client-logo-grid--institutions{grid-template-columns:repeat(6,minmax(0,1fr))}.client-logo-grid--institutions li{grid-column:span 2}.client-logo-grid--institutions li:nth-child(4){grid-column:2 / span 2}.client-logo-grid--institutions li:nth-child(5){grid-column:4 / span 2}}
@media(max-width:800px){.reference-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 20px}.reference-universe--banks,.reference-universe--telecom{grid-column:1 / -1}.reference-universe--telecom .client-logo-grid{grid-template-columns:1fr;max-width:420px}.reference-universe--telecom .client-logo-grid li{min-height:145px}.client-logo-grid{gap:12px}.client-logo-grid li{min-height:175px}}

/* Projets réalisés (ajout Claude) */
.references-projects{background:#fff;border-top:1px solid #d9dde2}
.references-projects h2 em{display:block;font-style:normal;color:#4b5f7a}
.projects-figures{list-style:none;margin:40px 0 56px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:2px solid #e04130;border-bottom:1px solid #d9dde2}
.projects-figures li{padding:26px 22px 24px;border-left:1px solid #d9dde2}
.projects-figures li:first-child{border-left:0;padding-left:0}
.projects-figures strong{display:block;font-family:var(--font-head);font-size:clamp(34px,3.6vw,52px);font-weight:600;line-height:1;color:#313e50}
.projects-figures span{display:block;margin-top:10px;font-size:14px;line-height:1.45;color:#4b5f7a;max-width:22ch}
.project-cases{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.project-case{display:flex;flex-direction:column;background:#f7f8fa;border:1px solid #d9dde2;border-radius:4px;overflow:hidden}
.project-case-photo{position:relative;margin:0;aspect-ratio:16/10;background:#313e50;overflow:hidden}
.project-case-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.project-case:hover .project-case-photo img{transform:scale(1.03)}
.project-case-photo.is-pending{display:flex;align-items:center;justify-content:center;background:#313e50;background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:28px 28px}
.project-case-photo.is-pending span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#c6ced9}
.project-case-body{padding:26px 28px 28px;display:flex;flex-direction:column;gap:12px;flex:1}
.project-case-kicker{margin:0;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#b83226}
.project-case h3{margin:0;font-size:clamp(24px,2.2vw,32px);font-weight:600;color:#313e50}
.project-case-body>p:not([class]){margin:0;font-size:15px;line-height:1.65;color:#4b5f7a}
.project-case-tags{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.project-case-tags li{font-size:12.5px;line-height:1;padding:8px 11px;border:1px solid #cdd3db;border-radius:999px;background:#fff;color:#313e50}
.project-case-role{margin:auto 0 0;padding-top:16px;border-top:1px solid #d9dde2;font-size:13px;line-height:1.5;color:#4b5f7a}
.project-case-role b{display:block;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#313e50;margin-bottom:4px}
@media(max-width:980px){.projects-figures{grid-template-columns:repeat(2,1fr)}.projects-figures li:nth-child(3){border-left:0;padding-left:0}.projects-figures li:nth-child(n+3){border-top:1px solid #d9dde2}}
@media(max-width:820px){.project-cases{grid-template-columns:1fr}}
@media(max-width:520px){.project-case-body{padding:22px 20px 24px}}
.project-case{border-top:3px solid #e04130}
.project-download{margin-top:36px;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px 36px;background:#313e50;border-radius:4px;color:#fff}
.project-download h3{margin:8px 0 8px;font-size:clamp(22px,2vw,28px);font-weight:600;color:#fff;max-width:26ch}
.project-download p:not(.project-case-kicker){margin:0;font-size:15px;line-height:1.6;color:#c6ced9;max-width:52ch}
.project-download .project-case-kicker{color:#ffc1b6}
.project-download .button{flex:0 0 auto;white-space:nowrap}
@media(max-width:820px){.project-download{flex-direction:column;align-items:flex-start;padding:28px 24px}.project-download .button{white-space:normal}}
.project-download h3{line-height:1.25}

/* Section projets : renvoi attractif vers la présentation PDF (remplace les fiches) */
.references-projects .project-cases,.references-projects .projects-figures,.references-projects .project-download{display:none}
.projects-showcase{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:56px;align-items:stretch}
.projects-showcase h2{margin:14px 0 18px}
.projects-showcase h2 em{display:block;color:#4b5f7a;font-weight:500}
.projects-showcase-copy>p:not(.eyebrow){max-width:60ch;font-size:17px;line-height:1.7;color:#4b5f7a;margin:0 0 30px}
.projects-showcase-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #d9dee5}
.projects-showcase-list li{padding:16px 18px 16px 0;border-bottom:1px solid #d9dee5;display:flex;flex-direction:column;gap:4px}
.projects-showcase-list li:nth-child(even){padding-left:18px;border-left:1px solid #d9dee5}
.projects-showcase-list b{font-family:var(--font-head);font-size:19px;font-weight:600;color:#323f51}
.projects-showcase-list span{font-size:14px;color:#4b5f7a}
.projects-showcase-card{display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:36px 32px;border-radius:6px;color:#fff;background:linear-gradient(225deg,#df4e3d 0%,#844b4d 52%,#304051 100%);box-shadow:0 24px 44px -26px rgba(50,63,81,.6)}
.projects-showcase-figure{margin:0}
.projects-showcase-figure strong{display:block;font-family:var(--font-head);font-size:72px;line-height:1;font-weight:600}
.projects-showcase-figure span{display:block;margin-top:10px;font-size:16px;color:#f3d9d4}
.projects-showcase-card .button{align-self:flex-start;background:#fff!important;color:#323f51!important;border-color:#fff!important}
.projects-showcase-card small{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#f3d9d4}
@media(max-width:900px){.projects-showcase{grid-template-columns:1fr;gap:32px}}
@media(max-width:560px){.projects-showcase-list{grid-template-columns:1fr}.projects-showcase-list li:nth-child(even){padding-left:0;border-left:0}}
.projects-showcase h2{font-size:clamp(32px,3.4vw,50px);line-height:1.12}.projects-showcase-card{min-height:340px}
.projects-showcase-list span{line-height:1.5}
.projects-showcase-list li{gap:6px;padding-top:20px;padding-bottom:20px}
.projects-showcase-list small{font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#e04130}
.projects-showcase-list b{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#323f51}
.projects-showcase-list b:before{content:"";width:16px;height:2px;background:#e04130;flex:0 0 16px}
.projects-showcase-kicker{margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:.16em;color:#ffd2ca}
.projects-showcase-title{margin:0 0 20px;font-size:32px!important;line-height:1.1;color:#fff}
.projects-showcase-toc{list-style:none;margin:0;padding:0;counter-reset:toc}
.projects-showcase-toc li{counter-increment:toc;display:flex;gap:12px;padding:9px 0;border-top:1px solid rgba(255,255,255,.18);font-size:15px;color:#fff}
.projects-showcase-toc li:before{content:counter(toc,decimal-leading-zero);font-family:var(--font-head);font-weight:600;color:#ffd2ca;min-width:22px}
.projects-showcase-toc li{padding:10px 0;align-items:flex-start}
.projects-showcase-toc li:before{padding-top:1px}
.projects-showcase-toc li span{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.45;color:#f3d9d4}
.projects-showcase-toc li b{font-family:var(--font-head);font-size:17px;font-weight:600;color:#fff}
.projects-showcase-card{gap:24px}
.projects-showcase{align-items:center}.projects-showcase-copy>p:not(.eyebrow){margin-bottom:34px}
@media(min-width:901px){.projects-showcase-cta{display:none}}
.projects-showcase-stats{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid #e04130}
.projects-showcase-stats li{padding:22px 20px 0 0}
.projects-showcase-stats li+li{padding-left:20px;border-left:1px solid #d9dee5}
.projects-showcase-stats strong{display:block;font-family:var(--font-head);font-size:clamp(36px,3.4vw,50px);font-weight:600;line-height:1;color:#323f51}
.projects-showcase-stats span{display:block;margin-top:8px;font-size:14px;color:#4b5f7a}
@media(max-width:900px){.projects-showcase-cta{margin-top:28px}}
.projects-showcase{grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:64px}
.projects-showcase-card{padding:28px;gap:22px;justify-content:flex-start;min-height:0}
.projects-showcase-cover{position:relative;display:block;border-radius:4px;overflow:hidden;box-shadow:0 18px 36px -14px rgba(10,14,20,.6);transform:rotate(-1.2deg);transition:transform .4s ease}
.projects-showcase-cover:hover{transform:rotate(0) scale(1.02)}
.projects-showcase-cover img{display:block;width:100%;height:auto}
.projects-showcase-cover span{position:absolute;right:10px;bottom:10px;padding:5px 9px;border-radius:3px;background:rgba(255,255,255,.92);color:#323f51;font-size:11px;font-weight:700;letter-spacing:.08em}
.projects-showcase-title{margin-bottom:14px!important}
.projects-showcase-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.projects-showcase-chips li{padding:7px 11px;border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:13px;color:#fff;background:rgba(255,255,255,.06)}
.projects-showcase-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.projects-showcase-actions small{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#f3d9d4}
@media(prefers-reduced-motion:reduce){.projects-showcase-cover{transform:none}}
@media(max-width:900px){.projects-showcase{grid-template-columns:1fr;gap:36px}.projects-showcase-card{padding:22px}.projects-showcase-cover{transform:none}}
@media(max-width:520px){.projects-showcase-chips li{font-size:12px;padding:6px 10px}.projects-showcase-actions .button{width:100%;justify-content:center}}
.projects-showcase-cta{display:none!important}
.projects-showcase-title{margin-bottom:18px!important}
.projects-showcase-index{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.projects-showcase-index li{display:flex;align-items:baseline;gap:12px;padding:9px 0;border-top:1px solid rgba(255,255,255,.18);font-size:15px;color:#fff;line-height:1.3}
.projects-showcase-index i{font-style:normal;font-family:var(--font-head);font-weight:600;font-size:12px;letter-spacing:.06em;color:#f2a497;min-width:18px}
.projects-showcase-actions{margin-top:4px}
.projects-showcase-dl{display:flex;align-items:center;gap:14px;width:100%;padding:12px 18px 12px 12px;border-radius:6px;background:#fff;color:#323f51;text-decoration:none;box-shadow:0 10px 24px -12px rgba(0,0,0,.5);transition:transform .25s ease,box-shadow .25s ease}
.projects-showcase-dl:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(0,0,0,.55)}
.projects-showcase-dl-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:5px;background:#e04130;color:#fff;transition:background .25s}
.projects-showcase-dl:hover .projects-showcase-dl-icon{background:#c4392a}
.projects-showcase-dl b{display:block;font-family:var(--font-head);font-weight:600;font-size:16px;letter-spacing:.01em}
.projects-showcase-dl small{display:block;margin-top:2px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7a8597}
.projects-showcase-dl:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:420px){.projects-showcase-index{grid-template-columns:1fr}}
.projects-showcase-index{grid-template-rows:repeat(4,auto);grid-auto-flow:column}
@media(max-width:420px){.projects-showcase-index{grid-template-rows:none;grid-auto-flow:row}}
/* Bandeau contact — charte */
.page-section.references-contact{display:block;background:#f4f5f7;padding-top:clamp(60px,7vw,100px);padding-bottom:clamp(60px,7vw,100px)}
.references-contact-panel{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:48px;align-items:center;padding:clamp(36px,5vw,64px);border-radius:8px;background:linear-gradient(225deg,#df4e3d 0%,#844b4d 48%,#304051 100%);color:#fff;box-shadow:0 30px 60px -30px rgba(30,40,55,.55)}
.references-contact-panel:after{content:"";position:absolute;right:-120px;top:-160px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 60px rgba(255,255,255,.04),0 0 0 120px rgba(255,255,255,.03);pointer-events:none}
.references-contact-panel>*{position:relative;z-index:1}
.references-contact .eyebrow{color:#ffd0c8}
.references-contact h2{margin-top:14px!important;font-family:var(--font-head)!important;font-weight:600;line-height:1.08}
.references-contact h2 span{color:#ffd9d2}
.references-contact-copy>p:not(.eyebrow){max-width:560px;margin:20px 0 0;font-size:17px;line-height:1.6;color:#f1e6e6}
.references-contact-actions{align-items:stretch;gap:14px;min-width:260px}
.references-contact-actions .references-contact-main{justify-content:center;gap:10px;padding:18px 28px;background:#fff;border-color:#fff;color:#323f51;font-size:15px;border-radius:4px}
.references-contact-actions .references-contact-main:hover{background:#fff;color:#e04130;transform:translateY(-2px)}
.references-contact-actions .references-contact-mail{display:flex;align-items:center;justify-content:center;gap:9px;padding:14px 20px;border:1px solid rgba(255,255,255,.4);border-radius:4px;color:#fff!important;font-size:14px;text-decoration:none;transition:background .2s,border-color .2s}
.references-contact-actions .references-contact-mail:hover{background:rgba(255,255,255,.1);border-color:#fff}
@media(max-width:800px){.references-contact-panel{grid-template-columns:1fr;gap:30px}.references-contact-actions{min-width:0}}
.references-contact .references-contact-actions a.references-contact-main{background:#fff!important;border-color:#fff!important;color:#323f51!important}
.references-contact .references-contact-actions a.references-contact-main:hover{color:#e04130!important}
/* ===== v35 : références clients ===== */
.nowrap{white-space:nowrap}
.reference-groups{row-gap:44px}
.reference-universe h3{margin-bottom:16px;font-size:12px!important;font-weight:700!important;letter-spacing:.16em!important;text-transform:uppercase;color:#323f51}
.reference-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:-4px;border-radius:999px;background:#fbecea;color:#e04130;font-size:11px;letter-spacing:0;box-sizing:border-box}
.client-logo-grid{gap:16px!important}
.client-logo-grid li{position:relative;overflow:hidden;min-height:168px!important;padding:26px 30px!important;border:1px solid #dfe3e9!important;border-radius:8px;background:#fff;transition:transform .3s ease,box-shadow .3s ease,border-color .3s}
.client-logo-grid li:after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#323f51,#e04130);transform:scaleX(0);transform-origin:left;transition:transform .45s ease}
.client-logo-grid li:hover{transform:translateY(-3px);box-shadow:0 16px 32px -18px rgba(30,40,55,.35);border-color:#cfd5dd!important}
.client-logo-grid li:hover:after{transform:scaleX(1)}
/* Tailles de logos harmonisées */
.client-logo-grid img{max-height:96px}
.client-logo-grid .client-logo-coficab img{width:250px;max-height:90px}
.client-logo-grid .client-logo-draexlmaier img{width:210px;max-height:90px}
.client-logo-grid .client-logo-standard img{width:240px}
.client-logo-grid .client-logo-mnihla img{width:215px;max-height:90px}
.client-logo-grid .client-logo-abc img{width:260px;max-height:80px}
.client-logo-grid .client-logo-ooredoo img{width:250px;max-height:80px}
.client-logo-grid .client-logo-movenpick img{width:240px;max-height:80px}
.client-logo-grid .client-logo-portrait img{max-height:118px}
.reference-universe[aria-labelledby="references-hotellerie"] .client-logo-grid li:nth-child(3) img{width:250px;max-height:90px}
.client-logo-grid .client-logo-business img{width:115px;max-height:115px}
.client-logo-grid .client-logo-seabel img{width:240px;height:96px;max-height:96px}
.client-logo-grid .client-logo-tui img{width:108px;max-height:108px}
.client-logo-grid .client-logo-benghazi img{width:270px;max-height:96px}
.client-logo-grid .client-logo-culture img{height:120px;max-height:120px}
.client-logo-grid .client-logo-inm img{height:120px;max-height:120px}
.client-logo-grid .client-logo-ftav img{width:112px;max-height:112px}
.client-logo-grid .client-logo-haica img{width:220px;max-height:110px}
.reference-universe--telecom .client-logo-grid li{min-height:168px!important}
@media(max-width:800px){.client-logo-grid li{min-height:140px!important;padding:20px!important}.client-logo-grid img{max-height:80px}}
@media(max-width:440px){.client-logo-grid li{min-height:120px!important;padding:16px!important}.client-logo-grid .client-logo-portrait img,.client-logo-grid .client-logo-culture img,.client-logo-grid .client-logo-inm img{height:auto;max-height:96px}}
.client-logo-grid img[src*="biat"]{width:270px;max-height:90px}
.client-logo-grid .client-logo-business img{width:128px;max-height:128px}
@media(max-width:800px){.client-logo-grid li{min-height:128px!important;height:128px}.client-logo-grid li img,.client-logo-grid li img[src*="biat"]{width:auto!important;height:auto!important;max-width:100%!important;max-height:70px!important}.client-logo-grid .client-logo-portrait img,.client-logo-grid .client-logo-culture img,.client-logo-grid .client-logo-inm img,.client-logo-grid .client-logo-tui img,.client-logo-grid .client-logo-ftav img,.client-logo-grid .client-logo-business img{max-height:84px!important}.reference-universe--telecom .client-logo-grid li{min-height:128px!important}}
@media(min-width:801px){.client-logo-grid li{height:168px}.client-logo-grid .client-logo-portrait img,.client-logo-grid .client-logo-culture img,.client-logo-grid .client-logo-inm img{height:auto;max-height:112px}.client-logo-grid .client-logo-business img{width:auto;max-height:112px}.client-logo-grid .client-logo-ftav img{max-height:108px}.client-logo-grid .client-logo-haica img{max-height:100px}}
@media(max-width:800px){.client-logo-grid .client-logo-seabel img{width:100%!important;max-width:150px!important;height:60px!important;max-height:60px!important;object-fit:cover}}
@media(max-width:800px){.client-logo-grid .client-logo-seabel img{transform:scale(1.45)}}
/* ===== v36 : filtres, chiffres, noms au survol ===== */
.references-aside{justify-self:end;max-width:44ch}
.references-aside .references-intro{justify-self:auto}
.references-stats{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 0;padding:0;list-style:none}
.references-stats li{display:flex;align-items:baseline;gap:6px;padding:8px 14px;border:1px solid #dfe3e9;border-radius:6px;background:#fff;font-size:13px;color:#5d6878}
.references-stats strong{font-family:var(--font-head);font-size:22px;font-weight:700;line-height:1;color:#323f51}
.ref-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 36px}
.ref-filters[hidden]{display:none}
.ref-filter{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #cfd5dd;border-radius:999px;background:#fff;color:#323f51;font:600 13.5px/1.2 var(--font-body);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.ref-filter span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#eef1f4;font-size:11px;color:#5d6878;box-sizing:border-box}
.ref-filter:hover{border-color:#323f51}
.ref-filter.is-active{background:#323f51;border-color:#323f51;color:#fff}
.ref-filter.is-active span{background:#e04130;color:#fff}
.ref-filter:focus-visible{outline:3px solid #e04130;outline-offset:2px}
.reference-universe[hidden]{display:none!important}
.reference-groups.is-filtered .reference-universe{grid-column:1 / -1}
.reference-groups.is-filtered .reference-universe--telecom .client-logo-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
.reference-groups.is-filtered .reference-universe--banks .client-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Nom du client au survol */
.client-name{position:absolute;left:0;right:0;bottom:0;padding:7px 12px;background:#323f51;color:#fff;font-size:12px;font-weight:600;letter-spacing:.02em;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translateY(100%);transition:transform .3s ease}
.client-logo-grid li:hover .client-name{transform:translateY(0)}
.client-logo-grid li img{transition:transform .35s ease}
.client-logo-grid li:hover img{transform:translateY(-10px)}
.client-logo-grid .client-logo-seabel:hover img{transform:translateY(-10px)}
@media(hover:none){.client-name{display:none}.client-logo-grid li:hover img{transform:none}}
@media(max-width:800px){.references-aside{justify-self:start}.ref-filters{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px 28px;padding:0 20px 4px;scrollbar-width:none}.ref-filter{flex:none}.reference-groups.is-filtered .reference-universe--telecom .client-logo-grid,.reference-groups.is-filtered .reference-universe--banks .client-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.client-logo-grid li.client-logo-seabel img,.client-logo-grid li.client-logo-seabel:hover img{transform:scale(1.45)}}
/* ===== v37 : bannière Réalisations harmonisée ===== */
.references-hero-photo:after{background:linear-gradient(90deg,rgba(38,49,63,.94),rgba(38,49,63,.72) 34%,rgba(41,52,67,.12) 60%,transparent 78%)!important}
.page-hero.references-hero .hero-copy{width:min(640px,46%)}
.page-hero.references-hero .eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:22px;color:#f6b4a8!important}
.page-hero.references-hero .eyebrow:before{display:block;width:36px;height:2px;margin:0;flex:none}
main .page-hero.references-hero h1{font-family:var(--font-head);font-weight:700;letter-spacing:0;font-size:clamp(40px,3.9vw,68px)!important;line-height:1.08}
.page-hero.references-hero h1 em{font-weight:400!important;color:#cfd6df!important;margin-top:4px}
.page-hero.references-hero .hero-copy>p:not(.eyebrow){font-size:17.5px;line-height:1.6;color:#dbe1e8;margin-top:22px}
.ref-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:28px}
.ref-hero-actions .button{display:inline-flex;align-items:center;gap:8px;margin:0!important;padding:15px 22px!important;border-radius:5px;font-size:15px!important;font-weight:700;min-height:0!important}
.ref-hero-ghost{display:inline-flex;align-items:center;gap:8px;padding:14px 20px;border:1px solid rgba(255,255,255,.45);border-radius:5px;color:#fff!important;font-size:15px;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s}
.ref-hero-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff}
.ref-hero-stats{display:flex;gap:28px;margin:30px 0 0;padding:22px 0 0;list-style:none;border-top:1px solid rgba(255,255,255,.16);max-width:560px}
.ref-hero-stats li{display:flex;flex-direction:column;gap:2px}
.ref-hero-stats strong{font-family:var(--font-head);font-size:32px;font-weight:700;line-height:1;color:#fff}
.ref-hero-stats span{font-size:12.5px;color:rgba(255,255,255,.7)}
.ref-hero-scroll{position:absolute;z-index:3;left:50%;bottom:22px;display:grid;place-items:center;width:30px;height:48px;margin-left:-15px;border:2px solid rgba(255,255,255,.5);border-radius:16px}
.ref-hero-scroll span{width:4px;height:9px;border-radius:2px;background:#fff;animation:ref-scroll 1.8s ease-in-out infinite}
@keyframes ref-scroll{0%{transform:translateY(-8px);opacity:0}40%{opacity:1}100%{transform:translateY(10px);opacity:0}}
@media(max-width:1000px){.ref-hero-scroll{display:none}.page-hero.references-hero .hero-copy{width:60%}}
@media(max-width:700px){.page-hero.references-hero .hero-copy{width:100%}.ref-hero-actions{flex-direction:column;align-items:stretch}.ref-hero-actions a{justify-content:center}.ref-hero-stats{gap:18px}.ref-hero-stats strong{font-size:26px}}
@media(prefers-reduced-motion:reduce){.ref-hero-scroll span{animation:none}}
/* v38 : bannière affinée */
@media(min-width:1001px){.page-hero.references-hero .hero-copy{width:min(780px,52%)}}
.ref-hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.ref-hero-tags li{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.07);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:13.5px;font-weight:600;color:#fff}
.ref-hero-tags li:before{content:"";width:6px;height:6px;border-radius:50%;background:#e04130}
.ref-hero-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;max-width:520px}
@media(max-width:520px){.ref-hero-tags li{font-size:12.5px;padding:6px 11px}.ref-hero-stats{gap:14px!important}}
@media(min-width:1001px){.page-hero.references-hero .hero-copy{width:min(860px,56%);max-width:860px}.page-hero.references-hero h1 em{white-space:nowrap;letter-spacing:-.01em}}
.page-hero.references-hero h1{text-shadow:0 2px 18px rgba(20,28,40,.55)}
/* v39 : pastilles-filtres, compteurs, lisibilité */
.ref-hero-tags li{padding:0!important;border:0!important;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.ref-hero-tags li:before{display:none}
.ref-hero-tags a{display:inline-flex;align-items:center;gap:8px;padding:7px 8px 7px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.07);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:13.5px;font-weight:600;color:#fff;text-decoration:none;transition:border-color .2s,background .2s,transform .2s}
.ref-hero-tags a:before{content:"";width:6px;height:6px;border-radius:50%;background:#e04130;flex:none}
.ref-hero-tags b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;transition:background .2s}
.ref-hero-tags a:hover,.ref-hero-tags a:focus-visible{border-color:#e04130;background:rgba(224,65,48,.16);transform:translateY(-2px)}
.ref-hero-tags a:hover b,.ref-hero-tags a:focus-visible b{background:#e04130}
.ref-hero-tags a:focus-visible{outline:2px solid #f6b4a8;outline-offset:2px}
.ref-hero-stats strong{font-variant-numeric:tabular-nums}
@media(min-width:1001px){.references-hero-photo:after{background:linear-gradient(90deg,rgba(38,49,63,.95),rgba(38,49,63,.8) 36%,rgba(41,52,67,.3) 58%,transparent 76%)!important}}
@media(max-width:520px){.ref-hero-tags a{font-size:12.5px;padding:6px 7px 6px 11px}.ref-hero-tags b{min-width:20px;height:20px;font-size:11px}}

/* Logos rétablis à leurs proportions d'origine (ordinateur) */
@media(min-width:801px){
.client-logo-grid li{min-height:196px!important;padding:18px 24px!important}
.client-logo-grid li img{max-width:100%!important;height:auto!important}
.client-logo-grid .client-logo-coficab img{width:289px!important;max-height:none!important}
.client-logo-grid .client-logo-draexlmaier img{width:260px!important;max-height:none!important}
.client-logo-grid img[src*="rose-blanche"]{width:289px!important;max-height:none!important}
.client-logo-grid .client-logo-mnihla img{width:172px!important;max-height:none!important}
.client-logo-grid img[src*="biat"]{width:290px!important;max-height:none!important}
.client-logo-grid .client-logo-abc img{width:320px!important;max-height:none!important}
.client-logo-grid .client-logo-ooredoo img{width:300px!important;max-height:none!important}
.client-logo-grid .client-logo-movenpick img{width:300px!important;max-height:none!important}
.client-logo-grid img[src*="borj-dhiafa"]{width:109px!important;max-height:none!important}
.client-logo-grid img[src*="the-z-hotel"]{width:349px!important;max-height:none!important}
.client-logo-grid .client-logo-business img{width:160px!important;max-height:none!important}
.client-logo-grid .client-logo-seabel img{width:280px!important;height:110px!important;max-height:none!important;object-fit:cover!important}
.client-logo-grid .client-logo-tui img{width:150px!important;max-height:none!important}
.client-logo-grid .client-logo-benghazi img{width:320px!important;max-height:none!important}
.client-logo-grid .client-logo-culture img{width:153px!important;height:160px!important;max-height:none!important}
.client-logo-grid .client-logo-inm img{width:122px!important;height:160px!important;max-height:none!important}
.client-logo-grid .client-logo-ftav img{width:150px!important;max-height:none!important}
.client-logo-grid .client-logo-haica img{width:260px!important;max-height:none!important}
}
