/* OFF ZE WALL — HOMEPAGE V7 — 09 novembre 2026
   Typographie plus large, hero sans débordement, pistes compteurs, news.
   Dernière feuille CSS : surclasse les déclinaisons V1 à V6. */
:root{
  --heading:'Trebuchet MS','Segoe UI',Arial,sans-serif;
}
.display-heading{font-family:var(--heading);font-weight:850;letter-spacing:-.047em;line-height:1.10;text-wrap:balance}
.experience-card h3,.value-card h3,.video-content h2{font-family:var(--heading)}

/* HERO : son contenu définit la hauteur si l'écran est trop petit.
   Plus de hero à hauteur fixe avec overflow:hidden coupant des CTA. */
.hero{
  height:auto;
  min-height:clamp(760px,calc(100svh - 150px),940px);
  max-height:none;
  overflow:hidden;
}
.hero-content-wrap{
  height:auto;
  min-height:inherit;
  display:flex;
  justify-content:center;
  padding-top:clamp(70px,6.1vw,94px);
  padding-bottom:clamp(130px,10vw,152px);
}
.hero-content{max-width:1100px;padding-bottom:0;min-width:0}
.hero-eyebrow{margin-bottom:25px}
.hero h1{
  font-family:var(--heading);
  font-weight:850;
  font-size:clamp(4.3rem,6.45vw,7.25rem);
  line-height:1.12;
  letter-spacing:-.055em;
  margin-bottom:27px;
  max-width:1050px;
  text-wrap:initial;
}
.hero-lead{font-size:clamp(1rem,1.32vw,1.19rem);line-height:1.65;margin-bottom:29px;max-width:670px}
.hero-bottom{bottom:26px}

/* CARTES EXPÉRIENCES : l'image reste visible mais ne concurrence plus les titres. */
.experiences-grid .experience-card>img{
  filter:brightness(.60) saturate(.84);
  transition:transform .55s cubic-bezier(.2,.85,.25,1),filter .5s ease;
}
.experiences-grid .experience-card .card-overlay{
  background:linear-gradient(180deg,rgba(3,4,11,.22) 0%,rgba(3,4,11,.30) 31%,rgba(3,4,11,.68) 63%,rgba(3,4,11,.95) 100%);
}
.experiences-grid .experience-card.fx-exp-wipe:hover>img,
.experiences-grid .experience-card.fx-exp-wipe:focus-within>img{
  filter:brightness(.67) saturate(.92);
}
.experiences-grid .experience-card-body{z-index:2}

/* PARALLAXE : plus grande amplitude et fond généreusement débordant. */
.value-section{overflow:hidden;isolation:isolate}
.value-parallax-bg{
  inset:-225px 0;
  background-position:center 44%;
  transform:translate3d(0,var(--value-offset,0px),0) scale(1.07);
  will-change:transform;
}
.value-section:after{
  background:linear-gradient(100deg,rgba(8,9,14,.84),rgba(8,9,14,.70) 58%,rgba(8,9,14,.77));
}

/* CHOIX DES COMPTEURS — 3 alternatives superposées, chiffres animés à chaque passage. */
.stats-showcase{background:#f7f7f6}
.stats-version{position:relative;padding:52px 0 64px;overflow:hidden}
.stats-design-intro{
  display:flex;align-items:center;gap:15px;margin-bottom:25px;
  font:750 .75rem/1.3 var(--ozw-ui);letter-spacing:.16em;text-transform:uppercase;
}
.stats-design-intro span:first-child{background:var(--pink);color:#fff;padding:7px 10px;letter-spacing:.1em}
.stats-design-intro span:last-child{opacity:.65}
.stats-version .counter{font-variant-numeric:tabular-nums}
/* Piste A : grands chiffres, contraste extrême et filets colorés. */
.stats-a{background:#131315;color:#fff;border-top:8px solid var(--yellow)}
.stats-a .stats-design-intro span:first-child{background:var(--yellow);color:#111}
.stats-grid-a{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.stat-a{
  position:relative;min-height:215px;display:flex;flex-direction:column;justify-content:flex-end;
  padding:20px 22px 26px;border-top:5px solid var(--pink);
  background:linear-gradient(135deg,#25252a,#19191d);
}
.stat-a:nth-child(2){border-color:var(--green)}
.stat-a:nth-child(3){border-color:var(--blue)}
.stat-a-number{
  display:flex;align-items:baseline;gap:2px;
  font:850 clamp(4.4rem,7.3vw,8.1rem)/.96 var(--heading);letter-spacing:-.075em;color:#fff;
}
.stat-a-number small{font-size:.42em;letter-spacing:-.06em;margin-left:5px;color:#fff}
.stat-a-label{font:700 clamp(.92rem,1.3vw,1.16rem)/1.35 var(--ozw-ui);margin-top:16px}
.stat-a-mark{position:absolute;right:18px;top:13px;font:800 2rem/1 var(--heading);color:var(--pink)}
.stat-a:nth-child(2) .stat-a-mark{color:var(--green)}
.stat-a:nth-child(3) .stat-a-mark{color:var(--blue)}
/* Piste B : trois cartes « affiche » à couleurs vives. */
.stats-b{background:#f4f3f0;color:#191919}
.stats-grid-b{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.stat-b{
  display:flex;flex-direction:column;min-width:0;min-height:300px;
  padding:25px 27px 30px;box-shadow:8px 8px 0 #202022;
  transition:transform .25s ease,box-shadow .25s ease;
}
.stat-b:hover{transform:translate(-4px,-5px) rotate(-1deg);box-shadow:12px 13px 0 #202022}
.stat-b-pink{background:var(--pink);color:#fff}
.stat-b-yellow{background:var(--yellow)}
.stat-b-green{background:var(--green)}
.stat-b-kicker{font:850 .75rem/1.3 var(--ozw-ui);letter-spacing:.16em}
.stat-b-number{display:flex;align-items:baseline;justify-content:space-between;gap:7px;margin:auto 0 15px;
  font:850 clamp(4.6rem,8vw,8.3rem)/1 var(--heading);letter-spacing:-.07em}
.stat-b-number small{font-size:.4em;margin-left:-.09em}
.stat-b-symbol{font-size:clamp(1.6rem,2.8vw,3rem);align-self:flex-start;margin-top:25px;letter-spacing:0}
.stat-b strong{font:850 clamp(1.15rem,1.55vw,1.5rem)/1.18 var(--heading);letter-spacing:-.045em;text-transform:uppercase}
.stat-b p{margin:6px 0 0;font-size:.88rem;line-height:1.4}
/* Piste C : chiffres monumentaux au-dessus d'une ligne de rythme. */
.stats-c{background:#fff;color:#161616;border-top:1px solid #e9e9e9}
.stats-c .stats-design-intro span:first-child{background:#161616}
.stats-grid-c{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.stat-c{min-width:0;border-bottom:1px solid #1d1d1b;padding:15px 5px 18px}
.stat-c-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:5px solid #171719;padding-bottom:12px}
.stat-c:nth-child(2) .stat-c-heading{border-color:var(--pink)}
.stat-c:nth-child(3) .stat-c-heading{border-color:var(--blue)}
.stat-c-number{display:inline-flex;align-items:baseline;font:850 clamp(5rem,8.2vw,9rem)/1 var(--heading);letter-spacing:-.075em}
.stat-c-number small{font-size:.43em;letter-spacing:0;margin-left:3px}
.stat-c-dot{display:block;width:17px;height:17px;background:var(--yellow);border-radius:50%;flex:none}
.stat-c:nth-child(2) .stat-c-dot{background:var(--pink)}
.stat-c:nth-child(3) .stat-c-dot{background:var(--blue)}
.stat-c p{font:800 clamp(.8rem,1.2vw,1.01rem)/1.35 var(--ozw-ui);letter-spacing:.085em;margin:22px 0 0;text-transform:uppercase}

/* ACTUALITÉS : cartes 3 par 3, extraits et fenêtre de lecture. */
.news-section{background:#f7f7f5}
.news-section .news-intro{align-items:end}
.news-section .news-intro>div:last-child{max-width:350px}
.news-demo-note{font-size:.8rem!important;color:#777!important;font-style:italic;margin:8px 0 0}
.news-grid-item{min-width:0}
.news-grid-item[hidden]{display:none!important}
.news-card{height:100%;background:#fff;box-shadow:0 13px 32px rgba(12,12,12,.065);overflow:hidden}
.news-card-button{
  display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;
  height:100%;width:100%;border:0;background:transparent;color:var(--ink);
  padding:0;text-align:left;cursor:pointer;
}
.news-image-wrap{position:relative;display:block;width:100%;aspect-ratio:1.52;overflow:hidden;background:#252529}
.news-image-wrap img{width:100%;height:100%;display:block;object-fit:cover;filter:brightness(.91);transition:transform .65s cubic-bezier(.2,.75,.2,1),filter .45s}
.news-image-arrow{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:43px;height:43px;background:var(--pink);color:#fff;font-size:1.7rem;transform:translateY(64px);transition:transform .3s ease}
.news-card-button:hover .news-image-arrow,.news-card-button:focus-visible .news-image-arrow{transform:translateY(0)}
.news-card-button:hover .news-image-wrap img,.news-card-button:focus-visible .news-image-wrap img{transform:scale(1.09);filter:brightness(1)}
.news-card-content{display:flex;flex-direction:column;flex:1;align-items:flex-start;padding:25px 26px 28px;min-height:273px}
.news-meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font:.76rem/1.4 var(--ozw-ui);color:#65656b;letter-spacing:.03em}
.news-category{color:var(--pink);font-weight:800;text-transform:uppercase;font-size:.72rem}
.news-card-title{font:850 clamp(1.35rem,1.7vw,1.62rem)/1.22 var(--heading);letter-spacing:-.045em;margin-top:15px;margin-bottom:11px}
.news-card-excerpt{font-size:.94rem;line-height:1.64;color:#606167;margin-bottom:22px}
.news-card-link{display:inline-flex;align-items:center;gap:12px;margin-top:auto;padding-bottom:7px;border-bottom:2px solid var(--pink);font-weight:750;font-size:.91rem}
.news-card-link>span{font-size:1.3rem;line-height:1}
.news-footer{text-align:center;margin-top:42px;display:flex;flex-direction:column;align-items:center;gap:13px}
.news-more{padding:16px 28px;font-family:var(--ozw-ui)}
.news-more[hidden]{display:none!important}
.news-progress{font-size:.85rem;color:#777;margin:0}
.news-appearing{animation:news-in .5s cubic-bezier(.2,.8,.3,1) both}
@keyframes news-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
/* Dialogue natif, mobile et clavier inclus. */
.news-dialog{border:0;border-radius:0;padding:0;width:min(850px,calc(100% - 28px));max-width:850px;max-height:min(94dvh,1050px);background:#fff;color:#1b1b1b;box-shadow:0 35px 100px rgba(0,0,0,.36)}
.news-dialog::backdrop{background:rgba(6,6,11,.84);backdrop-filter:blur(4px)}
.news-modal-panel{position:relative;max-height:inherit;overflow-y:auto}
.news-modal-close{position:absolute;right:15px;top:15px;width:44px;height:44px;border:0;background:var(--pink);color:#fff;display:grid;place-items:center;z-index:3;font-size:2rem;line-height:1;cursor:pointer}
.news-modal-image{width:100%;height:clamp(195px,35vw,340px);overflow:hidden;background:#222}
.news-modal-image img{width:100%;height:100%;object-fit:cover;display:block}
.news-modal-text{padding:clamp(24px,4.5vw,48px)}
.news-modal-text h2{font:850 clamp(1.8rem,3.6vw,3.35rem)/1.12 var(--heading);letter-spacing:-.047em;margin:18px 0 18px}
.news-modal-intro{font-size:1.12rem;line-height:1.55;font-weight:650;color:#28282a}
.news-modal-description p{font-size:1.02rem;color:#56565b;line-height:1.8;margin-top:20px;margin-bottom:0}

@media(max-width:1399px){
  .hero h1{font-size:clamp(3.7rem,6.3vw,6.35rem)}
}
@media(max-width:1199px){
  .hero{height:auto;min-height:760px;max-height:none}
  .hero-content-wrap{height:auto;min-height:inherit;padding-top:75px;padding-bottom:125px}
  .hero h1{font-size:clamp(3.35rem,7.4vw,5.35rem);line-height:1.13;letter-spacing:-.06em}
  .hero-eyebrow{margin-bottom:22px}
  .stat-a{min-height:185px}
}
@media(max-width:991px){
  .hero h1{font-size:clamp(3.2rem,8vw,5.15rem)}
  .value-parallax-bg{inset:0;transform:none!important;will-change:auto}
  .stats-grid-a,.stats-grid-b,.stats-grid-c{gap:14px}
  .stat-b{padding:22px 18px;min-height:250px}
  .stat-b-number{font-size:clamp(4rem,8vw,5.5rem)}
}
@media(max-width:767px){
  .hero{height:auto;min-height:730px;max-height:none}
  .hero-content-wrap{height:auto;padding-top:60px;padding-bottom:105px}
  .hero h1{font-size:clamp(2.8rem,8.8vw,4.35rem);line-height:1.14;letter-spacing:-.059em}
  .stats-version{padding:37px 0 45px}
  .stats-grid-a,.stats-grid-b,.stats-grid-c{grid-template-columns:1fr;gap:12px}
  .stat-a{min-height:155px;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:5px;padding:16px 22px}
  .stat-a-label{margin:0 24px 4px 0}
  .stat-a-number{font-size:5.5rem}
  .stat-b{min-height:190px}
  .stat-b-number{margin:14px 0 3px;font-size:5.6rem}
  .stat-b strong{font-size:1.28rem}
  .stat-c{padding-top:0}
  .stat-c-heading{padding-bottom:4px}
  .stat-c-number{font-size:6rem}
  .news-section .section-intro>div:last-child{max-width:none}
  .news-image-wrap{aspect-ratio:1.65}
}
@media(max-width:575px){
  .hero{min-height:700px;height:auto;max-height:none}
  .hero-content-wrap{height:auto;min-height:inherit;padding-top:55px;padding-bottom:100px}
  .hero-content{padding-bottom:0;max-width:100%}
  .hero h1{font-size:clamp(2.18rem,9.1vw,3.9rem);line-height:1.18;letter-spacing:-.058em;margin-bottom:19px}
  .hero-eyebrow{margin-bottom:20px}
  .hero-lead{font-size:.97rem;line-height:1.58;margin-bottom:20px}
  .hero-actions{gap:10px}
  .hero-actions .btn-ozw{min-height:50px;padding:12px 10px}
  .hero-bottom{bottom:20px}
  .stats-design-intro{font-size:.66rem;gap:10px}
  .news-card-content{min-height:auto;padding:23px}
  .news-modal-text{padding:23px}
  .news-modal-text h2{font-size:1.92rem}
}
@media(max-width:370px){
  .hero h1{font-size:clamp(2.02rem,9.25vw,2.55rem);line-height:1.2}
}
@media(prefers-reduced-motion:reduce){
  .value-parallax-bg{transform:none!important;will-change:auto}
  .stat-b,.news-appearing,.news-image-wrap img,.news-image-arrow{animation:none!important;transition:none!important}
  .news-image-arrow{transform:none}
}
